From f791818b417f0de3d570c1a47ca5895e69b91bd9 Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Wed, 3 Jun 2026 18:43:14 -0700 Subject: [PATCH 01/14] chore: regenerate searchads360 client --- .../v23/2.0.0/README.md | 44 + .../api/services/searchads360/v23/SA360.java | 23905 ++++++++++++++++ .../searchads360/v23/SA360Request.java | 267 + .../v23/SA360RequestInitializer.java | 119 + .../searchads360/v23/SA360Scopes.java | 42 + .../GoogleAdsSearchads360V0CommonValue.java | 163 + ...oogleAdsSearchads360V0ErrorsErrorCode.java | 379 + ...leAdsSearchads360V0ErrorsErrorDetails.java | 97 + ...eAdsSearchads360V0ErrorsErrorLocation.java | 73 + ...V0ErrorsErrorLocationFieldPathElement.java | 91 + ...Searchads360V0ErrorsQuotaErrorDetails.java | 118 + ...Searchads360V0ErrorsSearchAds360Error.java | 166 + ...archads360V0ErrorsSearchAds360Failure.java | 98 + ...Searchads360V23CommonActivityCityInfo.java | 67 + ...rchads360V23CommonActivityCountryInfo.java | 67 + ...dsSearchads360V23CommonActivityIdInfo.java | 67 + ...archads360V23CommonActivityRatingInfo.java | 67 + ...earchads360V23CommonActivityStateInfo.java | 67 + ...archads360V23CommonAdAppDeepLinkAsset.java | 67 + ...chads360V23CommonAdAssetPolicySummary.java | 118 + ...rchads360V23CommonAdCallToActionAsset.java | 67 + ...V23CommonAdDemandGenCarouselCardAsset.java | 67 + ...eAdsSearchads360V23CommonAdImageAsset.java | 67 + ...archads360V23CommonAdMediaBundleAsset.java | 67 + ...dsSearchads360V23CommonAdScheduleInfo.java | 180 + ...leAdsSearchads360V23CommonAdTextAsset.java | 145 + ...eAdsSearchads360V23CommonAdVideoAsset.java | 91 + ...Searchads360V23CommonAdVideoAssetInfo.java | 70 + ...3CommonAdVideoAssetLinkFeatureControl.java | 70 + ...360V23CommonAdditionalApplicationInfo.java | 98 + ...leAdsSearchads360V23CommonAddressInfo.java | 214 + ...eAdsSearchads360V23CommonAgeDimension.java | 91 + ...eAdsSearchads360V23CommonAgeRangeInfo.java | 67 + ...gleAdsSearchads360V23CommonAgeSegment.java | 97 + ...ogleAdsSearchads360V23CommonAppAdInfo.java | 247 + ...Searchads360V23CommonAppDeepLinkAsset.java | 70 + ...rchads360V23CommonAppEngagementAdInfo.java | 171 + ...rchads360V23CommonAppPaymentModelInfo.java | 67 + ...s360V23CommonAppPreRegistrationAdInfo.java | 172 + ...Searchads360V23CommonAssetDisapproved.java | 67 + ...ads360V23CommonAssetInteractionTarget.java | 94 + ...23CommonAssetLinkPrimaryStatusDetails.java | 119 + ...gleAdsSearchads360V23CommonAssetUsage.java | 91 + ...earchads360V23CommonAudienceDimension.java | 163 + ...60V23CommonAudienceExclusionDimension.java | 67 + ...eAdsSearchads360V23CommonAudienceInfo.java | 67 + ...360V23CommonAudienceInsightsAttribute.java | 355 + ...mmonAudienceInsightsAttributeMetadata.java | 400 + ...udienceInsightsAttributeMetadataGroup.java | 73 + ...s360V23CommonAudienceInsightsCategory.java | 67 + ...ads360V23CommonAudienceInsightsEntity.java | 67 + ...ads360V23CommonAudienceInsightsLineup.java | 67 + ...sSearchads360V23CommonAudienceSegment.java | 163 + ...s360V23CommonAudienceSegmentDimension.java | 73 + ...earchads360V23CommonBasicUserListInfo.java | 67 + ...earchads360V23CommonBookOnGoogleAsset.java | 44 + ...ogleAdsSearchads360V23CommonBrandInfo.java | 163 + ...AdsSearchads360V23CommonBrandListInfo.java | 68 + ...hads360V23CommonBudgetSimulationPoint.java | 268 + ...360V23CommonBudgetSimulationPointList.java | 73 + ...chads360V23CommonBusinessMessageAsset.java | 187 + ...CommonBusinessMessageCallToActionInfo.java | 94 + ...mmonBusinessProfileBusinessNameFilter.java | 91 + ...ds360V23CommonBusinessProfileLocation.java | 121 + ...V23CommonBusinessProfileLocationGroup.java | 68 + ...60V23CommonBusinessProfileLocationSet.java | 218 + ...ogleAdsSearchads360V23CommonCallAsset.java | 181 + ...eAdsSearchads360V23CommonCallFeedItem.java | 202 + ...earchads360V23CommonCallToActionAsset.java | 67 + ...eAdsSearchads360V23CommonCalloutAsset.java | 148 + ...sSearchads360V23CommonCalloutFeedItem.java | 67 + ...SettingsCampaignRetentionGoalSettings.java | 94 + ...ThirdPartyBrandLiftIntegrationPartner.java | 118 + ...irdPartyBrandSafetyIntegrationPartner.java | 94 + ...CampaignThirdPartyIntegrationPartners.java | 151 + ...aignThirdPartyReachIntegrationPartner.java | 118 + ...irdPartyViewabilityIntegrationPartner.java | 118 + ...leAdsSearchads360V23CommonCarrierInfo.java | 67 + ...leAdsSearchads360V23CommonChainFilter.java | 101 + ...archads360V23CommonChainLocationGroup.java | 77 + ...oogleAdsSearchads360V23CommonChainSet.java | 97 + ...AdsSearchads360V23CommonClickLocation.java | 163 + ...chads360V23CommonCombinedAudienceInfo.java | 67 + ...gleAdsSearchads360V23CommonCommission.java | 74 + ...eAdsSearchads360V23CommonConceptGroup.java | 91 + ...GoogleAdsSearchads360V23CommonConsent.java | 94 + ...Searchads360V23CommonContentLabelInfo.java | 67 + ...hads360V23CommonCpcBidSimulationPoint.java | 268 + ...360V23CommonCpcBidSimulationPointList.java | 73 + ...hads360V23CommonCpvBidSimulationPoint.java | 139 + ...360V23CommonCpvBidSimulationPointList.java | 73 + ...23CommonCriterionCategoryAvailability.java | 91 + ...nCriterionCategoryChannelAvailability.java | 154 + ...onCriterionCategoryLocaleAvailability.java | 121 + ...chads360V23CommonCrmBasedUserListInfo.java | 139 + ...archads360V23CommonCustomAffinityInfo.java | 67 + ...archads360V23CommonCustomAudienceInfo.java | 67 + ...hads360V23CommonCustomAudienceSegment.java | 67 + ...Searchads360V23CommonCustomIntentInfo.java | 67 + ...sSearchads360V23CommonCustomParameter.java | 92 + 100 files changed, 35269 insertions(+) create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/README.md create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/SA360.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/SA360Request.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/SA360RequestInitializer.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/SA360Scopes.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V0CommonValue.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V0ErrorsErrorCode.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V0ErrorsErrorDetails.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V0ErrorsErrorLocation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V0ErrorsErrorLocationFieldPathElement.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V0ErrorsQuotaErrorDetails.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V0ErrorsSearchAds360Error.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V0ErrorsSearchAds360Failure.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonActivityCityInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonActivityCountryInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonActivityIdInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonActivityRatingInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonActivityStateInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAdAppDeepLinkAsset.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAdAssetPolicySummary.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAdCallToActionAsset.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAdDemandGenCarouselCardAsset.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAdImageAsset.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAdMediaBundleAsset.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAdScheduleInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAdTextAsset.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAdVideoAsset.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAdVideoAssetInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAdVideoAssetLinkFeatureControl.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAdditionalApplicationInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAddressInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAgeDimension.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAgeRangeInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAgeSegment.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAppAdInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAppDeepLinkAsset.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAppEngagementAdInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAppPaymentModelInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAppPreRegistrationAdInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAssetDisapproved.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAssetInteractionTarget.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAssetLinkPrimaryStatusDetails.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAssetUsage.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAudienceDimension.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAudienceExclusionDimension.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAudienceInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAudienceInsightsAttribute.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAudienceInsightsAttributeMetadata.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAudienceInsightsAttributeMetadataGroup.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAudienceInsightsCategory.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAudienceInsightsEntity.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAudienceInsightsLineup.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAudienceSegment.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAudienceSegmentDimension.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonBasicUserListInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonBookOnGoogleAsset.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonBrandInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonBrandListInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonBudgetSimulationPoint.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonBudgetSimulationPointList.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonBusinessMessageAsset.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonBusinessMessageCallToActionInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonBusinessProfileBusinessNameFilter.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonBusinessProfileLocation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonBusinessProfileLocationGroup.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonBusinessProfileLocationSet.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCallAsset.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCallFeedItem.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCallToActionAsset.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCalloutAsset.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCalloutFeedItem.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCampaignGoalSettingsCampaignRetentionGoalSettings.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCampaignThirdPartyBrandLiftIntegrationPartner.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCampaignThirdPartyBrandSafetyIntegrationPartner.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCampaignThirdPartyIntegrationPartners.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCampaignThirdPartyReachIntegrationPartner.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCampaignThirdPartyViewabilityIntegrationPartner.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCarrierInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonChainFilter.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonChainLocationGroup.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonChainSet.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonClickLocation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCombinedAudienceInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCommission.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonConceptGroup.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonConsent.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonContentLabelInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCpcBidSimulationPoint.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCpcBidSimulationPointList.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCpvBidSimulationPoint.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCpvBidSimulationPointList.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCriterionCategoryAvailability.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCriterionCategoryChannelAvailability.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCriterionCategoryLocaleAvailability.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCrmBasedUserListInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCustomAffinityInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCustomAudienceInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCustomAudienceSegment.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCustomIntentInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCustomParameter.java diff --git a/clients/google-api-services-searchads360/v23/2.0.0/README.md b/clients/google-api-services-searchads360/v23/2.0.0/README.md new file mode 100644 index 00000000000..96435150cee --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/README.md @@ -0,0 +1,44 @@ +# Search Ads 360 Reporting API Client Library for Java + +The Search Ads 360 API allows developers to automate downloading reports from Search Ads 360. + +This page contains information about getting started with the Search Ads 360 Reporting API +using the Google API Client Library for Java. In addition, you may be interested +in the following documentation: + +* Browse the [Javadoc reference for the Search Ads 360 Reporting API][javadoc] +* Read the [Developer's Guide for the Google API Client Library for Java][google-api-client]. +* Interact with this API in your browser using the [APIs Explorer for the Search Ads 360 Reporting API][api-explorer] + +## Installation + +### Maven + +Add the following lines to your `pom.xml` file: + +```xml + + + + com.google.apis + google-api-services-searchads360 + v23-rev20260413-2.0.0 + + + +``` + +### Gradle + +```gradle +repositories { + mavenCentral() +} +dependencies { + implementation 'com.google.apis:google-api-services-searchads360:v23-rev20260413-2.0.0' +} +``` + +[javadoc]: https://googleapis.dev/java/google-api-services-searchads360/latest/index.html +[google-api-client]: https://github.com/googleapis/google-api-java-client/ +[api-explorer]: https://developers.google.com/apis-explorer/#p/searchads360/v1/ diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/SA360.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/SA360.java new file mode 100644 index 00000000000..ec7b59809d0 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/SA360.java @@ -0,0 +1,23905 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23; + +/** + * Service definition for SA360 (v23). + * + *

+ * The Search Ads 360 API allows developers to automate downloading reports from Search Ads 360. + *

+ * + *

+ * For more information about this service, see the + * API Documentation + *

+ * + *

+ * This service uses {@link SA360RequestInitializer} to initialize global parameters via its + * {@link Builder}. + *

+ * + * @since 1.3 + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public class SA360 extends com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient { + + // Note: Leave this static initializer at the top of the file. + static { + com.google.api.client.util.Preconditions.checkState( + (com.google.api.client.googleapis.GoogleUtils.MAJOR_VERSION == 1 && + (com.google.api.client.googleapis.GoogleUtils.MINOR_VERSION >= 32 || + (com.google.api.client.googleapis.GoogleUtils.MINOR_VERSION == 31 && + com.google.api.client.googleapis.GoogleUtils.BUGFIX_VERSION >= 1))) || + com.google.api.client.googleapis.GoogleUtils.MAJOR_VERSION >= 2, + "You are currently running with version %s of google-api-client. " + + "You need at least version 1.31.1 of google-api-client to run version " + + "2.0.0 of the Search Ads 360 Reporting API library.", com.google.api.client.googleapis.GoogleUtils.VERSION); + } + + /** + * The default encoded root URL of the service. This is determined when the library is generated + * and normally should not be changed. + * + * @since 1.7 + */ + public static final String DEFAULT_ROOT_URL = "https://searchads360.googleapis.com/"; + + /** + * The default encoded mTLS root URL of the service. This is determined when the library is generated + * and normally should not be changed. + * + * @since 1.31 + */ + public static final String DEFAULT_MTLS_ROOT_URL = "https://searchads360.mtls.googleapis.com/"; + + /** + * The default encoded service path of the service. This is determined when the library is + * generated and normally should not be changed. + * + * @since 1.7 + */ + public static final String DEFAULT_SERVICE_PATH = ""; + + /** + * The default encoded batch path of the service. This is determined when the library is + * generated and normally should not be changed. + * + * @since 1.23 + */ + public static final String DEFAULT_BATCH_PATH = "batch"; + + /** + * The default encoded base URL of the service. This is determined when the library is generated + * and normally should not be changed. + */ + public static final String DEFAULT_BASE_URL = DEFAULT_ROOT_URL + DEFAULT_SERVICE_PATH; + + /** + * Constructor. + * + *

+ * Use {@link Builder} if you need to specify any of the optional parameters. + *

+ * + * @param transport HTTP transport, which should normally be: + * + * @param jsonFactory JSON factory, which may be: + * + * @param httpRequestInitializer HTTP request initializer or {@code null} for none + * @since 1.7 + */ + public SA360(com.google.api.client.http.HttpTransport transport, com.google.api.client.json.JsonFactory jsonFactory, + com.google.api.client.http.HttpRequestInitializer httpRequestInitializer) { + this(new Builder(transport, jsonFactory, httpRequestInitializer)); + } + + /** + * @param builder builder + */ + SA360(Builder builder) { + super(builder); + } + + @Override + protected void initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest httpClientRequest) throws java.io.IOException { + super.initialize(httpClientRequest); + } + + /** + * An accessor for creating requests from the AudienceInsights collection. + * + *

The typical use is:

+ *
+   *   {@code SA360 searchads360 = new SA360(...);}
+   *   {@code SA360.AudienceInsights.List request = searchads360.audienceInsights().list(parameters ...)}
+   * 
+ * + * @return the resource collection + */ + public AudienceInsights audienceInsights() { + return new AudienceInsights(); + } + + /** + * The "audienceInsights" collection of methods. + */ + public class AudienceInsights { + + /** + * Lists date ranges for which audience insights data can be requested. List of thrown errors: + * [AuthenticationError]() [AuthorizationError]() [FieldError]() [HeaderError]() [InternalError]() + * [QuotaError]() [RangeError]() [RequestError]() + * + * Create a request for the method "audienceInsights.listInsightsEligibleDates". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link ListInsightsEligibleDates#execute()} method to invoke the remote + * operation. + * + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesListInsightsEligibleDatesRequest} + * @return the request + */ + public ListInsightsEligibleDates listInsightsEligibleDates(com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesListInsightsEligibleDatesRequest content) throws java.io.IOException { + ListInsightsEligibleDates result = new ListInsightsEligibleDates(content); + initialize(result); + return result; + } + + public class ListInsightsEligibleDates extends SA360Request { + + private static final String REST_PATH = "v23/audienceInsights:listInsightsEligibleDates"; + + /** + * Lists date ranges for which audience insights data can be requested. List of thrown errors: + * [AuthenticationError]() [AuthorizationError]() [FieldError]() [HeaderError]() [InternalError]() + * [QuotaError]() [RangeError]() [RequestError]() + * + * Create a request for the method "audienceInsights.listInsightsEligibleDates". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link ListInsightsEligibleDates#execute()} method to invoke the + * remote operation.

{@link ListInsightsEligibleDates#initialize(com.google.api.client.googlea + * pis.services.AbstractGoogleClientRequest)} must be called to initialize this instance + * immediately after invoking the constructor.

+ * + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesListInsightsEligibleDatesRequest} + * @since 1.13 + */ + protected ListInsightsEligibleDates(com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesListInsightsEligibleDatesRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesListInsightsEligibleDatesResponse.class); + } + + @Override + public ListInsightsEligibleDates set$Xgafv(java.lang.String $Xgafv) { + return (ListInsightsEligibleDates) super.set$Xgafv($Xgafv); + } + + @Override + public ListInsightsEligibleDates setAccessToken(java.lang.String accessToken) { + return (ListInsightsEligibleDates) super.setAccessToken(accessToken); + } + + @Override + public ListInsightsEligibleDates setAlt(java.lang.String alt) { + return (ListInsightsEligibleDates) super.setAlt(alt); + } + + @Override + public ListInsightsEligibleDates setCallback(java.lang.String callback) { + return (ListInsightsEligibleDates) super.setCallback(callback); + } + + @Override + public ListInsightsEligibleDates setFields(java.lang.String fields) { + return (ListInsightsEligibleDates) super.setFields(fields); + } + + @Override + public ListInsightsEligibleDates setKey(java.lang.String key) { + return (ListInsightsEligibleDates) super.setKey(key); + } + + @Override + public ListInsightsEligibleDates setOauthToken(java.lang.String oauthToken) { + return (ListInsightsEligibleDates) super.setOauthToken(oauthToken); + } + + @Override + public ListInsightsEligibleDates setPrettyPrint(java.lang.Boolean prettyPrint) { + return (ListInsightsEligibleDates) super.setPrettyPrint(prettyPrint); + } + + @Override + public ListInsightsEligibleDates setQuotaUser(java.lang.String quotaUser) { + return (ListInsightsEligibleDates) super.setQuotaUser(quotaUser); + } + + @Override + public ListInsightsEligibleDates setUploadType(java.lang.String uploadType) { + return (ListInsightsEligibleDates) super.setUploadType(uploadType); + } + + @Override + public ListInsightsEligibleDates setUploadProtocol(java.lang.String uploadProtocol) { + return (ListInsightsEligibleDates) super.setUploadProtocol(uploadProtocol); + } + + @Override + public ListInsightsEligibleDates set(String parameterName, Object value) { + return (ListInsightsEligibleDates) super.set(parameterName, value); + } + } + + } + + /** + * An accessor for creating requests from the Customers collection. + * + *

The typical use is:

+ *
+   *   {@code SA360 searchads360 = new SA360(...);}
+   *   {@code SA360.Customers.List request = searchads360.customers().list(parameters ...)}
+   * 
+ * + * @return the resource collection + */ + public Customers customers() { + return new Customers(); + } + + /** + * The "customers" collection of methods. + */ + public class Customers { + + /** + * Creates a new client under manager. The new client customer is returned. List of thrown errors: + * [AccessInvitationError]() [AuthenticationError]() [AuthorizationError]() [CurrencyCodeError]() + * [HeaderError]() [InternalError]() [ManagerLinkError]() [QuotaError]() [RequestError]() + * [StringLengthError]() [TimeZoneError]() + * + * Create a request for the method "customers.createCustomerClient". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link CreateCustomerClient#execute()} method to invoke the remote + * operation. + * + * @param customerId Required. The ID of the Manager under whom client customer is being created. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesCreateCustomerClientRequest} + * @return the request + */ + public CreateCustomerClient createCustomerClient(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesCreateCustomerClientRequest content) throws java.io.IOException { + CreateCustomerClient result = new CreateCustomerClient(customerId, content); + initialize(result); + return result; + } + + public class CreateCustomerClient extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}:createCustomerClient"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Creates a new client under manager. The new client customer is returned. List of thrown errors: + * [AccessInvitationError]() [AuthenticationError]() [AuthorizationError]() [CurrencyCodeError]() + * [HeaderError]() [InternalError]() [ManagerLinkError]() [QuotaError]() [RequestError]() + * [StringLengthError]() [TimeZoneError]() + * + * Create a request for the method "customers.createCustomerClient". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link CreateCustomerClient#execute()} method to invoke the + * remote operation.

{@link CreateCustomerClient#initialize(com.google.api.client.googleapis.s + * ervices.AbstractGoogleClientRequest)} must be called to initialize this instance immediately + * after invoking the constructor.

+ * + * @param customerId Required. The ID of the Manager under whom client customer is being created. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesCreateCustomerClientRequest} + * @since 1.13 + */ + protected CreateCustomerClient(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesCreateCustomerClientRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesCreateCustomerClientResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public CreateCustomerClient set$Xgafv(java.lang.String $Xgafv) { + return (CreateCustomerClient) super.set$Xgafv($Xgafv); + } + + @Override + public CreateCustomerClient setAccessToken(java.lang.String accessToken) { + return (CreateCustomerClient) super.setAccessToken(accessToken); + } + + @Override + public CreateCustomerClient setAlt(java.lang.String alt) { + return (CreateCustomerClient) super.setAlt(alt); + } + + @Override + public CreateCustomerClient setCallback(java.lang.String callback) { + return (CreateCustomerClient) super.setCallback(callback); + } + + @Override + public CreateCustomerClient setFields(java.lang.String fields) { + return (CreateCustomerClient) super.setFields(fields); + } + + @Override + public CreateCustomerClient setKey(java.lang.String key) { + return (CreateCustomerClient) super.setKey(key); + } + + @Override + public CreateCustomerClient setOauthToken(java.lang.String oauthToken) { + return (CreateCustomerClient) super.setOauthToken(oauthToken); + } + + @Override + public CreateCustomerClient setPrettyPrint(java.lang.Boolean prettyPrint) { + return (CreateCustomerClient) super.setPrettyPrint(prettyPrint); + } + + @Override + public CreateCustomerClient setQuotaUser(java.lang.String quotaUser) { + return (CreateCustomerClient) super.setQuotaUser(quotaUser); + } + + @Override + public CreateCustomerClient setUploadType(java.lang.String uploadType) { + return (CreateCustomerClient) super.setUploadType(uploadType); + } + + @Override + public CreateCustomerClient setUploadProtocol(java.lang.String uploadProtocol) { + return (CreateCustomerClient) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the Manager under whom client customer is being created. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the Manager under whom client customer is being created. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the Manager under whom client customer is being created. */ + public CreateCustomerClient setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public CreateCustomerClient set(String parameterName, Object value) { + return (CreateCustomerClient) super.set(parameterName, value); + } + } + /** + * Returns a list of suggested AdGroups and suggested modifications (text, match type) for the given + * keywords. List of thrown errors: [AuthenticationError]() [AuthorizationError]() + * [CollectionSizeError]() [HeaderError]() [InternalError]() [QuotaError]() [RequestError]() + * + * Create a request for the method "customers.generateAdGroupThemes". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link GenerateAdGroupThemes#execute()} method to invoke the remote + * operation. + * + * @param customerId Required. The ID of the customer. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesGenerateAdGroupThemesRequest} + * @return the request + */ + public GenerateAdGroupThemes generateAdGroupThemes(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesGenerateAdGroupThemesRequest content) throws java.io.IOException { + GenerateAdGroupThemes result = new GenerateAdGroupThemes(customerId, content); + initialize(result); + return result; + } + + public class GenerateAdGroupThemes extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}:generateAdGroupThemes"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Returns a list of suggested AdGroups and suggested modifications (text, match type) for the + * given keywords. List of thrown errors: [AuthenticationError]() [AuthorizationError]() + * [CollectionSizeError]() [HeaderError]() [InternalError]() [QuotaError]() [RequestError]() + * + * Create a request for the method "customers.generateAdGroupThemes". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link GenerateAdGroupThemes#execute()} method to invoke the + * remote operation.

{@link GenerateAdGroupThemes#initialize(com.google.api.client.googleapis. + * services.AbstractGoogleClientRequest)} must be called to initialize this instance immediately + * after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesGenerateAdGroupThemesRequest} + * @since 1.13 + */ + protected GenerateAdGroupThemes(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesGenerateAdGroupThemesRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesGenerateAdGroupThemesResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public GenerateAdGroupThemes set$Xgafv(java.lang.String $Xgafv) { + return (GenerateAdGroupThemes) super.set$Xgafv($Xgafv); + } + + @Override + public GenerateAdGroupThemes setAccessToken(java.lang.String accessToken) { + return (GenerateAdGroupThemes) super.setAccessToken(accessToken); + } + + @Override + public GenerateAdGroupThemes setAlt(java.lang.String alt) { + return (GenerateAdGroupThemes) super.setAlt(alt); + } + + @Override + public GenerateAdGroupThemes setCallback(java.lang.String callback) { + return (GenerateAdGroupThemes) super.setCallback(callback); + } + + @Override + public GenerateAdGroupThemes setFields(java.lang.String fields) { + return (GenerateAdGroupThemes) super.setFields(fields); + } + + @Override + public GenerateAdGroupThemes setKey(java.lang.String key) { + return (GenerateAdGroupThemes) super.setKey(key); + } + + @Override + public GenerateAdGroupThemes setOauthToken(java.lang.String oauthToken) { + return (GenerateAdGroupThemes) super.setOauthToken(oauthToken); + } + + @Override + public GenerateAdGroupThemes setPrettyPrint(java.lang.Boolean prettyPrint) { + return (GenerateAdGroupThemes) super.setPrettyPrint(prettyPrint); + } + + @Override + public GenerateAdGroupThemes setQuotaUser(java.lang.String quotaUser) { + return (GenerateAdGroupThemes) super.setQuotaUser(quotaUser); + } + + @Override + public GenerateAdGroupThemes setUploadType(java.lang.String uploadType) { + return (GenerateAdGroupThemes) super.setUploadType(uploadType); + } + + @Override + public GenerateAdGroupThemes setUploadProtocol(java.lang.String uploadProtocol) { + return (GenerateAdGroupThemes) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the customer. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the customer. */ + public GenerateAdGroupThemes setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public GenerateAdGroupThemes set(String parameterName, Object value) { + return (GenerateAdGroupThemes) super.set(parameterName, value); + } + } + /** + * Returns a collection of attributes that are represented in an audience of interest, with metrics + * that compare each attribute's share of the audience with its share of a baseline audience. List + * of thrown errors: [AudienceInsightsError]() [AuthenticationError]() [AuthorizationError]() + * [FieldError]() [HeaderError]() [InternalError]() [QuotaError]() [RangeError]() [RequestError]() + * + * Create a request for the method "customers.generateAudienceCompositionInsights". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link GenerateAudienceCompositionInsights#execute()} method to invoke the + * remote operation. + * + * @param customerId Required. The ID of the customer. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesGenerateAudienceCompositionInsightsRequest} + * @return the request + */ + public GenerateAudienceCompositionInsights generateAudienceCompositionInsights(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesGenerateAudienceCompositionInsightsRequest content) throws java.io.IOException { + GenerateAudienceCompositionInsights result = new GenerateAudienceCompositionInsights(customerId, content); + initialize(result); + return result; + } + + public class GenerateAudienceCompositionInsights extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}:generateAudienceCompositionInsights"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Returns a collection of attributes that are represented in an audience of interest, with + * metrics that compare each attribute's share of the audience with its share of a baseline + * audience. List of thrown errors: [AudienceInsightsError]() [AuthenticationError]() + * [AuthorizationError]() [FieldError]() [HeaderError]() [InternalError]() [QuotaError]() + * [RangeError]() [RequestError]() + * + * Create a request for the method "customers.generateAudienceCompositionInsights". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link GenerateAudienceCompositionInsights#execute()} method to + * invoke the remote operation.

{@link GenerateAudienceCompositionInsights#initialize(com.goog + * le.api.client.googleapis.services.AbstractGoogleClientRequest)} must be called to initialize + * this instance immediately after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesGenerateAudienceCompositionInsightsRequest} + * @since 1.13 + */ + protected GenerateAudienceCompositionInsights(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesGenerateAudienceCompositionInsightsRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesGenerateAudienceCompositionInsightsResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public GenerateAudienceCompositionInsights set$Xgafv(java.lang.String $Xgafv) { + return (GenerateAudienceCompositionInsights) super.set$Xgafv($Xgafv); + } + + @Override + public GenerateAudienceCompositionInsights setAccessToken(java.lang.String accessToken) { + return (GenerateAudienceCompositionInsights) super.setAccessToken(accessToken); + } + + @Override + public GenerateAudienceCompositionInsights setAlt(java.lang.String alt) { + return (GenerateAudienceCompositionInsights) super.setAlt(alt); + } + + @Override + public GenerateAudienceCompositionInsights setCallback(java.lang.String callback) { + return (GenerateAudienceCompositionInsights) super.setCallback(callback); + } + + @Override + public GenerateAudienceCompositionInsights setFields(java.lang.String fields) { + return (GenerateAudienceCompositionInsights) super.setFields(fields); + } + + @Override + public GenerateAudienceCompositionInsights setKey(java.lang.String key) { + return (GenerateAudienceCompositionInsights) super.setKey(key); + } + + @Override + public GenerateAudienceCompositionInsights setOauthToken(java.lang.String oauthToken) { + return (GenerateAudienceCompositionInsights) super.setOauthToken(oauthToken); + } + + @Override + public GenerateAudienceCompositionInsights setPrettyPrint(java.lang.Boolean prettyPrint) { + return (GenerateAudienceCompositionInsights) super.setPrettyPrint(prettyPrint); + } + + @Override + public GenerateAudienceCompositionInsights setQuotaUser(java.lang.String quotaUser) { + return (GenerateAudienceCompositionInsights) super.setQuotaUser(quotaUser); + } + + @Override + public GenerateAudienceCompositionInsights setUploadType(java.lang.String uploadType) { + return (GenerateAudienceCompositionInsights) super.setUploadType(uploadType); + } + + @Override + public GenerateAudienceCompositionInsights setUploadProtocol(java.lang.String uploadProtocol) { + return (GenerateAudienceCompositionInsights) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the customer. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the customer. */ + public GenerateAudienceCompositionInsights setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public GenerateAudienceCompositionInsights set(String parameterName, Object value) { + return (GenerateAudienceCompositionInsights) super.set(parameterName, value); + } + } + /** + * Returns a collection of audience attributes using generative AI based on the provided audience + * description. List of thrown errors: [AudienceInsightsError]() [AuthenticationError]() + * [AuthorizationError]() [FieldError]() [HeaderError]() [InternalError]() [QuotaError]() + * [RequestError]() + * + * Create a request for the method "customers.generateAudienceDefinition". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link GenerateAudienceDefinition#execute()} method to invoke the remote + * operation. + * + * @param customerId Required. The ID of the customer. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesGenerateAudienceDefinitionRequest} + * @return the request + */ + public GenerateAudienceDefinition generateAudienceDefinition(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesGenerateAudienceDefinitionRequest content) throws java.io.IOException { + GenerateAudienceDefinition result = new GenerateAudienceDefinition(customerId, content); + initialize(result); + return result; + } + + public class GenerateAudienceDefinition extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}:generateAudienceDefinition"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Returns a collection of audience attributes using generative AI based on the provided audience + * description. List of thrown errors: [AudienceInsightsError]() [AuthenticationError]() + * [AuthorizationError]() [FieldError]() [HeaderError]() [InternalError]() [QuotaError]() + * [RequestError]() + * + * Create a request for the method "customers.generateAudienceDefinition". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link GenerateAudienceDefinition#execute()} method to invoke the + * remote operation.

{@link GenerateAudienceDefinition#initialize(com.google.api.client.google + * apis.services.AbstractGoogleClientRequest)} must be called to initialize this instance + * immediately after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesGenerateAudienceDefinitionRequest} + * @since 1.13 + */ + protected GenerateAudienceDefinition(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesGenerateAudienceDefinitionRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesGenerateAudienceDefinitionResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public GenerateAudienceDefinition set$Xgafv(java.lang.String $Xgafv) { + return (GenerateAudienceDefinition) super.set$Xgafv($Xgafv); + } + + @Override + public GenerateAudienceDefinition setAccessToken(java.lang.String accessToken) { + return (GenerateAudienceDefinition) super.setAccessToken(accessToken); + } + + @Override + public GenerateAudienceDefinition setAlt(java.lang.String alt) { + return (GenerateAudienceDefinition) super.setAlt(alt); + } + + @Override + public GenerateAudienceDefinition setCallback(java.lang.String callback) { + return (GenerateAudienceDefinition) super.setCallback(callback); + } + + @Override + public GenerateAudienceDefinition setFields(java.lang.String fields) { + return (GenerateAudienceDefinition) super.setFields(fields); + } + + @Override + public GenerateAudienceDefinition setKey(java.lang.String key) { + return (GenerateAudienceDefinition) super.setKey(key); + } + + @Override + public GenerateAudienceDefinition setOauthToken(java.lang.String oauthToken) { + return (GenerateAudienceDefinition) super.setOauthToken(oauthToken); + } + + @Override + public GenerateAudienceDefinition setPrettyPrint(java.lang.Boolean prettyPrint) { + return (GenerateAudienceDefinition) super.setPrettyPrint(prettyPrint); + } + + @Override + public GenerateAudienceDefinition setQuotaUser(java.lang.String quotaUser) { + return (GenerateAudienceDefinition) super.setQuotaUser(quotaUser); + } + + @Override + public GenerateAudienceDefinition setUploadType(java.lang.String uploadType) { + return (GenerateAudienceDefinition) super.setUploadType(uploadType); + } + + @Override + public GenerateAudienceDefinition setUploadProtocol(java.lang.String uploadProtocol) { + return (GenerateAudienceDefinition) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the customer. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the customer. */ + public GenerateAudienceDefinition setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public GenerateAudienceDefinition set(String parameterName, Object value) { + return (GenerateAudienceDefinition) super.set(parameterName, value); + } + } + /** + * Returns a collection of audience attributes along with estimates of the overlap between their + * potential YouTube reach and that of a given input attribute. List of thrown errors: + * [AudienceInsightsError]() [AuthenticationError]() [AuthorizationError]() [FieldError]() + * [HeaderError]() [InternalError]() [QuotaError]() [RangeError]() [RequestError]() + * + * Create a request for the method "customers.generateAudienceOverlapInsights". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link GenerateAudienceOverlapInsights#execute()} method to invoke the + * remote operation. + * + * @param customerId Required. The ID of the customer. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesGenerateAudienceOverlapInsightsRequest} + * @return the request + */ + public GenerateAudienceOverlapInsights generateAudienceOverlapInsights(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesGenerateAudienceOverlapInsightsRequest content) throws java.io.IOException { + GenerateAudienceOverlapInsights result = new GenerateAudienceOverlapInsights(customerId, content); + initialize(result); + return result; + } + + public class GenerateAudienceOverlapInsights extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}:generateAudienceOverlapInsights"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Returns a collection of audience attributes along with estimates of the overlap between their + * potential YouTube reach and that of a given input attribute. List of thrown errors: + * [AudienceInsightsError]() [AuthenticationError]() [AuthorizationError]() [FieldError]() + * [HeaderError]() [InternalError]() [QuotaError]() [RangeError]() [RequestError]() + * + * Create a request for the method "customers.generateAudienceOverlapInsights". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link GenerateAudienceOverlapInsights#execute()} method to + * invoke the remote operation.

{@link GenerateAudienceOverlapInsights#initialize(com.google.a + * pi.client.googleapis.services.AbstractGoogleClientRequest)} must be called to initialize this + * instance immediately after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesGenerateAudienceOverlapInsightsRequest} + * @since 1.13 + */ + protected GenerateAudienceOverlapInsights(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesGenerateAudienceOverlapInsightsRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesGenerateAudienceOverlapInsightsResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public GenerateAudienceOverlapInsights set$Xgafv(java.lang.String $Xgafv) { + return (GenerateAudienceOverlapInsights) super.set$Xgafv($Xgafv); + } + + @Override + public GenerateAudienceOverlapInsights setAccessToken(java.lang.String accessToken) { + return (GenerateAudienceOverlapInsights) super.setAccessToken(accessToken); + } + + @Override + public GenerateAudienceOverlapInsights setAlt(java.lang.String alt) { + return (GenerateAudienceOverlapInsights) super.setAlt(alt); + } + + @Override + public GenerateAudienceOverlapInsights setCallback(java.lang.String callback) { + return (GenerateAudienceOverlapInsights) super.setCallback(callback); + } + + @Override + public GenerateAudienceOverlapInsights setFields(java.lang.String fields) { + return (GenerateAudienceOverlapInsights) super.setFields(fields); + } + + @Override + public GenerateAudienceOverlapInsights setKey(java.lang.String key) { + return (GenerateAudienceOverlapInsights) super.setKey(key); + } + + @Override + public GenerateAudienceOverlapInsights setOauthToken(java.lang.String oauthToken) { + return (GenerateAudienceOverlapInsights) super.setOauthToken(oauthToken); + } + + @Override + public GenerateAudienceOverlapInsights setPrettyPrint(java.lang.Boolean prettyPrint) { + return (GenerateAudienceOverlapInsights) super.setPrettyPrint(prettyPrint); + } + + @Override + public GenerateAudienceOverlapInsights setQuotaUser(java.lang.String quotaUser) { + return (GenerateAudienceOverlapInsights) super.setQuotaUser(quotaUser); + } + + @Override + public GenerateAudienceOverlapInsights setUploadType(java.lang.String uploadType) { + return (GenerateAudienceOverlapInsights) super.setUploadType(uploadType); + } + + @Override + public GenerateAudienceOverlapInsights setUploadProtocol(java.lang.String uploadProtocol) { + return (GenerateAudienceOverlapInsights) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the customer. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the customer. */ + public GenerateAudienceOverlapInsights setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public GenerateAudienceOverlapInsights set(String parameterName, Object value) { + return (GenerateAudienceOverlapInsights) super.set(parameterName, value); + } + } + /** + * Returns YouTube advertisement metrics for the given client against industry benchmarks. List of + * thrown errors: [AuthenticationError]() [AuthorizationError]() [BenchmarksError]() [FieldError]() + * [HeaderError]() [InternalError]() [QuotaError]() [RangeError]() [RequestError]() + * + * Create a request for the method "customers.generateBenchmarksMetrics". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link GenerateBenchmarksMetrics#execute()} method to invoke the remote + * operation. + * + * @param customerId Required. The ID of the customer. Supply a client customer ID to generate metrics for the customer. + * A manager account customer ID will not return customer metrics since it does not have any + * associated direct ad campaigns. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesGenerateBenchmarksMetricsRequest} + * @return the request + */ + public GenerateBenchmarksMetrics generateBenchmarksMetrics(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesGenerateBenchmarksMetricsRequest content) throws java.io.IOException { + GenerateBenchmarksMetrics result = new GenerateBenchmarksMetrics(customerId, content); + initialize(result); + return result; + } + + public class GenerateBenchmarksMetrics extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}:generateBenchmarksMetrics"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Returns YouTube advertisement metrics for the given client against industry benchmarks. List of + * thrown errors: [AuthenticationError]() [AuthorizationError]() [BenchmarksError]() + * [FieldError]() [HeaderError]() [InternalError]() [QuotaError]() [RangeError]() [RequestError]() + * + * Create a request for the method "customers.generateBenchmarksMetrics". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link GenerateBenchmarksMetrics#execute()} method to invoke the + * remote operation.

{@link GenerateBenchmarksMetrics#initialize(com.google.api.client.googlea + * pis.services.AbstractGoogleClientRequest)} must be called to initialize this instance + * immediately after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer. Supply a client customer ID to generate metrics for the customer. + * A manager account customer ID will not return customer metrics since it does not have any + * associated direct ad campaigns. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesGenerateBenchmarksMetricsRequest} + * @since 1.13 + */ + protected GenerateBenchmarksMetrics(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesGenerateBenchmarksMetricsRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesGenerateBenchmarksMetricsResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public GenerateBenchmarksMetrics set$Xgafv(java.lang.String $Xgafv) { + return (GenerateBenchmarksMetrics) super.set$Xgafv($Xgafv); + } + + @Override + public GenerateBenchmarksMetrics setAccessToken(java.lang.String accessToken) { + return (GenerateBenchmarksMetrics) super.setAccessToken(accessToken); + } + + @Override + public GenerateBenchmarksMetrics setAlt(java.lang.String alt) { + return (GenerateBenchmarksMetrics) super.setAlt(alt); + } + + @Override + public GenerateBenchmarksMetrics setCallback(java.lang.String callback) { + return (GenerateBenchmarksMetrics) super.setCallback(callback); + } + + @Override + public GenerateBenchmarksMetrics setFields(java.lang.String fields) { + return (GenerateBenchmarksMetrics) super.setFields(fields); + } + + @Override + public GenerateBenchmarksMetrics setKey(java.lang.String key) { + return (GenerateBenchmarksMetrics) super.setKey(key); + } + + @Override + public GenerateBenchmarksMetrics setOauthToken(java.lang.String oauthToken) { + return (GenerateBenchmarksMetrics) super.setOauthToken(oauthToken); + } + + @Override + public GenerateBenchmarksMetrics setPrettyPrint(java.lang.Boolean prettyPrint) { + return (GenerateBenchmarksMetrics) super.setPrettyPrint(prettyPrint); + } + + @Override + public GenerateBenchmarksMetrics setQuotaUser(java.lang.String quotaUser) { + return (GenerateBenchmarksMetrics) super.setQuotaUser(quotaUser); + } + + @Override + public GenerateBenchmarksMetrics setUploadType(java.lang.String uploadType) { + return (GenerateBenchmarksMetrics) super.setUploadType(uploadType); + } + + @Override + public GenerateBenchmarksMetrics setUploadProtocol(java.lang.String uploadProtocol) { + return (GenerateBenchmarksMetrics) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. The ID of the customer. Supply a client customer ID to generate metrics for the + * customer. A manager account customer ID will not return customer metrics since it does not + * have any associated direct ad campaigns. + */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer. Supply a client customer ID to generate metrics for the customer. + A manager account customer ID will not return customer metrics since it does not have any + associated direct ad campaigns. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** + * Required. The ID of the customer. Supply a client customer ID to generate metrics for the + * customer. A manager account customer ID will not return customer metrics since it does not + * have any associated direct ad campaigns. + */ + public GenerateBenchmarksMetrics setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public GenerateBenchmarksMetrics set(String parameterName, Object value) { + return (GenerateBenchmarksMetrics) super.set(parameterName, value); + } + } + /** + * Creates a saved report that can be viewed in the Insights Finder tool. List of thrown errors: + * [AuthenticationError]() [AuthorizationError]() [FieldError]() [HeaderError]() [InternalError]() + * [QuotaError]() [RangeError]() [RequestError]() + * + * Create a request for the method "customers.generateInsightsFinderReport". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link GenerateInsightsFinderReport#execute()} method to invoke the remote + * operation. + * + * @param customerId Required. The ID of the customer. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesGenerateInsightsFinderReportRequest} + * @return the request + */ + public GenerateInsightsFinderReport generateInsightsFinderReport(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesGenerateInsightsFinderReportRequest content) throws java.io.IOException { + GenerateInsightsFinderReport result = new GenerateInsightsFinderReport(customerId, content); + initialize(result); + return result; + } + + public class GenerateInsightsFinderReport extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}:generateInsightsFinderReport"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Creates a saved report that can be viewed in the Insights Finder tool. List of thrown errors: + * [AuthenticationError]() [AuthorizationError]() [FieldError]() [HeaderError]() [InternalError]() + * [QuotaError]() [RangeError]() [RequestError]() + * + * Create a request for the method "customers.generateInsightsFinderReport". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link GenerateInsightsFinderReport#execute()} method to invoke + * the remote operation.

{@link GenerateInsightsFinderReport#initialize(com.google.api.client. + * googleapis.services.AbstractGoogleClientRequest)} must be called to initialize this instance + * immediately after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesGenerateInsightsFinderReportRequest} + * @since 1.13 + */ + protected GenerateInsightsFinderReport(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesGenerateInsightsFinderReportRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesGenerateInsightsFinderReportResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public GenerateInsightsFinderReport set$Xgafv(java.lang.String $Xgafv) { + return (GenerateInsightsFinderReport) super.set$Xgafv($Xgafv); + } + + @Override + public GenerateInsightsFinderReport setAccessToken(java.lang.String accessToken) { + return (GenerateInsightsFinderReport) super.setAccessToken(accessToken); + } + + @Override + public GenerateInsightsFinderReport setAlt(java.lang.String alt) { + return (GenerateInsightsFinderReport) super.setAlt(alt); + } + + @Override + public GenerateInsightsFinderReport setCallback(java.lang.String callback) { + return (GenerateInsightsFinderReport) super.setCallback(callback); + } + + @Override + public GenerateInsightsFinderReport setFields(java.lang.String fields) { + return (GenerateInsightsFinderReport) super.setFields(fields); + } + + @Override + public GenerateInsightsFinderReport setKey(java.lang.String key) { + return (GenerateInsightsFinderReport) super.setKey(key); + } + + @Override + public GenerateInsightsFinderReport setOauthToken(java.lang.String oauthToken) { + return (GenerateInsightsFinderReport) super.setOauthToken(oauthToken); + } + + @Override + public GenerateInsightsFinderReport setPrettyPrint(java.lang.Boolean prettyPrint) { + return (GenerateInsightsFinderReport) super.setPrettyPrint(prettyPrint); + } + + @Override + public GenerateInsightsFinderReport setQuotaUser(java.lang.String quotaUser) { + return (GenerateInsightsFinderReport) super.setQuotaUser(quotaUser); + } + + @Override + public GenerateInsightsFinderReport setUploadType(java.lang.String uploadType) { + return (GenerateInsightsFinderReport) super.setUploadType(uploadType); + } + + @Override + public GenerateInsightsFinderReport setUploadProtocol(java.lang.String uploadProtocol) { + return (GenerateInsightsFinderReport) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the customer. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the customer. */ + public GenerateInsightsFinderReport setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public GenerateInsightsFinderReport set(String parameterName, Object value) { + return (GenerateInsightsFinderReport) super.set(parameterName, value); + } + } + /** + * Returns metrics (such as impressions, clicks, total cost) of a keyword forecast for the given + * campaign. List of thrown errors: [AuthenticationError]() [AuthorizationError]() + * [CollectionSizeError]() [HeaderError]() [InternalError]() [QuotaError]() [RequestError]() + * + * Create a request for the method "customers.generateKeywordForecastMetrics". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link GenerateKeywordForecastMetrics#execute()} method to invoke the remote + * operation. + * + * @param customerId The ID of the customer. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesGenerateKeywordForecastMetricsRequest} + * @return the request + */ + public GenerateKeywordForecastMetrics generateKeywordForecastMetrics(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesGenerateKeywordForecastMetricsRequest content) throws java.io.IOException { + GenerateKeywordForecastMetrics result = new GenerateKeywordForecastMetrics(customerId, content); + initialize(result); + return result; + } + + public class GenerateKeywordForecastMetrics extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}:generateKeywordForecastMetrics"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Returns metrics (such as impressions, clicks, total cost) of a keyword forecast for the given + * campaign. List of thrown errors: [AuthenticationError]() [AuthorizationError]() + * [CollectionSizeError]() [HeaderError]() [InternalError]() [QuotaError]() [RequestError]() + * + * Create a request for the method "customers.generateKeywordForecastMetrics". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link GenerateKeywordForecastMetrics#execute()} method to invoke + * the remote operation.

{@link GenerateKeywordForecastMetrics#initialize(com.google.api.clien + * t.googleapis.services.AbstractGoogleClientRequest)} must be called to initialize this instance + * immediately after invoking the constructor.

+ * + * @param customerId The ID of the customer. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesGenerateKeywordForecastMetricsRequest} + * @since 1.13 + */ + protected GenerateKeywordForecastMetrics(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesGenerateKeywordForecastMetricsRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesGenerateKeywordForecastMetricsResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public GenerateKeywordForecastMetrics set$Xgafv(java.lang.String $Xgafv) { + return (GenerateKeywordForecastMetrics) super.set$Xgafv($Xgafv); + } + + @Override + public GenerateKeywordForecastMetrics setAccessToken(java.lang.String accessToken) { + return (GenerateKeywordForecastMetrics) super.setAccessToken(accessToken); + } + + @Override + public GenerateKeywordForecastMetrics setAlt(java.lang.String alt) { + return (GenerateKeywordForecastMetrics) super.setAlt(alt); + } + + @Override + public GenerateKeywordForecastMetrics setCallback(java.lang.String callback) { + return (GenerateKeywordForecastMetrics) super.setCallback(callback); + } + + @Override + public GenerateKeywordForecastMetrics setFields(java.lang.String fields) { + return (GenerateKeywordForecastMetrics) super.setFields(fields); + } + + @Override + public GenerateKeywordForecastMetrics setKey(java.lang.String key) { + return (GenerateKeywordForecastMetrics) super.setKey(key); + } + + @Override + public GenerateKeywordForecastMetrics setOauthToken(java.lang.String oauthToken) { + return (GenerateKeywordForecastMetrics) super.setOauthToken(oauthToken); + } + + @Override + public GenerateKeywordForecastMetrics setPrettyPrint(java.lang.Boolean prettyPrint) { + return (GenerateKeywordForecastMetrics) super.setPrettyPrint(prettyPrint); + } + + @Override + public GenerateKeywordForecastMetrics setQuotaUser(java.lang.String quotaUser) { + return (GenerateKeywordForecastMetrics) super.setQuotaUser(quotaUser); + } + + @Override + public GenerateKeywordForecastMetrics setUploadType(java.lang.String uploadType) { + return (GenerateKeywordForecastMetrics) super.setUploadType(uploadType); + } + + @Override + public GenerateKeywordForecastMetrics setUploadProtocol(java.lang.String uploadProtocol) { + return (GenerateKeywordForecastMetrics) super.setUploadProtocol(uploadProtocol); + } + + /** The ID of the customer. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** The ID of the customer. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** The ID of the customer. */ + public GenerateKeywordForecastMetrics setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public GenerateKeywordForecastMetrics set(String parameterName, Object value) { + return (GenerateKeywordForecastMetrics) super.set(parameterName, value); + } + } + /** + * Returns a list of keyword historical metrics. List of thrown errors: [AuthenticationError]() + * [AuthorizationError]() [CollectionSizeError]() [HeaderError]() [InternalError]() [QuotaError]() + * [RequestError]() + * + * Create a request for the method "customers.generateKeywordHistoricalMetrics". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link GenerateKeywordHistoricalMetrics#execute()} method to invoke the + * remote operation. + * + * @param customerId The ID of the customer with the recommendation. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesGenerateKeywordHistoricalMetricsRequest} + * @return the request + */ + public GenerateKeywordHistoricalMetrics generateKeywordHistoricalMetrics(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesGenerateKeywordHistoricalMetricsRequest content) throws java.io.IOException { + GenerateKeywordHistoricalMetrics result = new GenerateKeywordHistoricalMetrics(customerId, content); + initialize(result); + return result; + } + + public class GenerateKeywordHistoricalMetrics extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}:generateKeywordHistoricalMetrics"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Returns a list of keyword historical metrics. List of thrown errors: [AuthenticationError]() + * [AuthorizationError]() [CollectionSizeError]() [HeaderError]() [InternalError]() [QuotaError]() + * [RequestError]() + * + * Create a request for the method "customers.generateKeywordHistoricalMetrics". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link GenerateKeywordHistoricalMetrics#execute()} method to + * invoke the remote operation.

{@link GenerateKeywordHistoricalMetrics#initialize(com.google. + * api.client.googleapis.services.AbstractGoogleClientRequest)} must be called to initialize this + * instance immediately after invoking the constructor.

+ * + * @param customerId The ID of the customer with the recommendation. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesGenerateKeywordHistoricalMetricsRequest} + * @since 1.13 + */ + protected GenerateKeywordHistoricalMetrics(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesGenerateKeywordHistoricalMetricsRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesGenerateKeywordHistoricalMetricsResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public GenerateKeywordHistoricalMetrics set$Xgafv(java.lang.String $Xgafv) { + return (GenerateKeywordHistoricalMetrics) super.set$Xgafv($Xgafv); + } + + @Override + public GenerateKeywordHistoricalMetrics setAccessToken(java.lang.String accessToken) { + return (GenerateKeywordHistoricalMetrics) super.setAccessToken(accessToken); + } + + @Override + public GenerateKeywordHistoricalMetrics setAlt(java.lang.String alt) { + return (GenerateKeywordHistoricalMetrics) super.setAlt(alt); + } + + @Override + public GenerateKeywordHistoricalMetrics setCallback(java.lang.String callback) { + return (GenerateKeywordHistoricalMetrics) super.setCallback(callback); + } + + @Override + public GenerateKeywordHistoricalMetrics setFields(java.lang.String fields) { + return (GenerateKeywordHistoricalMetrics) super.setFields(fields); + } + + @Override + public GenerateKeywordHistoricalMetrics setKey(java.lang.String key) { + return (GenerateKeywordHistoricalMetrics) super.setKey(key); + } + + @Override + public GenerateKeywordHistoricalMetrics setOauthToken(java.lang.String oauthToken) { + return (GenerateKeywordHistoricalMetrics) super.setOauthToken(oauthToken); + } + + @Override + public GenerateKeywordHistoricalMetrics setPrettyPrint(java.lang.Boolean prettyPrint) { + return (GenerateKeywordHistoricalMetrics) super.setPrettyPrint(prettyPrint); + } + + @Override + public GenerateKeywordHistoricalMetrics setQuotaUser(java.lang.String quotaUser) { + return (GenerateKeywordHistoricalMetrics) super.setQuotaUser(quotaUser); + } + + @Override + public GenerateKeywordHistoricalMetrics setUploadType(java.lang.String uploadType) { + return (GenerateKeywordHistoricalMetrics) super.setUploadType(uploadType); + } + + @Override + public GenerateKeywordHistoricalMetrics setUploadProtocol(java.lang.String uploadProtocol) { + return (GenerateKeywordHistoricalMetrics) super.setUploadProtocol(uploadProtocol); + } + + /** The ID of the customer with the recommendation. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** The ID of the customer with the recommendation. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** The ID of the customer with the recommendation. */ + public GenerateKeywordHistoricalMetrics setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public GenerateKeywordHistoricalMetrics set(String parameterName, Object value) { + return (GenerateKeywordHistoricalMetrics) super.set(parameterName, value); + } + } + /** + * Returns a list of keyword ideas. List of thrown errors: [AuthenticationError]() + * [AuthorizationError]() [CollectionSizeError]() [HeaderError]() [InternalError]() + * [KeywordPlanIdeaError]() [QuotaError]() [RequestError]() + * + * Create a request for the method "customers.generateKeywordIdeas". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link GenerateKeywordIdeas#execute()} method to invoke the remote + * operation. + * + * @param customerId The ID of the customer with the recommendation. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesGenerateKeywordIdeasRequest} + * @return the request + */ + public GenerateKeywordIdeas generateKeywordIdeas(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesGenerateKeywordIdeasRequest content) throws java.io.IOException { + GenerateKeywordIdeas result = new GenerateKeywordIdeas(customerId, content); + initialize(result); + return result; + } + + public class GenerateKeywordIdeas extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}:generateKeywordIdeas"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Returns a list of keyword ideas. List of thrown errors: [AuthenticationError]() + * [AuthorizationError]() [CollectionSizeError]() [HeaderError]() [InternalError]() + * [KeywordPlanIdeaError]() [QuotaError]() [RequestError]() + * + * Create a request for the method "customers.generateKeywordIdeas". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link GenerateKeywordIdeas#execute()} method to invoke the + * remote operation.

{@link GenerateKeywordIdeas#initialize(com.google.api.client.googleapis.s + * ervices.AbstractGoogleClientRequest)} must be called to initialize this instance immediately + * after invoking the constructor.

+ * + * @param customerId The ID of the customer with the recommendation. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesGenerateKeywordIdeasRequest} + * @since 1.13 + */ + protected GenerateKeywordIdeas(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesGenerateKeywordIdeasRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesGenerateKeywordIdeaResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public GenerateKeywordIdeas set$Xgafv(java.lang.String $Xgafv) { + return (GenerateKeywordIdeas) super.set$Xgafv($Xgafv); + } + + @Override + public GenerateKeywordIdeas setAccessToken(java.lang.String accessToken) { + return (GenerateKeywordIdeas) super.setAccessToken(accessToken); + } + + @Override + public GenerateKeywordIdeas setAlt(java.lang.String alt) { + return (GenerateKeywordIdeas) super.setAlt(alt); + } + + @Override + public GenerateKeywordIdeas setCallback(java.lang.String callback) { + return (GenerateKeywordIdeas) super.setCallback(callback); + } + + @Override + public GenerateKeywordIdeas setFields(java.lang.String fields) { + return (GenerateKeywordIdeas) super.setFields(fields); + } + + @Override + public GenerateKeywordIdeas setKey(java.lang.String key) { + return (GenerateKeywordIdeas) super.setKey(key); + } + + @Override + public GenerateKeywordIdeas setOauthToken(java.lang.String oauthToken) { + return (GenerateKeywordIdeas) super.setOauthToken(oauthToken); + } + + @Override + public GenerateKeywordIdeas setPrettyPrint(java.lang.Boolean prettyPrint) { + return (GenerateKeywordIdeas) super.setPrettyPrint(prettyPrint); + } + + @Override + public GenerateKeywordIdeas setQuotaUser(java.lang.String quotaUser) { + return (GenerateKeywordIdeas) super.setQuotaUser(quotaUser); + } + + @Override + public GenerateKeywordIdeas setUploadType(java.lang.String uploadType) { + return (GenerateKeywordIdeas) super.setUploadType(uploadType); + } + + @Override + public GenerateKeywordIdeas setUploadProtocol(java.lang.String uploadProtocol) { + return (GenerateKeywordIdeas) super.setUploadProtocol(uploadProtocol); + } + + /** The ID of the customer with the recommendation. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** The ID of the customer with the recommendation. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** The ID of the customer with the recommendation. */ + public GenerateKeywordIdeas setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public GenerateKeywordIdeas set(String parameterName, Object value) { + return (GenerateKeywordIdeas) super.set(parameterName, value); + } + } + /** + * Generates a reach forecast for a given targeting / product mix. List of thrown errors: + * [AuthenticationError]() [AuthorizationError]() [FieldError]() [HeaderError]() [InternalError]() + * [QuotaError]() [RangeError]() [ReachPlanError]() [RequestError]() + * + * Create a request for the method "customers.generateReachForecast". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link GenerateReachForecast#execute()} method to invoke the remote + * operation. + * + * @param customerId Required. The ID of the customer. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesGenerateReachForecastRequest} + * @return the request + */ + public GenerateReachForecast generateReachForecast(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesGenerateReachForecastRequest content) throws java.io.IOException { + GenerateReachForecast result = new GenerateReachForecast(customerId, content); + initialize(result); + return result; + } + + public class GenerateReachForecast extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}:generateReachForecast"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Generates a reach forecast for a given targeting / product mix. List of thrown errors: + * [AuthenticationError]() [AuthorizationError]() [FieldError]() [HeaderError]() [InternalError]() + * [QuotaError]() [RangeError]() [ReachPlanError]() [RequestError]() + * + * Create a request for the method "customers.generateReachForecast". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link GenerateReachForecast#execute()} method to invoke the + * remote operation.

{@link GenerateReachForecast#initialize(com.google.api.client.googleapis. + * services.AbstractGoogleClientRequest)} must be called to initialize this instance immediately + * after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesGenerateReachForecastRequest} + * @since 1.13 + */ + protected GenerateReachForecast(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesGenerateReachForecastRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesGenerateReachForecastResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public GenerateReachForecast set$Xgafv(java.lang.String $Xgafv) { + return (GenerateReachForecast) super.set$Xgafv($Xgafv); + } + + @Override + public GenerateReachForecast setAccessToken(java.lang.String accessToken) { + return (GenerateReachForecast) super.setAccessToken(accessToken); + } + + @Override + public GenerateReachForecast setAlt(java.lang.String alt) { + return (GenerateReachForecast) super.setAlt(alt); + } + + @Override + public GenerateReachForecast setCallback(java.lang.String callback) { + return (GenerateReachForecast) super.setCallback(callback); + } + + @Override + public GenerateReachForecast setFields(java.lang.String fields) { + return (GenerateReachForecast) super.setFields(fields); + } + + @Override + public GenerateReachForecast setKey(java.lang.String key) { + return (GenerateReachForecast) super.setKey(key); + } + + @Override + public GenerateReachForecast setOauthToken(java.lang.String oauthToken) { + return (GenerateReachForecast) super.setOauthToken(oauthToken); + } + + @Override + public GenerateReachForecast setPrettyPrint(java.lang.Boolean prettyPrint) { + return (GenerateReachForecast) super.setPrettyPrint(prettyPrint); + } + + @Override + public GenerateReachForecast setQuotaUser(java.lang.String quotaUser) { + return (GenerateReachForecast) super.setQuotaUser(quotaUser); + } + + @Override + public GenerateReachForecast setUploadType(java.lang.String uploadType) { + return (GenerateReachForecast) super.setUploadType(uploadType); + } + + @Override + public GenerateReachForecast setUploadProtocol(java.lang.String uploadProtocol) { + return (GenerateReachForecast) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the customer. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the customer. */ + public GenerateReachForecast setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public GenerateReachForecast set(String parameterName, Object value) { + return (GenerateReachForecast) super.set(parameterName, value); + } + } + /** + * Returns a collection of targeting insights (e.g. targetable audiences) that are relevant to the + * requested audience. List of thrown errors: [AudienceInsightsError]() [AuthenticationError]() + * [AuthorizationError]() [FieldError]() [HeaderError]() [InternalError]() [QuotaError]() + * [RangeError]() [RequestError]() + * + * Create a request for the method "customers.generateSuggestedTargetingInsights". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link GenerateSuggestedTargetingInsights#execute()} method to invoke the + * remote operation. + * + * @param customerId Required. The ID of the customer. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesGenerateSuggestedTargetingInsightsRequest} + * @return the request + */ + public GenerateSuggestedTargetingInsights generateSuggestedTargetingInsights(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesGenerateSuggestedTargetingInsightsRequest content) throws java.io.IOException { + GenerateSuggestedTargetingInsights result = new GenerateSuggestedTargetingInsights(customerId, content); + initialize(result); + return result; + } + + public class GenerateSuggestedTargetingInsights extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}:generateSuggestedTargetingInsights"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Returns a collection of targeting insights (e.g. targetable audiences) that are relevant to the + * requested audience. List of thrown errors: [AudienceInsightsError]() [AuthenticationError]() + * [AuthorizationError]() [FieldError]() [HeaderError]() [InternalError]() [QuotaError]() + * [RangeError]() [RequestError]() + * + * Create a request for the method "customers.generateSuggestedTargetingInsights". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link GenerateSuggestedTargetingInsights#execute()} method to + * invoke the remote operation.

{@link GenerateSuggestedTargetingInsights#initialize(com.googl + * e.api.client.googleapis.services.AbstractGoogleClientRequest)} must be called to initialize + * this instance immediately after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesGenerateSuggestedTargetingInsightsRequest} + * @since 1.13 + */ + protected GenerateSuggestedTargetingInsights(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesGenerateSuggestedTargetingInsightsRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesGenerateSuggestedTargetingInsightsResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public GenerateSuggestedTargetingInsights set$Xgafv(java.lang.String $Xgafv) { + return (GenerateSuggestedTargetingInsights) super.set$Xgafv($Xgafv); + } + + @Override + public GenerateSuggestedTargetingInsights setAccessToken(java.lang.String accessToken) { + return (GenerateSuggestedTargetingInsights) super.setAccessToken(accessToken); + } + + @Override + public GenerateSuggestedTargetingInsights setAlt(java.lang.String alt) { + return (GenerateSuggestedTargetingInsights) super.setAlt(alt); + } + + @Override + public GenerateSuggestedTargetingInsights setCallback(java.lang.String callback) { + return (GenerateSuggestedTargetingInsights) super.setCallback(callback); + } + + @Override + public GenerateSuggestedTargetingInsights setFields(java.lang.String fields) { + return (GenerateSuggestedTargetingInsights) super.setFields(fields); + } + + @Override + public GenerateSuggestedTargetingInsights setKey(java.lang.String key) { + return (GenerateSuggestedTargetingInsights) super.setKey(key); + } + + @Override + public GenerateSuggestedTargetingInsights setOauthToken(java.lang.String oauthToken) { + return (GenerateSuggestedTargetingInsights) super.setOauthToken(oauthToken); + } + + @Override + public GenerateSuggestedTargetingInsights setPrettyPrint(java.lang.Boolean prettyPrint) { + return (GenerateSuggestedTargetingInsights) super.setPrettyPrint(prettyPrint); + } + + @Override + public GenerateSuggestedTargetingInsights setQuotaUser(java.lang.String quotaUser) { + return (GenerateSuggestedTargetingInsights) super.setQuotaUser(quotaUser); + } + + @Override + public GenerateSuggestedTargetingInsights setUploadType(java.lang.String uploadType) { + return (GenerateSuggestedTargetingInsights) super.setUploadType(uploadType); + } + + @Override + public GenerateSuggestedTargetingInsights setUploadProtocol(java.lang.String uploadProtocol) { + return (GenerateSuggestedTargetingInsights) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the customer. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the customer. */ + public GenerateSuggestedTargetingInsights setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public GenerateSuggestedTargetingInsights set(String parameterName, Object value) { + return (GenerateSuggestedTargetingInsights) super.set(parameterName, value); + } + } + /** + * Returns potential reach metrics for targetable audiences. This method helps answer questions like + * "How many Men aged 18+ interested in Camping can be reached on YouTube?" List of thrown errors: + * [AudienceInsightsError]() [AuthenticationError]() [AuthorizationError]() [FieldError]() + * [HeaderError]() [InternalError]() [QuotaError]() [RangeError]() [RequestError]() + * + * Create a request for the method "customers.generateTargetingSuggestionMetrics". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link GenerateTargetingSuggestionMetrics#execute()} method to invoke the + * remote operation. + * + * @param customerId Required. The ID of the customer. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesGenerateTargetingSuggestionMetricsRequest} + * @return the request + */ + public GenerateTargetingSuggestionMetrics generateTargetingSuggestionMetrics(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesGenerateTargetingSuggestionMetricsRequest content) throws java.io.IOException { + GenerateTargetingSuggestionMetrics result = new GenerateTargetingSuggestionMetrics(customerId, content); + initialize(result); + return result; + } + + public class GenerateTargetingSuggestionMetrics extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}:generateTargetingSuggestionMetrics"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Returns potential reach metrics for targetable audiences. This method helps answer questions + * like "How many Men aged 18+ interested in Camping can be reached on YouTube?" List of thrown + * errors: [AudienceInsightsError]() [AuthenticationError]() [AuthorizationError]() [FieldError]() + * [HeaderError]() [InternalError]() [QuotaError]() [RangeError]() [RequestError]() + * + * Create a request for the method "customers.generateTargetingSuggestionMetrics". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link GenerateTargetingSuggestionMetrics#execute()} method to + * invoke the remote operation.

{@link GenerateTargetingSuggestionMetrics#initialize(com.googl + * e.api.client.googleapis.services.AbstractGoogleClientRequest)} must be called to initialize + * this instance immediately after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesGenerateTargetingSuggestionMetricsRequest} + * @since 1.13 + */ + protected GenerateTargetingSuggestionMetrics(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesGenerateTargetingSuggestionMetricsRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesGenerateTargetingSuggestionMetricsResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public GenerateTargetingSuggestionMetrics set$Xgafv(java.lang.String $Xgafv) { + return (GenerateTargetingSuggestionMetrics) super.set$Xgafv($Xgafv); + } + + @Override + public GenerateTargetingSuggestionMetrics setAccessToken(java.lang.String accessToken) { + return (GenerateTargetingSuggestionMetrics) super.setAccessToken(accessToken); + } + + @Override + public GenerateTargetingSuggestionMetrics setAlt(java.lang.String alt) { + return (GenerateTargetingSuggestionMetrics) super.setAlt(alt); + } + + @Override + public GenerateTargetingSuggestionMetrics setCallback(java.lang.String callback) { + return (GenerateTargetingSuggestionMetrics) super.setCallback(callback); + } + + @Override + public GenerateTargetingSuggestionMetrics setFields(java.lang.String fields) { + return (GenerateTargetingSuggestionMetrics) super.setFields(fields); + } + + @Override + public GenerateTargetingSuggestionMetrics setKey(java.lang.String key) { + return (GenerateTargetingSuggestionMetrics) super.setKey(key); + } + + @Override + public GenerateTargetingSuggestionMetrics setOauthToken(java.lang.String oauthToken) { + return (GenerateTargetingSuggestionMetrics) super.setOauthToken(oauthToken); + } + + @Override + public GenerateTargetingSuggestionMetrics setPrettyPrint(java.lang.Boolean prettyPrint) { + return (GenerateTargetingSuggestionMetrics) super.setPrettyPrint(prettyPrint); + } + + @Override + public GenerateTargetingSuggestionMetrics setQuotaUser(java.lang.String quotaUser) { + return (GenerateTargetingSuggestionMetrics) super.setQuotaUser(quotaUser); + } + + @Override + public GenerateTargetingSuggestionMetrics setUploadType(java.lang.String uploadType) { + return (GenerateTargetingSuggestionMetrics) super.setUploadType(uploadType); + } + + @Override + public GenerateTargetingSuggestionMetrics setUploadProtocol(java.lang.String uploadProtocol) { + return (GenerateTargetingSuggestionMetrics) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the customer. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the customer. */ + public GenerateTargetingSuggestionMetrics setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public GenerateTargetingSuggestionMetrics set(String parameterName, Object value) { + return (GenerateTargetingSuggestionMetrics) super.set(parameterName, value); + } + } + /** + * Returns Identity Verification information. List of thrown errors: [AuthenticationError]() + * [AuthorizationError]() [HeaderError]() [InternalError]() [QuotaError]() [RequestError]() + * + * Create a request for the method "customers.getIdentityVerification". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link GetIdentityVerification#execute()} method to invoke the remote + * operation. + * + * @param customerId Required. The ID of the customer for whom we are requesting verification information. + * @return the request + */ + public GetIdentityVerification getIdentityVerification(java.lang.String customerId) throws java.io.IOException { + GetIdentityVerification result = new GetIdentityVerification(customerId); + initialize(result); + return result; + } + + public class GetIdentityVerification extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/getIdentityVerification"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Returns Identity Verification information. List of thrown errors: [AuthenticationError]() + * [AuthorizationError]() [HeaderError]() [InternalError]() [QuotaError]() [RequestError]() + * + * Create a request for the method "customers.getIdentityVerification". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link GetIdentityVerification#execute()} method to invoke the + * remote operation.

{@link GetIdentityVerification#initialize(com.google.api.client.googleapi + * s.services.AbstractGoogleClientRequest)} must be called to initialize this instance immediately + * after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer for whom we are requesting verification information. + * @since 1.13 + */ + protected GetIdentityVerification(java.lang.String customerId) { + super(SA360.this, "GET", REST_PATH, null, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesGetIdentityVerificationResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { + return super.executeUsingHead(); + } + + @Override + public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { + return super.buildHttpRequestUsingHead(); + } + + @Override + public GetIdentityVerification set$Xgafv(java.lang.String $Xgafv) { + return (GetIdentityVerification) super.set$Xgafv($Xgafv); + } + + @Override + public GetIdentityVerification setAccessToken(java.lang.String accessToken) { + return (GetIdentityVerification) super.setAccessToken(accessToken); + } + + @Override + public GetIdentityVerification setAlt(java.lang.String alt) { + return (GetIdentityVerification) super.setAlt(alt); + } + + @Override + public GetIdentityVerification setCallback(java.lang.String callback) { + return (GetIdentityVerification) super.setCallback(callback); + } + + @Override + public GetIdentityVerification setFields(java.lang.String fields) { + return (GetIdentityVerification) super.setFields(fields); + } + + @Override + public GetIdentityVerification setKey(java.lang.String key) { + return (GetIdentityVerification) super.setKey(key); + } + + @Override + public GetIdentityVerification setOauthToken(java.lang.String oauthToken) { + return (GetIdentityVerification) super.setOauthToken(oauthToken); + } + + @Override + public GetIdentityVerification setPrettyPrint(java.lang.Boolean prettyPrint) { + return (GetIdentityVerification) super.setPrettyPrint(prettyPrint); + } + + @Override + public GetIdentityVerification setQuotaUser(java.lang.String quotaUser) { + return (GetIdentityVerification) super.setQuotaUser(quotaUser); + } + + @Override + public GetIdentityVerification setUploadType(java.lang.String uploadType) { + return (GetIdentityVerification) super.setUploadType(uploadType); + } + + @Override + public GetIdentityVerification setUploadProtocol(java.lang.String uploadProtocol) { + return (GetIdentityVerification) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the customer for whom we are requesting verification information. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer for whom we are requesting verification information. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the customer for whom we are requesting verification information. */ + public GetIdentityVerification setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public GetIdentityVerification set(String parameterName, Object value) { + return (GetIdentityVerification) super.set(parameterName, value); + } + } + /** + * Returns resource names of customers directly accessible by the user authenticating the call. List + * of thrown errors: [AuthenticationError]() [AuthorizationError]() [HeaderError]() + * [InternalError]() [QuotaError]() [RequestError]() + * + * Create a request for the method "customers.listAccessibleCustomers". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link ListAccessibleCustomers#execute()} method to invoke the remote + * operation. + * + * @return the request + */ + public ListAccessibleCustomers listAccessibleCustomers() throws java.io.IOException { + ListAccessibleCustomers result = new ListAccessibleCustomers(); + initialize(result); + return result; + } + + public class ListAccessibleCustomers extends SA360Request { + + private static final String REST_PATH = "v23/customers:listAccessibleCustomers"; + + /** + * Returns resource names of customers directly accessible by the user authenticating the call. + * List of thrown errors: [AuthenticationError]() [AuthorizationError]() [HeaderError]() + * [InternalError]() [QuotaError]() [RequestError]() + * + * Create a request for the method "customers.listAccessibleCustomers". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link ListAccessibleCustomers#execute()} method to invoke the + * remote operation.

{@link ListAccessibleCustomers#initialize(com.google.api.client.googleapi + * s.services.AbstractGoogleClientRequest)} must be called to initialize this instance immediately + * after invoking the constructor.

+ * + * @since 1.13 + */ + protected ListAccessibleCustomers() { + super(SA360.this, "GET", REST_PATH, null, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesListAccessibleCustomersResponse.class); + } + + @Override + public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { + return super.executeUsingHead(); + } + + @Override + public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { + return super.buildHttpRequestUsingHead(); + } + + @Override + public ListAccessibleCustomers set$Xgafv(java.lang.String $Xgafv) { + return (ListAccessibleCustomers) super.set$Xgafv($Xgafv); + } + + @Override + public ListAccessibleCustomers setAccessToken(java.lang.String accessToken) { + return (ListAccessibleCustomers) super.setAccessToken(accessToken); + } + + @Override + public ListAccessibleCustomers setAlt(java.lang.String alt) { + return (ListAccessibleCustomers) super.setAlt(alt); + } + + @Override + public ListAccessibleCustomers setCallback(java.lang.String callback) { + return (ListAccessibleCustomers) super.setCallback(callback); + } + + @Override + public ListAccessibleCustomers setFields(java.lang.String fields) { + return (ListAccessibleCustomers) super.setFields(fields); + } + + @Override + public ListAccessibleCustomers setKey(java.lang.String key) { + return (ListAccessibleCustomers) super.setKey(key); + } + + @Override + public ListAccessibleCustomers setOauthToken(java.lang.String oauthToken) { + return (ListAccessibleCustomers) super.setOauthToken(oauthToken); + } + + @Override + public ListAccessibleCustomers setPrettyPrint(java.lang.Boolean prettyPrint) { + return (ListAccessibleCustomers) super.setPrettyPrint(prettyPrint); + } + + @Override + public ListAccessibleCustomers setQuotaUser(java.lang.String quotaUser) { + return (ListAccessibleCustomers) super.setQuotaUser(quotaUser); + } + + @Override + public ListAccessibleCustomers setUploadType(java.lang.String uploadType) { + return (ListAccessibleCustomers) super.setUploadType(uploadType); + } + + @Override + public ListAccessibleCustomers setUploadProtocol(java.lang.String uploadProtocol) { + return (ListAccessibleCustomers) super.setUploadProtocol(uploadProtocol); + } + + @Override + public ListAccessibleCustomers set(String parameterName, Object value) { + return (ListAccessibleCustomers) super.set(parameterName, value); + } + } + /** + * Updates a customer. Operation statuses are returned. List of thrown errors: + * [AuthenticationError]() [AuthorizationError]() [DatabaseError]() [FieldMaskError]() + * [HeaderError]() [InternalError]() [QuotaError]() [RequestError]() [UrlFieldError]() + * + * Create a request for the method "customers.mutate". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + * + * @param customerId Required. The ID of the customer being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCustomerRequest} + * @return the request + */ + public Mutate mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCustomerRequest content) throws java.io.IOException { + Mutate result = new Mutate(customerId, content); + initialize(result); + return result; + } + + public class Mutate extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}:mutate"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Updates a customer. Operation statuses are returned. List of thrown errors: + * [AuthenticationError]() [AuthorizationError]() [DatabaseError]() [FieldMaskError]() + * [HeaderError]() [InternalError]() [QuotaError]() [RequestError]() [UrlFieldError]() + * + * Create a request for the method "customers.mutate". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + *

{@link + * Mutate#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCustomerRequest} + * @since 1.13 + */ + protected Mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCustomerRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCustomerResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public Mutate set$Xgafv(java.lang.String $Xgafv) { + return (Mutate) super.set$Xgafv($Xgafv); + } + + @Override + public Mutate setAccessToken(java.lang.String accessToken) { + return (Mutate) super.setAccessToken(accessToken); + } + + @Override + public Mutate setAlt(java.lang.String alt) { + return (Mutate) super.setAlt(alt); + } + + @Override + public Mutate setCallback(java.lang.String callback) { + return (Mutate) super.setCallback(callback); + } + + @Override + public Mutate setFields(java.lang.String fields) { + return (Mutate) super.setFields(fields); + } + + @Override + public Mutate setKey(java.lang.String key) { + return (Mutate) super.setKey(key); + } + + @Override + public Mutate setOauthToken(java.lang.String oauthToken) { + return (Mutate) super.setOauthToken(oauthToken); + } + + @Override + public Mutate setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Mutate) super.setPrettyPrint(prettyPrint); + } + + @Override + public Mutate setQuotaUser(java.lang.String quotaUser) { + return (Mutate) super.setQuotaUser(quotaUser); + } + + @Override + public Mutate setUploadType(java.lang.String uploadType) { + return (Mutate) super.setUploadType(uploadType); + } + + @Override + public Mutate setUploadProtocol(java.lang.String uploadProtocol) { + return (Mutate) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the customer being modified. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer being modified. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the customer being modified. */ + public Mutate setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public Mutate set(String parameterName, Object value) { + return (Mutate) super.set(parameterName, value); + } + } + /** + * Removes automatically created assets from a campaign. List of thrown errors: + * [AuthenticationError]() [AuthorizationError]() [ContextError]() [FieldError]() [InternalError]() + * [MutateError]() [PartialFailureError]() [QuotaError]() [RequestError]() + * + * Create a request for the method "customers.removeCampaignAutomaticallyCreatedAsset". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link RemoveCampaignAutomaticallyCreatedAsset#execute()} method to invoke + * the remote operation. + * + * @param customerId Required. The ID of the customer whose assets are being removed. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesRemoveCampaignAutomaticallyCreatedAssetRequest} + * @return the request + */ + public RemoveCampaignAutomaticallyCreatedAsset removeCampaignAutomaticallyCreatedAsset(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesRemoveCampaignAutomaticallyCreatedAssetRequest content) throws java.io.IOException { + RemoveCampaignAutomaticallyCreatedAsset result = new RemoveCampaignAutomaticallyCreatedAsset(customerId, content); + initialize(result); + return result; + } + + public class RemoveCampaignAutomaticallyCreatedAsset extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}:removeCampaignAutomaticallyCreatedAsset"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Removes automatically created assets from a campaign. List of thrown errors: + * [AuthenticationError]() [AuthorizationError]() [ContextError]() [FieldError]() + * [InternalError]() [MutateError]() [PartialFailureError]() [QuotaError]() [RequestError]() + * + * Create a request for the method "customers.removeCampaignAutomaticallyCreatedAsset". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link RemoveCampaignAutomaticallyCreatedAsset#execute()} method + * to invoke the remote operation.

{@link RemoveCampaignAutomaticallyCreatedAsset#initialize(c + * om.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be called to + * initialize this instance immediately after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer whose assets are being removed. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesRemoveCampaignAutomaticallyCreatedAssetRequest} + * @since 1.13 + */ + protected RemoveCampaignAutomaticallyCreatedAsset(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesRemoveCampaignAutomaticallyCreatedAssetRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesRemoveCampaignAutomaticallyCreatedAssetResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public RemoveCampaignAutomaticallyCreatedAsset set$Xgafv(java.lang.String $Xgafv) { + return (RemoveCampaignAutomaticallyCreatedAsset) super.set$Xgafv($Xgafv); + } + + @Override + public RemoveCampaignAutomaticallyCreatedAsset setAccessToken(java.lang.String accessToken) { + return (RemoveCampaignAutomaticallyCreatedAsset) super.setAccessToken(accessToken); + } + + @Override + public RemoveCampaignAutomaticallyCreatedAsset setAlt(java.lang.String alt) { + return (RemoveCampaignAutomaticallyCreatedAsset) super.setAlt(alt); + } + + @Override + public RemoveCampaignAutomaticallyCreatedAsset setCallback(java.lang.String callback) { + return (RemoveCampaignAutomaticallyCreatedAsset) super.setCallback(callback); + } + + @Override + public RemoveCampaignAutomaticallyCreatedAsset setFields(java.lang.String fields) { + return (RemoveCampaignAutomaticallyCreatedAsset) super.setFields(fields); + } + + @Override + public RemoveCampaignAutomaticallyCreatedAsset setKey(java.lang.String key) { + return (RemoveCampaignAutomaticallyCreatedAsset) super.setKey(key); + } + + @Override + public RemoveCampaignAutomaticallyCreatedAsset setOauthToken(java.lang.String oauthToken) { + return (RemoveCampaignAutomaticallyCreatedAsset) super.setOauthToken(oauthToken); + } + + @Override + public RemoveCampaignAutomaticallyCreatedAsset setPrettyPrint(java.lang.Boolean prettyPrint) { + return (RemoveCampaignAutomaticallyCreatedAsset) super.setPrettyPrint(prettyPrint); + } + + @Override + public RemoveCampaignAutomaticallyCreatedAsset setQuotaUser(java.lang.String quotaUser) { + return (RemoveCampaignAutomaticallyCreatedAsset) super.setQuotaUser(quotaUser); + } + + @Override + public RemoveCampaignAutomaticallyCreatedAsset setUploadType(java.lang.String uploadType) { + return (RemoveCampaignAutomaticallyCreatedAsset) super.setUploadType(uploadType); + } + + @Override + public RemoveCampaignAutomaticallyCreatedAsset setUploadProtocol(java.lang.String uploadProtocol) { + return (RemoveCampaignAutomaticallyCreatedAsset) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the customer whose assets are being removed. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer whose assets are being removed. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the customer whose assets are being removed. */ + public RemoveCampaignAutomaticallyCreatedAsset setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public RemoveCampaignAutomaticallyCreatedAsset set(String parameterName, Object value) { + return (RemoveCampaignAutomaticallyCreatedAsset) super.set(parameterName, value); + } + } + /** + * Searches for audience attributes that can be used to generate insights. List of thrown errors: + * [AuthenticationError]() [AuthorizationError]() [FieldError]() [HeaderError]() [InternalError]() + * [QuotaError]() [RangeError]() [RequestError]() + * + * Create a request for the method "customers.searchAudienceInsightsAttributes". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link SearchAudienceInsightsAttributes#execute()} method to invoke the + * remote operation. + * + * @param customerId Required. The ID of the customer. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesListAudienceInsightsAttributesRequest} + * @return the request + */ + public SearchAudienceInsightsAttributes searchAudienceInsightsAttributes(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesListAudienceInsightsAttributesRequest content) throws java.io.IOException { + SearchAudienceInsightsAttributes result = new SearchAudienceInsightsAttributes(customerId, content); + initialize(result); + return result; + } + + public class SearchAudienceInsightsAttributes extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}:searchAudienceInsightsAttributes"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Searches for audience attributes that can be used to generate insights. List of thrown errors: + * [AuthenticationError]() [AuthorizationError]() [FieldError]() [HeaderError]() [InternalError]() + * [QuotaError]() [RangeError]() [RequestError]() + * + * Create a request for the method "customers.searchAudienceInsightsAttributes". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link SearchAudienceInsightsAttributes#execute()} method to + * invoke the remote operation.

{@link SearchAudienceInsightsAttributes#initialize(com.google. + * api.client.googleapis.services.AbstractGoogleClientRequest)} must be called to initialize this + * instance immediately after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesListAudienceInsightsAttributesRequest} + * @since 1.13 + */ + protected SearchAudienceInsightsAttributes(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesListAudienceInsightsAttributesRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesListAudienceInsightsAttributesResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public SearchAudienceInsightsAttributes set$Xgafv(java.lang.String $Xgafv) { + return (SearchAudienceInsightsAttributes) super.set$Xgafv($Xgafv); + } + + @Override + public SearchAudienceInsightsAttributes setAccessToken(java.lang.String accessToken) { + return (SearchAudienceInsightsAttributes) super.setAccessToken(accessToken); + } + + @Override + public SearchAudienceInsightsAttributes setAlt(java.lang.String alt) { + return (SearchAudienceInsightsAttributes) super.setAlt(alt); + } + + @Override + public SearchAudienceInsightsAttributes setCallback(java.lang.String callback) { + return (SearchAudienceInsightsAttributes) super.setCallback(callback); + } + + @Override + public SearchAudienceInsightsAttributes setFields(java.lang.String fields) { + return (SearchAudienceInsightsAttributes) super.setFields(fields); + } + + @Override + public SearchAudienceInsightsAttributes setKey(java.lang.String key) { + return (SearchAudienceInsightsAttributes) super.setKey(key); + } + + @Override + public SearchAudienceInsightsAttributes setOauthToken(java.lang.String oauthToken) { + return (SearchAudienceInsightsAttributes) super.setOauthToken(oauthToken); + } + + @Override + public SearchAudienceInsightsAttributes setPrettyPrint(java.lang.Boolean prettyPrint) { + return (SearchAudienceInsightsAttributes) super.setPrettyPrint(prettyPrint); + } + + @Override + public SearchAudienceInsightsAttributes setQuotaUser(java.lang.String quotaUser) { + return (SearchAudienceInsightsAttributes) super.setQuotaUser(quotaUser); + } + + @Override + public SearchAudienceInsightsAttributes setUploadType(java.lang.String uploadType) { + return (SearchAudienceInsightsAttributes) super.setUploadType(uploadType); + } + + @Override + public SearchAudienceInsightsAttributes setUploadProtocol(java.lang.String uploadProtocol) { + return (SearchAudienceInsightsAttributes) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the customer. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the customer. */ + public SearchAudienceInsightsAttributes setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public SearchAudienceInsightsAttributes set(String parameterName, Object value) { + return (SearchAudienceInsightsAttributes) super.set(parameterName, value); + } + } + /** + * Starts Identity Verification for a given verification program type. Statuses are returned. List + * of thrown errors: [AuthenticationError]() [AuthorizationError]() [HeaderError]() + * [InternalError]() [QuotaError]() [RequestError]() + * + * Create a request for the method "customers.startIdentityVerification". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link StartIdentityVerification#execute()} method to invoke the remote + * operation. + * + * @param customerId Required. The Id of the customer for whom we are creating this verification. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesStartIdentityVerificationRequest} + * @return the request + */ + public StartIdentityVerification startIdentityVerification(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesStartIdentityVerificationRequest content) throws java.io.IOException { + StartIdentityVerification result = new StartIdentityVerification(customerId, content); + initialize(result); + return result; + } + + public class StartIdentityVerification extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}:startIdentityVerification"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Starts Identity Verification for a given verification program type. Statuses are returned. List + * of thrown errors: [AuthenticationError]() [AuthorizationError]() [HeaderError]() + * [InternalError]() [QuotaError]() [RequestError]() + * + * Create a request for the method "customers.startIdentityVerification". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link StartIdentityVerification#execute()} method to invoke the + * remote operation.

{@link StartIdentityVerification#initialize(com.google.api.client.googlea + * pis.services.AbstractGoogleClientRequest)} must be called to initialize this instance + * immediately after invoking the constructor.

+ * + * @param customerId Required. The Id of the customer for whom we are creating this verification. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesStartIdentityVerificationRequest} + * @since 1.13 + */ + protected StartIdentityVerification(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesStartIdentityVerificationRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleProtobufEmpty.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public StartIdentityVerification set$Xgafv(java.lang.String $Xgafv) { + return (StartIdentityVerification) super.set$Xgafv($Xgafv); + } + + @Override + public StartIdentityVerification setAccessToken(java.lang.String accessToken) { + return (StartIdentityVerification) super.setAccessToken(accessToken); + } + + @Override + public StartIdentityVerification setAlt(java.lang.String alt) { + return (StartIdentityVerification) super.setAlt(alt); + } + + @Override + public StartIdentityVerification setCallback(java.lang.String callback) { + return (StartIdentityVerification) super.setCallback(callback); + } + + @Override + public StartIdentityVerification setFields(java.lang.String fields) { + return (StartIdentityVerification) super.setFields(fields); + } + + @Override + public StartIdentityVerification setKey(java.lang.String key) { + return (StartIdentityVerification) super.setKey(key); + } + + @Override + public StartIdentityVerification setOauthToken(java.lang.String oauthToken) { + return (StartIdentityVerification) super.setOauthToken(oauthToken); + } + + @Override + public StartIdentityVerification setPrettyPrint(java.lang.Boolean prettyPrint) { + return (StartIdentityVerification) super.setPrettyPrint(prettyPrint); + } + + @Override + public StartIdentityVerification setQuotaUser(java.lang.String quotaUser) { + return (StartIdentityVerification) super.setQuotaUser(quotaUser); + } + + @Override + public StartIdentityVerification setUploadType(java.lang.String uploadType) { + return (StartIdentityVerification) super.setUploadType(uploadType); + } + + @Override + public StartIdentityVerification setUploadProtocol(java.lang.String uploadProtocol) { + return (StartIdentityVerification) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The Id of the customer for whom we are creating this verification. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The Id of the customer for whom we are creating this verification. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The Id of the customer for whom we are creating this verification. */ + public StartIdentityVerification setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public StartIdentityVerification set(String parameterName, Object value) { + return (StartIdentityVerification) super.set(parameterName, value); + } + } + /** + * Suggests keyword themes to advertise on. + * + * Create a request for the method "customers.suggestKeywordThemes". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link SuggestKeywordThemes#execute()} method to invoke the remote + * operation. + * + * @param customerId Required. The ID of the customer. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesSuggestKeywordThemesRequest} + * @return the request + */ + public SuggestKeywordThemes suggestKeywordThemes(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesSuggestKeywordThemesRequest content) throws java.io.IOException { + SuggestKeywordThemes result = new SuggestKeywordThemes(customerId, content); + initialize(result); + return result; + } + + public class SuggestKeywordThemes extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}:suggestKeywordThemes"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Suggests keyword themes to advertise on. + * + * Create a request for the method "customers.suggestKeywordThemes". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link SuggestKeywordThemes#execute()} method to invoke the + * remote operation.

{@link SuggestKeywordThemes#initialize(com.google.api.client.googleapis.s + * ervices.AbstractGoogleClientRequest)} must be called to initialize this instance immediately + * after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesSuggestKeywordThemesRequest} + * @since 1.13 + */ + protected SuggestKeywordThemes(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesSuggestKeywordThemesRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesSuggestKeywordThemesResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public SuggestKeywordThemes set$Xgafv(java.lang.String $Xgafv) { + return (SuggestKeywordThemes) super.set$Xgafv($Xgafv); + } + + @Override + public SuggestKeywordThemes setAccessToken(java.lang.String accessToken) { + return (SuggestKeywordThemes) super.setAccessToken(accessToken); + } + + @Override + public SuggestKeywordThemes setAlt(java.lang.String alt) { + return (SuggestKeywordThemes) super.setAlt(alt); + } + + @Override + public SuggestKeywordThemes setCallback(java.lang.String callback) { + return (SuggestKeywordThemes) super.setCallback(callback); + } + + @Override + public SuggestKeywordThemes setFields(java.lang.String fields) { + return (SuggestKeywordThemes) super.setFields(fields); + } + + @Override + public SuggestKeywordThemes setKey(java.lang.String key) { + return (SuggestKeywordThemes) super.setKey(key); + } + + @Override + public SuggestKeywordThemes setOauthToken(java.lang.String oauthToken) { + return (SuggestKeywordThemes) super.setOauthToken(oauthToken); + } + + @Override + public SuggestKeywordThemes setPrettyPrint(java.lang.Boolean prettyPrint) { + return (SuggestKeywordThemes) super.setPrettyPrint(prettyPrint); + } + + @Override + public SuggestKeywordThemes setQuotaUser(java.lang.String quotaUser) { + return (SuggestKeywordThemes) super.setQuotaUser(quotaUser); + } + + @Override + public SuggestKeywordThemes setUploadType(java.lang.String uploadType) { + return (SuggestKeywordThemes) super.setUploadType(uploadType); + } + + @Override + public SuggestKeywordThemes setUploadProtocol(java.lang.String uploadProtocol) { + return (SuggestKeywordThemes) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the customer. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the customer. */ + public SuggestKeywordThemes setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public SuggestKeywordThemes set(String parameterName, Object value) { + return (SuggestKeywordThemes) super.set(parameterName, value); + } + } + /** + * Suggests a Smart campaign ad compatible with the Ad family of resources, based on data points + * such as targeting and the business to advertise. + * + * Create a request for the method "customers.suggestSmartCampaignAd". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link SuggestSmartCampaignAd#execute()} method to invoke the remote + * operation. + * + * @param customerId Required. The ID of the customer. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesSuggestSmartCampaignAdRequest} + * @return the request + */ + public SuggestSmartCampaignAd suggestSmartCampaignAd(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesSuggestSmartCampaignAdRequest content) throws java.io.IOException { + SuggestSmartCampaignAd result = new SuggestSmartCampaignAd(customerId, content); + initialize(result); + return result; + } + + public class SuggestSmartCampaignAd extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}:suggestSmartCampaignAd"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Suggests a Smart campaign ad compatible with the Ad family of resources, based on data points + * such as targeting and the business to advertise. + * + * Create a request for the method "customers.suggestSmartCampaignAd". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link SuggestSmartCampaignAd#execute()} method to invoke the + * remote operation.

{@link SuggestSmartCampaignAd#initialize(com.google.api.client.googleapis + * .services.AbstractGoogleClientRequest)} must be called to initialize this instance immediately + * after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesSuggestSmartCampaignAdRequest} + * @since 1.13 + */ + protected SuggestSmartCampaignAd(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesSuggestSmartCampaignAdRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesSuggestSmartCampaignAdResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public SuggestSmartCampaignAd set$Xgafv(java.lang.String $Xgafv) { + return (SuggestSmartCampaignAd) super.set$Xgafv($Xgafv); + } + + @Override + public SuggestSmartCampaignAd setAccessToken(java.lang.String accessToken) { + return (SuggestSmartCampaignAd) super.setAccessToken(accessToken); + } + + @Override + public SuggestSmartCampaignAd setAlt(java.lang.String alt) { + return (SuggestSmartCampaignAd) super.setAlt(alt); + } + + @Override + public SuggestSmartCampaignAd setCallback(java.lang.String callback) { + return (SuggestSmartCampaignAd) super.setCallback(callback); + } + + @Override + public SuggestSmartCampaignAd setFields(java.lang.String fields) { + return (SuggestSmartCampaignAd) super.setFields(fields); + } + + @Override + public SuggestSmartCampaignAd setKey(java.lang.String key) { + return (SuggestSmartCampaignAd) super.setKey(key); + } + + @Override + public SuggestSmartCampaignAd setOauthToken(java.lang.String oauthToken) { + return (SuggestSmartCampaignAd) super.setOauthToken(oauthToken); + } + + @Override + public SuggestSmartCampaignAd setPrettyPrint(java.lang.Boolean prettyPrint) { + return (SuggestSmartCampaignAd) super.setPrettyPrint(prettyPrint); + } + + @Override + public SuggestSmartCampaignAd setQuotaUser(java.lang.String quotaUser) { + return (SuggestSmartCampaignAd) super.setQuotaUser(quotaUser); + } + + @Override + public SuggestSmartCampaignAd setUploadType(java.lang.String uploadType) { + return (SuggestSmartCampaignAd) super.setUploadType(uploadType); + } + + @Override + public SuggestSmartCampaignAd setUploadProtocol(java.lang.String uploadProtocol) { + return (SuggestSmartCampaignAd) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the customer. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the customer. */ + public SuggestSmartCampaignAd setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public SuggestSmartCampaignAd set(String parameterName, Object value) { + return (SuggestSmartCampaignAd) super.set(parameterName, value); + } + } + /** + * Returns BudgetOption suggestions. + * + * Create a request for the method "customers.suggestSmartCampaignBudgetOptions". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link SuggestSmartCampaignBudgetOptions#execute()} method to invoke the + * remote operation. + * + * @param customerId Required. The ID of the customer whose budget options are to be suggested. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesSuggestSmartCampaignBudgetOptionsRequest} + * @return the request + */ + public SuggestSmartCampaignBudgetOptions suggestSmartCampaignBudgetOptions(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesSuggestSmartCampaignBudgetOptionsRequest content) throws java.io.IOException { + SuggestSmartCampaignBudgetOptions result = new SuggestSmartCampaignBudgetOptions(customerId, content); + initialize(result); + return result; + } + + public class SuggestSmartCampaignBudgetOptions extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}:suggestSmartCampaignBudgetOptions"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Returns BudgetOption suggestions. + * + * Create a request for the method "customers.suggestSmartCampaignBudgetOptions". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link SuggestSmartCampaignBudgetOptions#execute()} method to + * invoke the remote operation.

{@link SuggestSmartCampaignBudgetOptions#initialize(com.google + * .api.client.googleapis.services.AbstractGoogleClientRequest)} must be called to initialize this + * instance immediately after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer whose budget options are to be suggested. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesSuggestSmartCampaignBudgetOptionsRequest} + * @since 1.13 + */ + protected SuggestSmartCampaignBudgetOptions(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesSuggestSmartCampaignBudgetOptionsRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesSuggestSmartCampaignBudgetOptionsResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public SuggestSmartCampaignBudgetOptions set$Xgafv(java.lang.String $Xgafv) { + return (SuggestSmartCampaignBudgetOptions) super.set$Xgafv($Xgafv); + } + + @Override + public SuggestSmartCampaignBudgetOptions setAccessToken(java.lang.String accessToken) { + return (SuggestSmartCampaignBudgetOptions) super.setAccessToken(accessToken); + } + + @Override + public SuggestSmartCampaignBudgetOptions setAlt(java.lang.String alt) { + return (SuggestSmartCampaignBudgetOptions) super.setAlt(alt); + } + + @Override + public SuggestSmartCampaignBudgetOptions setCallback(java.lang.String callback) { + return (SuggestSmartCampaignBudgetOptions) super.setCallback(callback); + } + + @Override + public SuggestSmartCampaignBudgetOptions setFields(java.lang.String fields) { + return (SuggestSmartCampaignBudgetOptions) super.setFields(fields); + } + + @Override + public SuggestSmartCampaignBudgetOptions setKey(java.lang.String key) { + return (SuggestSmartCampaignBudgetOptions) super.setKey(key); + } + + @Override + public SuggestSmartCampaignBudgetOptions setOauthToken(java.lang.String oauthToken) { + return (SuggestSmartCampaignBudgetOptions) super.setOauthToken(oauthToken); + } + + @Override + public SuggestSmartCampaignBudgetOptions setPrettyPrint(java.lang.Boolean prettyPrint) { + return (SuggestSmartCampaignBudgetOptions) super.setPrettyPrint(prettyPrint); + } + + @Override + public SuggestSmartCampaignBudgetOptions setQuotaUser(java.lang.String quotaUser) { + return (SuggestSmartCampaignBudgetOptions) super.setQuotaUser(quotaUser); + } + + @Override + public SuggestSmartCampaignBudgetOptions setUploadType(java.lang.String uploadType) { + return (SuggestSmartCampaignBudgetOptions) super.setUploadType(uploadType); + } + + @Override + public SuggestSmartCampaignBudgetOptions setUploadProtocol(java.lang.String uploadProtocol) { + return (SuggestSmartCampaignBudgetOptions) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the customer whose budget options are to be suggested. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer whose budget options are to be suggested. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the customer whose budget options are to be suggested. */ + public SuggestSmartCampaignBudgetOptions setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public SuggestSmartCampaignBudgetOptions set(String parameterName, Object value) { + return (SuggestSmartCampaignBudgetOptions) super.set(parameterName, value); + } + } + /** + * Returns Travel Asset suggestions. Asset suggestions are returned on a best-effort basis. There + * are no guarantees that all possible asset types will be returned for any given hotel property. + * + * Create a request for the method "customers.suggestTravelAssets". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link SuggestTravelAssets#execute()} method to invoke the remote operation. + * + * @param customerId Required. The ID of the customer. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesSuggestTravelAssetsRequest} + * @return the request + */ + public SuggestTravelAssets suggestTravelAssets(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesSuggestTravelAssetsRequest content) throws java.io.IOException { + SuggestTravelAssets result = new SuggestTravelAssets(customerId, content); + initialize(result); + return result; + } + + public class SuggestTravelAssets extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}:suggestTravelAssets"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Returns Travel Asset suggestions. Asset suggestions are returned on a best-effort basis. There + * are no guarantees that all possible asset types will be returned for any given hotel property. + * + * Create a request for the method "customers.suggestTravelAssets". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link SuggestTravelAssets#execute()} method to invoke the remote + * operation.

{@link SuggestTravelAssets#initialize(com.google.api.client.googleapis.services. + * AbstractGoogleClientRequest)} must be called to initialize this instance immediately after + * invoking the constructor.

+ * + * @param customerId Required. The ID of the customer. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesSuggestTravelAssetsRequest} + * @since 1.13 + */ + protected SuggestTravelAssets(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesSuggestTravelAssetsRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesSuggestTravelAssetsResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public SuggestTravelAssets set$Xgafv(java.lang.String $Xgafv) { + return (SuggestTravelAssets) super.set$Xgafv($Xgafv); + } + + @Override + public SuggestTravelAssets setAccessToken(java.lang.String accessToken) { + return (SuggestTravelAssets) super.setAccessToken(accessToken); + } + + @Override + public SuggestTravelAssets setAlt(java.lang.String alt) { + return (SuggestTravelAssets) super.setAlt(alt); + } + + @Override + public SuggestTravelAssets setCallback(java.lang.String callback) { + return (SuggestTravelAssets) super.setCallback(callback); + } + + @Override + public SuggestTravelAssets setFields(java.lang.String fields) { + return (SuggestTravelAssets) super.setFields(fields); + } + + @Override + public SuggestTravelAssets setKey(java.lang.String key) { + return (SuggestTravelAssets) super.setKey(key); + } + + @Override + public SuggestTravelAssets setOauthToken(java.lang.String oauthToken) { + return (SuggestTravelAssets) super.setOauthToken(oauthToken); + } + + @Override + public SuggestTravelAssets setPrettyPrint(java.lang.Boolean prettyPrint) { + return (SuggestTravelAssets) super.setPrettyPrint(prettyPrint); + } + + @Override + public SuggestTravelAssets setQuotaUser(java.lang.String quotaUser) { + return (SuggestTravelAssets) super.setQuotaUser(quotaUser); + } + + @Override + public SuggestTravelAssets setUploadType(java.lang.String uploadType) { + return (SuggestTravelAssets) super.setUploadType(uploadType); + } + + @Override + public SuggestTravelAssets setUploadProtocol(java.lang.String uploadProtocol) { + return (SuggestTravelAssets) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the customer. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the customer. */ + public SuggestTravelAssets setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public SuggestTravelAssets set(String parameterName, Object value) { + return (SuggestTravelAssets) super.set(parameterName, value); + } + } + /** + * Uploads the given user data. List of thrown errors: [AuthenticationError]() + * [AuthorizationError]() [CollectionSizeError]() [FieldError]() [HeaderError]() [InternalError]() + * [MutateError]() [OfflineUserDataJobError]() [QuotaError]() [RequestError]() [UserDataError]() + * + * Create a request for the method "customers.uploadUserData". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link UploadUserData#execute()} method to invoke the remote operation. + * + * @param customerId Required. The ID of the customer for which to update the user data. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesUploadUserDataRequest} + * @return the request + */ + public UploadUserData uploadUserData(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesUploadUserDataRequest content) throws java.io.IOException { + UploadUserData result = new UploadUserData(customerId, content); + initialize(result); + return result; + } + + public class UploadUserData extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}:uploadUserData"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Uploads the given user data. List of thrown errors: [AuthenticationError]() + * [AuthorizationError]() [CollectionSizeError]() [FieldError]() [HeaderError]() [InternalError]() + * [MutateError]() [OfflineUserDataJobError]() [QuotaError]() [RequestError]() [UserDataError]() + * + * Create a request for the method "customers.uploadUserData". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link UploadUserData#execute()} method to invoke the remote + * operation.

{@link UploadUserData#initialize(com.google.api.client.googleapis.services.Abstr + * actGoogleClientRequest)} must be called to initialize this instance immediately after invoking + * the constructor.

+ * + * @param customerId Required. The ID of the customer for which to update the user data. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesUploadUserDataRequest} + * @since 1.13 + */ + protected UploadUserData(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesUploadUserDataRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesUploadUserDataResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public UploadUserData set$Xgafv(java.lang.String $Xgafv) { + return (UploadUserData) super.set$Xgafv($Xgafv); + } + + @Override + public UploadUserData setAccessToken(java.lang.String accessToken) { + return (UploadUserData) super.setAccessToken(accessToken); + } + + @Override + public UploadUserData setAlt(java.lang.String alt) { + return (UploadUserData) super.setAlt(alt); + } + + @Override + public UploadUserData setCallback(java.lang.String callback) { + return (UploadUserData) super.setCallback(callback); + } + + @Override + public UploadUserData setFields(java.lang.String fields) { + return (UploadUserData) super.setFields(fields); + } + + @Override + public UploadUserData setKey(java.lang.String key) { + return (UploadUserData) super.setKey(key); + } + + @Override + public UploadUserData setOauthToken(java.lang.String oauthToken) { + return (UploadUserData) super.setOauthToken(oauthToken); + } + + @Override + public UploadUserData setPrettyPrint(java.lang.Boolean prettyPrint) { + return (UploadUserData) super.setPrettyPrint(prettyPrint); + } + + @Override + public UploadUserData setQuotaUser(java.lang.String quotaUser) { + return (UploadUserData) super.setQuotaUser(quotaUser); + } + + @Override + public UploadUserData setUploadType(java.lang.String uploadType) { + return (UploadUserData) super.setUploadType(uploadType); + } + + @Override + public UploadUserData setUploadProtocol(java.lang.String uploadProtocol) { + return (UploadUserData) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the customer for which to update the user data. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer for which to update the user data. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the customer for which to update the user data. */ + public UploadUserData setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public UploadUserData set(String parameterName, Object value) { + return (UploadUserData) super.set(parameterName, value); + } + } + + /** + * An accessor for creating requests from the AdGroupCriterionCustomizers collection. + * + *

The typical use is:

+ *
+     *   {@code SA360 searchads360 = new SA360(...);}
+     *   {@code SA360.AdGroupCriterionCustomizers.List request = searchads360.adGroupCriterionCustomizers().list(parameters ...)}
+     * 
+ * + * @return the resource collection + */ + public AdGroupCriterionCustomizers adGroupCriterionCustomizers() { + return new AdGroupCriterionCustomizers(); + } + + /** + * The "AdGroupCriterionCustomizers" collection of methods. + */ + public class AdGroupCriterionCustomizers { + + /** + * Creates, updates or removes ad group criterion customizers. Operation statuses are returned. + * + * Create a request for the method "AdGroupCriterionCustomizers.mutate". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + * + * @param customerId Required. The ID of the customer whose ad group criterion customizers are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionCustomizersRequest} + * @return the request + */ + public Mutate mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionCustomizersRequest content) throws java.io.IOException { + Mutate result = new Mutate(customerId, content); + initialize(result); + return result; + } + + public class Mutate extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/AdGroupCriterionCustomizers:mutate"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Creates, updates or removes ad group criterion customizers. Operation statuses are returned. + * + * Create a request for the method "AdGroupCriterionCustomizers.mutate". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + *

{@link + * Mutate#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer whose ad group criterion customizers are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionCustomizersRequest} + * @since 1.13 + */ + protected Mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionCustomizersRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionCustomizersResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public Mutate set$Xgafv(java.lang.String $Xgafv) { + return (Mutate) super.set$Xgafv($Xgafv); + } + + @Override + public Mutate setAccessToken(java.lang.String accessToken) { + return (Mutate) super.setAccessToken(accessToken); + } + + @Override + public Mutate setAlt(java.lang.String alt) { + return (Mutate) super.setAlt(alt); + } + + @Override + public Mutate setCallback(java.lang.String callback) { + return (Mutate) super.setCallback(callback); + } + + @Override + public Mutate setFields(java.lang.String fields) { + return (Mutate) super.setFields(fields); + } + + @Override + public Mutate setKey(java.lang.String key) { + return (Mutate) super.setKey(key); + } + + @Override + public Mutate setOauthToken(java.lang.String oauthToken) { + return (Mutate) super.setOauthToken(oauthToken); + } + + @Override + public Mutate setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Mutate) super.setPrettyPrint(prettyPrint); + } + + @Override + public Mutate setQuotaUser(java.lang.String quotaUser) { + return (Mutate) super.setQuotaUser(quotaUser); + } + + @Override + public Mutate setUploadType(java.lang.String uploadType) { + return (Mutate) super.setUploadType(uploadType); + } + + @Override + public Mutate setUploadProtocol(java.lang.String uploadProtocol) { + return (Mutate) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. The ID of the customer whose ad group criterion customizers are being modified. + */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer whose ad group criterion customizers are being modified. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** + * Required. The ID of the customer whose ad group criterion customizers are being modified. + */ + public Mutate setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public Mutate set(String parameterName, Object value) { + return (Mutate) super.set(parameterName, value); + } + } + + } + /** + * An accessor for creating requests from the CampaignGoalConfigs collection. + * + *

The typical use is:

+ *
+     *   {@code SA360 searchads360 = new SA360(...);}
+     *   {@code SA360.CampaignGoalConfigs.List request = searchads360.campaignGoalConfigs().list(parameters ...)}
+     * 
+ * + * @return the resource collection + */ + public CampaignGoalConfigs campaignGoalConfigs() { + return new CampaignGoalConfigs(); + } + + /** + * The "CampaignGoalConfigs" collection of methods. + */ + public class CampaignGoalConfigs { + + /** + * Create or update campaign goal configs. List of thrown errors: [AuthenticationError]() + * [AuthorizationError]() [HeaderError]() [InternalError]() [QuotaError]() [RequestError]() + * [CampaignGoalConfigError]() [GoalServicesError]() + * + * Create a request for the method "CampaignGoalConfigs.mutate". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + * + * @param customerId Required. The ID of the customer whose campaign goal configs are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCampaignGoalConfigsRequest} + * @return the request + */ + public Mutate mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCampaignGoalConfigsRequest content) throws java.io.IOException { + Mutate result = new Mutate(customerId, content); + initialize(result); + return result; + } + + public class Mutate extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/CampaignGoalConfigs:mutate"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Create or update campaign goal configs. List of thrown errors: [AuthenticationError]() + * [AuthorizationError]() [HeaderError]() [InternalError]() [QuotaError]() [RequestError]() + * [CampaignGoalConfigError]() [GoalServicesError]() + * + * Create a request for the method "CampaignGoalConfigs.mutate". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + *

{@link + * Mutate#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer whose campaign goal configs are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCampaignGoalConfigsRequest} + * @since 1.13 + */ + protected Mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCampaignGoalConfigsRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCampaignGoalConfigsResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public Mutate set$Xgafv(java.lang.String $Xgafv) { + return (Mutate) super.set$Xgafv($Xgafv); + } + + @Override + public Mutate setAccessToken(java.lang.String accessToken) { + return (Mutate) super.setAccessToken(accessToken); + } + + @Override + public Mutate setAlt(java.lang.String alt) { + return (Mutate) super.setAlt(alt); + } + + @Override + public Mutate setCallback(java.lang.String callback) { + return (Mutate) super.setCallback(callback); + } + + @Override + public Mutate setFields(java.lang.String fields) { + return (Mutate) super.setFields(fields); + } + + @Override + public Mutate setKey(java.lang.String key) { + return (Mutate) super.setKey(key); + } + + @Override + public Mutate setOauthToken(java.lang.String oauthToken) { + return (Mutate) super.setOauthToken(oauthToken); + } + + @Override + public Mutate setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Mutate) super.setPrettyPrint(prettyPrint); + } + + @Override + public Mutate setQuotaUser(java.lang.String quotaUser) { + return (Mutate) super.setQuotaUser(quotaUser); + } + + @Override + public Mutate setUploadType(java.lang.String uploadType) { + return (Mutate) super.setUploadType(uploadType); + } + + @Override + public Mutate setUploadProtocol(java.lang.String uploadProtocol) { + return (Mutate) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the customer whose campaign goal configs are being modified. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer whose campaign goal configs are being modified. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the customer whose campaign goal configs are being modified. */ + public Mutate setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public Mutate set(String parameterName, Object value) { + return (Mutate) super.set(parameterName, value); + } + } + + } + /** + * An accessor for creating requests from the CustomerCustomizers collection. + * + *

The typical use is:

+ *
+     *   {@code SA360 searchads360 = new SA360(...);}
+     *   {@code SA360.CustomerCustomizers.List request = searchads360.customerCustomizers().list(parameters ...)}
+     * 
+ * + * @return the resource collection + */ + public CustomerCustomizers customerCustomizers() { + return new CustomerCustomizers(); + } + + /** + * The "CustomerCustomizers" collection of methods. + */ + public class CustomerCustomizers { + + /** + * Creates, updates or removes customer customizers. Operation statuses are returned. + * + * Create a request for the method "CustomerCustomizers.mutate". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + * + * @param customerId Required. The ID of the customer whose customer customizers are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCustomerCustomizersRequest} + * @return the request + */ + public Mutate mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCustomerCustomizersRequest content) throws java.io.IOException { + Mutate result = new Mutate(customerId, content); + initialize(result); + return result; + } + + public class Mutate extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/CustomerCustomizers:mutate"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Creates, updates or removes customer customizers. Operation statuses are returned. + * + * Create a request for the method "CustomerCustomizers.mutate". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + *

{@link + * Mutate#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer whose customer customizers are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCustomerCustomizersRequest} + * @since 1.13 + */ + protected Mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCustomerCustomizersRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCustomerCustomizersResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public Mutate set$Xgafv(java.lang.String $Xgafv) { + return (Mutate) super.set$Xgafv($Xgafv); + } + + @Override + public Mutate setAccessToken(java.lang.String accessToken) { + return (Mutate) super.setAccessToken(accessToken); + } + + @Override + public Mutate setAlt(java.lang.String alt) { + return (Mutate) super.setAlt(alt); + } + + @Override + public Mutate setCallback(java.lang.String callback) { + return (Mutate) super.setCallback(callback); + } + + @Override + public Mutate setFields(java.lang.String fields) { + return (Mutate) super.setFields(fields); + } + + @Override + public Mutate setKey(java.lang.String key) { + return (Mutate) super.setKey(key); + } + + @Override + public Mutate setOauthToken(java.lang.String oauthToken) { + return (Mutate) super.setOauthToken(oauthToken); + } + + @Override + public Mutate setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Mutate) super.setPrettyPrint(prettyPrint); + } + + @Override + public Mutate setQuotaUser(java.lang.String quotaUser) { + return (Mutate) super.setQuotaUser(quotaUser); + } + + @Override + public Mutate setUploadType(java.lang.String uploadType) { + return (Mutate) super.setUploadType(uploadType); + } + + @Override + public Mutate setUploadProtocol(java.lang.String uploadProtocol) { + return (Mutate) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the customer whose customer customizers are being modified. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer whose customer customizers are being modified. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the customer whose customer customizers are being modified. */ + public Mutate setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public Mutate set(String parameterName, Object value) { + return (Mutate) super.set(parameterName, value); + } + } + + } + /** + * An accessor for creating requests from the Goals collection. + * + *

The typical use is:

+ *
+     *   {@code SA360 searchads360 = new SA360(...);}
+     *   {@code SA360.Goals.List request = searchads360.goals().list(parameters ...)}
+     * 
+ * + * @return the resource collection + */ + public Goals goals() { + return new Goals(); + } + + /** + * The "Goals" collection of methods. + */ + public class Goals { + + /** + * Create or update goals. List of thrown errors: [AuthenticationError]() [AuthorizationError]() + * [HeaderError]() [InternalError]() [QuotaError]() [RequestError]() [GoalError]() + * [GoalServicesError]() + * + * Create a request for the method "Goals.mutate". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + * + * @param customerId Required. The ID of the customer whose goals are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateGoalsRequest} + * @return the request + */ + public Mutate mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateGoalsRequest content) throws java.io.IOException { + Mutate result = new Mutate(customerId, content); + initialize(result); + return result; + } + + public class Mutate extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/Goals:mutate"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Create or update goals. List of thrown errors: [AuthenticationError]() [AuthorizationError]() + * [HeaderError]() [InternalError]() [QuotaError]() [RequestError]() [GoalError]() + * [GoalServicesError]() + * + * Create a request for the method "Goals.mutate". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + *

{@link + * Mutate#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer whose goals are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateGoalsRequest} + * @since 1.13 + */ + protected Mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateGoalsRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateGoalsResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public Mutate set$Xgafv(java.lang.String $Xgafv) { + return (Mutate) super.set$Xgafv($Xgafv); + } + + @Override + public Mutate setAccessToken(java.lang.String accessToken) { + return (Mutate) super.setAccessToken(accessToken); + } + + @Override + public Mutate setAlt(java.lang.String alt) { + return (Mutate) super.setAlt(alt); + } + + @Override + public Mutate setCallback(java.lang.String callback) { + return (Mutate) super.setCallback(callback); + } + + @Override + public Mutate setFields(java.lang.String fields) { + return (Mutate) super.setFields(fields); + } + + @Override + public Mutate setKey(java.lang.String key) { + return (Mutate) super.setKey(key); + } + + @Override + public Mutate setOauthToken(java.lang.String oauthToken) { + return (Mutate) super.setOauthToken(oauthToken); + } + + @Override + public Mutate setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Mutate) super.setPrettyPrint(prettyPrint); + } + + @Override + public Mutate setQuotaUser(java.lang.String quotaUser) { + return (Mutate) super.setQuotaUser(quotaUser); + } + + @Override + public Mutate setUploadType(java.lang.String uploadType) { + return (Mutate) super.setUploadType(uploadType); + } + + @Override + public Mutate setUploadProtocol(java.lang.String uploadProtocol) { + return (Mutate) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the customer whose goals are being modified. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer whose goals are being modified. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the customer whose goals are being modified. */ + public Mutate setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public Mutate set(String parameterName, Object value) { + return (Mutate) super.set(parameterName, value); + } + } + + } + /** + * An accessor for creating requests from the AccountBudgetProposals collection. + * + *

The typical use is:

+ *
+     *   {@code SA360 searchads360 = new SA360(...);}
+     *   {@code SA360.AccountBudgetProposals.List request = searchads360.accountBudgetProposals().list(parameters ...)}
+     * 
+ * + * @return the resource collection + */ + public AccountBudgetProposals accountBudgetProposals() { + return new AccountBudgetProposals(); + } + + /** + * The "accountBudgetProposals" collection of methods. + */ + public class AccountBudgetProposals { + + /** + * Creates, updates, or removes account budget proposals. Operation statuses are returned. List of + * thrown errors: [AccountBudgetProposalError]() [AuthenticationError]() [AuthorizationError]() + * [DatabaseError]() [DateError]() [FieldError]() [FieldMaskError]() [HeaderError]() + * [InternalError]() [MutateError]() [QuotaError]() [RequestError]() [StringLengthError]() + * + * Create a request for the method "accountBudgetProposals.mutate". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + * + * @param customerId Required. The ID of the customer. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAccountBudgetProposalRequest} + * @return the request + */ + public Mutate mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAccountBudgetProposalRequest content) throws java.io.IOException { + Mutate result = new Mutate(customerId, content); + initialize(result); + return result; + } + + public class Mutate extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/accountBudgetProposals:mutate"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Creates, updates, or removes account budget proposals. Operation statuses are returned. List of + * thrown errors: [AccountBudgetProposalError]() [AuthenticationError]() [AuthorizationError]() + * [DatabaseError]() [DateError]() [FieldError]() [FieldMaskError]() [HeaderError]() + * [InternalError]() [MutateError]() [QuotaError]() [RequestError]() [StringLengthError]() + * + * Create a request for the method "accountBudgetProposals.mutate". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + *

{@link + * Mutate#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAccountBudgetProposalRequest} + * @since 1.13 + */ + protected Mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAccountBudgetProposalRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAccountBudgetProposalResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public Mutate set$Xgafv(java.lang.String $Xgafv) { + return (Mutate) super.set$Xgafv($Xgafv); + } + + @Override + public Mutate setAccessToken(java.lang.String accessToken) { + return (Mutate) super.setAccessToken(accessToken); + } + + @Override + public Mutate setAlt(java.lang.String alt) { + return (Mutate) super.setAlt(alt); + } + + @Override + public Mutate setCallback(java.lang.String callback) { + return (Mutate) super.setCallback(callback); + } + + @Override + public Mutate setFields(java.lang.String fields) { + return (Mutate) super.setFields(fields); + } + + @Override + public Mutate setKey(java.lang.String key) { + return (Mutate) super.setKey(key); + } + + @Override + public Mutate setOauthToken(java.lang.String oauthToken) { + return (Mutate) super.setOauthToken(oauthToken); + } + + @Override + public Mutate setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Mutate) super.setPrettyPrint(prettyPrint); + } + + @Override + public Mutate setQuotaUser(java.lang.String quotaUser) { + return (Mutate) super.setQuotaUser(quotaUser); + } + + @Override + public Mutate setUploadType(java.lang.String uploadType) { + return (Mutate) super.setUploadType(uploadType); + } + + @Override + public Mutate setUploadProtocol(java.lang.String uploadProtocol) { + return (Mutate) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the customer. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the customer. */ + public Mutate setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public Mutate set(String parameterName, Object value) { + return (Mutate) super.set(parameterName, value); + } + } + + } + /** + * An accessor for creating requests from the AccountLinks collection. + * + *

The typical use is:

+ *
+     *   {@code SA360 searchads360 = new SA360(...);}
+     *   {@code SA360.AccountLinks.List request = searchads360.accountLinks().list(parameters ...)}
+     * 
+ * + * @return the resource collection + */ + public AccountLinks accountLinks() { + return new AccountLinks(); + } + + /** + * The "accountLinks" collection of methods. + */ + public class AccountLinks { + + /** + * Creates an account link. List of thrown errors: [AuthenticationError]() [AuthorizationError]() + * [DatabaseError]() [FieldError]() [HeaderError]() [InternalError]() [MutateError]() [QuotaError]() + * [RequestError]() [ThirdPartyAppAnalyticsLinkError]() + * + * Create a request for the method "accountLinks.create". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Create#execute()} method to invoke the remote operation. + * + * @param customerId Required. The ID of the customer for which the account link is created. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesCreateAccountLinkRequest} + * @return the request + */ + public Create create(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesCreateAccountLinkRequest content) throws java.io.IOException { + Create result = new Create(customerId, content); + initialize(result); + return result; + } + + public class Create extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/accountLinks:create"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Creates an account link. List of thrown errors: [AuthenticationError]() [AuthorizationError]() + * [DatabaseError]() [FieldError]() [HeaderError]() [InternalError]() [MutateError]() + * [QuotaError]() [RequestError]() [ThirdPartyAppAnalyticsLinkError]() + * + * Create a request for the method "accountLinks.create". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Create#execute()} method to invoke the remote operation. + *

{@link + * Create#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer for which the account link is created. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesCreateAccountLinkRequest} + * @since 1.13 + */ + protected Create(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesCreateAccountLinkRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesCreateAccountLinkResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public Create set$Xgafv(java.lang.String $Xgafv) { + return (Create) super.set$Xgafv($Xgafv); + } + + @Override + public Create setAccessToken(java.lang.String accessToken) { + return (Create) super.setAccessToken(accessToken); + } + + @Override + public Create setAlt(java.lang.String alt) { + return (Create) super.setAlt(alt); + } + + @Override + public Create setCallback(java.lang.String callback) { + return (Create) super.setCallback(callback); + } + + @Override + public Create setFields(java.lang.String fields) { + return (Create) super.setFields(fields); + } + + @Override + public Create setKey(java.lang.String key) { + return (Create) super.setKey(key); + } + + @Override + public Create setOauthToken(java.lang.String oauthToken) { + return (Create) super.setOauthToken(oauthToken); + } + + @Override + public Create setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Create) super.setPrettyPrint(prettyPrint); + } + + @Override + public Create setQuotaUser(java.lang.String quotaUser) { + return (Create) super.setQuotaUser(quotaUser); + } + + @Override + public Create setUploadType(java.lang.String uploadType) { + return (Create) super.setUploadType(uploadType); + } + + @Override + public Create setUploadProtocol(java.lang.String uploadProtocol) { + return (Create) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the customer for which the account link is created. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer for which the account link is created. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the customer for which the account link is created. */ + public Create setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public Create set(String parameterName, Object value) { + return (Create) super.set(parameterName, value); + } + } + /** + * Creates or removes an account link. From V5, create is not supported through + * AccountLinkService.MutateAccountLink. Use AccountLinkService.CreateAccountLink instead. List of + * thrown errors: [AccountLinkError]() [AuthenticationError]() [AuthorizationError]() + * [FieldMaskError]() [HeaderError]() [InternalError]() [MutateError]() [QuotaError]() + * [RequestError]() + * + * Create a request for the method "accountLinks.mutate". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + * + * @param customerId Required. The ID of the customer being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAccountLinkRequest} + * @return the request + */ + public Mutate mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAccountLinkRequest content) throws java.io.IOException { + Mutate result = new Mutate(customerId, content); + initialize(result); + return result; + } + + public class Mutate extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/accountLinks:mutate"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Creates or removes an account link. From V5, create is not supported through + * AccountLinkService.MutateAccountLink. Use AccountLinkService.CreateAccountLink instead. List of + * thrown errors: [AccountLinkError]() [AuthenticationError]() [AuthorizationError]() + * [FieldMaskError]() [HeaderError]() [InternalError]() [MutateError]() [QuotaError]() + * [RequestError]() + * + * Create a request for the method "accountLinks.mutate". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + *

{@link + * Mutate#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAccountLinkRequest} + * @since 1.13 + */ + protected Mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAccountLinkRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAccountLinkResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public Mutate set$Xgafv(java.lang.String $Xgafv) { + return (Mutate) super.set$Xgafv($Xgafv); + } + + @Override + public Mutate setAccessToken(java.lang.String accessToken) { + return (Mutate) super.setAccessToken(accessToken); + } + + @Override + public Mutate setAlt(java.lang.String alt) { + return (Mutate) super.setAlt(alt); + } + + @Override + public Mutate setCallback(java.lang.String callback) { + return (Mutate) super.setCallback(callback); + } + + @Override + public Mutate setFields(java.lang.String fields) { + return (Mutate) super.setFields(fields); + } + + @Override + public Mutate setKey(java.lang.String key) { + return (Mutate) super.setKey(key); + } + + @Override + public Mutate setOauthToken(java.lang.String oauthToken) { + return (Mutate) super.setOauthToken(oauthToken); + } + + @Override + public Mutate setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Mutate) super.setPrettyPrint(prettyPrint); + } + + @Override + public Mutate setQuotaUser(java.lang.String quotaUser) { + return (Mutate) super.setQuotaUser(quotaUser); + } + + @Override + public Mutate setUploadType(java.lang.String uploadType) { + return (Mutate) super.setUploadType(uploadType); + } + + @Override + public Mutate setUploadProtocol(java.lang.String uploadProtocol) { + return (Mutate) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the customer being modified. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer being modified. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the customer being modified. */ + public Mutate setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public Mutate set(String parameterName, Object value) { + return (Mutate) super.set(parameterName, value); + } + } + + } + /** + * An accessor for creating requests from the AdGroupAdLabels collection. + * + *

The typical use is:

+ *
+     *   {@code SA360 searchads360 = new SA360(...);}
+     *   {@code SA360.AdGroupAdLabels.List request = searchads360.adGroupAdLabels().list(parameters ...)}
+     * 
+ * + * @return the resource collection + */ + public AdGroupAdLabels adGroupAdLabels() { + return new AdGroupAdLabels(); + } + + /** + * The "adGroupAdLabels" collection of methods. + */ + public class AdGroupAdLabels { + + /** + * Creates and removes ad group ad labels. Operation statuses are returned. List of thrown errors: + * [AuthenticationError]() [AuthorizationError]() [DatabaseError]() [HeaderError]() + * [InternalError]() [LabelError]() [MutateError]() [NewResourceCreationError]() [QuotaError]() + * [RequestError]() + * + * Create a request for the method "adGroupAdLabels.mutate". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + * + * @param customerId Required. ID of the customer whose ad group ad labels are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAdGroupAdLabelsRequest} + * @return the request + */ + public Mutate mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAdGroupAdLabelsRequest content) throws java.io.IOException { + Mutate result = new Mutate(customerId, content); + initialize(result); + return result; + } + + public class Mutate extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/adGroupAdLabels:mutate"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Creates and removes ad group ad labels. Operation statuses are returned. List of thrown errors: + * [AuthenticationError]() [AuthorizationError]() [DatabaseError]() [HeaderError]() + * [InternalError]() [LabelError]() [MutateError]() [NewResourceCreationError]() [QuotaError]() + * [RequestError]() + * + * Create a request for the method "adGroupAdLabels.mutate". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + *

{@link + * Mutate#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param customerId Required. ID of the customer whose ad group ad labels are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAdGroupAdLabelsRequest} + * @since 1.13 + */ + protected Mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAdGroupAdLabelsRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAdGroupAdLabelsResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public Mutate set$Xgafv(java.lang.String $Xgafv) { + return (Mutate) super.set$Xgafv($Xgafv); + } + + @Override + public Mutate setAccessToken(java.lang.String accessToken) { + return (Mutate) super.setAccessToken(accessToken); + } + + @Override + public Mutate setAlt(java.lang.String alt) { + return (Mutate) super.setAlt(alt); + } + + @Override + public Mutate setCallback(java.lang.String callback) { + return (Mutate) super.setCallback(callback); + } + + @Override + public Mutate setFields(java.lang.String fields) { + return (Mutate) super.setFields(fields); + } + + @Override + public Mutate setKey(java.lang.String key) { + return (Mutate) super.setKey(key); + } + + @Override + public Mutate setOauthToken(java.lang.String oauthToken) { + return (Mutate) super.setOauthToken(oauthToken); + } + + @Override + public Mutate setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Mutate) super.setPrettyPrint(prettyPrint); + } + + @Override + public Mutate setQuotaUser(java.lang.String quotaUser) { + return (Mutate) super.setQuotaUser(quotaUser); + } + + @Override + public Mutate setUploadType(java.lang.String uploadType) { + return (Mutate) super.setUploadType(uploadType); + } + + @Override + public Mutate setUploadProtocol(java.lang.String uploadProtocol) { + return (Mutate) super.setUploadProtocol(uploadProtocol); + } + + /** Required. ID of the customer whose ad group ad labels are being modified. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. ID of the customer whose ad group ad labels are being modified. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. ID of the customer whose ad group ad labels are being modified. */ + public Mutate setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public Mutate set(String parameterName, Object value) { + return (Mutate) super.set(parameterName, value); + } + } + + } + /** + * An accessor for creating requests from the AdGroupAds collection. + * + *

The typical use is:

+ *
+     *   {@code SA360 searchads360 = new SA360(...);}
+     *   {@code SA360.AdGroupAds.List request = searchads360.adGroupAds().list(parameters ...)}
+     * 
+ * + * @return the resource collection + */ + public AdGroupAds adGroupAds() { + return new AdGroupAds(); + } + + /** + * The "adGroupAds" collection of methods. + */ + public class AdGroupAds { + + /** + * Creates, updates, or removes ads. Operation statuses are returned. List of thrown errors: + * [AdCustomizerError]() [AdError]() [AdGroupAdError]() [AdSharingError]() [AdxError]() + * [AssetError]() [AssetLinkError]() [AuthenticationError]() [AuthorizationError]() + * [CollectionSizeError]() [ContextError]() [DatabaseError]() [DateError]() [DistinctError]() + * [FeedAttributeReferenceError]() [FieldError]() [FieldMaskError]() [FunctionError]() + * [FunctionParsingError]() [HeaderError]() [IdError]() [ImageError]() [InternalError]() + * [ListOperationError]() [MediaBundleError]() [MediaFileError]() [MutateError]() + * [NewResourceCreationError]() [NotEmptyError]() [NullError]() [OperationAccessDeniedError]() + * [OperatorError]() [PolicyFindingError]() [PolicyValidationParameterError]() + * [PolicyViolationError]() [QuotaError]() [RangeError]() [RequestError]() + * [ResourceCountLimitExceededError]() [SizeLimitError]() [StringFormatError]() + * [StringLengthError]() [UrlFieldError]() + * + * Create a request for the method "adGroupAds.mutate". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + * + * @param customerId Required. The ID of the customer whose ads are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAdGroupAdsRequest} + * @return the request + */ + public Mutate mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAdGroupAdsRequest content) throws java.io.IOException { + Mutate result = new Mutate(customerId, content); + initialize(result); + return result; + } + + public class Mutate extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/adGroupAds:mutate"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Creates, updates, or removes ads. Operation statuses are returned. List of thrown errors: + * [AdCustomizerError]() [AdError]() [AdGroupAdError]() [AdSharingError]() [AdxError]() + * [AssetError]() [AssetLinkError]() [AuthenticationError]() [AuthorizationError]() + * [CollectionSizeError]() [ContextError]() [DatabaseError]() [DateError]() [DistinctError]() + * [FeedAttributeReferenceError]() [FieldError]() [FieldMaskError]() [FunctionError]() + * [FunctionParsingError]() [HeaderError]() [IdError]() [ImageError]() [InternalError]() + * [ListOperationError]() [MediaBundleError]() [MediaFileError]() [MutateError]() + * [NewResourceCreationError]() [NotEmptyError]() [NullError]() [OperationAccessDeniedError]() + * [OperatorError]() [PolicyFindingError]() [PolicyValidationParameterError]() + * [PolicyViolationError]() [QuotaError]() [RangeError]() [RequestError]() + * [ResourceCountLimitExceededError]() [SizeLimitError]() [StringFormatError]() + * [StringLengthError]() [UrlFieldError]() + * + * Create a request for the method "adGroupAds.mutate". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + *

{@link + * Mutate#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer whose ads are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAdGroupAdsRequest} + * @since 1.13 + */ + protected Mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAdGroupAdsRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAdGroupAdsResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public Mutate set$Xgafv(java.lang.String $Xgafv) { + return (Mutate) super.set$Xgafv($Xgafv); + } + + @Override + public Mutate setAccessToken(java.lang.String accessToken) { + return (Mutate) super.setAccessToken(accessToken); + } + + @Override + public Mutate setAlt(java.lang.String alt) { + return (Mutate) super.setAlt(alt); + } + + @Override + public Mutate setCallback(java.lang.String callback) { + return (Mutate) super.setCallback(callback); + } + + @Override + public Mutate setFields(java.lang.String fields) { + return (Mutate) super.setFields(fields); + } + + @Override + public Mutate setKey(java.lang.String key) { + return (Mutate) super.setKey(key); + } + + @Override + public Mutate setOauthToken(java.lang.String oauthToken) { + return (Mutate) super.setOauthToken(oauthToken); + } + + @Override + public Mutate setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Mutate) super.setPrettyPrint(prettyPrint); + } + + @Override + public Mutate setQuotaUser(java.lang.String quotaUser) { + return (Mutate) super.setQuotaUser(quotaUser); + } + + @Override + public Mutate setUploadType(java.lang.String uploadType) { + return (Mutate) super.setUploadType(uploadType); + } + + @Override + public Mutate setUploadProtocol(java.lang.String uploadProtocol) { + return (Mutate) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the customer whose ads are being modified. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer whose ads are being modified. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the customer whose ads are being modified. */ + public Mutate setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public Mutate set(String parameterName, Object value) { + return (Mutate) super.set(parameterName, value); + } + } + /** + * Remove automatically created assets from an ad. List of thrown errors: [AdError]() + * [AuthenticationError]() [AuthorizationError]() [AutomaticallyCreatedAssetRemovalError]() + * [HeaderError]() [InternalError]() [MutateError]() [QuotaError]() [RequestError]() + * + * Create a request for the method "adGroupAds.removeAutomaticallyCreatedAssets". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link RemoveAutomaticallyCreatedAssets#execute()} method to invoke the + * remote operation. + * + * @param adGroupAd Required. The resource name of the AdGroupAd from which to remove automatically created assets. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesRemoveAutomaticallyCreatedAssetsRequest} + * @return the request + */ + public RemoveAutomaticallyCreatedAssets removeAutomaticallyCreatedAssets(java.lang.String adGroupAd, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesRemoveAutomaticallyCreatedAssetsRequest content) throws java.io.IOException { + RemoveAutomaticallyCreatedAssets result = new RemoveAutomaticallyCreatedAssets(adGroupAd, content); + initialize(result); + return result; + } + + public class RemoveAutomaticallyCreatedAssets extends SA360Request { + + private static final String REST_PATH = "v23/{+adGroupAd}:removeAutomaticallyCreatedAssets"; + + private final java.util.regex.Pattern AD_GROUP_AD_PATTERN = + java.util.regex.Pattern.compile("^customers/[^/]+/adGroupAds/[^/]+$"); + + /** + * Remove automatically created assets from an ad. List of thrown errors: [AdError]() + * [AuthenticationError]() [AuthorizationError]() [AutomaticallyCreatedAssetRemovalError]() + * [HeaderError]() [InternalError]() [MutateError]() [QuotaError]() [RequestError]() + * + * Create a request for the method "adGroupAds.removeAutomaticallyCreatedAssets". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link RemoveAutomaticallyCreatedAssets#execute()} method to + * invoke the remote operation.

{@link RemoveAutomaticallyCreatedAssets#initialize(com.google. + * api.client.googleapis.services.AbstractGoogleClientRequest)} must be called to initialize this + * instance immediately after invoking the constructor.

+ * + * @param adGroupAd Required. The resource name of the AdGroupAd from which to remove automatically created assets. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesRemoveAutomaticallyCreatedAssetsRequest} + * @since 1.13 + */ + protected RemoveAutomaticallyCreatedAssets(java.lang.String adGroupAd, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesRemoveAutomaticallyCreatedAssetsRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleProtobufEmpty.class); + this.adGroupAd = com.google.api.client.util.Preconditions.checkNotNull(adGroupAd, "Required parameter adGroupAd must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(AD_GROUP_AD_PATTERN.matcher(adGroupAd).matches(), + "Parameter adGroupAd must conform to the pattern " + + "^customers/[^/]+/adGroupAds/[^/]+$"); + } + } + + @Override + public RemoveAutomaticallyCreatedAssets set$Xgafv(java.lang.String $Xgafv) { + return (RemoveAutomaticallyCreatedAssets) super.set$Xgafv($Xgafv); + } + + @Override + public RemoveAutomaticallyCreatedAssets setAccessToken(java.lang.String accessToken) { + return (RemoveAutomaticallyCreatedAssets) super.setAccessToken(accessToken); + } + + @Override + public RemoveAutomaticallyCreatedAssets setAlt(java.lang.String alt) { + return (RemoveAutomaticallyCreatedAssets) super.setAlt(alt); + } + + @Override + public RemoveAutomaticallyCreatedAssets setCallback(java.lang.String callback) { + return (RemoveAutomaticallyCreatedAssets) super.setCallback(callback); + } + + @Override + public RemoveAutomaticallyCreatedAssets setFields(java.lang.String fields) { + return (RemoveAutomaticallyCreatedAssets) super.setFields(fields); + } + + @Override + public RemoveAutomaticallyCreatedAssets setKey(java.lang.String key) { + return (RemoveAutomaticallyCreatedAssets) super.setKey(key); + } + + @Override + public RemoveAutomaticallyCreatedAssets setOauthToken(java.lang.String oauthToken) { + return (RemoveAutomaticallyCreatedAssets) super.setOauthToken(oauthToken); + } + + @Override + public RemoveAutomaticallyCreatedAssets setPrettyPrint(java.lang.Boolean prettyPrint) { + return (RemoveAutomaticallyCreatedAssets) super.setPrettyPrint(prettyPrint); + } + + @Override + public RemoveAutomaticallyCreatedAssets setQuotaUser(java.lang.String quotaUser) { + return (RemoveAutomaticallyCreatedAssets) super.setQuotaUser(quotaUser); + } + + @Override + public RemoveAutomaticallyCreatedAssets setUploadType(java.lang.String uploadType) { + return (RemoveAutomaticallyCreatedAssets) super.setUploadType(uploadType); + } + + @Override + public RemoveAutomaticallyCreatedAssets setUploadProtocol(java.lang.String uploadProtocol) { + return (RemoveAutomaticallyCreatedAssets) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. The resource name of the AdGroupAd from which to remove automatically created + * assets. + */ + @com.google.api.client.util.Key + private java.lang.String adGroupAd; + + /** Required. The resource name of the AdGroupAd from which to remove automatically created assets. + */ + public java.lang.String getAdGroupAd() { + return adGroupAd; + } + + /** + * Required. The resource name of the AdGroupAd from which to remove automatically created + * assets. + */ + public RemoveAutomaticallyCreatedAssets setAdGroupAd(java.lang.String adGroupAd) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(AD_GROUP_AD_PATTERN.matcher(adGroupAd).matches(), + "Parameter adGroupAd must conform to the pattern " + + "^customers/[^/]+/adGroupAds/[^/]+$"); + } + this.adGroupAd = adGroupAd; + return this; + } + + @Override + public RemoveAutomaticallyCreatedAssets set(String parameterName, Object value) { + return (RemoveAutomaticallyCreatedAssets) super.set(parameterName, value); + } + } + + } + /** + * An accessor for creating requests from the AdGroupAssetSets collection. + * + *

The typical use is:

+ *
+     *   {@code SA360 searchads360 = new SA360(...);}
+     *   {@code SA360.AdGroupAssetSets.List request = searchads360.adGroupAssetSets().list(parameters ...)}
+     * 
+ * + * @return the resource collection + */ + public AdGroupAssetSets adGroupAssetSets() { + return new AdGroupAssetSets(); + } + + /** + * The "adGroupAssetSets" collection of methods. + */ + public class AdGroupAssetSets { + + /** + * Creates, or removes ad group asset sets. Operation statuses are returned. + * + * Create a request for the method "adGroupAssetSets.mutate". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + * + * @param customerId Required. The ID of the customer whose ad group asset sets are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAdGroupAssetSetsRequest} + * @return the request + */ + public Mutate mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAdGroupAssetSetsRequest content) throws java.io.IOException { + Mutate result = new Mutate(customerId, content); + initialize(result); + return result; + } + + public class Mutate extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/adGroupAssetSets:mutate"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Creates, or removes ad group asset sets. Operation statuses are returned. + * + * Create a request for the method "adGroupAssetSets.mutate". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + *

{@link + * Mutate#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer whose ad group asset sets are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAdGroupAssetSetsRequest} + * @since 1.13 + */ + protected Mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAdGroupAssetSetsRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAdGroupAssetSetsResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public Mutate set$Xgafv(java.lang.String $Xgafv) { + return (Mutate) super.set$Xgafv($Xgafv); + } + + @Override + public Mutate setAccessToken(java.lang.String accessToken) { + return (Mutate) super.setAccessToken(accessToken); + } + + @Override + public Mutate setAlt(java.lang.String alt) { + return (Mutate) super.setAlt(alt); + } + + @Override + public Mutate setCallback(java.lang.String callback) { + return (Mutate) super.setCallback(callback); + } + + @Override + public Mutate setFields(java.lang.String fields) { + return (Mutate) super.setFields(fields); + } + + @Override + public Mutate setKey(java.lang.String key) { + return (Mutate) super.setKey(key); + } + + @Override + public Mutate setOauthToken(java.lang.String oauthToken) { + return (Mutate) super.setOauthToken(oauthToken); + } + + @Override + public Mutate setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Mutate) super.setPrettyPrint(prettyPrint); + } + + @Override + public Mutate setQuotaUser(java.lang.String quotaUser) { + return (Mutate) super.setQuotaUser(quotaUser); + } + + @Override + public Mutate setUploadType(java.lang.String uploadType) { + return (Mutate) super.setUploadType(uploadType); + } + + @Override + public Mutate setUploadProtocol(java.lang.String uploadProtocol) { + return (Mutate) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the customer whose ad group asset sets are being modified. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer whose ad group asset sets are being modified. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the customer whose ad group asset sets are being modified. */ + public Mutate setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public Mutate set(String parameterName, Object value) { + return (Mutate) super.set(parameterName, value); + } + } + + } + /** + * An accessor for creating requests from the AdGroupAssets collection. + * + *

The typical use is:

+ *
+     *   {@code SA360 searchads360 = new SA360(...);}
+     *   {@code SA360.AdGroupAssets.List request = searchads360.adGroupAssets().list(parameters ...)}
+     * 
+ * + * @return the resource collection + */ + public AdGroupAssets adGroupAssets() { + return new AdGroupAssets(); + } + + /** + * The "adGroupAssets" collection of methods. + */ + public class AdGroupAssets { + + /** + * Creates, updates, or removes ad group assets. Operation statuses are returned. List of thrown + * errors: [AssetLinkError]() [AuthenticationError]() [AuthorizationError]() [ContextError]() + * [FieldError]() [HeaderError]() [InternalError]() [MutateError]() [NotAllowlistedError]() + * [QuotaError]() [RequestError]() + * + * Create a request for the method "adGroupAssets.mutate". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + * + * @param customerId Required. The ID of the customer whose ad group assets are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAdGroupAssetsRequest} + * @return the request + */ + public Mutate mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAdGroupAssetsRequest content) throws java.io.IOException { + Mutate result = new Mutate(customerId, content); + initialize(result); + return result; + } + + public class Mutate extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/adGroupAssets:mutate"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Creates, updates, or removes ad group assets. Operation statuses are returned. List of thrown + * errors: [AssetLinkError]() [AuthenticationError]() [AuthorizationError]() [ContextError]() + * [FieldError]() [HeaderError]() [InternalError]() [MutateError]() [NotAllowlistedError]() + * [QuotaError]() [RequestError]() + * + * Create a request for the method "adGroupAssets.mutate". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + *

{@link + * Mutate#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer whose ad group assets are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAdGroupAssetsRequest} + * @since 1.13 + */ + protected Mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAdGroupAssetsRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAdGroupAssetsResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public Mutate set$Xgafv(java.lang.String $Xgafv) { + return (Mutate) super.set$Xgafv($Xgafv); + } + + @Override + public Mutate setAccessToken(java.lang.String accessToken) { + return (Mutate) super.setAccessToken(accessToken); + } + + @Override + public Mutate setAlt(java.lang.String alt) { + return (Mutate) super.setAlt(alt); + } + + @Override + public Mutate setCallback(java.lang.String callback) { + return (Mutate) super.setCallback(callback); + } + + @Override + public Mutate setFields(java.lang.String fields) { + return (Mutate) super.setFields(fields); + } + + @Override + public Mutate setKey(java.lang.String key) { + return (Mutate) super.setKey(key); + } + + @Override + public Mutate setOauthToken(java.lang.String oauthToken) { + return (Mutate) super.setOauthToken(oauthToken); + } + + @Override + public Mutate setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Mutate) super.setPrettyPrint(prettyPrint); + } + + @Override + public Mutate setQuotaUser(java.lang.String quotaUser) { + return (Mutate) super.setQuotaUser(quotaUser); + } + + @Override + public Mutate setUploadType(java.lang.String uploadType) { + return (Mutate) super.setUploadType(uploadType); + } + + @Override + public Mutate setUploadProtocol(java.lang.String uploadProtocol) { + return (Mutate) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the customer whose ad group assets are being modified. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer whose ad group assets are being modified. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the customer whose ad group assets are being modified. */ + public Mutate setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public Mutate set(String parameterName, Object value) { + return (Mutate) super.set(parameterName, value); + } + } + + } + /** + * An accessor for creating requests from the AdGroupBidModifiers collection. + * + *

The typical use is:

+ *
+     *   {@code SA360 searchads360 = new SA360(...);}
+     *   {@code SA360.AdGroupBidModifiers.List request = searchads360.adGroupBidModifiers().list(parameters ...)}
+     * 
+ * + * @return the resource collection + */ + public AdGroupBidModifiers adGroupBidModifiers() { + return new AdGroupBidModifiers(); + } + + /** + * The "adGroupBidModifiers" collection of methods. + */ + public class AdGroupBidModifiers { + + /** + * Creates, updates, or removes ad group bid modifiers. Operation statuses are returned. List of + * thrown errors: [AdGroupBidModifierError]() [AuthenticationError]() [AuthorizationError]() + * [ContextError]() [CriterionError]() [DatabaseError]() [DistinctError]() [FieldError]() + * [FieldMaskError]() [HeaderError]() [IdError]() [InternalError]() [MutateError]() + * [NewResourceCreationError]() [NotEmptyError]() [OperatorError]() [QuotaError]() [RangeError]() + * [RequestError]() [ResourceCountLimitExceededError]() [SizeLimitError]() [StringFormatError]() + * [StringLengthError]() + * + * Create a request for the method "adGroupBidModifiers.mutate". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + * + * @param customerId Required. ID of the customer whose ad group bid modifiers are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAdGroupBidModifiersRequest} + * @return the request + */ + public Mutate mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAdGroupBidModifiersRequest content) throws java.io.IOException { + Mutate result = new Mutate(customerId, content); + initialize(result); + return result; + } + + public class Mutate extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/adGroupBidModifiers:mutate"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Creates, updates, or removes ad group bid modifiers. Operation statuses are returned. List of + * thrown errors: [AdGroupBidModifierError]() [AuthenticationError]() [AuthorizationError]() + * [ContextError]() [CriterionError]() [DatabaseError]() [DistinctError]() [FieldError]() + * [FieldMaskError]() [HeaderError]() [IdError]() [InternalError]() [MutateError]() + * [NewResourceCreationError]() [NotEmptyError]() [OperatorError]() [QuotaError]() [RangeError]() + * [RequestError]() [ResourceCountLimitExceededError]() [SizeLimitError]() [StringFormatError]() + * [StringLengthError]() + * + * Create a request for the method "adGroupBidModifiers.mutate". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + *

{@link + * Mutate#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param customerId Required. ID of the customer whose ad group bid modifiers are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAdGroupBidModifiersRequest} + * @since 1.13 + */ + protected Mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAdGroupBidModifiersRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAdGroupBidModifiersResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public Mutate set$Xgafv(java.lang.String $Xgafv) { + return (Mutate) super.set$Xgafv($Xgafv); + } + + @Override + public Mutate setAccessToken(java.lang.String accessToken) { + return (Mutate) super.setAccessToken(accessToken); + } + + @Override + public Mutate setAlt(java.lang.String alt) { + return (Mutate) super.setAlt(alt); + } + + @Override + public Mutate setCallback(java.lang.String callback) { + return (Mutate) super.setCallback(callback); + } + + @Override + public Mutate setFields(java.lang.String fields) { + return (Mutate) super.setFields(fields); + } + + @Override + public Mutate setKey(java.lang.String key) { + return (Mutate) super.setKey(key); + } + + @Override + public Mutate setOauthToken(java.lang.String oauthToken) { + return (Mutate) super.setOauthToken(oauthToken); + } + + @Override + public Mutate setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Mutate) super.setPrettyPrint(prettyPrint); + } + + @Override + public Mutate setQuotaUser(java.lang.String quotaUser) { + return (Mutate) super.setQuotaUser(quotaUser); + } + + @Override + public Mutate setUploadType(java.lang.String uploadType) { + return (Mutate) super.setUploadType(uploadType); + } + + @Override + public Mutate setUploadProtocol(java.lang.String uploadProtocol) { + return (Mutate) super.setUploadProtocol(uploadProtocol); + } + + /** Required. ID of the customer whose ad group bid modifiers are being modified. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. ID of the customer whose ad group bid modifiers are being modified. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. ID of the customer whose ad group bid modifiers are being modified. */ + public Mutate setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public Mutate set(String parameterName, Object value) { + return (Mutate) super.set(parameterName, value); + } + } + + } + /** + * An accessor for creating requests from the AdGroupCriteria collection. + * + *

The typical use is:

+ *
+     *   {@code SA360 searchads360 = new SA360(...);}
+     *   {@code SA360.AdGroupCriteria.List request = searchads360.adGroupCriteria().list(parameters ...)}
+     * 
+ * + * @return the resource collection + */ + public AdGroupCriteria adGroupCriteria() { + return new AdGroupCriteria(); + } + + /** + * The "adGroupCriteria" collection of methods. + */ + public class AdGroupCriteria { + + /** + * Creates, updates, or removes criteria. Operation statuses are returned. List of thrown errors: + * [AdGroupCriterionError]() [AdxError]() [AuthenticationError]() [AuthorizationError]() + * [BiddingError]() [BiddingStrategyError]() [CollectionSizeError]() [ContextError]() + * [CriterionError]() [DatabaseError]() [DateError]() [DistinctError]() [FieldError]() + * [FieldMaskError]() [HeaderError]() [IdError]() [InternalError]() [MultiplierError]() + * [MutateError]() [NewResourceCreationError]() [NotEmptyError]() [NullError]() + * [OperationAccessDeniedError]() [OperatorError]() [PolicyViolationError]() [QuotaError]() + * [RangeError]() [RequestError]() [ResourceCountLimitExceededError]() [SizeLimitError]() + * [StringFormatError]() [StringLengthError]() [UrlFieldError]() + * + * Create a request for the method "adGroupCriteria.mutate". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + * + * @param customerId Required. ID of the customer whose criteria are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAdGroupCriteriaRequest} + * @return the request + */ + public Mutate mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAdGroupCriteriaRequest content) throws java.io.IOException { + Mutate result = new Mutate(customerId, content); + initialize(result); + return result; + } + + public class Mutate extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/adGroupCriteria:mutate"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Creates, updates, or removes criteria. Operation statuses are returned. List of thrown errors: + * [AdGroupCriterionError]() [AdxError]() [AuthenticationError]() [AuthorizationError]() + * [BiddingError]() [BiddingStrategyError]() [CollectionSizeError]() [ContextError]() + * [CriterionError]() [DatabaseError]() [DateError]() [DistinctError]() [FieldError]() + * [FieldMaskError]() [HeaderError]() [IdError]() [InternalError]() [MultiplierError]() + * [MutateError]() [NewResourceCreationError]() [NotEmptyError]() [NullError]() + * [OperationAccessDeniedError]() [OperatorError]() [PolicyViolationError]() [QuotaError]() + * [RangeError]() [RequestError]() [ResourceCountLimitExceededError]() [SizeLimitError]() + * [StringFormatError]() [StringLengthError]() [UrlFieldError]() + * + * Create a request for the method "adGroupCriteria.mutate". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + *

{@link + * Mutate#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param customerId Required. ID of the customer whose criteria are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAdGroupCriteriaRequest} + * @since 1.13 + */ + protected Mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAdGroupCriteriaRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAdGroupCriteriaResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public Mutate set$Xgafv(java.lang.String $Xgafv) { + return (Mutate) super.set$Xgafv($Xgafv); + } + + @Override + public Mutate setAccessToken(java.lang.String accessToken) { + return (Mutate) super.setAccessToken(accessToken); + } + + @Override + public Mutate setAlt(java.lang.String alt) { + return (Mutate) super.setAlt(alt); + } + + @Override + public Mutate setCallback(java.lang.String callback) { + return (Mutate) super.setCallback(callback); + } + + @Override + public Mutate setFields(java.lang.String fields) { + return (Mutate) super.setFields(fields); + } + + @Override + public Mutate setKey(java.lang.String key) { + return (Mutate) super.setKey(key); + } + + @Override + public Mutate setOauthToken(java.lang.String oauthToken) { + return (Mutate) super.setOauthToken(oauthToken); + } + + @Override + public Mutate setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Mutate) super.setPrettyPrint(prettyPrint); + } + + @Override + public Mutate setQuotaUser(java.lang.String quotaUser) { + return (Mutate) super.setQuotaUser(quotaUser); + } + + @Override + public Mutate setUploadType(java.lang.String uploadType) { + return (Mutate) super.setUploadType(uploadType); + } + + @Override + public Mutate setUploadProtocol(java.lang.String uploadProtocol) { + return (Mutate) super.setUploadProtocol(uploadProtocol); + } + + /** Required. ID of the customer whose criteria are being modified. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. ID of the customer whose criteria are being modified. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. ID of the customer whose criteria are being modified. */ + public Mutate setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public Mutate set(String parameterName, Object value) { + return (Mutate) super.set(parameterName, value); + } + } + + } + /** + * An accessor for creating requests from the AdGroupCriterionLabels collection. + * + *

The typical use is:

+ *
+     *   {@code SA360 searchads360 = new SA360(...);}
+     *   {@code SA360.AdGroupCriterionLabels.List request = searchads360.adGroupCriterionLabels().list(parameters ...)}
+     * 
+ * + * @return the resource collection + */ + public AdGroupCriterionLabels adGroupCriterionLabels() { + return new AdGroupCriterionLabels(); + } + + /** + * The "adGroupCriterionLabels" collection of methods. + */ + public class AdGroupCriterionLabels { + + /** + * Creates and removes ad group criterion labels. Operation statuses are returned. List of thrown + * errors: [AuthenticationError]() [AuthorizationError]() [DatabaseError]() [FieldError]() + * [HeaderError]() [InternalError]() [QuotaError]() [RequestError]() + * + * Create a request for the method "adGroupCriterionLabels.mutate". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + * + * @param customerId Required. ID of the customer whose ad group criterion labels are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionLabelsRequest} + * @return the request + */ + public Mutate mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionLabelsRequest content) throws java.io.IOException { + Mutate result = new Mutate(customerId, content); + initialize(result); + return result; + } + + public class Mutate extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/adGroupCriterionLabels:mutate"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Creates and removes ad group criterion labels. Operation statuses are returned. List of thrown + * errors: [AuthenticationError]() [AuthorizationError]() [DatabaseError]() [FieldError]() + * [HeaderError]() [InternalError]() [QuotaError]() [RequestError]() + * + * Create a request for the method "adGroupCriterionLabels.mutate". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + *

{@link + * Mutate#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param customerId Required. ID of the customer whose ad group criterion labels are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionLabelsRequest} + * @since 1.13 + */ + protected Mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionLabelsRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionLabelsResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public Mutate set$Xgafv(java.lang.String $Xgafv) { + return (Mutate) super.set$Xgafv($Xgafv); + } + + @Override + public Mutate setAccessToken(java.lang.String accessToken) { + return (Mutate) super.setAccessToken(accessToken); + } + + @Override + public Mutate setAlt(java.lang.String alt) { + return (Mutate) super.setAlt(alt); + } + + @Override + public Mutate setCallback(java.lang.String callback) { + return (Mutate) super.setCallback(callback); + } + + @Override + public Mutate setFields(java.lang.String fields) { + return (Mutate) super.setFields(fields); + } + + @Override + public Mutate setKey(java.lang.String key) { + return (Mutate) super.setKey(key); + } + + @Override + public Mutate setOauthToken(java.lang.String oauthToken) { + return (Mutate) super.setOauthToken(oauthToken); + } + + @Override + public Mutate setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Mutate) super.setPrettyPrint(prettyPrint); + } + + @Override + public Mutate setQuotaUser(java.lang.String quotaUser) { + return (Mutate) super.setQuotaUser(quotaUser); + } + + @Override + public Mutate setUploadType(java.lang.String uploadType) { + return (Mutate) super.setUploadType(uploadType); + } + + @Override + public Mutate setUploadProtocol(java.lang.String uploadProtocol) { + return (Mutate) super.setUploadProtocol(uploadProtocol); + } + + /** Required. ID of the customer whose ad group criterion labels are being modified. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. ID of the customer whose ad group criterion labels are being modified. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. ID of the customer whose ad group criterion labels are being modified. */ + public Mutate setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public Mutate set(String parameterName, Object value) { + return (Mutate) super.set(parameterName, value); + } + } + + } + /** + * An accessor for creating requests from the AdGroupCustomizers collection. + * + *

The typical use is:

+ *
+     *   {@code SA360 searchads360 = new SA360(...);}
+     *   {@code SA360.AdGroupCustomizers.List request = searchads360.adGroupCustomizers().list(parameters ...)}
+     * 
+ * + * @return the resource collection + */ + public AdGroupCustomizers adGroupCustomizers() { + return new AdGroupCustomizers(); + } + + /** + * The "adGroupCustomizers" collection of methods. + */ + public class AdGroupCustomizers { + + /** + * Creates, updates or removes ad group customizers. Operation statuses are returned. + * + * Create a request for the method "adGroupCustomizers.mutate". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + * + * @param customerId Required. The ID of the customer whose ad group customizers are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAdGroupCustomizersRequest} + * @return the request + */ + public Mutate mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAdGroupCustomizersRequest content) throws java.io.IOException { + Mutate result = new Mutate(customerId, content); + initialize(result); + return result; + } + + public class Mutate extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/adGroupCustomizers:mutate"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Creates, updates or removes ad group customizers. Operation statuses are returned. + * + * Create a request for the method "adGroupCustomizers.mutate". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + *

{@link + * Mutate#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer whose ad group customizers are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAdGroupCustomizersRequest} + * @since 1.13 + */ + protected Mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAdGroupCustomizersRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAdGroupCustomizersResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public Mutate set$Xgafv(java.lang.String $Xgafv) { + return (Mutate) super.set$Xgafv($Xgafv); + } + + @Override + public Mutate setAccessToken(java.lang.String accessToken) { + return (Mutate) super.setAccessToken(accessToken); + } + + @Override + public Mutate setAlt(java.lang.String alt) { + return (Mutate) super.setAlt(alt); + } + + @Override + public Mutate setCallback(java.lang.String callback) { + return (Mutate) super.setCallback(callback); + } + + @Override + public Mutate setFields(java.lang.String fields) { + return (Mutate) super.setFields(fields); + } + + @Override + public Mutate setKey(java.lang.String key) { + return (Mutate) super.setKey(key); + } + + @Override + public Mutate setOauthToken(java.lang.String oauthToken) { + return (Mutate) super.setOauthToken(oauthToken); + } + + @Override + public Mutate setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Mutate) super.setPrettyPrint(prettyPrint); + } + + @Override + public Mutate setQuotaUser(java.lang.String quotaUser) { + return (Mutate) super.setQuotaUser(quotaUser); + } + + @Override + public Mutate setUploadType(java.lang.String uploadType) { + return (Mutate) super.setUploadType(uploadType); + } + + @Override + public Mutate setUploadProtocol(java.lang.String uploadProtocol) { + return (Mutate) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the customer whose ad group customizers are being modified. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer whose ad group customizers are being modified. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the customer whose ad group customizers are being modified. */ + public Mutate setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public Mutate set(String parameterName, Object value) { + return (Mutate) super.set(parameterName, value); + } + } + + } + /** + * An accessor for creating requests from the AdGroupLabels collection. + * + *

The typical use is:

+ *
+     *   {@code SA360 searchads360 = new SA360(...);}
+     *   {@code SA360.AdGroupLabels.List request = searchads360.adGroupLabels().list(parameters ...)}
+     * 
+ * + * @return the resource collection + */ + public AdGroupLabels adGroupLabels() { + return new AdGroupLabels(); + } + + /** + * The "adGroupLabels" collection of methods. + */ + public class AdGroupLabels { + + /** + * Creates and removes ad group labels. Operation statuses are returned. List of thrown errors: + * [AuthenticationError]() [AuthorizationError]() [DatabaseError]() [FieldError]() [HeaderError]() + * [InternalError]() [LabelError]() [MutateError]() [NewResourceCreationError]() [QuotaError]() + * [RequestError]() + * + * Create a request for the method "adGroupLabels.mutate". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + * + * @param customerId Required. ID of the customer whose ad group labels are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAdGroupLabelsRequest} + * @return the request + */ + public Mutate mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAdGroupLabelsRequest content) throws java.io.IOException { + Mutate result = new Mutate(customerId, content); + initialize(result); + return result; + } + + public class Mutate extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/adGroupLabels:mutate"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Creates and removes ad group labels. Operation statuses are returned. List of thrown errors: + * [AuthenticationError]() [AuthorizationError]() [DatabaseError]() [FieldError]() [HeaderError]() + * [InternalError]() [LabelError]() [MutateError]() [NewResourceCreationError]() [QuotaError]() + * [RequestError]() + * + * Create a request for the method "adGroupLabels.mutate". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + *

{@link + * Mutate#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param customerId Required. ID of the customer whose ad group labels are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAdGroupLabelsRequest} + * @since 1.13 + */ + protected Mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAdGroupLabelsRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAdGroupLabelsResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public Mutate set$Xgafv(java.lang.String $Xgafv) { + return (Mutate) super.set$Xgafv($Xgafv); + } + + @Override + public Mutate setAccessToken(java.lang.String accessToken) { + return (Mutate) super.setAccessToken(accessToken); + } + + @Override + public Mutate setAlt(java.lang.String alt) { + return (Mutate) super.setAlt(alt); + } + + @Override + public Mutate setCallback(java.lang.String callback) { + return (Mutate) super.setCallback(callback); + } + + @Override + public Mutate setFields(java.lang.String fields) { + return (Mutate) super.setFields(fields); + } + + @Override + public Mutate setKey(java.lang.String key) { + return (Mutate) super.setKey(key); + } + + @Override + public Mutate setOauthToken(java.lang.String oauthToken) { + return (Mutate) super.setOauthToken(oauthToken); + } + + @Override + public Mutate setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Mutate) super.setPrettyPrint(prettyPrint); + } + + @Override + public Mutate setQuotaUser(java.lang.String quotaUser) { + return (Mutate) super.setQuotaUser(quotaUser); + } + + @Override + public Mutate setUploadType(java.lang.String uploadType) { + return (Mutate) super.setUploadType(uploadType); + } + + @Override + public Mutate setUploadProtocol(java.lang.String uploadProtocol) { + return (Mutate) super.setUploadProtocol(uploadProtocol); + } + + /** Required. ID of the customer whose ad group labels are being modified. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. ID of the customer whose ad group labels are being modified. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. ID of the customer whose ad group labels are being modified. */ + public Mutate setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public Mutate set(String parameterName, Object value) { + return (Mutate) super.set(parameterName, value); + } + } + + } + /** + * An accessor for creating requests from the AdGroups collection. + * + *

The typical use is:

+ *
+     *   {@code SA360 searchads360 = new SA360(...);}
+     *   {@code SA360.AdGroups.List request = searchads360.adGroups().list(parameters ...)}
+     * 
+ * + * @return the resource collection + */ + public AdGroups adGroups() { + return new AdGroups(); + } + + /** + * The "adGroups" collection of methods. + */ + public class AdGroups { + + /** + * Creates, updates, or removes ad groups. Operation statuses are returned. List of thrown errors: + * [AdGroupError]() [AdxError]() [AuthenticationError]() [AuthorizationError]() [BiddingError]() + * [BiddingStrategyError]() [DatabaseError]() [DateError]() [DistinctError]() [FieldError]() + * [FieldMaskError]() [HeaderError]() [IdError]() [InternalError]() [ListOperationError]() + * [MultiplierError]() [MutateError]() [NewResourceCreationError]() [NotEmptyError]() [NullError]() + * [OperationAccessDeniedError]() [OperatorError]() [QuotaError]() [RangeError]() [RequestError]() + * [ResourceCountLimitExceededError]() [SettingError]() [SizeLimitError]() [StringFormatError]() + * [StringLengthError]() [UrlFieldError]() + * + * Create a request for the method "adGroups.mutate". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + * + * @param customerId Required. The ID of the customer whose ad groups are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAdGroupsRequest} + * @return the request + */ + public Mutate mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAdGroupsRequest content) throws java.io.IOException { + Mutate result = new Mutate(customerId, content); + initialize(result); + return result; + } + + public class Mutate extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/adGroups:mutate"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Creates, updates, or removes ad groups. Operation statuses are returned. List of thrown errors: + * [AdGroupError]() [AdxError]() [AuthenticationError]() [AuthorizationError]() [BiddingError]() + * [BiddingStrategyError]() [DatabaseError]() [DateError]() [DistinctError]() [FieldError]() + * [FieldMaskError]() [HeaderError]() [IdError]() [InternalError]() [ListOperationError]() + * [MultiplierError]() [MutateError]() [NewResourceCreationError]() [NotEmptyError]() + * [NullError]() [OperationAccessDeniedError]() [OperatorError]() [QuotaError]() [RangeError]() + * [RequestError]() [ResourceCountLimitExceededError]() [SettingError]() [SizeLimitError]() + * [StringFormatError]() [StringLengthError]() [UrlFieldError]() + * + * Create a request for the method "adGroups.mutate". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + *

{@link + * Mutate#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer whose ad groups are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAdGroupsRequest} + * @since 1.13 + */ + protected Mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAdGroupsRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAdGroupsResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public Mutate set$Xgafv(java.lang.String $Xgafv) { + return (Mutate) super.set$Xgafv($Xgafv); + } + + @Override + public Mutate setAccessToken(java.lang.String accessToken) { + return (Mutate) super.setAccessToken(accessToken); + } + + @Override + public Mutate setAlt(java.lang.String alt) { + return (Mutate) super.setAlt(alt); + } + + @Override + public Mutate setCallback(java.lang.String callback) { + return (Mutate) super.setCallback(callback); + } + + @Override + public Mutate setFields(java.lang.String fields) { + return (Mutate) super.setFields(fields); + } + + @Override + public Mutate setKey(java.lang.String key) { + return (Mutate) super.setKey(key); + } + + @Override + public Mutate setOauthToken(java.lang.String oauthToken) { + return (Mutate) super.setOauthToken(oauthToken); + } + + @Override + public Mutate setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Mutate) super.setPrettyPrint(prettyPrint); + } + + @Override + public Mutate setQuotaUser(java.lang.String quotaUser) { + return (Mutate) super.setQuotaUser(quotaUser); + } + + @Override + public Mutate setUploadType(java.lang.String uploadType) { + return (Mutate) super.setUploadType(uploadType); + } + + @Override + public Mutate setUploadProtocol(java.lang.String uploadProtocol) { + return (Mutate) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the customer whose ad groups are being modified. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer whose ad groups are being modified. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the customer whose ad groups are being modified. */ + public Mutate setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public Mutate set(String parameterName, Object value) { + return (Mutate) super.set(parameterName, value); + } + } + + } + /** + * An accessor for creating requests from the AdParameters collection. + * + *

The typical use is:

+ *
+     *   {@code SA360 searchads360 = new SA360(...);}
+     *   {@code SA360.AdParameters.List request = searchads360.adParameters().list(parameters ...)}
+     * 
+ * + * @return the resource collection + */ + public AdParameters adParameters() { + return new AdParameters(); + } + + /** + * The "adParameters" collection of methods. + */ + public class AdParameters { + + /** + * Creates, updates, or removes ad parameters. Operation statuses are returned. List of thrown + * errors: [AdParameterError]() [AuthenticationError]() [AuthorizationError]() [ContextError]() + * [DatabaseError]() [FieldError]() [FieldMaskError]() [HeaderError]() [InternalError]() + * [MutateError]() [QuotaError]() [RequestError]() + * + * Create a request for the method "adParameters.mutate". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + * + * @param customerId Required. The ID of the customer whose ad parameters are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAdParametersRequest} + * @return the request + */ + public Mutate mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAdParametersRequest content) throws java.io.IOException { + Mutate result = new Mutate(customerId, content); + initialize(result); + return result; + } + + public class Mutate extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/adParameters:mutate"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Creates, updates, or removes ad parameters. Operation statuses are returned. List of thrown + * errors: [AdParameterError]() [AuthenticationError]() [AuthorizationError]() [ContextError]() + * [DatabaseError]() [FieldError]() [FieldMaskError]() [HeaderError]() [InternalError]() + * [MutateError]() [QuotaError]() [RequestError]() + * + * Create a request for the method "adParameters.mutate". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + *

{@link + * Mutate#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer whose ad parameters are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAdParametersRequest} + * @since 1.13 + */ + protected Mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAdParametersRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAdParametersResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public Mutate set$Xgafv(java.lang.String $Xgafv) { + return (Mutate) super.set$Xgafv($Xgafv); + } + + @Override + public Mutate setAccessToken(java.lang.String accessToken) { + return (Mutate) super.setAccessToken(accessToken); + } + + @Override + public Mutate setAlt(java.lang.String alt) { + return (Mutate) super.setAlt(alt); + } + + @Override + public Mutate setCallback(java.lang.String callback) { + return (Mutate) super.setCallback(callback); + } + + @Override + public Mutate setFields(java.lang.String fields) { + return (Mutate) super.setFields(fields); + } + + @Override + public Mutate setKey(java.lang.String key) { + return (Mutate) super.setKey(key); + } + + @Override + public Mutate setOauthToken(java.lang.String oauthToken) { + return (Mutate) super.setOauthToken(oauthToken); + } + + @Override + public Mutate setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Mutate) super.setPrettyPrint(prettyPrint); + } + + @Override + public Mutate setQuotaUser(java.lang.String quotaUser) { + return (Mutate) super.setQuotaUser(quotaUser); + } + + @Override + public Mutate setUploadType(java.lang.String uploadType) { + return (Mutate) super.setUploadType(uploadType); + } + + @Override + public Mutate setUploadProtocol(java.lang.String uploadProtocol) { + return (Mutate) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the customer whose ad parameters are being modified. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer whose ad parameters are being modified. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the customer whose ad parameters are being modified. */ + public Mutate setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public Mutate set(String parameterName, Object value) { + return (Mutate) super.set(parameterName, value); + } + } + + } + /** + * An accessor for creating requests from the Ads collection. + * + *

The typical use is:

+ *
+     *   {@code SA360 searchads360 = new SA360(...);}
+     *   {@code SA360.Ads.List request = searchads360.ads().list(parameters ...)}
+     * 
+ * + * @return the resource collection + */ + public Ads ads() { + return new Ads(); + } + + /** + * The "ads" collection of methods. + */ + public class Ads { + + /** + * Updates ads. Operation statuses are returned. Updating ads is not supported for TextAd, + * ExpandedDynamicSearchAd, GmailAd and ImageAd. List of thrown errors: [AdCustomizerError]() + * [AdError]() [AdSharingError]() [AdxError]() [AssetError]() [AssetLinkError]() + * [AuthenticationError]() [AuthorizationError]() [CollectionSizeError]() [DatabaseError]() + * [DateError]() [DistinctError]() [FeedAttributeReferenceError]() [FieldError]() [FieldMaskError]() + * [FunctionError]() [FunctionParsingError]() [HeaderError]() [IdError]() [ImageError]() + * [InternalError]() [ListOperationError]() [MediaBundleError]() [MediaFileError]() [MutateError]() + * [NewResourceCreationError]() [NotEmptyError]() [NullError]() [OperatorError]() + * [PolicyFindingError]() [PolicyViolationError]() [QuotaError]() [RangeError]() [RequestError]() + * [SizeLimitError]() [StringFormatError]() [StringLengthError]() [UrlFieldError]() + * + * Create a request for the method "ads.mutate". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + * + * @param customerId Required. The ID of the customer whose ads are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAdsRequest} + * @return the request + */ + public Mutate mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAdsRequest content) throws java.io.IOException { + Mutate result = new Mutate(customerId, content); + initialize(result); + return result; + } + + public class Mutate extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/ads:mutate"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Updates ads. Operation statuses are returned. Updating ads is not supported for TextAd, + * ExpandedDynamicSearchAd, GmailAd and ImageAd. List of thrown errors: [AdCustomizerError]() + * [AdError]() [AdSharingError]() [AdxError]() [AssetError]() [AssetLinkError]() + * [AuthenticationError]() [AuthorizationError]() [CollectionSizeError]() [DatabaseError]() + * [DateError]() [DistinctError]() [FeedAttributeReferenceError]() [FieldError]() + * [FieldMaskError]() [FunctionError]() [FunctionParsingError]() [HeaderError]() [IdError]() + * [ImageError]() [InternalError]() [ListOperationError]() [MediaBundleError]() [MediaFileError]() + * [MutateError]() [NewResourceCreationError]() [NotEmptyError]() [NullError]() [OperatorError]() + * [PolicyFindingError]() [PolicyViolationError]() [QuotaError]() [RangeError]() [RequestError]() + * [SizeLimitError]() [StringFormatError]() [StringLengthError]() [UrlFieldError]() + * + * Create a request for the method "ads.mutate". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + *

{@link + * Mutate#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer whose ads are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAdsRequest} + * @since 1.13 + */ + protected Mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAdsRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAdsResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public Mutate set$Xgafv(java.lang.String $Xgafv) { + return (Mutate) super.set$Xgafv($Xgafv); + } + + @Override + public Mutate setAccessToken(java.lang.String accessToken) { + return (Mutate) super.setAccessToken(accessToken); + } + + @Override + public Mutate setAlt(java.lang.String alt) { + return (Mutate) super.setAlt(alt); + } + + @Override + public Mutate setCallback(java.lang.String callback) { + return (Mutate) super.setCallback(callback); + } + + @Override + public Mutate setFields(java.lang.String fields) { + return (Mutate) super.setFields(fields); + } + + @Override + public Mutate setKey(java.lang.String key) { + return (Mutate) super.setKey(key); + } + + @Override + public Mutate setOauthToken(java.lang.String oauthToken) { + return (Mutate) super.setOauthToken(oauthToken); + } + + @Override + public Mutate setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Mutate) super.setPrettyPrint(prettyPrint); + } + + @Override + public Mutate setQuotaUser(java.lang.String quotaUser) { + return (Mutate) super.setQuotaUser(quotaUser); + } + + @Override + public Mutate setUploadType(java.lang.String uploadType) { + return (Mutate) super.setUploadType(uploadType); + } + + @Override + public Mutate setUploadProtocol(java.lang.String uploadProtocol) { + return (Mutate) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the customer whose ads are being modified. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer whose ads are being modified. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the customer whose ads are being modified. */ + public Mutate setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public Mutate set(String parameterName, Object value) { + return (Mutate) super.set(parameterName, value); + } + } + + } + /** + * An accessor for creating requests from the AssetGroupAssets collection. + * + *

The typical use is:

+ *
+     *   {@code SA360 searchads360 = new SA360(...);}
+     *   {@code SA360.AssetGroupAssets.List request = searchads360.assetGroupAssets().list(parameters ...)}
+     * 
+ * + * @return the resource collection + */ + public AssetGroupAssets assetGroupAssets() { + return new AssetGroupAssets(); + } + + /** + * The "assetGroupAssets" collection of methods. + */ + public class AssetGroupAssets { + + /** + * Creates, updates or removes asset group assets. Operation statuses are returned. + * + * Create a request for the method "assetGroupAssets.mutate". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + * + * @param customerId Required. The ID of the customer whose asset group assets are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAssetGroupAssetsRequest} + * @return the request + */ + public Mutate mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAssetGroupAssetsRequest content) throws java.io.IOException { + Mutate result = new Mutate(customerId, content); + initialize(result); + return result; + } + + public class Mutate extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/assetGroupAssets:mutate"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Creates, updates or removes asset group assets. Operation statuses are returned. + * + * Create a request for the method "assetGroupAssets.mutate". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + *

{@link + * Mutate#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer whose asset group assets are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAssetGroupAssetsRequest} + * @since 1.13 + */ + protected Mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAssetGroupAssetsRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAssetGroupAssetsResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public Mutate set$Xgafv(java.lang.String $Xgafv) { + return (Mutate) super.set$Xgafv($Xgafv); + } + + @Override + public Mutate setAccessToken(java.lang.String accessToken) { + return (Mutate) super.setAccessToken(accessToken); + } + + @Override + public Mutate setAlt(java.lang.String alt) { + return (Mutate) super.setAlt(alt); + } + + @Override + public Mutate setCallback(java.lang.String callback) { + return (Mutate) super.setCallback(callback); + } + + @Override + public Mutate setFields(java.lang.String fields) { + return (Mutate) super.setFields(fields); + } + + @Override + public Mutate setKey(java.lang.String key) { + return (Mutate) super.setKey(key); + } + + @Override + public Mutate setOauthToken(java.lang.String oauthToken) { + return (Mutate) super.setOauthToken(oauthToken); + } + + @Override + public Mutate setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Mutate) super.setPrettyPrint(prettyPrint); + } + + @Override + public Mutate setQuotaUser(java.lang.String quotaUser) { + return (Mutate) super.setQuotaUser(quotaUser); + } + + @Override + public Mutate setUploadType(java.lang.String uploadType) { + return (Mutate) super.setUploadType(uploadType); + } + + @Override + public Mutate setUploadProtocol(java.lang.String uploadProtocol) { + return (Mutate) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the customer whose asset group assets are being modified. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer whose asset group assets are being modified. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the customer whose asset group assets are being modified. */ + public Mutate setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public Mutate set(String parameterName, Object value) { + return (Mutate) super.set(parameterName, value); + } + } + + } + /** + * An accessor for creating requests from the AssetGroupListingGroupFilters collection. + * + *

The typical use is:

+ *
+     *   {@code SA360 searchads360 = new SA360(...);}
+     *   {@code SA360.AssetGroupListingGroupFilters.List request = searchads360.assetGroupListingGroupFilters().list(parameters ...)}
+     * 
+ * + * @return the resource collection + */ + public AssetGroupListingGroupFilters assetGroupListingGroupFilters() { + return new AssetGroupListingGroupFilters(); + } + + /** + * The "assetGroupListingGroupFilters" collection of methods. + */ + public class AssetGroupListingGroupFilters { + + /** + * Creates, updates or removes asset group listing group filters. Operation statuses are returned. + * + * Create a request for the method "assetGroupListingGroupFilters.mutate". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + * + * @param customerId Required. The ID of the customer whose asset group listing group filters are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAssetGroupListingGroupFiltersRequest} + * @return the request + */ + public Mutate mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAssetGroupListingGroupFiltersRequest content) throws java.io.IOException { + Mutate result = new Mutate(customerId, content); + initialize(result); + return result; + } + + public class Mutate extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/assetGroupListingGroupFilters:mutate"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Creates, updates or removes asset group listing group filters. Operation statuses are returned. + * + * Create a request for the method "assetGroupListingGroupFilters.mutate". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + *

{@link + * Mutate#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer whose asset group listing group filters are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAssetGroupListingGroupFiltersRequest} + * @since 1.13 + */ + protected Mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAssetGroupListingGroupFiltersRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAssetGroupListingGroupFiltersResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public Mutate set$Xgafv(java.lang.String $Xgafv) { + return (Mutate) super.set$Xgafv($Xgafv); + } + + @Override + public Mutate setAccessToken(java.lang.String accessToken) { + return (Mutate) super.setAccessToken(accessToken); + } + + @Override + public Mutate setAlt(java.lang.String alt) { + return (Mutate) super.setAlt(alt); + } + + @Override + public Mutate setCallback(java.lang.String callback) { + return (Mutate) super.setCallback(callback); + } + + @Override + public Mutate setFields(java.lang.String fields) { + return (Mutate) super.setFields(fields); + } + + @Override + public Mutate setKey(java.lang.String key) { + return (Mutate) super.setKey(key); + } + + @Override + public Mutate setOauthToken(java.lang.String oauthToken) { + return (Mutate) super.setOauthToken(oauthToken); + } + + @Override + public Mutate setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Mutate) super.setPrettyPrint(prettyPrint); + } + + @Override + public Mutate setQuotaUser(java.lang.String quotaUser) { + return (Mutate) super.setQuotaUser(quotaUser); + } + + @Override + public Mutate setUploadType(java.lang.String uploadType) { + return (Mutate) super.setUploadType(uploadType); + } + + @Override + public Mutate setUploadProtocol(java.lang.String uploadProtocol) { + return (Mutate) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. The ID of the customer whose asset group listing group filters are being + * modified. + */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer whose asset group listing group filters are being modified. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** + * Required. The ID of the customer whose asset group listing group filters are being + * modified. + */ + public Mutate setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public Mutate set(String parameterName, Object value) { + return (Mutate) super.set(parameterName, value); + } + } + + } + /** + * An accessor for creating requests from the AssetGroupSignals collection. + * + *

The typical use is:

+ *
+     *   {@code SA360 searchads360 = new SA360(...);}
+     *   {@code SA360.AssetGroupSignals.List request = searchads360.assetGroupSignals().list(parameters ...)}
+     * 
+ * + * @return the resource collection + */ + public AssetGroupSignals assetGroupSignals() { + return new AssetGroupSignals(); + } + + /** + * The "assetGroupSignals" collection of methods. + */ + public class AssetGroupSignals { + + /** + * Creates or removes asset group signals. Operation statuses are returned. + * + * Create a request for the method "assetGroupSignals.mutate". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + * + * @param customerId Required. The ID of the customer whose asset group signals are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAssetGroupSignalsRequest} + * @return the request + */ + public Mutate mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAssetGroupSignalsRequest content) throws java.io.IOException { + Mutate result = new Mutate(customerId, content); + initialize(result); + return result; + } + + public class Mutate extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/assetGroupSignals:mutate"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Creates or removes asset group signals. Operation statuses are returned. + * + * Create a request for the method "assetGroupSignals.mutate". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + *

{@link + * Mutate#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer whose asset group signals are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAssetGroupSignalsRequest} + * @since 1.13 + */ + protected Mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAssetGroupSignalsRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAssetGroupSignalsResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public Mutate set$Xgafv(java.lang.String $Xgafv) { + return (Mutate) super.set$Xgafv($Xgafv); + } + + @Override + public Mutate setAccessToken(java.lang.String accessToken) { + return (Mutate) super.setAccessToken(accessToken); + } + + @Override + public Mutate setAlt(java.lang.String alt) { + return (Mutate) super.setAlt(alt); + } + + @Override + public Mutate setCallback(java.lang.String callback) { + return (Mutate) super.setCallback(callback); + } + + @Override + public Mutate setFields(java.lang.String fields) { + return (Mutate) super.setFields(fields); + } + + @Override + public Mutate setKey(java.lang.String key) { + return (Mutate) super.setKey(key); + } + + @Override + public Mutate setOauthToken(java.lang.String oauthToken) { + return (Mutate) super.setOauthToken(oauthToken); + } + + @Override + public Mutate setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Mutate) super.setPrettyPrint(prettyPrint); + } + + @Override + public Mutate setQuotaUser(java.lang.String quotaUser) { + return (Mutate) super.setQuotaUser(quotaUser); + } + + @Override + public Mutate setUploadType(java.lang.String uploadType) { + return (Mutate) super.setUploadType(uploadType); + } + + @Override + public Mutate setUploadProtocol(java.lang.String uploadProtocol) { + return (Mutate) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the customer whose asset group signals are being modified. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer whose asset group signals are being modified. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the customer whose asset group signals are being modified. */ + public Mutate setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public Mutate set(String parameterName, Object value) { + return (Mutate) super.set(parameterName, value); + } + } + + } + /** + * An accessor for creating requests from the AssetGroups collection. + * + *

The typical use is:

+ *
+     *   {@code SA360 searchads360 = new SA360(...);}
+     *   {@code SA360.AssetGroups.List request = searchads360.assetGroups().list(parameters ...)}
+     * 
+ * + * @return the resource collection + */ + public AssetGroups assetGroups() { + return new AssetGroups(); + } + + /** + * The "assetGroups" collection of methods. + */ + public class AssetGroups { + + /** + * Creates, updates or removes asset groups. Operation statuses are returned. + * + * Create a request for the method "assetGroups.mutate". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + * + * @param customerId Required. The ID of the customer whose asset groups are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAssetGroupsRequest} + * @return the request + */ + public Mutate mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAssetGroupsRequest content) throws java.io.IOException { + Mutate result = new Mutate(customerId, content); + initialize(result); + return result; + } + + public class Mutate extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/assetGroups:mutate"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Creates, updates or removes asset groups. Operation statuses are returned. + * + * Create a request for the method "assetGroups.mutate". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + *

{@link + * Mutate#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer whose asset groups are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAssetGroupsRequest} + * @since 1.13 + */ + protected Mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAssetGroupsRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAssetGroupsResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public Mutate set$Xgafv(java.lang.String $Xgafv) { + return (Mutate) super.set$Xgafv($Xgafv); + } + + @Override + public Mutate setAccessToken(java.lang.String accessToken) { + return (Mutate) super.setAccessToken(accessToken); + } + + @Override + public Mutate setAlt(java.lang.String alt) { + return (Mutate) super.setAlt(alt); + } + + @Override + public Mutate setCallback(java.lang.String callback) { + return (Mutate) super.setCallback(callback); + } + + @Override + public Mutate setFields(java.lang.String fields) { + return (Mutate) super.setFields(fields); + } + + @Override + public Mutate setKey(java.lang.String key) { + return (Mutate) super.setKey(key); + } + + @Override + public Mutate setOauthToken(java.lang.String oauthToken) { + return (Mutate) super.setOauthToken(oauthToken); + } + + @Override + public Mutate setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Mutate) super.setPrettyPrint(prettyPrint); + } + + @Override + public Mutate setQuotaUser(java.lang.String quotaUser) { + return (Mutate) super.setQuotaUser(quotaUser); + } + + @Override + public Mutate setUploadType(java.lang.String uploadType) { + return (Mutate) super.setUploadType(uploadType); + } + + @Override + public Mutate setUploadProtocol(java.lang.String uploadProtocol) { + return (Mutate) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the customer whose asset groups are being modified. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer whose asset groups are being modified. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the customer whose asset groups are being modified. */ + public Mutate setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public Mutate set(String parameterName, Object value) { + return (Mutate) super.set(parameterName, value); + } + } + + } + /** + * An accessor for creating requests from the AssetSetAssets collection. + * + *

The typical use is:

+ *
+     *   {@code SA360 searchads360 = new SA360(...);}
+     *   {@code SA360.AssetSetAssets.List request = searchads360.assetSetAssets().list(parameters ...)}
+     * 
+ * + * @return the resource collection + */ + public AssetSetAssets assetSetAssets() { + return new AssetSetAssets(); + } + + /** + * The "assetSetAssets" collection of methods. + */ + public class AssetSetAssets { + + /** + * Creates, updates or removes asset set assets. Operation statuses are returned. + * + * Create a request for the method "assetSetAssets.mutate". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + * + * @param customerId Required. The ID of the customer whose asset set assets are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAssetSetAssetsRequest} + * @return the request + */ + public Mutate mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAssetSetAssetsRequest content) throws java.io.IOException { + Mutate result = new Mutate(customerId, content); + initialize(result); + return result; + } + + public class Mutate extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/assetSetAssets:mutate"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Creates, updates or removes asset set assets. Operation statuses are returned. + * + * Create a request for the method "assetSetAssets.mutate". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + *

{@link + * Mutate#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer whose asset set assets are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAssetSetAssetsRequest} + * @since 1.13 + */ + protected Mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAssetSetAssetsRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAssetSetAssetsResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public Mutate set$Xgafv(java.lang.String $Xgafv) { + return (Mutate) super.set$Xgafv($Xgafv); + } + + @Override + public Mutate setAccessToken(java.lang.String accessToken) { + return (Mutate) super.setAccessToken(accessToken); + } + + @Override + public Mutate setAlt(java.lang.String alt) { + return (Mutate) super.setAlt(alt); + } + + @Override + public Mutate setCallback(java.lang.String callback) { + return (Mutate) super.setCallback(callback); + } + + @Override + public Mutate setFields(java.lang.String fields) { + return (Mutate) super.setFields(fields); + } + + @Override + public Mutate setKey(java.lang.String key) { + return (Mutate) super.setKey(key); + } + + @Override + public Mutate setOauthToken(java.lang.String oauthToken) { + return (Mutate) super.setOauthToken(oauthToken); + } + + @Override + public Mutate setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Mutate) super.setPrettyPrint(prettyPrint); + } + + @Override + public Mutate setQuotaUser(java.lang.String quotaUser) { + return (Mutate) super.setQuotaUser(quotaUser); + } + + @Override + public Mutate setUploadType(java.lang.String uploadType) { + return (Mutate) super.setUploadType(uploadType); + } + + @Override + public Mutate setUploadProtocol(java.lang.String uploadProtocol) { + return (Mutate) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the customer whose asset set assets are being modified. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer whose asset set assets are being modified. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the customer whose asset set assets are being modified. */ + public Mutate setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public Mutate set(String parameterName, Object value) { + return (Mutate) super.set(parameterName, value); + } + } + + } + /** + * An accessor for creating requests from the AssetSets collection. + * + *

The typical use is:

+ *
+     *   {@code SA360 searchads360 = new SA360(...);}
+     *   {@code SA360.AssetSets.List request = searchads360.assetSets().list(parameters ...)}
+     * 
+ * + * @return the resource collection + */ + public AssetSets assetSets() { + return new AssetSets(); + } + + /** + * The "assetSets" collection of methods. + */ + public class AssetSets { + + /** + * Creates, updates or removes asset sets. Operation statuses are returned. + * + * Create a request for the method "assetSets.mutate". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + * + * @param customerId Required. The ID of the customer whose asset sets are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAssetSetsRequest} + * @return the request + */ + public Mutate mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAssetSetsRequest content) throws java.io.IOException { + Mutate result = new Mutate(customerId, content); + initialize(result); + return result; + } + + public class Mutate extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/assetSets:mutate"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Creates, updates or removes asset sets. Operation statuses are returned. + * + * Create a request for the method "assetSets.mutate". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + *

{@link + * Mutate#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer whose asset sets are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAssetSetsRequest} + * @since 1.13 + */ + protected Mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAssetSetsRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAssetSetsResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public Mutate set$Xgafv(java.lang.String $Xgafv) { + return (Mutate) super.set$Xgafv($Xgafv); + } + + @Override + public Mutate setAccessToken(java.lang.String accessToken) { + return (Mutate) super.setAccessToken(accessToken); + } + + @Override + public Mutate setAlt(java.lang.String alt) { + return (Mutate) super.setAlt(alt); + } + + @Override + public Mutate setCallback(java.lang.String callback) { + return (Mutate) super.setCallback(callback); + } + + @Override + public Mutate setFields(java.lang.String fields) { + return (Mutate) super.setFields(fields); + } + + @Override + public Mutate setKey(java.lang.String key) { + return (Mutate) super.setKey(key); + } + + @Override + public Mutate setOauthToken(java.lang.String oauthToken) { + return (Mutate) super.setOauthToken(oauthToken); + } + + @Override + public Mutate setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Mutate) super.setPrettyPrint(prettyPrint); + } + + @Override + public Mutate setQuotaUser(java.lang.String quotaUser) { + return (Mutate) super.setQuotaUser(quotaUser); + } + + @Override + public Mutate setUploadType(java.lang.String uploadType) { + return (Mutate) super.setUploadType(uploadType); + } + + @Override + public Mutate setUploadProtocol(java.lang.String uploadProtocol) { + return (Mutate) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the customer whose asset sets are being modified. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer whose asset sets are being modified. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the customer whose asset sets are being modified. */ + public Mutate setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public Mutate set(String parameterName, Object value) { + return (Mutate) super.set(parameterName, value); + } + } + + } + /** + * An accessor for creating requests from the Assets collection. + * + *

The typical use is:

+ *
+     *   {@code SA360 searchads360 = new SA360(...);}
+     *   {@code SA360.Assets.List request = searchads360.assets().list(parameters ...)}
+     * 
+ * + * @return the resource collection + */ + public Assets assets() { + return new Assets(); + } + + /** + * The "assets" collection of methods. + */ + public class Assets { + + /** + * Creates assets. Operation statuses are returned. List of thrown errors: [AssetError]() + * [AuthenticationError]() [AuthorizationError]() [CollectionSizeError]() [CurrencyCodeError]() + * [DatabaseError]() [DateError]() [DistinctError]() [FieldError]() [FieldMaskError]() + * [HeaderError]() [IdError]() [InternalError]() [ListOperationError]() [MediaUploadError]() + * [MutateError]() [NotAllowlistedError]() [NotEmptyError]() [OperatorError]() [QuotaError]() + * [RangeError]() [RequestError]() [SizeLimitError]() [StringFormatError]() [StringLengthError]() + * [UrlFieldError]() [YoutubeVideoRegistrationError]() + * + * Create a request for the method "assets.mutate". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + * + * @param customerId Required. The ID of the customer whose assets are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAssetsRequest} + * @return the request + */ + public Mutate mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAssetsRequest content) throws java.io.IOException { + Mutate result = new Mutate(customerId, content); + initialize(result); + return result; + } + + public class Mutate extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/assets:mutate"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Creates assets. Operation statuses are returned. List of thrown errors: [AssetError]() + * [AuthenticationError]() [AuthorizationError]() [CollectionSizeError]() [CurrencyCodeError]() + * [DatabaseError]() [DateError]() [DistinctError]() [FieldError]() [FieldMaskError]() + * [HeaderError]() [IdError]() [InternalError]() [ListOperationError]() [MediaUploadError]() + * [MutateError]() [NotAllowlistedError]() [NotEmptyError]() [OperatorError]() [QuotaError]() + * [RangeError]() [RequestError]() [SizeLimitError]() [StringFormatError]() [StringLengthError]() + * [UrlFieldError]() [YoutubeVideoRegistrationError]() + * + * Create a request for the method "assets.mutate". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + *

{@link + * Mutate#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer whose assets are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAssetsRequest} + * @since 1.13 + */ + protected Mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAssetsRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAssetsResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public Mutate set$Xgafv(java.lang.String $Xgafv) { + return (Mutate) super.set$Xgafv($Xgafv); + } + + @Override + public Mutate setAccessToken(java.lang.String accessToken) { + return (Mutate) super.setAccessToken(accessToken); + } + + @Override + public Mutate setAlt(java.lang.String alt) { + return (Mutate) super.setAlt(alt); + } + + @Override + public Mutate setCallback(java.lang.String callback) { + return (Mutate) super.setCallback(callback); + } + + @Override + public Mutate setFields(java.lang.String fields) { + return (Mutate) super.setFields(fields); + } + + @Override + public Mutate setKey(java.lang.String key) { + return (Mutate) super.setKey(key); + } + + @Override + public Mutate setOauthToken(java.lang.String oauthToken) { + return (Mutate) super.setOauthToken(oauthToken); + } + + @Override + public Mutate setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Mutate) super.setPrettyPrint(prettyPrint); + } + + @Override + public Mutate setQuotaUser(java.lang.String quotaUser) { + return (Mutate) super.setQuotaUser(quotaUser); + } + + @Override + public Mutate setUploadType(java.lang.String uploadType) { + return (Mutate) super.setUploadType(uploadType); + } + + @Override + public Mutate setUploadProtocol(java.lang.String uploadProtocol) { + return (Mutate) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the customer whose assets are being modified. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer whose assets are being modified. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the customer whose assets are being modified. */ + public Mutate setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public Mutate set(String parameterName, Object value) { + return (Mutate) super.set(parameterName, value); + } + } + + } + /** + * An accessor for creating requests from the Audiences collection. + * + *

The typical use is:

+ *
+     *   {@code SA360 searchads360 = new SA360(...);}
+     *   {@code SA360.Audiences.List request = searchads360.audiences().list(parameters ...)}
+     * 
+ * + * @return the resource collection + */ + public Audiences audiences() { + return new Audiences(); + } + + /** + * The "audiences" collection of methods. + */ + public class Audiences { + + /** + * Creates audiences. Operation statuses are returned. List of thrown errors: [AudienceError]() + * + * Create a request for the method "audiences.mutate". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + * + * @param customerId Required. The ID of the customer whose audiences are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAudiencesRequest} + * @return the request + */ + public Mutate mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAudiencesRequest content) throws java.io.IOException { + Mutate result = new Mutate(customerId, content); + initialize(result); + return result; + } + + public class Mutate extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/audiences:mutate"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Creates audiences. Operation statuses are returned. List of thrown errors: [AudienceError]() + * + * Create a request for the method "audiences.mutate". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + *

{@link + * Mutate#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer whose audiences are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAudiencesRequest} + * @since 1.13 + */ + protected Mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAudiencesRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateAudiencesResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public Mutate set$Xgafv(java.lang.String $Xgafv) { + return (Mutate) super.set$Xgafv($Xgafv); + } + + @Override + public Mutate setAccessToken(java.lang.String accessToken) { + return (Mutate) super.setAccessToken(accessToken); + } + + @Override + public Mutate setAlt(java.lang.String alt) { + return (Mutate) super.setAlt(alt); + } + + @Override + public Mutate setCallback(java.lang.String callback) { + return (Mutate) super.setCallback(callback); + } + + @Override + public Mutate setFields(java.lang.String fields) { + return (Mutate) super.setFields(fields); + } + + @Override + public Mutate setKey(java.lang.String key) { + return (Mutate) super.setKey(key); + } + + @Override + public Mutate setOauthToken(java.lang.String oauthToken) { + return (Mutate) super.setOauthToken(oauthToken); + } + + @Override + public Mutate setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Mutate) super.setPrettyPrint(prettyPrint); + } + + @Override + public Mutate setQuotaUser(java.lang.String quotaUser) { + return (Mutate) super.setQuotaUser(quotaUser); + } + + @Override + public Mutate setUploadType(java.lang.String uploadType) { + return (Mutate) super.setUploadType(uploadType); + } + + @Override + public Mutate setUploadProtocol(java.lang.String uploadProtocol) { + return (Mutate) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the customer whose audiences are being modified. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer whose audiences are being modified. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the customer whose audiences are being modified. */ + public Mutate setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public Mutate set(String parameterName, Object value) { + return (Mutate) super.set(parameterName, value); + } + } + + } + /** + * An accessor for creating requests from the BatchJobs collection. + * + *

The typical use is:

+ *
+     *   {@code SA360 searchads360 = new SA360(...);}
+     *   {@code SA360.BatchJobs.List request = searchads360.batchJobs().list(parameters ...)}
+     * 
+ * + * @return the resource collection + */ + public BatchJobs batchJobs() { + return new BatchJobs(); + } + + /** + * The "batchJobs" collection of methods. + */ + public class BatchJobs { + + /** + * Add operations to the batch job. List of thrown errors: [AuthenticationError]() + * [AuthorizationError]() [BatchJobError]() [HeaderError]() [InternalError]() [QuotaError]() + * [RequestError]() [ResourceCountLimitExceededError]() + * + * Create a request for the method "batchJobs.addOperations". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link AddOperations#execute()} method to invoke the remote operation. + * + * @param resourceName Required. The resource name of the batch job. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesAddBatchJobOperationsRequest} + * @return the request + */ + public AddOperations addOperations(java.lang.String resourceName, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesAddBatchJobOperationsRequest content) throws java.io.IOException { + AddOperations result = new AddOperations(resourceName, content); + initialize(result); + return result; + } + + public class AddOperations extends SA360Request { + + private static final String REST_PATH = "v23/{+resourceName}:addOperations"; + + private final java.util.regex.Pattern RESOURCE_NAME_PATTERN = + java.util.regex.Pattern.compile("^customers/[^/]+/batchJobs/[^/]+$"); + + /** + * Add operations to the batch job. List of thrown errors: [AuthenticationError]() + * [AuthorizationError]() [BatchJobError]() [HeaderError]() [InternalError]() [QuotaError]() + * [RequestError]() [ResourceCountLimitExceededError]() + * + * Create a request for the method "batchJobs.addOperations". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link AddOperations#execute()} method to invoke the remote + * operation.

{@link AddOperations#initialize(com.google.api.client.googleapis.services.Abstra + * ctGoogleClientRequest)} must be called to initialize this instance immediately after invoking + * the constructor.

+ * + * @param resourceName Required. The resource name of the batch job. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesAddBatchJobOperationsRequest} + * @since 1.13 + */ + protected AddOperations(java.lang.String resourceName, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesAddBatchJobOperationsRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesAddBatchJobOperationsResponse.class); + this.resourceName = com.google.api.client.util.Preconditions.checkNotNull(resourceName, "Required parameter resourceName must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(RESOURCE_NAME_PATTERN.matcher(resourceName).matches(), + "Parameter resourceName must conform to the pattern " + + "^customers/[^/]+/batchJobs/[^/]+$"); + } + } + + @Override + public AddOperations set$Xgafv(java.lang.String $Xgafv) { + return (AddOperations) super.set$Xgafv($Xgafv); + } + + @Override + public AddOperations setAccessToken(java.lang.String accessToken) { + return (AddOperations) super.setAccessToken(accessToken); + } + + @Override + public AddOperations setAlt(java.lang.String alt) { + return (AddOperations) super.setAlt(alt); + } + + @Override + public AddOperations setCallback(java.lang.String callback) { + return (AddOperations) super.setCallback(callback); + } + + @Override + public AddOperations setFields(java.lang.String fields) { + return (AddOperations) super.setFields(fields); + } + + @Override + public AddOperations setKey(java.lang.String key) { + return (AddOperations) super.setKey(key); + } + + @Override + public AddOperations setOauthToken(java.lang.String oauthToken) { + return (AddOperations) super.setOauthToken(oauthToken); + } + + @Override + public AddOperations setPrettyPrint(java.lang.Boolean prettyPrint) { + return (AddOperations) super.setPrettyPrint(prettyPrint); + } + + @Override + public AddOperations setQuotaUser(java.lang.String quotaUser) { + return (AddOperations) super.setQuotaUser(quotaUser); + } + + @Override + public AddOperations setUploadType(java.lang.String uploadType) { + return (AddOperations) super.setUploadType(uploadType); + } + + @Override + public AddOperations setUploadProtocol(java.lang.String uploadProtocol) { + return (AddOperations) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The resource name of the batch job. */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** Required. The resource name of the batch job. + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** Required. The resource name of the batch job. */ + public AddOperations setResourceName(java.lang.String resourceName) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(RESOURCE_NAME_PATTERN.matcher(resourceName).matches(), + "Parameter resourceName must conform to the pattern " + + "^customers/[^/]+/batchJobs/[^/]+$"); + } + this.resourceName = resourceName; + return this; + } + + @Override + public AddOperations set(String parameterName, Object value) { + return (AddOperations) super.set(parameterName, value); + } + } + /** + * Returns the results of the batch job. The job must be done. Supports standard list paging. List + * of thrown errors: [AuthenticationError]() [AuthorizationError]() [BatchJobError]() + * [HeaderError]() [InternalError]() [QuotaError]() [RequestError]() + * + * Create a request for the method "batchJobs.listResults". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link ListResults#execute()} method to invoke the remote operation. + * + * @param resourceName Required. The resource name of the batch job whose results are being listed. + * @return the request + */ + public ListResults listResults(java.lang.String resourceName) throws java.io.IOException { + ListResults result = new ListResults(resourceName); + initialize(result); + return result; + } + + public class ListResults extends SA360Request { + + private static final String REST_PATH = "v23/{+resourceName}:listResults"; + + private final java.util.regex.Pattern RESOURCE_NAME_PATTERN = + java.util.regex.Pattern.compile("^customers/[^/]+/batchJobs/[^/]+$"); + + /** + * Returns the results of the batch job. The job must be done. Supports standard list paging. List + * of thrown errors: [AuthenticationError]() [AuthorizationError]() [BatchJobError]() + * [HeaderError]() [InternalError]() [QuotaError]() [RequestError]() + * + * Create a request for the method "batchJobs.listResults". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link ListResults#execute()} method to invoke the remote + * operation.

{@link + * ListResults#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} + * must be called to initialize this instance immediately after invoking the constructor.

+ * + * @param resourceName Required. The resource name of the batch job whose results are being listed. + * @since 1.13 + */ + protected ListResults(java.lang.String resourceName) { + super(SA360.this, "GET", REST_PATH, null, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesListBatchJobResultsResponse.class); + this.resourceName = com.google.api.client.util.Preconditions.checkNotNull(resourceName, "Required parameter resourceName must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(RESOURCE_NAME_PATTERN.matcher(resourceName).matches(), + "Parameter resourceName must conform to the pattern " + + "^customers/[^/]+/batchJobs/[^/]+$"); + } + } + + @Override + public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { + return super.executeUsingHead(); + } + + @Override + public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { + return super.buildHttpRequestUsingHead(); + } + + @Override + public ListResults set$Xgafv(java.lang.String $Xgafv) { + return (ListResults) super.set$Xgafv($Xgafv); + } + + @Override + public ListResults setAccessToken(java.lang.String accessToken) { + return (ListResults) super.setAccessToken(accessToken); + } + + @Override + public ListResults setAlt(java.lang.String alt) { + return (ListResults) super.setAlt(alt); + } + + @Override + public ListResults setCallback(java.lang.String callback) { + return (ListResults) super.setCallback(callback); + } + + @Override + public ListResults setFields(java.lang.String fields) { + return (ListResults) super.setFields(fields); + } + + @Override + public ListResults setKey(java.lang.String key) { + return (ListResults) super.setKey(key); + } + + @Override + public ListResults setOauthToken(java.lang.String oauthToken) { + return (ListResults) super.setOauthToken(oauthToken); + } + + @Override + public ListResults setPrettyPrint(java.lang.Boolean prettyPrint) { + return (ListResults) super.setPrettyPrint(prettyPrint); + } + + @Override + public ListResults setQuotaUser(java.lang.String quotaUser) { + return (ListResults) super.setQuotaUser(quotaUser); + } + + @Override + public ListResults setUploadType(java.lang.String uploadType) { + return (ListResults) super.setUploadType(uploadType); + } + + @Override + public ListResults setUploadProtocol(java.lang.String uploadProtocol) { + return (ListResults) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The resource name of the batch job whose results are being listed. */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** Required. The resource name of the batch job whose results are being listed. + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** Required. The resource name of the batch job whose results are being listed. */ + public ListResults setResourceName(java.lang.String resourceName) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(RESOURCE_NAME_PATTERN.matcher(resourceName).matches(), + "Parameter resourceName must conform to the pattern " + + "^customers/[^/]+/batchJobs/[^/]+$"); + } + this.resourceName = resourceName; + return this; + } + + @com.google.api.client.util.Key + private java.lang.Integer pageSize; + + /** + + */ + public java.lang.Integer getPageSize() { + return pageSize; + } + + public ListResults setPageSize(java.lang.Integer pageSize) { + this.pageSize = pageSize; + return this; + } + + /** + * Token of the page to retrieve. If not specified, the first page of results will be + * returned. Use the value obtained from `next_page_token` in the previous response in order + * to request the next page of results. + */ + @com.google.api.client.util.Key + private java.lang.String pageToken; + + /** Token of the page to retrieve. If not specified, the first page of results will be returned. Use + the value obtained from `next_page_token` in the previous response in order to request the next + page of results. + */ + public java.lang.String getPageToken() { + return pageToken; + } + + /** + * Token of the page to retrieve. If not specified, the first page of results will be + * returned. Use the value obtained from `next_page_token` in the previous response in order + * to request the next page of results. + */ + public ListResults setPageToken(java.lang.String pageToken) { + this.pageToken = pageToken; + return this; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the + * resource name should be returned. + */ + @com.google.api.client.util.Key + private java.lang.String responseContentType; + + /** The response content type setting. Determines whether the mutable resource or just the resource + name should be returned. + */ + public java.lang.String getResponseContentType() { + return responseContentType; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the + * resource name should be returned. + */ + public ListResults setResponseContentType(java.lang.String responseContentType) { + this.responseContentType = responseContentType; + return this; + } + + @Override + public ListResults set(String parameterName, Object value) { + return (ListResults) super.set(parameterName, value); + } + } + /** + * Mutates a batch job. List of thrown errors: [AuthenticationError]() [AuthorizationError]() + * [HeaderError]() [InternalError]() [QuotaError]() [RequestError]() + * [ResourceCountLimitExceededError]() + * + * Create a request for the method "batchJobs.mutate". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + * + * @param customerId Required. The ID of the customer for which to create a batch job. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateBatchJobRequest} + * @return the request + */ + public Mutate mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateBatchJobRequest content) throws java.io.IOException { + Mutate result = new Mutate(customerId, content); + initialize(result); + return result; + } + + public class Mutate extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/batchJobs:mutate"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Mutates a batch job. List of thrown errors: [AuthenticationError]() [AuthorizationError]() + * [HeaderError]() [InternalError]() [QuotaError]() [RequestError]() + * [ResourceCountLimitExceededError]() + * + * Create a request for the method "batchJobs.mutate". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + *

{@link + * Mutate#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer for which to create a batch job. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateBatchJobRequest} + * @since 1.13 + */ + protected Mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateBatchJobRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateBatchJobResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public Mutate set$Xgafv(java.lang.String $Xgafv) { + return (Mutate) super.set$Xgafv($Xgafv); + } + + @Override + public Mutate setAccessToken(java.lang.String accessToken) { + return (Mutate) super.setAccessToken(accessToken); + } + + @Override + public Mutate setAlt(java.lang.String alt) { + return (Mutate) super.setAlt(alt); + } + + @Override + public Mutate setCallback(java.lang.String callback) { + return (Mutate) super.setCallback(callback); + } + + @Override + public Mutate setFields(java.lang.String fields) { + return (Mutate) super.setFields(fields); + } + + @Override + public Mutate setKey(java.lang.String key) { + return (Mutate) super.setKey(key); + } + + @Override + public Mutate setOauthToken(java.lang.String oauthToken) { + return (Mutate) super.setOauthToken(oauthToken); + } + + @Override + public Mutate setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Mutate) super.setPrettyPrint(prettyPrint); + } + + @Override + public Mutate setQuotaUser(java.lang.String quotaUser) { + return (Mutate) super.setQuotaUser(quotaUser); + } + + @Override + public Mutate setUploadType(java.lang.String uploadType) { + return (Mutate) super.setUploadType(uploadType); + } + + @Override + public Mutate setUploadProtocol(java.lang.String uploadProtocol) { + return (Mutate) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the customer for which to create a batch job. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer for which to create a batch job. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the customer for which to create a batch job. */ + public Mutate setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public Mutate set(String parameterName, Object value) { + return (Mutate) super.set(parameterName, value); + } + } + /** + * Runs the batch job. The Operation.metadata field type is BatchJobMetadata. When finished, the + * long running operation will not contain errors or a response. Instead, use ListBatchJobResults to + * get the results of the job. List of thrown errors: [AuthenticationError]() [AuthorizationError]() + * [BatchJobError]() [HeaderError]() [InternalError]() [QuotaError]() [RequestError]() + * + * Create a request for the method "batchJobs.run". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Run#execute()} method to invoke the remote operation. + * + * @param resourceName Required. The resource name of the BatchJob to run. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesRunBatchJobRequest} + * @return the request + */ + public Run run(java.lang.String resourceName, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesRunBatchJobRequest content) throws java.io.IOException { + Run result = new Run(resourceName, content); + initialize(result); + return result; + } + + public class Run extends SA360Request { + + private static final String REST_PATH = "v23/{+resourceName}:run"; + + private final java.util.regex.Pattern RESOURCE_NAME_PATTERN = + java.util.regex.Pattern.compile("^customers/[^/]+/batchJobs/[^/]+$"); + + /** + * Runs the batch job. The Operation.metadata field type is BatchJobMetadata. When finished, the + * long running operation will not contain errors or a response. Instead, use ListBatchJobResults + * to get the results of the job. List of thrown errors: [AuthenticationError]() + * [AuthorizationError]() [BatchJobError]() [HeaderError]() [InternalError]() [QuotaError]() + * [RequestError]() + * + * Create a request for the method "batchJobs.run". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Run#execute()} method to invoke the remote operation.

+ * {@link Run#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} + * must be called to initialize this instance immediately after invoking the constructor.

+ * + * @param resourceName Required. The resource name of the BatchJob to run. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesRunBatchJobRequest} + * @since 1.13 + */ + protected Run(java.lang.String resourceName, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesRunBatchJobRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleLongrunningOperation.class); + this.resourceName = com.google.api.client.util.Preconditions.checkNotNull(resourceName, "Required parameter resourceName must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(RESOURCE_NAME_PATTERN.matcher(resourceName).matches(), + "Parameter resourceName must conform to the pattern " + + "^customers/[^/]+/batchJobs/[^/]+$"); + } + } + + @Override + public Run set$Xgafv(java.lang.String $Xgafv) { + return (Run) super.set$Xgafv($Xgafv); + } + + @Override + public Run setAccessToken(java.lang.String accessToken) { + return (Run) super.setAccessToken(accessToken); + } + + @Override + public Run setAlt(java.lang.String alt) { + return (Run) super.setAlt(alt); + } + + @Override + public Run setCallback(java.lang.String callback) { + return (Run) super.setCallback(callback); + } + + @Override + public Run setFields(java.lang.String fields) { + return (Run) super.setFields(fields); + } + + @Override + public Run setKey(java.lang.String key) { + return (Run) super.setKey(key); + } + + @Override + public Run setOauthToken(java.lang.String oauthToken) { + return (Run) super.setOauthToken(oauthToken); + } + + @Override + public Run setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Run) super.setPrettyPrint(prettyPrint); + } + + @Override + public Run setQuotaUser(java.lang.String quotaUser) { + return (Run) super.setQuotaUser(quotaUser); + } + + @Override + public Run setUploadType(java.lang.String uploadType) { + return (Run) super.setUploadType(uploadType); + } + + @Override + public Run setUploadProtocol(java.lang.String uploadProtocol) { + return (Run) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The resource name of the BatchJob to run. */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** Required. The resource name of the BatchJob to run. + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** Required. The resource name of the BatchJob to run. */ + public Run setResourceName(java.lang.String resourceName) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(RESOURCE_NAME_PATTERN.matcher(resourceName).matches(), + "Parameter resourceName must conform to the pattern " + + "^customers/[^/]+/batchJobs/[^/]+$"); + } + this.resourceName = resourceName; + return this; + } + + @Override + public Run set(String parameterName, Object value) { + return (Run) super.set(parameterName, value); + } + } + + } + /** + * An accessor for creating requests from the BiddingDataExclusions collection. + * + *

The typical use is:

+ *
+     *   {@code SA360 searchads360 = new SA360(...);}
+     *   {@code SA360.BiddingDataExclusions.List request = searchads360.biddingDataExclusions().list(parameters ...)}
+     * 
+ * + * @return the resource collection + */ + public BiddingDataExclusions biddingDataExclusions() { + return new BiddingDataExclusions(); + } + + /** + * The "biddingDataExclusions" collection of methods. + */ + public class BiddingDataExclusions { + + /** + * Creates, updates, or removes data exclusions. Operation statuses are returned. + * + * Create a request for the method "biddingDataExclusions.mutate". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + * + * @param customerId Required. ID of the customer whose data exclusions are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateBiddingDataExclusionsRequest} + * @return the request + */ + public Mutate mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateBiddingDataExclusionsRequest content) throws java.io.IOException { + Mutate result = new Mutate(customerId, content); + initialize(result); + return result; + } + + public class Mutate extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/biddingDataExclusions:mutate"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Creates, updates, or removes data exclusions. Operation statuses are returned. + * + * Create a request for the method "biddingDataExclusions.mutate". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + *

{@link + * Mutate#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param customerId Required. ID of the customer whose data exclusions are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateBiddingDataExclusionsRequest} + * @since 1.13 + */ + protected Mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateBiddingDataExclusionsRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateBiddingDataExclusionsResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public Mutate set$Xgafv(java.lang.String $Xgafv) { + return (Mutate) super.set$Xgafv($Xgafv); + } + + @Override + public Mutate setAccessToken(java.lang.String accessToken) { + return (Mutate) super.setAccessToken(accessToken); + } + + @Override + public Mutate setAlt(java.lang.String alt) { + return (Mutate) super.setAlt(alt); + } + + @Override + public Mutate setCallback(java.lang.String callback) { + return (Mutate) super.setCallback(callback); + } + + @Override + public Mutate setFields(java.lang.String fields) { + return (Mutate) super.setFields(fields); + } + + @Override + public Mutate setKey(java.lang.String key) { + return (Mutate) super.setKey(key); + } + + @Override + public Mutate setOauthToken(java.lang.String oauthToken) { + return (Mutate) super.setOauthToken(oauthToken); + } + + @Override + public Mutate setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Mutate) super.setPrettyPrint(prettyPrint); + } + + @Override + public Mutate setQuotaUser(java.lang.String quotaUser) { + return (Mutate) super.setQuotaUser(quotaUser); + } + + @Override + public Mutate setUploadType(java.lang.String uploadType) { + return (Mutate) super.setUploadType(uploadType); + } + + @Override + public Mutate setUploadProtocol(java.lang.String uploadProtocol) { + return (Mutate) super.setUploadProtocol(uploadProtocol); + } + + /** Required. ID of the customer whose data exclusions are being modified. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. ID of the customer whose data exclusions are being modified. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. ID of the customer whose data exclusions are being modified. */ + public Mutate setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public Mutate set(String parameterName, Object value) { + return (Mutate) super.set(parameterName, value); + } + } + + } + /** + * An accessor for creating requests from the BiddingSeasonalityAdjustments collection. + * + *

The typical use is:

+ *
+     *   {@code SA360 searchads360 = new SA360(...);}
+     *   {@code SA360.BiddingSeasonalityAdjustments.List request = searchads360.biddingSeasonalityAdjustments().list(parameters ...)}
+     * 
+ * + * @return the resource collection + */ + public BiddingSeasonalityAdjustments biddingSeasonalityAdjustments() { + return new BiddingSeasonalityAdjustments(); + } + + /** + * The "biddingSeasonalityAdjustments" collection of methods. + */ + public class BiddingSeasonalityAdjustments { + + /** + * Creates, updates, or removes seasonality adjustments. Operation statuses are returned. + * + * Create a request for the method "biddingSeasonalityAdjustments.mutate". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + * + * @param customerId Required. ID of the customer whose seasonality adjustments are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateBiddingSeasonalityAdjustmentsRequest} + * @return the request + */ + public Mutate mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateBiddingSeasonalityAdjustmentsRequest content) throws java.io.IOException { + Mutate result = new Mutate(customerId, content); + initialize(result); + return result; + } + + public class Mutate extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/biddingSeasonalityAdjustments:mutate"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Creates, updates, or removes seasonality adjustments. Operation statuses are returned. + * + * Create a request for the method "biddingSeasonalityAdjustments.mutate". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + *

{@link + * Mutate#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param customerId Required. ID of the customer whose seasonality adjustments are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateBiddingSeasonalityAdjustmentsRequest} + * @since 1.13 + */ + protected Mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateBiddingSeasonalityAdjustmentsRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateBiddingSeasonalityAdjustmentsResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public Mutate set$Xgafv(java.lang.String $Xgafv) { + return (Mutate) super.set$Xgafv($Xgafv); + } + + @Override + public Mutate setAccessToken(java.lang.String accessToken) { + return (Mutate) super.setAccessToken(accessToken); + } + + @Override + public Mutate setAlt(java.lang.String alt) { + return (Mutate) super.setAlt(alt); + } + + @Override + public Mutate setCallback(java.lang.String callback) { + return (Mutate) super.setCallback(callback); + } + + @Override + public Mutate setFields(java.lang.String fields) { + return (Mutate) super.setFields(fields); + } + + @Override + public Mutate setKey(java.lang.String key) { + return (Mutate) super.setKey(key); + } + + @Override + public Mutate setOauthToken(java.lang.String oauthToken) { + return (Mutate) super.setOauthToken(oauthToken); + } + + @Override + public Mutate setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Mutate) super.setPrettyPrint(prettyPrint); + } + + @Override + public Mutate setQuotaUser(java.lang.String quotaUser) { + return (Mutate) super.setQuotaUser(quotaUser); + } + + @Override + public Mutate setUploadType(java.lang.String uploadType) { + return (Mutate) super.setUploadType(uploadType); + } + + @Override + public Mutate setUploadProtocol(java.lang.String uploadProtocol) { + return (Mutate) super.setUploadProtocol(uploadProtocol); + } + + /** Required. ID of the customer whose seasonality adjustments are being modified. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. ID of the customer whose seasonality adjustments are being modified. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. ID of the customer whose seasonality adjustments are being modified. */ + public Mutate setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public Mutate set(String parameterName, Object value) { + return (Mutate) super.set(parameterName, value); + } + } + + } + /** + * An accessor for creating requests from the BiddingStrategies collection. + * + *

The typical use is:

+ *
+     *   {@code SA360 searchads360 = new SA360(...);}
+     *   {@code SA360.BiddingStrategies.List request = searchads360.biddingStrategies().list(parameters ...)}
+     * 
+ * + * @return the resource collection + */ + public BiddingStrategies biddingStrategies() { + return new BiddingStrategies(); + } + + /** + * The "biddingStrategies" collection of methods. + */ + public class BiddingStrategies { + + /** + * Creates, updates, or removes bidding strategies. Operation statuses are returned. List of thrown + * errors: [AdxError]() [AuthenticationError]() [AuthorizationError]() [BiddingError]() + * [BiddingStrategyError]() [ContextError]() [DatabaseError]() [DateError]() [DistinctError]() + * [FieldError]() [FieldMaskError]() [HeaderError]() [IdError]() [InternalError]() [MutateError]() + * [NewResourceCreationError]() [NotEmptyError]() [NullError]() [OperationAccessDeniedError]() + * [OperatorError]() [QuotaError]() [RangeError]() [RequestError]() [SizeLimitError]() + * [StringFormatError]() [StringLengthError]() + * + * Create a request for the method "biddingStrategies.mutate". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + * + * @param customerId Required. The ID of the customer whose bidding strategies are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateBiddingStrategiesRequest} + * @return the request + */ + public Mutate mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateBiddingStrategiesRequest content) throws java.io.IOException { + Mutate result = new Mutate(customerId, content); + initialize(result); + return result; + } + + public class Mutate extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/biddingStrategies:mutate"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Creates, updates, or removes bidding strategies. Operation statuses are returned. List of + * thrown errors: [AdxError]() [AuthenticationError]() [AuthorizationError]() [BiddingError]() + * [BiddingStrategyError]() [ContextError]() [DatabaseError]() [DateError]() [DistinctError]() + * [FieldError]() [FieldMaskError]() [HeaderError]() [IdError]() [InternalError]() [MutateError]() + * [NewResourceCreationError]() [NotEmptyError]() [NullError]() [OperationAccessDeniedError]() + * [OperatorError]() [QuotaError]() [RangeError]() [RequestError]() [SizeLimitError]() + * [StringFormatError]() [StringLengthError]() + * + * Create a request for the method "biddingStrategies.mutate". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + *

{@link + * Mutate#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer whose bidding strategies are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateBiddingStrategiesRequest} + * @since 1.13 + */ + protected Mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateBiddingStrategiesRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateBiddingStrategiesResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public Mutate set$Xgafv(java.lang.String $Xgafv) { + return (Mutate) super.set$Xgafv($Xgafv); + } + + @Override + public Mutate setAccessToken(java.lang.String accessToken) { + return (Mutate) super.setAccessToken(accessToken); + } + + @Override + public Mutate setAlt(java.lang.String alt) { + return (Mutate) super.setAlt(alt); + } + + @Override + public Mutate setCallback(java.lang.String callback) { + return (Mutate) super.setCallback(callback); + } + + @Override + public Mutate setFields(java.lang.String fields) { + return (Mutate) super.setFields(fields); + } + + @Override + public Mutate setKey(java.lang.String key) { + return (Mutate) super.setKey(key); + } + + @Override + public Mutate setOauthToken(java.lang.String oauthToken) { + return (Mutate) super.setOauthToken(oauthToken); + } + + @Override + public Mutate setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Mutate) super.setPrettyPrint(prettyPrint); + } + + @Override + public Mutate setQuotaUser(java.lang.String quotaUser) { + return (Mutate) super.setQuotaUser(quotaUser); + } + + @Override + public Mutate setUploadType(java.lang.String uploadType) { + return (Mutate) super.setUploadType(uploadType); + } + + @Override + public Mutate setUploadProtocol(java.lang.String uploadProtocol) { + return (Mutate) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the customer whose bidding strategies are being modified. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer whose bidding strategies are being modified. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the customer whose bidding strategies are being modified. */ + public Mutate setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public Mutate set(String parameterName, Object value) { + return (Mutate) super.set(parameterName, value); + } + } + + } + /** + * An accessor for creating requests from the BillingSetups collection. + * + *

The typical use is:

+ *
+     *   {@code SA360 searchads360 = new SA360(...);}
+     *   {@code SA360.BillingSetups.List request = searchads360.billingSetups().list(parameters ...)}
+     * 
+ * + * @return the resource collection + */ + public BillingSetups billingSetups() { + return new BillingSetups(); + } + + /** + * The "billingSetups" collection of methods. + */ + public class BillingSetups { + + /** + * Creates a billing setup, or cancels an existing billing setup. List of thrown errors: + * [AuthenticationError]() [AuthorizationError]() [BillingSetupError]() [DateError]() [FieldError]() + * [HeaderError]() [InternalError]() [MutateError]() [QuotaError]() [RequestError]() + * + * Create a request for the method "billingSetups.mutate". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + * + * @param customerId Required. Id of the customer to apply the billing setup mutate operation to. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateBillingSetupRequest} + * @return the request + */ + public Mutate mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateBillingSetupRequest content) throws java.io.IOException { + Mutate result = new Mutate(customerId, content); + initialize(result); + return result; + } + + public class Mutate extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/billingSetups:mutate"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Creates a billing setup, or cancels an existing billing setup. List of thrown errors: + * [AuthenticationError]() [AuthorizationError]() [BillingSetupError]() [DateError]() + * [FieldError]() [HeaderError]() [InternalError]() [MutateError]() [QuotaError]() + * [RequestError]() + * + * Create a request for the method "billingSetups.mutate". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + *

{@link + * Mutate#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param customerId Required. Id of the customer to apply the billing setup mutate operation to. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateBillingSetupRequest} + * @since 1.13 + */ + protected Mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateBillingSetupRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateBillingSetupResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public Mutate set$Xgafv(java.lang.String $Xgafv) { + return (Mutate) super.set$Xgafv($Xgafv); + } + + @Override + public Mutate setAccessToken(java.lang.String accessToken) { + return (Mutate) super.setAccessToken(accessToken); + } + + @Override + public Mutate setAlt(java.lang.String alt) { + return (Mutate) super.setAlt(alt); + } + + @Override + public Mutate setCallback(java.lang.String callback) { + return (Mutate) super.setCallback(callback); + } + + @Override + public Mutate setFields(java.lang.String fields) { + return (Mutate) super.setFields(fields); + } + + @Override + public Mutate setKey(java.lang.String key) { + return (Mutate) super.setKey(key); + } + + @Override + public Mutate setOauthToken(java.lang.String oauthToken) { + return (Mutate) super.setOauthToken(oauthToken); + } + + @Override + public Mutate setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Mutate) super.setPrettyPrint(prettyPrint); + } + + @Override + public Mutate setQuotaUser(java.lang.String quotaUser) { + return (Mutate) super.setQuotaUser(quotaUser); + } + + @Override + public Mutate setUploadType(java.lang.String uploadType) { + return (Mutate) super.setUploadType(uploadType); + } + + @Override + public Mutate setUploadProtocol(java.lang.String uploadProtocol) { + return (Mutate) super.setUploadProtocol(uploadProtocol); + } + + /** Required. Id of the customer to apply the billing setup mutate operation to. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. Id of the customer to apply the billing setup mutate operation to. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. Id of the customer to apply the billing setup mutate operation to. */ + public Mutate setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public Mutate set(String parameterName, Object value) { + return (Mutate) super.set(parameterName, value); + } + } + + } + /** + * An accessor for creating requests from the CampaignAssetSets collection. + * + *

The typical use is:

+ *
+     *   {@code SA360 searchads360 = new SA360(...);}
+     *   {@code SA360.CampaignAssetSets.List request = searchads360.campaignAssetSets().list(parameters ...)}
+     * 
+ * + * @return the resource collection + */ + public CampaignAssetSets campaignAssetSets() { + return new CampaignAssetSets(); + } + + /** + * The "campaignAssetSets" collection of methods. + */ + public class CampaignAssetSets { + + /** + * Creates, updates or removes campaign asset sets. Operation statuses are returned. + * + * Create a request for the method "campaignAssetSets.mutate". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + * + * @param customerId Required. The ID of the customer whose campaign asset sets are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCampaignAssetSetsRequest} + * @return the request + */ + public Mutate mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCampaignAssetSetsRequest content) throws java.io.IOException { + Mutate result = new Mutate(customerId, content); + initialize(result); + return result; + } + + public class Mutate extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/campaignAssetSets:mutate"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Creates, updates or removes campaign asset sets. Operation statuses are returned. + * + * Create a request for the method "campaignAssetSets.mutate". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + *

{@link + * Mutate#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer whose campaign asset sets are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCampaignAssetSetsRequest} + * @since 1.13 + */ + protected Mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCampaignAssetSetsRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCampaignAssetSetsResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public Mutate set$Xgafv(java.lang.String $Xgafv) { + return (Mutate) super.set$Xgafv($Xgafv); + } + + @Override + public Mutate setAccessToken(java.lang.String accessToken) { + return (Mutate) super.setAccessToken(accessToken); + } + + @Override + public Mutate setAlt(java.lang.String alt) { + return (Mutate) super.setAlt(alt); + } + + @Override + public Mutate setCallback(java.lang.String callback) { + return (Mutate) super.setCallback(callback); + } + + @Override + public Mutate setFields(java.lang.String fields) { + return (Mutate) super.setFields(fields); + } + + @Override + public Mutate setKey(java.lang.String key) { + return (Mutate) super.setKey(key); + } + + @Override + public Mutate setOauthToken(java.lang.String oauthToken) { + return (Mutate) super.setOauthToken(oauthToken); + } + + @Override + public Mutate setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Mutate) super.setPrettyPrint(prettyPrint); + } + + @Override + public Mutate setQuotaUser(java.lang.String quotaUser) { + return (Mutate) super.setQuotaUser(quotaUser); + } + + @Override + public Mutate setUploadType(java.lang.String uploadType) { + return (Mutate) super.setUploadType(uploadType); + } + + @Override + public Mutate setUploadProtocol(java.lang.String uploadProtocol) { + return (Mutate) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the customer whose campaign asset sets are being modified. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer whose campaign asset sets are being modified. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the customer whose campaign asset sets are being modified. */ + public Mutate setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public Mutate set(String parameterName, Object value) { + return (Mutate) super.set(parameterName, value); + } + } + + } + /** + * An accessor for creating requests from the CampaignAssets collection. + * + *

The typical use is:

+ *
+     *   {@code SA360 searchads360 = new SA360(...);}
+     *   {@code SA360.CampaignAssets.List request = searchads360.campaignAssets().list(parameters ...)}
+     * 
+ * + * @return the resource collection + */ + public CampaignAssets campaignAssets() { + return new CampaignAssets(); + } + + /** + * The "campaignAssets" collection of methods. + */ + public class CampaignAssets { + + /** + * Creates or removes campaign assets. Operation statuses are returned. List of thrown errors: + * [AssetLinkError]() [AuthenticationError]() [AuthorizationError]() [ContextError]() + * [DatabaseError]() [FieldError]() [HeaderError]() [InternalError]() [MutateError]() + * [NotAllowlistedError]() [QuotaError]() [RequestError]() + * + * Create a request for the method "campaignAssets.mutate". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + * + * @param customerId Required. The ID of the customer whose campaign assets are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCampaignAssetsRequest} + * @return the request + */ + public Mutate mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCampaignAssetsRequest content) throws java.io.IOException { + Mutate result = new Mutate(customerId, content); + initialize(result); + return result; + } + + public class Mutate extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/campaignAssets:mutate"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Creates or removes campaign assets. Operation statuses are returned. List of thrown errors: + * [AssetLinkError]() [AuthenticationError]() [AuthorizationError]() [ContextError]() + * [DatabaseError]() [FieldError]() [HeaderError]() [InternalError]() [MutateError]() + * [NotAllowlistedError]() [QuotaError]() [RequestError]() + * + * Create a request for the method "campaignAssets.mutate". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + *

{@link + * Mutate#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer whose campaign assets are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCampaignAssetsRequest} + * @since 1.13 + */ + protected Mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCampaignAssetsRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCampaignAssetsResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public Mutate set$Xgafv(java.lang.String $Xgafv) { + return (Mutate) super.set$Xgafv($Xgafv); + } + + @Override + public Mutate setAccessToken(java.lang.String accessToken) { + return (Mutate) super.setAccessToken(accessToken); + } + + @Override + public Mutate setAlt(java.lang.String alt) { + return (Mutate) super.setAlt(alt); + } + + @Override + public Mutate setCallback(java.lang.String callback) { + return (Mutate) super.setCallback(callback); + } + + @Override + public Mutate setFields(java.lang.String fields) { + return (Mutate) super.setFields(fields); + } + + @Override + public Mutate setKey(java.lang.String key) { + return (Mutate) super.setKey(key); + } + + @Override + public Mutate setOauthToken(java.lang.String oauthToken) { + return (Mutate) super.setOauthToken(oauthToken); + } + + @Override + public Mutate setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Mutate) super.setPrettyPrint(prettyPrint); + } + + @Override + public Mutate setQuotaUser(java.lang.String quotaUser) { + return (Mutate) super.setQuotaUser(quotaUser); + } + + @Override + public Mutate setUploadType(java.lang.String uploadType) { + return (Mutate) super.setUploadType(uploadType); + } + + @Override + public Mutate setUploadProtocol(java.lang.String uploadProtocol) { + return (Mutate) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the customer whose campaign assets are being modified. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer whose campaign assets are being modified. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the customer whose campaign assets are being modified. */ + public Mutate setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public Mutate set(String parameterName, Object value) { + return (Mutate) super.set(parameterName, value); + } + } + + } + /** + * An accessor for creating requests from the CampaignBidModifiers collection. + * + *

The typical use is:

+ *
+     *   {@code SA360 searchads360 = new SA360(...);}
+     *   {@code SA360.CampaignBidModifiers.List request = searchads360.campaignBidModifiers().list(parameters ...)}
+     * 
+ * + * @return the resource collection + */ + public CampaignBidModifiers campaignBidModifiers() { + return new CampaignBidModifiers(); + } + + /** + * The "campaignBidModifiers" collection of methods. + */ + public class CampaignBidModifiers { + + /** + * Creates, updates, or removes campaign bid modifiers. Operation statuses are returned. List of + * thrown errors: [AuthenticationError]() [AuthorizationError]() [ContextError]() [CriterionError]() + * [DatabaseError]() [DateError]() [DistinctError]() [FieldError]() [HeaderError]() [IdError]() + * [InternalError]() [MutateError]() [NewResourceCreationError]() [NotEmptyError]() [NullError]() + * [OperatorError]() [QuotaError]() [RangeError]() [RequestError]() [SizeLimitError]() + * [StringFormatError]() [StringLengthError]() + * + * Create a request for the method "campaignBidModifiers.mutate". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + * + * @param customerId Required. ID of the customer whose campaign bid modifiers are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCampaignBidModifiersRequest} + * @return the request + */ + public Mutate mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCampaignBidModifiersRequest content) throws java.io.IOException { + Mutate result = new Mutate(customerId, content); + initialize(result); + return result; + } + + public class Mutate extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/campaignBidModifiers:mutate"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Creates, updates, or removes campaign bid modifiers. Operation statuses are returned. List of + * thrown errors: [AuthenticationError]() [AuthorizationError]() [ContextError]() + * [CriterionError]() [DatabaseError]() [DateError]() [DistinctError]() [FieldError]() + * [HeaderError]() [IdError]() [InternalError]() [MutateError]() [NewResourceCreationError]() + * [NotEmptyError]() [NullError]() [OperatorError]() [QuotaError]() [RangeError]() + * [RequestError]() [SizeLimitError]() [StringFormatError]() [StringLengthError]() + * + * Create a request for the method "campaignBidModifiers.mutate". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + *

{@link + * Mutate#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param customerId Required. ID of the customer whose campaign bid modifiers are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCampaignBidModifiersRequest} + * @since 1.13 + */ + protected Mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCampaignBidModifiersRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCampaignBidModifiersResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public Mutate set$Xgafv(java.lang.String $Xgafv) { + return (Mutate) super.set$Xgafv($Xgafv); + } + + @Override + public Mutate setAccessToken(java.lang.String accessToken) { + return (Mutate) super.setAccessToken(accessToken); + } + + @Override + public Mutate setAlt(java.lang.String alt) { + return (Mutate) super.setAlt(alt); + } + + @Override + public Mutate setCallback(java.lang.String callback) { + return (Mutate) super.setCallback(callback); + } + + @Override + public Mutate setFields(java.lang.String fields) { + return (Mutate) super.setFields(fields); + } + + @Override + public Mutate setKey(java.lang.String key) { + return (Mutate) super.setKey(key); + } + + @Override + public Mutate setOauthToken(java.lang.String oauthToken) { + return (Mutate) super.setOauthToken(oauthToken); + } + + @Override + public Mutate setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Mutate) super.setPrettyPrint(prettyPrint); + } + + @Override + public Mutate setQuotaUser(java.lang.String quotaUser) { + return (Mutate) super.setQuotaUser(quotaUser); + } + + @Override + public Mutate setUploadType(java.lang.String uploadType) { + return (Mutate) super.setUploadType(uploadType); + } + + @Override + public Mutate setUploadProtocol(java.lang.String uploadProtocol) { + return (Mutate) super.setUploadProtocol(uploadProtocol); + } + + /** Required. ID of the customer whose campaign bid modifiers are being modified. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. ID of the customer whose campaign bid modifiers are being modified. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. ID of the customer whose campaign bid modifiers are being modified. */ + public Mutate setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public Mutate set(String parameterName, Object value) { + return (Mutate) super.set(parameterName, value); + } + } + + } + /** + * An accessor for creating requests from the CampaignBudgets collection. + * + *

The typical use is:

+ *
+     *   {@code SA360 searchads360 = new SA360(...);}
+     *   {@code SA360.CampaignBudgets.List request = searchads360.campaignBudgets().list(parameters ...)}
+     * 
+ * + * @return the resource collection + */ + public CampaignBudgets campaignBudgets() { + return new CampaignBudgets(); + } + + /** + * The "campaignBudgets" collection of methods. + */ + public class CampaignBudgets { + + /** + * Creates, updates, or removes campaign budgets. Operation statuses are returned. List of thrown + * errors: [AuthenticationError]() [AuthorizationError]() [CampaignBudgetError]() [DatabaseError]() + * [DistinctError]() [FieldError]() [FieldMaskError]() [HeaderError]() [InternalError]() + * [MutateError]() [NewResourceCreationError]() [OperationAccessDeniedError]() [QuotaError]() + * [RangeError]() [RequestError]() [ResourceCountLimitExceededError]() [StringLengthError]() + * + * Create a request for the method "campaignBudgets.mutate". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + * + * @param customerId Required. The ID of the customer whose campaign budgets are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCampaignBudgetsRequest} + * @return the request + */ + public Mutate mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCampaignBudgetsRequest content) throws java.io.IOException { + Mutate result = new Mutate(customerId, content); + initialize(result); + return result; + } + + public class Mutate extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/campaignBudgets:mutate"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Creates, updates, or removes campaign budgets. Operation statuses are returned. List of thrown + * errors: [AuthenticationError]() [AuthorizationError]() [CampaignBudgetError]() + * [DatabaseError]() [DistinctError]() [FieldError]() [FieldMaskError]() [HeaderError]() + * [InternalError]() [MutateError]() [NewResourceCreationError]() [OperationAccessDeniedError]() + * [QuotaError]() [RangeError]() [RequestError]() [ResourceCountLimitExceededError]() + * [StringLengthError]() + * + * Create a request for the method "campaignBudgets.mutate". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + *

{@link + * Mutate#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer whose campaign budgets are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCampaignBudgetsRequest} + * @since 1.13 + */ + protected Mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCampaignBudgetsRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCampaignBudgetsResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public Mutate set$Xgafv(java.lang.String $Xgafv) { + return (Mutate) super.set$Xgafv($Xgafv); + } + + @Override + public Mutate setAccessToken(java.lang.String accessToken) { + return (Mutate) super.setAccessToken(accessToken); + } + + @Override + public Mutate setAlt(java.lang.String alt) { + return (Mutate) super.setAlt(alt); + } + + @Override + public Mutate setCallback(java.lang.String callback) { + return (Mutate) super.setCallback(callback); + } + + @Override + public Mutate setFields(java.lang.String fields) { + return (Mutate) super.setFields(fields); + } + + @Override + public Mutate setKey(java.lang.String key) { + return (Mutate) super.setKey(key); + } + + @Override + public Mutate setOauthToken(java.lang.String oauthToken) { + return (Mutate) super.setOauthToken(oauthToken); + } + + @Override + public Mutate setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Mutate) super.setPrettyPrint(prettyPrint); + } + + @Override + public Mutate setQuotaUser(java.lang.String quotaUser) { + return (Mutate) super.setQuotaUser(quotaUser); + } + + @Override + public Mutate setUploadType(java.lang.String uploadType) { + return (Mutate) super.setUploadType(uploadType); + } + + @Override + public Mutate setUploadProtocol(java.lang.String uploadProtocol) { + return (Mutate) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the customer whose campaign budgets are being modified. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer whose campaign budgets are being modified. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the customer whose campaign budgets are being modified. */ + public Mutate setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public Mutate set(String parameterName, Object value) { + return (Mutate) super.set(parameterName, value); + } + } + + } + /** + * An accessor for creating requests from the CampaignConversionGoals collection. + * + *

The typical use is:

+ *
+     *   {@code SA360 searchads360 = new SA360(...);}
+     *   {@code SA360.CampaignConversionGoals.List request = searchads360.campaignConversionGoals().list(parameters ...)}
+     * 
+ * + * @return the resource collection + */ + public CampaignConversionGoals campaignConversionGoals() { + return new CampaignConversionGoals(); + } + + /** + * The "campaignConversionGoals" collection of methods. + */ + public class CampaignConversionGoals { + + /** + * Creates, updates or removes campaign conversion goals. Operation statuses are returned. + * + * Create a request for the method "campaignConversionGoals.mutate". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + * + * @param customerId Required. The ID of the customer whose campaign conversion goals are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCampaignConversionGoalsRequest} + * @return the request + */ + public Mutate mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCampaignConversionGoalsRequest content) throws java.io.IOException { + Mutate result = new Mutate(customerId, content); + initialize(result); + return result; + } + + public class Mutate extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/campaignConversionGoals:mutate"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Creates, updates or removes campaign conversion goals. Operation statuses are returned. + * + * Create a request for the method "campaignConversionGoals.mutate". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + *

{@link + * Mutate#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer whose campaign conversion goals are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCampaignConversionGoalsRequest} + * @since 1.13 + */ + protected Mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCampaignConversionGoalsRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCampaignConversionGoalsResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public Mutate set$Xgafv(java.lang.String $Xgafv) { + return (Mutate) super.set$Xgafv($Xgafv); + } + + @Override + public Mutate setAccessToken(java.lang.String accessToken) { + return (Mutate) super.setAccessToken(accessToken); + } + + @Override + public Mutate setAlt(java.lang.String alt) { + return (Mutate) super.setAlt(alt); + } + + @Override + public Mutate setCallback(java.lang.String callback) { + return (Mutate) super.setCallback(callback); + } + + @Override + public Mutate setFields(java.lang.String fields) { + return (Mutate) super.setFields(fields); + } + + @Override + public Mutate setKey(java.lang.String key) { + return (Mutate) super.setKey(key); + } + + @Override + public Mutate setOauthToken(java.lang.String oauthToken) { + return (Mutate) super.setOauthToken(oauthToken); + } + + @Override + public Mutate setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Mutate) super.setPrettyPrint(prettyPrint); + } + + @Override + public Mutate setQuotaUser(java.lang.String quotaUser) { + return (Mutate) super.setQuotaUser(quotaUser); + } + + @Override + public Mutate setUploadType(java.lang.String uploadType) { + return (Mutate) super.setUploadType(uploadType); + } + + @Override + public Mutate setUploadProtocol(java.lang.String uploadProtocol) { + return (Mutate) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the customer whose campaign conversion goals are being modified. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer whose campaign conversion goals are being modified. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the customer whose campaign conversion goals are being modified. */ + public Mutate setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public Mutate set(String parameterName, Object value) { + return (Mutate) super.set(parameterName, value); + } + } + + } + /** + * An accessor for creating requests from the CampaignCriteria collection. + * + *

The typical use is:

+ *
+     *   {@code SA360 searchads360 = new SA360(...);}
+     *   {@code SA360.CampaignCriteria.List request = searchads360.campaignCriteria().list(parameters ...)}
+     * 
+ * + * @return the resource collection + */ + public CampaignCriteria campaignCriteria() { + return new CampaignCriteria(); + } + + /** + * The "campaignCriteria" collection of methods. + */ + public class CampaignCriteria { + + /** + * Creates, updates, or removes criteria. Operation statuses are returned. List of thrown errors: + * [AdxError]() [AuthenticationError]() [AuthorizationError]() [CampaignCriterionError]() + * [CollectionSizeError]() [ContextError]() [CriterionError]() [DatabaseError]() [DistinctError]() + * [FieldError]() [FieldMaskError]() [FunctionError]() [HeaderError]() [IdError]() [InternalError]() + * [MutateError]() [NewResourceCreationError]() [NotEmptyError]() [NullError]() + * [OperationAccessDeniedError]() [OperatorError]() [QuotaError]() [RangeError]() + * [RegionCodeError]() [RequestError]() [ResourceCountLimitExceededError]() [SizeLimitError]() + * [StringFormatError]() [StringLengthError]() + * + * Create a request for the method "campaignCriteria.mutate". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + * + * @param customerId Required. The ID of the customer whose criteria are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCampaignCriteriaRequest} + * @return the request + */ + public Mutate mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCampaignCriteriaRequest content) throws java.io.IOException { + Mutate result = new Mutate(customerId, content); + initialize(result); + return result; + } + + public class Mutate extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/campaignCriteria:mutate"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Creates, updates, or removes criteria. Operation statuses are returned. List of thrown errors: + * [AdxError]() [AuthenticationError]() [AuthorizationError]() [CampaignCriterionError]() + * [CollectionSizeError]() [ContextError]() [CriterionError]() [DatabaseError]() [DistinctError]() + * [FieldError]() [FieldMaskError]() [FunctionError]() [HeaderError]() [IdError]() + * [InternalError]() [MutateError]() [NewResourceCreationError]() [NotEmptyError]() [NullError]() + * [OperationAccessDeniedError]() [OperatorError]() [QuotaError]() [RangeError]() + * [RegionCodeError]() [RequestError]() [ResourceCountLimitExceededError]() [SizeLimitError]() + * [StringFormatError]() [StringLengthError]() + * + * Create a request for the method "campaignCriteria.mutate". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + *

{@link + * Mutate#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer whose criteria are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCampaignCriteriaRequest} + * @since 1.13 + */ + protected Mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCampaignCriteriaRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCampaignCriteriaResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public Mutate set$Xgafv(java.lang.String $Xgafv) { + return (Mutate) super.set$Xgafv($Xgafv); + } + + @Override + public Mutate setAccessToken(java.lang.String accessToken) { + return (Mutate) super.setAccessToken(accessToken); + } + + @Override + public Mutate setAlt(java.lang.String alt) { + return (Mutate) super.setAlt(alt); + } + + @Override + public Mutate setCallback(java.lang.String callback) { + return (Mutate) super.setCallback(callback); + } + + @Override + public Mutate setFields(java.lang.String fields) { + return (Mutate) super.setFields(fields); + } + + @Override + public Mutate setKey(java.lang.String key) { + return (Mutate) super.setKey(key); + } + + @Override + public Mutate setOauthToken(java.lang.String oauthToken) { + return (Mutate) super.setOauthToken(oauthToken); + } + + @Override + public Mutate setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Mutate) super.setPrettyPrint(prettyPrint); + } + + @Override + public Mutate setQuotaUser(java.lang.String quotaUser) { + return (Mutate) super.setQuotaUser(quotaUser); + } + + @Override + public Mutate setUploadType(java.lang.String uploadType) { + return (Mutate) super.setUploadType(uploadType); + } + + @Override + public Mutate setUploadProtocol(java.lang.String uploadProtocol) { + return (Mutate) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the customer whose criteria are being modified. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer whose criteria are being modified. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the customer whose criteria are being modified. */ + public Mutate setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public Mutate set(String parameterName, Object value) { + return (Mutate) super.set(parameterName, value); + } + } + + } + /** + * An accessor for creating requests from the CampaignCustomizers collection. + * + *

The typical use is:

+ *
+     *   {@code SA360 searchads360 = new SA360(...);}
+     *   {@code SA360.CampaignCustomizers.List request = searchads360.campaignCustomizers().list(parameters ...)}
+     * 
+ * + * @return the resource collection + */ + public CampaignCustomizers campaignCustomizers() { + return new CampaignCustomizers(); + } + + /** + * The "campaignCustomizers" collection of methods. + */ + public class CampaignCustomizers { + + /** + * Creates, updates or removes campaign customizers. Operation statuses are returned. + * + * Create a request for the method "campaignCustomizers.mutate". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + * + * @param customerId Required. The ID of the customer whose campaign customizers are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCampaignCustomizersRequest} + * @return the request + */ + public Mutate mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCampaignCustomizersRequest content) throws java.io.IOException { + Mutate result = new Mutate(customerId, content); + initialize(result); + return result; + } + + public class Mutate extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/campaignCustomizers:mutate"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Creates, updates or removes campaign customizers. Operation statuses are returned. + * + * Create a request for the method "campaignCustomizers.mutate". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + *

{@link + * Mutate#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer whose campaign customizers are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCampaignCustomizersRequest} + * @since 1.13 + */ + protected Mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCampaignCustomizersRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCampaignCustomizersResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public Mutate set$Xgafv(java.lang.String $Xgafv) { + return (Mutate) super.set$Xgafv($Xgafv); + } + + @Override + public Mutate setAccessToken(java.lang.String accessToken) { + return (Mutate) super.setAccessToken(accessToken); + } + + @Override + public Mutate setAlt(java.lang.String alt) { + return (Mutate) super.setAlt(alt); + } + + @Override + public Mutate setCallback(java.lang.String callback) { + return (Mutate) super.setCallback(callback); + } + + @Override + public Mutate setFields(java.lang.String fields) { + return (Mutate) super.setFields(fields); + } + + @Override + public Mutate setKey(java.lang.String key) { + return (Mutate) super.setKey(key); + } + + @Override + public Mutate setOauthToken(java.lang.String oauthToken) { + return (Mutate) super.setOauthToken(oauthToken); + } + + @Override + public Mutate setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Mutate) super.setPrettyPrint(prettyPrint); + } + + @Override + public Mutate setQuotaUser(java.lang.String quotaUser) { + return (Mutate) super.setQuotaUser(quotaUser); + } + + @Override + public Mutate setUploadType(java.lang.String uploadType) { + return (Mutate) super.setUploadType(uploadType); + } + + @Override + public Mutate setUploadProtocol(java.lang.String uploadProtocol) { + return (Mutate) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the customer whose campaign customizers are being modified. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer whose campaign customizers are being modified. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the customer whose campaign customizers are being modified. */ + public Mutate setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public Mutate set(String parameterName, Object value) { + return (Mutate) super.set(parameterName, value); + } + } + + } + /** + * An accessor for creating requests from the CampaignDrafts collection. + * + *

The typical use is:

+ *
+     *   {@code SA360 searchads360 = new SA360(...);}
+     *   {@code SA360.CampaignDrafts.List request = searchads360.campaignDrafts().list(parameters ...)}
+     * 
+ * + * @return the resource collection + */ + public CampaignDrafts campaignDrafts() { + return new CampaignDrafts(); + } + + /** + * The "campaignDrafts" collection of methods. + */ + public class CampaignDrafts { + + /** + * Returns all errors that occurred during CampaignDraft promote. Throws an error if called before + * campaign draft is promoted. Supports standard list paging. List of thrown errors: + * [AuthenticationError]() [AuthorizationError]() [HeaderError]() [InternalError]() [QuotaError]() + * [RequestError]() + * + * Create a request for the method "campaignDrafts.listAsyncErrors". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link ListAsyncErrors#execute()} method to invoke the remote operation. + * + * @param resourceName Required. The name of the campaign draft from which to retrieve the async errors. + * @return the request + */ + public ListAsyncErrors listAsyncErrors(java.lang.String resourceName) throws java.io.IOException { + ListAsyncErrors result = new ListAsyncErrors(resourceName); + initialize(result); + return result; + } + + public class ListAsyncErrors extends SA360Request { + + private static final String REST_PATH = "v23/{+resourceName}:listAsyncErrors"; + + private final java.util.regex.Pattern RESOURCE_NAME_PATTERN = + java.util.regex.Pattern.compile("^customers/[^/]+/campaignDrafts/[^/]+$"); + + /** + * Returns all errors that occurred during CampaignDraft promote. Throws an error if called before + * campaign draft is promoted. Supports standard list paging. List of thrown errors: + * [AuthenticationError]() [AuthorizationError]() [HeaderError]() [InternalError]() [QuotaError]() + * [RequestError]() + * + * Create a request for the method "campaignDrafts.listAsyncErrors". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link ListAsyncErrors#execute()} method to invoke the remote + * operation.

{@link ListAsyncErrors#initialize(com.google.api.client.googleapis.services.Abst + * ractGoogleClientRequest)} must be called to initialize this instance immediately after invoking + * the constructor.

+ * + * @param resourceName Required. The name of the campaign draft from which to retrieve the async errors. + * @since 1.13 + */ + protected ListAsyncErrors(java.lang.String resourceName) { + super(SA360.this, "GET", REST_PATH, null, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesListCampaignDraftAsyncErrorsResponse.class); + this.resourceName = com.google.api.client.util.Preconditions.checkNotNull(resourceName, "Required parameter resourceName must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(RESOURCE_NAME_PATTERN.matcher(resourceName).matches(), + "Parameter resourceName must conform to the pattern " + + "^customers/[^/]+/campaignDrafts/[^/]+$"); + } + } + + @Override + public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { + return super.executeUsingHead(); + } + + @Override + public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { + return super.buildHttpRequestUsingHead(); + } + + @Override + public ListAsyncErrors set$Xgafv(java.lang.String $Xgafv) { + return (ListAsyncErrors) super.set$Xgafv($Xgafv); + } + + @Override + public ListAsyncErrors setAccessToken(java.lang.String accessToken) { + return (ListAsyncErrors) super.setAccessToken(accessToken); + } + + @Override + public ListAsyncErrors setAlt(java.lang.String alt) { + return (ListAsyncErrors) super.setAlt(alt); + } + + @Override + public ListAsyncErrors setCallback(java.lang.String callback) { + return (ListAsyncErrors) super.setCallback(callback); + } + + @Override + public ListAsyncErrors setFields(java.lang.String fields) { + return (ListAsyncErrors) super.setFields(fields); + } + + @Override + public ListAsyncErrors setKey(java.lang.String key) { + return (ListAsyncErrors) super.setKey(key); + } + + @Override + public ListAsyncErrors setOauthToken(java.lang.String oauthToken) { + return (ListAsyncErrors) super.setOauthToken(oauthToken); + } + + @Override + public ListAsyncErrors setPrettyPrint(java.lang.Boolean prettyPrint) { + return (ListAsyncErrors) super.setPrettyPrint(prettyPrint); + } + + @Override + public ListAsyncErrors setQuotaUser(java.lang.String quotaUser) { + return (ListAsyncErrors) super.setQuotaUser(quotaUser); + } + + @Override + public ListAsyncErrors setUploadType(java.lang.String uploadType) { + return (ListAsyncErrors) super.setUploadType(uploadType); + } + + @Override + public ListAsyncErrors setUploadProtocol(java.lang.String uploadProtocol) { + return (ListAsyncErrors) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The name of the campaign draft from which to retrieve the async errors. */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** Required. The name of the campaign draft from which to retrieve the async errors. + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** Required. The name of the campaign draft from which to retrieve the async errors. */ + public ListAsyncErrors setResourceName(java.lang.String resourceName) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(RESOURCE_NAME_PATTERN.matcher(resourceName).matches(), + "Parameter resourceName must conform to the pattern " + + "^customers/[^/]+/campaignDrafts/[^/]+$"); + } + this.resourceName = resourceName; + return this; + } + + /** + * Number of elements to retrieve in a single page. When a page request is too large, the + * server may decide to further limit the number of returned resources. + */ + @com.google.api.client.util.Key + private java.lang.Integer pageSize; + + /** Number of elements to retrieve in a single page. When a page request is too large, the server may + decide to further limit the number of returned resources. + */ + public java.lang.Integer getPageSize() { + return pageSize; + } + + /** + * Number of elements to retrieve in a single page. When a page request is too large, the + * server may decide to further limit the number of returned resources. + */ + public ListAsyncErrors setPageSize(java.lang.Integer pageSize) { + this.pageSize = pageSize; + return this; + } + + /** + * Token of the page to retrieve. If not specified, the first page of results will be + * returned. Use the value obtained from `next_page_token` in the previous response in order + * to request the next page of results. + */ + @com.google.api.client.util.Key + private java.lang.String pageToken; + + /** Token of the page to retrieve. If not specified, the first page of results will be returned. Use + the value obtained from `next_page_token` in the previous response in order to request the next + page of results. + */ + public java.lang.String getPageToken() { + return pageToken; + } + + /** + * Token of the page to retrieve. If not specified, the first page of results will be + * returned. Use the value obtained from `next_page_token` in the previous response in order + * to request the next page of results. + */ + public ListAsyncErrors setPageToken(java.lang.String pageToken) { + this.pageToken = pageToken; + return this; + } + + @Override + public ListAsyncErrors set(String parameterName, Object value) { + return (ListAsyncErrors) super.set(parameterName, value); + } + } + /** + * Creates, updates, or removes campaign drafts. Operation statuses are returned. List of thrown + * errors: [AuthenticationError]() [AuthorizationError]() [CampaignDraftError]() [DatabaseError]() + * [FieldError]() [HeaderError]() [InternalError]() [MutateError]() [QuotaError]() [RequestError]() + * + * Create a request for the method "campaignDrafts.mutate". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + * + * @param customerId Required. The ID of the customer whose campaign drafts are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCampaignDraftsRequest} + * @return the request + */ + public Mutate mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCampaignDraftsRequest content) throws java.io.IOException { + Mutate result = new Mutate(customerId, content); + initialize(result); + return result; + } + + public class Mutate extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/campaignDrafts:mutate"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Creates, updates, or removes campaign drafts. Operation statuses are returned. List of thrown + * errors: [AuthenticationError]() [AuthorizationError]() [CampaignDraftError]() [DatabaseError]() + * [FieldError]() [HeaderError]() [InternalError]() [MutateError]() [QuotaError]() + * [RequestError]() + * + * Create a request for the method "campaignDrafts.mutate". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + *

{@link + * Mutate#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer whose campaign drafts are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCampaignDraftsRequest} + * @since 1.13 + */ + protected Mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCampaignDraftsRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCampaignDraftsResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public Mutate set$Xgafv(java.lang.String $Xgafv) { + return (Mutate) super.set$Xgafv($Xgafv); + } + + @Override + public Mutate setAccessToken(java.lang.String accessToken) { + return (Mutate) super.setAccessToken(accessToken); + } + + @Override + public Mutate setAlt(java.lang.String alt) { + return (Mutate) super.setAlt(alt); + } + + @Override + public Mutate setCallback(java.lang.String callback) { + return (Mutate) super.setCallback(callback); + } + + @Override + public Mutate setFields(java.lang.String fields) { + return (Mutate) super.setFields(fields); + } + + @Override + public Mutate setKey(java.lang.String key) { + return (Mutate) super.setKey(key); + } + + @Override + public Mutate setOauthToken(java.lang.String oauthToken) { + return (Mutate) super.setOauthToken(oauthToken); + } + + @Override + public Mutate setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Mutate) super.setPrettyPrint(prettyPrint); + } + + @Override + public Mutate setQuotaUser(java.lang.String quotaUser) { + return (Mutate) super.setQuotaUser(quotaUser); + } + + @Override + public Mutate setUploadType(java.lang.String uploadType) { + return (Mutate) super.setUploadType(uploadType); + } + + @Override + public Mutate setUploadProtocol(java.lang.String uploadProtocol) { + return (Mutate) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the customer whose campaign drafts are being modified. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer whose campaign drafts are being modified. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the customer whose campaign drafts are being modified. */ + public Mutate setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public Mutate set(String parameterName, Object value) { + return (Mutate) super.set(parameterName, value); + } + } + /** + * Promotes the changes in a draft back to the base campaign. This method returns a Long Running + * Operation (LRO) indicating if the Promote is done. Use google.longrunning.Operations.GetOperation + * to poll the LRO until it is done. Only a done status is returned in the response. See the status + * in the Campaign Draft resource to determine if the promotion was successful. If the LRO failed, + * use CampaignDraftService.ListCampaignDraftAsyncErrors to view the list of error reasons. List of + * thrown errors: [AuthenticationError]() [AuthorizationError]() [CampaignDraftError]() + * [HeaderError]() [InternalError]() [QuotaError]() [RequestError]() + * + * Create a request for the method "campaignDrafts.promote". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Promote#execute()} method to invoke the remote operation. + * + * @param campaignDraft Required. The resource name of the campaign draft to promote. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesPromoteCampaignDraftRequest} + * @return the request + */ + public Promote promote(java.lang.String campaignDraft, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesPromoteCampaignDraftRequest content) throws java.io.IOException { + Promote result = new Promote(campaignDraft, content); + initialize(result); + return result; + } + + public class Promote extends SA360Request { + + private static final String REST_PATH = "v23/{+campaignDraft}:promote"; + + private final java.util.regex.Pattern CAMPAIGN_DRAFT_PATTERN = + java.util.regex.Pattern.compile("^customers/[^/]+/campaignDrafts/[^/]+$"); + + /** + * Promotes the changes in a draft back to the base campaign. This method returns a Long Running + * Operation (LRO) indicating if the Promote is done. Use + * google.longrunning.Operations.GetOperation to poll the LRO until it is done. Only a done status + * is returned in the response. See the status in the Campaign Draft resource to determine if the + * promotion was successful. If the LRO failed, use + * CampaignDraftService.ListCampaignDraftAsyncErrors to view the list of error reasons. List of + * thrown errors: [AuthenticationError]() [AuthorizationError]() [CampaignDraftError]() + * [HeaderError]() [InternalError]() [QuotaError]() [RequestError]() + * + * Create a request for the method "campaignDrafts.promote". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Promote#execute()} method to invoke the remote operation. + *

{@link + * Promote#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param campaignDraft Required. The resource name of the campaign draft to promote. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesPromoteCampaignDraftRequest} + * @since 1.13 + */ + protected Promote(java.lang.String campaignDraft, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesPromoteCampaignDraftRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleLongrunningOperation.class); + this.campaignDraft = com.google.api.client.util.Preconditions.checkNotNull(campaignDraft, "Required parameter campaignDraft must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CAMPAIGN_DRAFT_PATTERN.matcher(campaignDraft).matches(), + "Parameter campaignDraft must conform to the pattern " + + "^customers/[^/]+/campaignDrafts/[^/]+$"); + } + } + + @Override + public Promote set$Xgafv(java.lang.String $Xgafv) { + return (Promote) super.set$Xgafv($Xgafv); + } + + @Override + public Promote setAccessToken(java.lang.String accessToken) { + return (Promote) super.setAccessToken(accessToken); + } + + @Override + public Promote setAlt(java.lang.String alt) { + return (Promote) super.setAlt(alt); + } + + @Override + public Promote setCallback(java.lang.String callback) { + return (Promote) super.setCallback(callback); + } + + @Override + public Promote setFields(java.lang.String fields) { + return (Promote) super.setFields(fields); + } + + @Override + public Promote setKey(java.lang.String key) { + return (Promote) super.setKey(key); + } + + @Override + public Promote setOauthToken(java.lang.String oauthToken) { + return (Promote) super.setOauthToken(oauthToken); + } + + @Override + public Promote setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Promote) super.setPrettyPrint(prettyPrint); + } + + @Override + public Promote setQuotaUser(java.lang.String quotaUser) { + return (Promote) super.setQuotaUser(quotaUser); + } + + @Override + public Promote setUploadType(java.lang.String uploadType) { + return (Promote) super.setUploadType(uploadType); + } + + @Override + public Promote setUploadProtocol(java.lang.String uploadProtocol) { + return (Promote) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The resource name of the campaign draft to promote. */ + @com.google.api.client.util.Key + private java.lang.String campaignDraft; + + /** Required. The resource name of the campaign draft to promote. + */ + public java.lang.String getCampaignDraft() { + return campaignDraft; + } + + /** Required. The resource name of the campaign draft to promote. */ + public Promote setCampaignDraft(java.lang.String campaignDraft) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CAMPAIGN_DRAFT_PATTERN.matcher(campaignDraft).matches(), + "Parameter campaignDraft must conform to the pattern " + + "^customers/[^/]+/campaignDrafts/[^/]+$"); + } + this.campaignDraft = campaignDraft; + return this; + } + + @Override + public Promote set(String parameterName, Object value) { + return (Promote) super.set(parameterName, value); + } + } + + } + /** + * An accessor for creating requests from the CampaignGroups collection. + * + *

The typical use is:

+ *
+     *   {@code SA360 searchads360 = new SA360(...);}
+     *   {@code SA360.CampaignGroups.List request = searchads360.campaignGroups().list(parameters ...)}
+     * 
+ * + * @return the resource collection + */ + public CampaignGroups campaignGroups() { + return new CampaignGroups(); + } + + /** + * The "campaignGroups" collection of methods. + */ + public class CampaignGroups { + + /** + * Creates, updates, or removes campaign groups. Operation statuses are returned. + * + * Create a request for the method "campaignGroups.mutate". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + * + * @param customerId Required. The ID of the customer whose campaign groups are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCampaignGroupsRequest} + * @return the request + */ + public Mutate mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCampaignGroupsRequest content) throws java.io.IOException { + Mutate result = new Mutate(customerId, content); + initialize(result); + return result; + } + + public class Mutate extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/campaignGroups:mutate"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Creates, updates, or removes campaign groups. Operation statuses are returned. + * + * Create a request for the method "campaignGroups.mutate". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + *

{@link + * Mutate#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer whose campaign groups are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCampaignGroupsRequest} + * @since 1.13 + */ + protected Mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCampaignGroupsRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCampaignGroupsResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public Mutate set$Xgafv(java.lang.String $Xgafv) { + return (Mutate) super.set$Xgafv($Xgafv); + } + + @Override + public Mutate setAccessToken(java.lang.String accessToken) { + return (Mutate) super.setAccessToken(accessToken); + } + + @Override + public Mutate setAlt(java.lang.String alt) { + return (Mutate) super.setAlt(alt); + } + + @Override + public Mutate setCallback(java.lang.String callback) { + return (Mutate) super.setCallback(callback); + } + + @Override + public Mutate setFields(java.lang.String fields) { + return (Mutate) super.setFields(fields); + } + + @Override + public Mutate setKey(java.lang.String key) { + return (Mutate) super.setKey(key); + } + + @Override + public Mutate setOauthToken(java.lang.String oauthToken) { + return (Mutate) super.setOauthToken(oauthToken); + } + + @Override + public Mutate setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Mutate) super.setPrettyPrint(prettyPrint); + } + + @Override + public Mutate setQuotaUser(java.lang.String quotaUser) { + return (Mutate) super.setQuotaUser(quotaUser); + } + + @Override + public Mutate setUploadType(java.lang.String uploadType) { + return (Mutate) super.setUploadType(uploadType); + } + + @Override + public Mutate setUploadProtocol(java.lang.String uploadProtocol) { + return (Mutate) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the customer whose campaign groups are being modified. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer whose campaign groups are being modified. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the customer whose campaign groups are being modified. */ + public Mutate setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public Mutate set(String parameterName, Object value) { + return (Mutate) super.set(parameterName, value); + } + } + + } + /** + * An accessor for creating requests from the CampaignLabels collection. + * + *

The typical use is:

+ *
+     *   {@code SA360 searchads360 = new SA360(...);}
+     *   {@code SA360.CampaignLabels.List request = searchads360.campaignLabels().list(parameters ...)}
+     * 
+ * + * @return the resource collection + */ + public CampaignLabels campaignLabels() { + return new CampaignLabels(); + } + + /** + * The "campaignLabels" collection of methods. + */ + public class CampaignLabels { + + /** + * Creates and removes campaign-label relationships. Operation statuses are returned. List of thrown + * errors: [AuthenticationError]() [AuthorizationError]() [DatabaseError]() [FieldError]() + * [HeaderError]() [InternalError]() [LabelError]() [MutateError]() [NewResourceCreationError]() + * [QuotaError]() [RequestError]() + * + * Create a request for the method "campaignLabels.mutate". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + * + * @param customerId Required. ID of the customer whose campaign-label relationships are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCampaignLabelsRequest} + * @return the request + */ + public Mutate mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCampaignLabelsRequest content) throws java.io.IOException { + Mutate result = new Mutate(customerId, content); + initialize(result); + return result; + } + + public class Mutate extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/campaignLabels:mutate"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Creates and removes campaign-label relationships. Operation statuses are returned. List of + * thrown errors: [AuthenticationError]() [AuthorizationError]() [DatabaseError]() [FieldError]() + * [HeaderError]() [InternalError]() [LabelError]() [MutateError]() [NewResourceCreationError]() + * [QuotaError]() [RequestError]() + * + * Create a request for the method "campaignLabels.mutate". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + *

{@link + * Mutate#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param customerId Required. ID of the customer whose campaign-label relationships are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCampaignLabelsRequest} + * @since 1.13 + */ + protected Mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCampaignLabelsRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCampaignLabelsResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public Mutate set$Xgafv(java.lang.String $Xgafv) { + return (Mutate) super.set$Xgafv($Xgafv); + } + + @Override + public Mutate setAccessToken(java.lang.String accessToken) { + return (Mutate) super.setAccessToken(accessToken); + } + + @Override + public Mutate setAlt(java.lang.String alt) { + return (Mutate) super.setAlt(alt); + } + + @Override + public Mutate setCallback(java.lang.String callback) { + return (Mutate) super.setCallback(callback); + } + + @Override + public Mutate setFields(java.lang.String fields) { + return (Mutate) super.setFields(fields); + } + + @Override + public Mutate setKey(java.lang.String key) { + return (Mutate) super.setKey(key); + } + + @Override + public Mutate setOauthToken(java.lang.String oauthToken) { + return (Mutate) super.setOauthToken(oauthToken); + } + + @Override + public Mutate setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Mutate) super.setPrettyPrint(prettyPrint); + } + + @Override + public Mutate setQuotaUser(java.lang.String quotaUser) { + return (Mutate) super.setQuotaUser(quotaUser); + } + + @Override + public Mutate setUploadType(java.lang.String uploadType) { + return (Mutate) super.setUploadType(uploadType); + } + + @Override + public Mutate setUploadProtocol(java.lang.String uploadProtocol) { + return (Mutate) super.setUploadProtocol(uploadProtocol); + } + + /** Required. ID of the customer whose campaign-label relationships are being modified. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. ID of the customer whose campaign-label relationships are being modified. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. ID of the customer whose campaign-label relationships are being modified. */ + public Mutate setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public Mutate set(String parameterName, Object value) { + return (Mutate) super.set(parameterName, value); + } + } + + } + /** + * An accessor for creating requests from the CampaignLifecycleGoal collection. + * + *

The typical use is:

+ *
+     *   {@code SA360 searchads360 = new SA360(...);}
+     *   {@code SA360.CampaignLifecycleGoal.List request = searchads360.campaignLifecycleGoal().list(parameters ...)}
+     * 
+ * + * @return the resource collection + */ + public CampaignLifecycleGoal campaignLifecycleGoal() { + return new CampaignLifecycleGoal(); + } + + /** + * The "campaignLifecycleGoal" collection of methods. + */ + public class CampaignLifecycleGoal { + + /** + * Process the given campaign lifecycle configurations. List of thrown errors: + * [AuthenticationError]() [AuthorizationError]() [CampaignLifecycleGoalConfigError]() + * [HeaderError]() [InternalError]() [QuotaError]() [RequestError]() + * + * Create a request for the method "campaignLifecycleGoal.configureCampaignLifecycleGoals". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link ConfigureCampaignLifecycleGoals#execute()} method to invoke the + * remote operation. + * + * @param customerId Required. The ID of the customer performing the upload. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesConfigureCampaignLifecycleGoalsRequest} + * @return the request + */ + public ConfigureCampaignLifecycleGoals configureCampaignLifecycleGoals(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesConfigureCampaignLifecycleGoalsRequest content) throws java.io.IOException { + ConfigureCampaignLifecycleGoals result = new ConfigureCampaignLifecycleGoals(customerId, content); + initialize(result); + return result; + } + + public class ConfigureCampaignLifecycleGoals extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/campaignLifecycleGoal:configureCampaignLifecycleGoals"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Process the given campaign lifecycle configurations. List of thrown errors: + * [AuthenticationError]() [AuthorizationError]() [CampaignLifecycleGoalConfigError]() + * [HeaderError]() [InternalError]() [QuotaError]() [RequestError]() + * + * Create a request for the method "campaignLifecycleGoal.configureCampaignLifecycleGoals". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link ConfigureCampaignLifecycleGoals#execute()} method to + * invoke the remote operation.

{@link ConfigureCampaignLifecycleGoals#initialize(com.google.a + * pi.client.googleapis.services.AbstractGoogleClientRequest)} must be called to initialize this + * instance immediately after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer performing the upload. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesConfigureCampaignLifecycleGoalsRequest} + * @since 1.13 + */ + protected ConfigureCampaignLifecycleGoals(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesConfigureCampaignLifecycleGoalsRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesConfigureCampaignLifecycleGoalsResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public ConfigureCampaignLifecycleGoals set$Xgafv(java.lang.String $Xgafv) { + return (ConfigureCampaignLifecycleGoals) super.set$Xgafv($Xgafv); + } + + @Override + public ConfigureCampaignLifecycleGoals setAccessToken(java.lang.String accessToken) { + return (ConfigureCampaignLifecycleGoals) super.setAccessToken(accessToken); + } + + @Override + public ConfigureCampaignLifecycleGoals setAlt(java.lang.String alt) { + return (ConfigureCampaignLifecycleGoals) super.setAlt(alt); + } + + @Override + public ConfigureCampaignLifecycleGoals setCallback(java.lang.String callback) { + return (ConfigureCampaignLifecycleGoals) super.setCallback(callback); + } + + @Override + public ConfigureCampaignLifecycleGoals setFields(java.lang.String fields) { + return (ConfigureCampaignLifecycleGoals) super.setFields(fields); + } + + @Override + public ConfigureCampaignLifecycleGoals setKey(java.lang.String key) { + return (ConfigureCampaignLifecycleGoals) super.setKey(key); + } + + @Override + public ConfigureCampaignLifecycleGoals setOauthToken(java.lang.String oauthToken) { + return (ConfigureCampaignLifecycleGoals) super.setOauthToken(oauthToken); + } + + @Override + public ConfigureCampaignLifecycleGoals setPrettyPrint(java.lang.Boolean prettyPrint) { + return (ConfigureCampaignLifecycleGoals) super.setPrettyPrint(prettyPrint); + } + + @Override + public ConfigureCampaignLifecycleGoals setQuotaUser(java.lang.String quotaUser) { + return (ConfigureCampaignLifecycleGoals) super.setQuotaUser(quotaUser); + } + + @Override + public ConfigureCampaignLifecycleGoals setUploadType(java.lang.String uploadType) { + return (ConfigureCampaignLifecycleGoals) super.setUploadType(uploadType); + } + + @Override + public ConfigureCampaignLifecycleGoals setUploadProtocol(java.lang.String uploadProtocol) { + return (ConfigureCampaignLifecycleGoals) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the customer performing the upload. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer performing the upload. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the customer performing the upload. */ + public ConfigureCampaignLifecycleGoals setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public ConfigureCampaignLifecycleGoals set(String parameterName, Object value) { + return (ConfigureCampaignLifecycleGoals) super.set(parameterName, value); + } + } + + } + /** + * An accessor for creating requests from the CampaignSharedSets collection. + * + *

The typical use is:

+ *
+     *   {@code SA360 searchads360 = new SA360(...);}
+     *   {@code SA360.CampaignSharedSets.List request = searchads360.campaignSharedSets().list(parameters ...)}
+     * 
+ * + * @return the resource collection + */ + public CampaignSharedSets campaignSharedSets() { + return new CampaignSharedSets(); + } + + /** + * The "campaignSharedSets" collection of methods. + */ + public class CampaignSharedSets { + + /** + * Creates or removes campaign shared sets. Operation statuses are returned. List of thrown errors: + * [AuthenticationError]() [AuthorizationError]() [CampaignSharedSetError]() [ContextError]() + * [DatabaseError]() [DateError]() [DistinctError]() [FieldError]() [HeaderError]() [IdError]() + * [InternalError]() [MutateError]() [NewResourceCreationError]() [NotEmptyError]() [NullError]() + * [OperatorError]() [QuotaError]() [RangeError]() [RequestError]() [SizeLimitError]() + * [StringFormatError]() [StringLengthError]() + * + * Create a request for the method "campaignSharedSets.mutate". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + * + * @param customerId Required. The ID of the customer whose campaign shared sets are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCampaignSharedSetsRequest} + * @return the request + */ + public Mutate mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCampaignSharedSetsRequest content) throws java.io.IOException { + Mutate result = new Mutate(customerId, content); + initialize(result); + return result; + } + + public class Mutate extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/campaignSharedSets:mutate"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Creates or removes campaign shared sets. Operation statuses are returned. List of thrown + * errors: [AuthenticationError]() [AuthorizationError]() [CampaignSharedSetError]() + * [ContextError]() [DatabaseError]() [DateError]() [DistinctError]() [FieldError]() + * [HeaderError]() [IdError]() [InternalError]() [MutateError]() [NewResourceCreationError]() + * [NotEmptyError]() [NullError]() [OperatorError]() [QuotaError]() [RangeError]() + * [RequestError]() [SizeLimitError]() [StringFormatError]() [StringLengthError]() + * + * Create a request for the method "campaignSharedSets.mutate". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + *

{@link + * Mutate#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer whose campaign shared sets are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCampaignSharedSetsRequest} + * @since 1.13 + */ + protected Mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCampaignSharedSetsRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCampaignSharedSetsResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public Mutate set$Xgafv(java.lang.String $Xgafv) { + return (Mutate) super.set$Xgafv($Xgafv); + } + + @Override + public Mutate setAccessToken(java.lang.String accessToken) { + return (Mutate) super.setAccessToken(accessToken); + } + + @Override + public Mutate setAlt(java.lang.String alt) { + return (Mutate) super.setAlt(alt); + } + + @Override + public Mutate setCallback(java.lang.String callback) { + return (Mutate) super.setCallback(callback); + } + + @Override + public Mutate setFields(java.lang.String fields) { + return (Mutate) super.setFields(fields); + } + + @Override + public Mutate setKey(java.lang.String key) { + return (Mutate) super.setKey(key); + } + + @Override + public Mutate setOauthToken(java.lang.String oauthToken) { + return (Mutate) super.setOauthToken(oauthToken); + } + + @Override + public Mutate setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Mutate) super.setPrettyPrint(prettyPrint); + } + + @Override + public Mutate setQuotaUser(java.lang.String quotaUser) { + return (Mutate) super.setQuotaUser(quotaUser); + } + + @Override + public Mutate setUploadType(java.lang.String uploadType) { + return (Mutate) super.setUploadType(uploadType); + } + + @Override + public Mutate setUploadProtocol(java.lang.String uploadProtocol) { + return (Mutate) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the customer whose campaign shared sets are being modified. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer whose campaign shared sets are being modified. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the customer whose campaign shared sets are being modified. */ + public Mutate setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public Mutate set(String parameterName, Object value) { + return (Mutate) super.set(parameterName, value); + } + } + + } + /** + * An accessor for creating requests from the Campaigns collection. + * + *

The typical use is:

+ *
+     *   {@code SA360 searchads360 = new SA360(...);}
+     *   {@code SA360.Campaigns.List request = searchads360.campaigns().list(parameters ...)}
+     * 
+ * + * @return the resource collection + */ + public Campaigns campaigns() { + return new Campaigns(); + } + + /** + * The "campaigns" collection of methods. + */ + public class Campaigns { + + /** + * Enables Brand Guidelines for Performance Max campaigns. List of thrown errors: + * [AuthenticationError]() [AssetError]() [AssetLinkError]() [AuthorizationError]() + * [BrandGuidelinesMigrationError]() [CampaignError]() [HeaderError]() [InternalError]() + * [MutateError]() [QuotaError]() [RequestError]() [ResourceCountLimitExceededError]() + * + * Create a request for the method "campaigns.enablePMaxBrandGuidelines". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link EnablePMaxBrandGuidelines#execute()} method to invoke the remote + * operation. + * + * @param customerId Required. The ID of the customer whose campaigns are being enabled. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesEnablePMaxBrandGuidelinesRequest} + * @return the request + */ + public EnablePMaxBrandGuidelines enablePMaxBrandGuidelines(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesEnablePMaxBrandGuidelinesRequest content) throws java.io.IOException { + EnablePMaxBrandGuidelines result = new EnablePMaxBrandGuidelines(customerId, content); + initialize(result); + return result; + } + + public class EnablePMaxBrandGuidelines extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/campaigns:enablePMaxBrandGuidelines"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Enables Brand Guidelines for Performance Max campaigns. List of thrown errors: + * [AuthenticationError]() [AssetError]() [AssetLinkError]() [AuthorizationError]() + * [BrandGuidelinesMigrationError]() [CampaignError]() [HeaderError]() [InternalError]() + * [MutateError]() [QuotaError]() [RequestError]() [ResourceCountLimitExceededError]() + * + * Create a request for the method "campaigns.enablePMaxBrandGuidelines". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link EnablePMaxBrandGuidelines#execute()} method to invoke the + * remote operation.

{@link EnablePMaxBrandGuidelines#initialize(com.google.api.client.googlea + * pis.services.AbstractGoogleClientRequest)} must be called to initialize this instance + * immediately after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer whose campaigns are being enabled. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesEnablePMaxBrandGuidelinesRequest} + * @since 1.13 + */ + protected EnablePMaxBrandGuidelines(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesEnablePMaxBrandGuidelinesRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesEnablePMaxBrandGuidelinesResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public EnablePMaxBrandGuidelines set$Xgafv(java.lang.String $Xgafv) { + return (EnablePMaxBrandGuidelines) super.set$Xgafv($Xgafv); + } + + @Override + public EnablePMaxBrandGuidelines setAccessToken(java.lang.String accessToken) { + return (EnablePMaxBrandGuidelines) super.setAccessToken(accessToken); + } + + @Override + public EnablePMaxBrandGuidelines setAlt(java.lang.String alt) { + return (EnablePMaxBrandGuidelines) super.setAlt(alt); + } + + @Override + public EnablePMaxBrandGuidelines setCallback(java.lang.String callback) { + return (EnablePMaxBrandGuidelines) super.setCallback(callback); + } + + @Override + public EnablePMaxBrandGuidelines setFields(java.lang.String fields) { + return (EnablePMaxBrandGuidelines) super.setFields(fields); + } + + @Override + public EnablePMaxBrandGuidelines setKey(java.lang.String key) { + return (EnablePMaxBrandGuidelines) super.setKey(key); + } + + @Override + public EnablePMaxBrandGuidelines setOauthToken(java.lang.String oauthToken) { + return (EnablePMaxBrandGuidelines) super.setOauthToken(oauthToken); + } + + @Override + public EnablePMaxBrandGuidelines setPrettyPrint(java.lang.Boolean prettyPrint) { + return (EnablePMaxBrandGuidelines) super.setPrettyPrint(prettyPrint); + } + + @Override + public EnablePMaxBrandGuidelines setQuotaUser(java.lang.String quotaUser) { + return (EnablePMaxBrandGuidelines) super.setQuotaUser(quotaUser); + } + + @Override + public EnablePMaxBrandGuidelines setUploadType(java.lang.String uploadType) { + return (EnablePMaxBrandGuidelines) super.setUploadType(uploadType); + } + + @Override + public EnablePMaxBrandGuidelines setUploadProtocol(java.lang.String uploadProtocol) { + return (EnablePMaxBrandGuidelines) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the customer whose campaigns are being enabled. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer whose campaigns are being enabled. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the customer whose campaigns are being enabled. */ + public EnablePMaxBrandGuidelines setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public EnablePMaxBrandGuidelines set(String parameterName, Object value) { + return (EnablePMaxBrandGuidelines) super.set(parameterName, value); + } + } + /** + * Creates, updates, or removes campaigns. Operation statuses are returned. List of thrown errors: + * [AdxError]() [AuthenticationError]() [AuthorizationError]() [BiddingError]() + * [BiddingStrategyError]() [CampaignBudgetError]() [CampaignError]() [ContextError]() + * [DatabaseError]() [DateError]() [DateRangeError]() [DistinctError]() [FieldError]() + * [FieldMaskError]() [HeaderError]() [IdError]() [InternalError]() [ListOperationError]() + * [MutateError]() [NewResourceCreationError]() [NotAllowlistedError]() [NotEmptyError]() + * [NullError]() [OperationAccessDeniedError]() [OperatorError]() [QuotaError]() [RangeError]() + * [RegionCodeError]() [RequestError]() [ResourceCountLimitExceededError]() [SettingError]() + * [SizeLimitError]() [StringFormatError]() [StringLengthError]() [UrlFieldError]() + * + * Create a request for the method "campaigns.mutate". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + * + * @param customerId Required. The ID of the customer whose campaigns are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCampaignsRequest} + * @return the request + */ + public Mutate mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCampaignsRequest content) throws java.io.IOException { + Mutate result = new Mutate(customerId, content); + initialize(result); + return result; + } + + public class Mutate extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/campaigns:mutate"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Creates, updates, or removes campaigns. Operation statuses are returned. List of thrown errors: + * [AdxError]() [AuthenticationError]() [AuthorizationError]() [BiddingError]() + * [BiddingStrategyError]() [CampaignBudgetError]() [CampaignError]() [ContextError]() + * [DatabaseError]() [DateError]() [DateRangeError]() [DistinctError]() [FieldError]() + * [FieldMaskError]() [HeaderError]() [IdError]() [InternalError]() [ListOperationError]() + * [MutateError]() [NewResourceCreationError]() [NotAllowlistedError]() [NotEmptyError]() + * [NullError]() [OperationAccessDeniedError]() [OperatorError]() [QuotaError]() [RangeError]() + * [RegionCodeError]() [RequestError]() [ResourceCountLimitExceededError]() [SettingError]() + * [SizeLimitError]() [StringFormatError]() [StringLengthError]() [UrlFieldError]() + * + * Create a request for the method "campaigns.mutate". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + *

{@link + * Mutate#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer whose campaigns are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCampaignsRequest} + * @since 1.13 + */ + protected Mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCampaignsRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCampaignsResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public Mutate set$Xgafv(java.lang.String $Xgafv) { + return (Mutate) super.set$Xgafv($Xgafv); + } + + @Override + public Mutate setAccessToken(java.lang.String accessToken) { + return (Mutate) super.setAccessToken(accessToken); + } + + @Override + public Mutate setAlt(java.lang.String alt) { + return (Mutate) super.setAlt(alt); + } + + @Override + public Mutate setCallback(java.lang.String callback) { + return (Mutate) super.setCallback(callback); + } + + @Override + public Mutate setFields(java.lang.String fields) { + return (Mutate) super.setFields(fields); + } + + @Override + public Mutate setKey(java.lang.String key) { + return (Mutate) super.setKey(key); + } + + @Override + public Mutate setOauthToken(java.lang.String oauthToken) { + return (Mutate) super.setOauthToken(oauthToken); + } + + @Override + public Mutate setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Mutate) super.setPrettyPrint(prettyPrint); + } + + @Override + public Mutate setQuotaUser(java.lang.String quotaUser) { + return (Mutate) super.setQuotaUser(quotaUser); + } + + @Override + public Mutate setUploadType(java.lang.String uploadType) { + return (Mutate) super.setUploadType(uploadType); + } + + @Override + public Mutate setUploadProtocol(java.lang.String uploadProtocol) { + return (Mutate) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the customer whose campaigns are being modified. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer whose campaigns are being modified. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the customer whose campaigns are being modified. */ + public Mutate setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public Mutate set(String parameterName, Object value) { + return (Mutate) super.set(parameterName, value); + } + } + + } + /** + * An accessor for creating requests from the ConversionActions collection. + * + *

The typical use is:

+ *
+     *   {@code SA360 searchads360 = new SA360(...);}
+     *   {@code SA360.ConversionActions.List request = searchads360.conversionActions().list(parameters ...)}
+     * 
+ * + * @return the resource collection + */ + public ConversionActions conversionActions() { + return new ConversionActions(); + } + + /** + * The "conversionActions" collection of methods. + */ + public class ConversionActions { + + /** + * Creates, updates or removes conversion actions. Operation statuses are returned. List of thrown + * errors: [AuthenticationError]() [AuthorizationError]() [ConversionActionError]() + * [CurrencyCodeError]() [DatabaseError]() [FieldError]() [FieldMaskError]() [HeaderError]() + * [InternalError]() [MutateError]() [NewResourceCreationError]() [QuotaError]() [RangeError]() + * [RequestError]() [ResourceCountLimitExceededError]() [StringLengthError]() + * + * Create a request for the method "conversionActions.mutate". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + * + * @param customerId Required. The ID of the customer whose conversion actions are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateConversionActionsRequest} + * @return the request + */ + public Mutate mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateConversionActionsRequest content) throws java.io.IOException { + Mutate result = new Mutate(customerId, content); + initialize(result); + return result; + } + + public class Mutate extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/conversionActions:mutate"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Creates, updates or removes conversion actions. Operation statuses are returned. List of thrown + * errors: [AuthenticationError]() [AuthorizationError]() [ConversionActionError]() + * [CurrencyCodeError]() [DatabaseError]() [FieldError]() [FieldMaskError]() [HeaderError]() + * [InternalError]() [MutateError]() [NewResourceCreationError]() [QuotaError]() [RangeError]() + * [RequestError]() [ResourceCountLimitExceededError]() [StringLengthError]() + * + * Create a request for the method "conversionActions.mutate". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + *

{@link + * Mutate#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer whose conversion actions are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateConversionActionsRequest} + * @since 1.13 + */ + protected Mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateConversionActionsRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateConversionActionsResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public Mutate set$Xgafv(java.lang.String $Xgafv) { + return (Mutate) super.set$Xgafv($Xgafv); + } + + @Override + public Mutate setAccessToken(java.lang.String accessToken) { + return (Mutate) super.setAccessToken(accessToken); + } + + @Override + public Mutate setAlt(java.lang.String alt) { + return (Mutate) super.setAlt(alt); + } + + @Override + public Mutate setCallback(java.lang.String callback) { + return (Mutate) super.setCallback(callback); + } + + @Override + public Mutate setFields(java.lang.String fields) { + return (Mutate) super.setFields(fields); + } + + @Override + public Mutate setKey(java.lang.String key) { + return (Mutate) super.setKey(key); + } + + @Override + public Mutate setOauthToken(java.lang.String oauthToken) { + return (Mutate) super.setOauthToken(oauthToken); + } + + @Override + public Mutate setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Mutate) super.setPrettyPrint(prettyPrint); + } + + @Override + public Mutate setQuotaUser(java.lang.String quotaUser) { + return (Mutate) super.setQuotaUser(quotaUser); + } + + @Override + public Mutate setUploadType(java.lang.String uploadType) { + return (Mutate) super.setUploadType(uploadType); + } + + @Override + public Mutate setUploadProtocol(java.lang.String uploadProtocol) { + return (Mutate) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the customer whose conversion actions are being modified. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer whose conversion actions are being modified. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the customer whose conversion actions are being modified. */ + public Mutate setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public Mutate set(String parameterName, Object value) { + return (Mutate) super.set(parameterName, value); + } + } + + } + /** + * An accessor for creating requests from the ConversionCustomVariables collection. + * + *

The typical use is:

+ *
+     *   {@code SA360 searchads360 = new SA360(...);}
+     *   {@code SA360.ConversionCustomVariables.List request = searchads360.conversionCustomVariables().list(parameters ...)}
+     * 
+ * + * @return the resource collection + */ + public ConversionCustomVariables conversionCustomVariables() { + return new ConversionCustomVariables(); + } + + /** + * The "conversionCustomVariables" collection of methods. + */ + public class ConversionCustomVariables { + + /** + * Creates or updates conversion custom variables. Operation statuses are returned. List of thrown + * errors: [AuthenticationError]() [AuthorizationError]() [ConversionCustomVariableError]() + * [DatabaseError]() [HeaderError]() [InternalError]() [QuotaError]() [RequestError]() + * + * Create a request for the method "conversionCustomVariables.mutate". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + * + * @param customerId Required. The ID of the customer whose conversion custom variables are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateConversionCustomVariablesRequest} + * @return the request + */ + public Mutate mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateConversionCustomVariablesRequest content) throws java.io.IOException { + Mutate result = new Mutate(customerId, content); + initialize(result); + return result; + } + + public class Mutate extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/conversionCustomVariables:mutate"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Creates or updates conversion custom variables. Operation statuses are returned. List of thrown + * errors: [AuthenticationError]() [AuthorizationError]() [ConversionCustomVariableError]() + * [DatabaseError]() [HeaderError]() [InternalError]() [QuotaError]() [RequestError]() + * + * Create a request for the method "conversionCustomVariables.mutate". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + *

{@link + * Mutate#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer whose conversion custom variables are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateConversionCustomVariablesRequest} + * @since 1.13 + */ + protected Mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateConversionCustomVariablesRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateConversionCustomVariablesResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public Mutate set$Xgafv(java.lang.String $Xgafv) { + return (Mutate) super.set$Xgafv($Xgafv); + } + + @Override + public Mutate setAccessToken(java.lang.String accessToken) { + return (Mutate) super.setAccessToken(accessToken); + } + + @Override + public Mutate setAlt(java.lang.String alt) { + return (Mutate) super.setAlt(alt); + } + + @Override + public Mutate setCallback(java.lang.String callback) { + return (Mutate) super.setCallback(callback); + } + + @Override + public Mutate setFields(java.lang.String fields) { + return (Mutate) super.setFields(fields); + } + + @Override + public Mutate setKey(java.lang.String key) { + return (Mutate) super.setKey(key); + } + + @Override + public Mutate setOauthToken(java.lang.String oauthToken) { + return (Mutate) super.setOauthToken(oauthToken); + } + + @Override + public Mutate setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Mutate) super.setPrettyPrint(prettyPrint); + } + + @Override + public Mutate setQuotaUser(java.lang.String quotaUser) { + return (Mutate) super.setQuotaUser(quotaUser); + } + + @Override + public Mutate setUploadType(java.lang.String uploadType) { + return (Mutate) super.setUploadType(uploadType); + } + + @Override + public Mutate setUploadProtocol(java.lang.String uploadProtocol) { + return (Mutate) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. The ID of the customer whose conversion custom variables are being modified. + */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer whose conversion custom variables are being modified. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** + * Required. The ID of the customer whose conversion custom variables are being modified. + */ + public Mutate setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public Mutate set(String parameterName, Object value) { + return (Mutate) super.set(parameterName, value); + } + } + + } + /** + * An accessor for creating requests from the ConversionGoalCampaignConfigs collection. + * + *

The typical use is:

+ *
+     *   {@code SA360 searchads360 = new SA360(...);}
+     *   {@code SA360.ConversionGoalCampaignConfigs.List request = searchads360.conversionGoalCampaignConfigs().list(parameters ...)}
+     * 
+ * + * @return the resource collection + */ + public ConversionGoalCampaignConfigs conversionGoalCampaignConfigs() { + return new ConversionGoalCampaignConfigs(); + } + + /** + * The "conversionGoalCampaignConfigs" collection of methods. + */ + public class ConversionGoalCampaignConfigs { + + /** + * Creates, updates or removes conversion goal campaign config. Operation statuses are returned. + * + * Create a request for the method "conversionGoalCampaignConfigs.mutate". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + * + * @param customerId Required. The ID of the customer whose custom conversion goals are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateConversionGoalCampaignConfigsRequest} + * @return the request + */ + public Mutate mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateConversionGoalCampaignConfigsRequest content) throws java.io.IOException { + Mutate result = new Mutate(customerId, content); + initialize(result); + return result; + } + + public class Mutate extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/conversionGoalCampaignConfigs:mutate"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Creates, updates or removes conversion goal campaign config. Operation statuses are returned. + * + * Create a request for the method "conversionGoalCampaignConfigs.mutate". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + *

{@link + * Mutate#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer whose custom conversion goals are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateConversionGoalCampaignConfigsRequest} + * @since 1.13 + */ + protected Mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateConversionGoalCampaignConfigsRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateConversionGoalCampaignConfigsResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public Mutate set$Xgafv(java.lang.String $Xgafv) { + return (Mutate) super.set$Xgafv($Xgafv); + } + + @Override + public Mutate setAccessToken(java.lang.String accessToken) { + return (Mutate) super.setAccessToken(accessToken); + } + + @Override + public Mutate setAlt(java.lang.String alt) { + return (Mutate) super.setAlt(alt); + } + + @Override + public Mutate setCallback(java.lang.String callback) { + return (Mutate) super.setCallback(callback); + } + + @Override + public Mutate setFields(java.lang.String fields) { + return (Mutate) super.setFields(fields); + } + + @Override + public Mutate setKey(java.lang.String key) { + return (Mutate) super.setKey(key); + } + + @Override + public Mutate setOauthToken(java.lang.String oauthToken) { + return (Mutate) super.setOauthToken(oauthToken); + } + + @Override + public Mutate setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Mutate) super.setPrettyPrint(prettyPrint); + } + + @Override + public Mutate setQuotaUser(java.lang.String quotaUser) { + return (Mutate) super.setQuotaUser(quotaUser); + } + + @Override + public Mutate setUploadType(java.lang.String uploadType) { + return (Mutate) super.setUploadType(uploadType); + } + + @Override + public Mutate setUploadProtocol(java.lang.String uploadProtocol) { + return (Mutate) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the customer whose custom conversion goals are being modified. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer whose custom conversion goals are being modified. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the customer whose custom conversion goals are being modified. */ + public Mutate setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public Mutate set(String parameterName, Object value) { + return (Mutate) super.set(parameterName, value); + } + } + + } + /** + * An accessor for creating requests from the ConversionValueRuleSets collection. + * + *

The typical use is:

+ *
+     *   {@code SA360 searchads360 = new SA360(...);}
+     *   {@code SA360.ConversionValueRuleSets.List request = searchads360.conversionValueRuleSets().list(parameters ...)}
+     * 
+ * + * @return the resource collection + */ + public ConversionValueRuleSets conversionValueRuleSets() { + return new ConversionValueRuleSets(); + } + + /** + * The "conversionValueRuleSets" collection of methods. + */ + public class ConversionValueRuleSets { + + /** + * Creates, updates or removes conversion value rule sets. Operation statuses are returned. + * + * Create a request for the method "conversionValueRuleSets.mutate". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + * + * @param customerId Required. The ID of the customer whose conversion value rule sets are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateConversionValueRuleSetsRequest} + * @return the request + */ + public Mutate mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateConversionValueRuleSetsRequest content) throws java.io.IOException { + Mutate result = new Mutate(customerId, content); + initialize(result); + return result; + } + + public class Mutate extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/conversionValueRuleSets:mutate"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Creates, updates or removes conversion value rule sets. Operation statuses are returned. + * + * Create a request for the method "conversionValueRuleSets.mutate". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + *

{@link + * Mutate#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer whose conversion value rule sets are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateConversionValueRuleSetsRequest} + * @since 1.13 + */ + protected Mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateConversionValueRuleSetsRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateConversionValueRuleSetsResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public Mutate set$Xgafv(java.lang.String $Xgafv) { + return (Mutate) super.set$Xgafv($Xgafv); + } + + @Override + public Mutate setAccessToken(java.lang.String accessToken) { + return (Mutate) super.setAccessToken(accessToken); + } + + @Override + public Mutate setAlt(java.lang.String alt) { + return (Mutate) super.setAlt(alt); + } + + @Override + public Mutate setCallback(java.lang.String callback) { + return (Mutate) super.setCallback(callback); + } + + @Override + public Mutate setFields(java.lang.String fields) { + return (Mutate) super.setFields(fields); + } + + @Override + public Mutate setKey(java.lang.String key) { + return (Mutate) super.setKey(key); + } + + @Override + public Mutate setOauthToken(java.lang.String oauthToken) { + return (Mutate) super.setOauthToken(oauthToken); + } + + @Override + public Mutate setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Mutate) super.setPrettyPrint(prettyPrint); + } + + @Override + public Mutate setQuotaUser(java.lang.String quotaUser) { + return (Mutate) super.setQuotaUser(quotaUser); + } + + @Override + public Mutate setUploadType(java.lang.String uploadType) { + return (Mutate) super.setUploadType(uploadType); + } + + @Override + public Mutate setUploadProtocol(java.lang.String uploadProtocol) { + return (Mutate) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. The ID of the customer whose conversion value rule sets are being modified. + */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer whose conversion value rule sets are being modified. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** + * Required. The ID of the customer whose conversion value rule sets are being modified. + */ + public Mutate setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public Mutate set(String parameterName, Object value) { + return (Mutate) super.set(parameterName, value); + } + } + + } + /** + * An accessor for creating requests from the ConversionValueRules collection. + * + *

The typical use is:

+ *
+     *   {@code SA360 searchads360 = new SA360(...);}
+     *   {@code SA360.ConversionValueRules.List request = searchads360.conversionValueRules().list(parameters ...)}
+     * 
+ * + * @return the resource collection + */ + public ConversionValueRules conversionValueRules() { + return new ConversionValueRules(); + } + + /** + * The "conversionValueRules" collection of methods. + */ + public class ConversionValueRules { + + /** + * Creates, updates, or removes conversion value rules. Operation statuses are returned. + * + * Create a request for the method "conversionValueRules.mutate". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + * + * @param customerId Required. The ID of the customer whose conversion value rules are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateConversionValueRulesRequest} + * @return the request + */ + public Mutate mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateConversionValueRulesRequest content) throws java.io.IOException { + Mutate result = new Mutate(customerId, content); + initialize(result); + return result; + } + + public class Mutate extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/conversionValueRules:mutate"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Creates, updates, or removes conversion value rules. Operation statuses are returned. + * + * Create a request for the method "conversionValueRules.mutate". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + *

{@link + * Mutate#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer whose conversion value rules are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateConversionValueRulesRequest} + * @since 1.13 + */ + protected Mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateConversionValueRulesRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateConversionValueRulesResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public Mutate set$Xgafv(java.lang.String $Xgafv) { + return (Mutate) super.set$Xgafv($Xgafv); + } + + @Override + public Mutate setAccessToken(java.lang.String accessToken) { + return (Mutate) super.setAccessToken(accessToken); + } + + @Override + public Mutate setAlt(java.lang.String alt) { + return (Mutate) super.setAlt(alt); + } + + @Override + public Mutate setCallback(java.lang.String callback) { + return (Mutate) super.setCallback(callback); + } + + @Override + public Mutate setFields(java.lang.String fields) { + return (Mutate) super.setFields(fields); + } + + @Override + public Mutate setKey(java.lang.String key) { + return (Mutate) super.setKey(key); + } + + @Override + public Mutate setOauthToken(java.lang.String oauthToken) { + return (Mutate) super.setOauthToken(oauthToken); + } + + @Override + public Mutate setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Mutate) super.setPrettyPrint(prettyPrint); + } + + @Override + public Mutate setQuotaUser(java.lang.String quotaUser) { + return (Mutate) super.setQuotaUser(quotaUser); + } + + @Override + public Mutate setUploadType(java.lang.String uploadType) { + return (Mutate) super.setUploadType(uploadType); + } + + @Override + public Mutate setUploadProtocol(java.lang.String uploadProtocol) { + return (Mutate) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the customer whose conversion value rules are being modified. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer whose conversion value rules are being modified. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the customer whose conversion value rules are being modified. */ + public Mutate setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public Mutate set(String parameterName, Object value) { + return (Mutate) super.set(parameterName, value); + } + } + + } + /** + * An accessor for creating requests from the CustomAudiences collection. + * + *

The typical use is:

+ *
+     *   {@code SA360 searchads360 = new SA360(...);}
+     *   {@code SA360.CustomAudiences.List request = searchads360.customAudiences().list(parameters ...)}
+     * 
+ * + * @return the resource collection + */ + public CustomAudiences customAudiences() { + return new CustomAudiences(); + } + + /** + * The "customAudiences" collection of methods. + */ + public class CustomAudiences { + + /** + * Creates or updates custom audiences. Operation statuses are returned. List of thrown errors: + * [AuthenticationError]() [AuthorizationError]() [CustomAudienceError]() [CustomInterestError]() + * [FieldError]() [FieldMaskError]() [HeaderError]() [InternalError]() [MutateError]() + * [OperationAccessDeniedError]() [PolicyViolationError]() [QuotaError]() [RequestError]() + * + * Create a request for the method "customAudiences.mutate". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + * + * @param customerId Required. The ID of the customer whose custom audiences are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCustomAudiencesRequest} + * @return the request + */ + public Mutate mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCustomAudiencesRequest content) throws java.io.IOException { + Mutate result = new Mutate(customerId, content); + initialize(result); + return result; + } + + public class Mutate extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/customAudiences:mutate"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Creates or updates custom audiences. Operation statuses are returned. List of thrown errors: + * [AuthenticationError]() [AuthorizationError]() [CustomAudienceError]() [CustomInterestError]() + * [FieldError]() [FieldMaskError]() [HeaderError]() [InternalError]() [MutateError]() + * [OperationAccessDeniedError]() [PolicyViolationError]() [QuotaError]() [RequestError]() + * + * Create a request for the method "customAudiences.mutate". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + *

{@link + * Mutate#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer whose custom audiences are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCustomAudiencesRequest} + * @since 1.13 + */ + protected Mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCustomAudiencesRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCustomAudiencesResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public Mutate set$Xgafv(java.lang.String $Xgafv) { + return (Mutate) super.set$Xgafv($Xgafv); + } + + @Override + public Mutate setAccessToken(java.lang.String accessToken) { + return (Mutate) super.setAccessToken(accessToken); + } + + @Override + public Mutate setAlt(java.lang.String alt) { + return (Mutate) super.setAlt(alt); + } + + @Override + public Mutate setCallback(java.lang.String callback) { + return (Mutate) super.setCallback(callback); + } + + @Override + public Mutate setFields(java.lang.String fields) { + return (Mutate) super.setFields(fields); + } + + @Override + public Mutate setKey(java.lang.String key) { + return (Mutate) super.setKey(key); + } + + @Override + public Mutate setOauthToken(java.lang.String oauthToken) { + return (Mutate) super.setOauthToken(oauthToken); + } + + @Override + public Mutate setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Mutate) super.setPrettyPrint(prettyPrint); + } + + @Override + public Mutate setQuotaUser(java.lang.String quotaUser) { + return (Mutate) super.setQuotaUser(quotaUser); + } + + @Override + public Mutate setUploadType(java.lang.String uploadType) { + return (Mutate) super.setUploadType(uploadType); + } + + @Override + public Mutate setUploadProtocol(java.lang.String uploadProtocol) { + return (Mutate) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the customer whose custom audiences are being modified. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer whose custom audiences are being modified. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the customer whose custom audiences are being modified. */ + public Mutate setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public Mutate set(String parameterName, Object value) { + return (Mutate) super.set(parameterName, value); + } + } + + } + /** + * An accessor for creating requests from the CustomColumns collection. + * + *

The typical use is:

+ *
+     *   {@code SA360 searchads360 = new SA360(...);}
+     *   {@code SA360.CustomColumns.List request = searchads360.customColumns().list(parameters ...)}
+     * 
+ * + * @return the resource collection + */ + public CustomColumns customColumns() { + return new CustomColumns(); + } + + /** + * The "customColumns" collection of methods. + */ + public class CustomColumns { + + /** + * Returns the requested custom column in full detail. + * + * Create a request for the method "customColumns.get". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Get#execute()} method to invoke the remote operation. + * + * @param resourceName Required. The resource name of the custom column to fetch. + * @return the request + */ + public Get get(java.lang.String resourceName) throws java.io.IOException { + Get result = new Get(resourceName); + initialize(result); + return result; + } + + public class Get extends SA360Request { + + private static final String REST_PATH = "v23/{+resourceName}"; + + private final java.util.regex.Pattern RESOURCE_NAME_PATTERN = + java.util.regex.Pattern.compile("^customers/[^/]+/customColumns/[^/]+$"); + + /** + * Returns the requested custom column in full detail. + * + * Create a request for the method "customColumns.get". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Get#execute()} method to invoke the remote operation.

+ * {@link Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} + * must be called to initialize this instance immediately after invoking the constructor.

+ * + * @param resourceName Required. The resource name of the custom column to fetch. + * @since 1.13 + */ + protected Get(java.lang.String resourceName) { + super(SA360.this, "GET", REST_PATH, null, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ResourcesCustomColumn.class); + this.resourceName = com.google.api.client.util.Preconditions.checkNotNull(resourceName, "Required parameter resourceName must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(RESOURCE_NAME_PATTERN.matcher(resourceName).matches(), + "Parameter resourceName must conform to the pattern " + + "^customers/[^/]+/customColumns/[^/]+$"); + } + } + + @Override + public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { + return super.executeUsingHead(); + } + + @Override + public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { + return super.buildHttpRequestUsingHead(); + } + + @Override + public Get set$Xgafv(java.lang.String $Xgafv) { + return (Get) super.set$Xgafv($Xgafv); + } + + @Override + public Get setAccessToken(java.lang.String accessToken) { + return (Get) super.setAccessToken(accessToken); + } + + @Override + public Get setAlt(java.lang.String alt) { + return (Get) super.setAlt(alt); + } + + @Override + public Get setCallback(java.lang.String callback) { + return (Get) super.setCallback(callback); + } + + @Override + public Get setFields(java.lang.String fields) { + return (Get) super.setFields(fields); + } + + @Override + public Get setKey(java.lang.String key) { + return (Get) super.setKey(key); + } + + @Override + public Get setOauthToken(java.lang.String oauthToken) { + return (Get) super.setOauthToken(oauthToken); + } + + @Override + public Get setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Get) super.setPrettyPrint(prettyPrint); + } + + @Override + public Get setQuotaUser(java.lang.String quotaUser) { + return (Get) super.setQuotaUser(quotaUser); + } + + @Override + public Get setUploadType(java.lang.String uploadType) { + return (Get) super.setUploadType(uploadType); + } + + @Override + public Get setUploadProtocol(java.lang.String uploadProtocol) { + return (Get) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The resource name of the custom column to fetch. */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** Required. The resource name of the custom column to fetch. + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** Required. The resource name of the custom column to fetch. */ + public Get setResourceName(java.lang.String resourceName) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(RESOURCE_NAME_PATTERN.matcher(resourceName).matches(), + "Parameter resourceName must conform to the pattern " + + "^customers/[^/]+/customColumns/[^/]+$"); + } + this.resourceName = resourceName; + return this; + } + + @Override + public Get set(String parameterName, Object value) { + return (Get) super.set(parameterName, value); + } + } + /** + * Returns all the custom columns associated with the customer in full detail. + * + * Create a request for the method "customColumns.list". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link List#execute()} method to invoke the remote operation. + * + * @param customerId Required. The ID of the customer to apply the CustomColumn list operation to. + * @return the request + */ + public List list(java.lang.String customerId) throws java.io.IOException { + List result = new List(customerId); + initialize(result); + return result; + } + + public class List extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/customColumns"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Returns all the custom columns associated with the customer in full detail. + * + * Create a request for the method "customColumns.list". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link List#execute()} method to invoke the remote operation.

+ * {@link List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} + * must be called to initialize this instance immediately after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer to apply the CustomColumn list operation to. + * @since 1.13 + */ + protected List(java.lang.String customerId) { + super(SA360.this, "GET", REST_PATH, null, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesListCustomColumnsResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { + return super.executeUsingHead(); + } + + @Override + public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { + return super.buildHttpRequestUsingHead(); + } + + @Override + public List set$Xgafv(java.lang.String $Xgafv) { + return (List) super.set$Xgafv($Xgafv); + } + + @Override + public List setAccessToken(java.lang.String accessToken) { + return (List) super.setAccessToken(accessToken); + } + + @Override + public List setAlt(java.lang.String alt) { + return (List) super.setAlt(alt); + } + + @Override + public List setCallback(java.lang.String callback) { + return (List) super.setCallback(callback); + } + + @Override + public List setFields(java.lang.String fields) { + return (List) super.setFields(fields); + } + + @Override + public List setKey(java.lang.String key) { + return (List) super.setKey(key); + } + + @Override + public List setOauthToken(java.lang.String oauthToken) { + return (List) super.setOauthToken(oauthToken); + } + + @Override + public List setPrettyPrint(java.lang.Boolean prettyPrint) { + return (List) super.setPrettyPrint(prettyPrint); + } + + @Override + public List setQuotaUser(java.lang.String quotaUser) { + return (List) super.setQuotaUser(quotaUser); + } + + @Override + public List setUploadType(java.lang.String uploadType) { + return (List) super.setUploadType(uploadType); + } + + @Override + public List setUploadProtocol(java.lang.String uploadProtocol) { + return (List) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the customer to apply the CustomColumn list operation to. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer to apply the CustomColumn list operation to. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the customer to apply the CustomColumn list operation to. */ + public List setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public List set(String parameterName, Object value) { + return (List) super.set(parameterName, value); + } + } + + } + /** + * An accessor for creating requests from the CustomConversionGoals collection. + * + *

The typical use is:

+ *
+     *   {@code SA360 searchads360 = new SA360(...);}
+     *   {@code SA360.CustomConversionGoals.List request = searchads360.customConversionGoals().list(parameters ...)}
+     * 
+ * + * @return the resource collection + */ + public CustomConversionGoals customConversionGoals() { + return new CustomConversionGoals(); + } + + /** + * The "customConversionGoals" collection of methods. + */ + public class CustomConversionGoals { + + /** + * Creates, updates or removes custom conversion goals. Operation statuses are returned. + * + * Create a request for the method "customConversionGoals.mutate". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + * + * @param customerId Required. The ID of the customer whose custom conversion goals are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCustomConversionGoalsRequest} + * @return the request + */ + public Mutate mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCustomConversionGoalsRequest content) throws java.io.IOException { + Mutate result = new Mutate(customerId, content); + initialize(result); + return result; + } + + public class Mutate extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/customConversionGoals:mutate"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Creates, updates or removes custom conversion goals. Operation statuses are returned. + * + * Create a request for the method "customConversionGoals.mutate". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + *

{@link + * Mutate#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer whose custom conversion goals are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCustomConversionGoalsRequest} + * @since 1.13 + */ + protected Mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCustomConversionGoalsRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCustomConversionGoalsResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public Mutate set$Xgafv(java.lang.String $Xgafv) { + return (Mutate) super.set$Xgafv($Xgafv); + } + + @Override + public Mutate setAccessToken(java.lang.String accessToken) { + return (Mutate) super.setAccessToken(accessToken); + } + + @Override + public Mutate setAlt(java.lang.String alt) { + return (Mutate) super.setAlt(alt); + } + + @Override + public Mutate setCallback(java.lang.String callback) { + return (Mutate) super.setCallback(callback); + } + + @Override + public Mutate setFields(java.lang.String fields) { + return (Mutate) super.setFields(fields); + } + + @Override + public Mutate setKey(java.lang.String key) { + return (Mutate) super.setKey(key); + } + + @Override + public Mutate setOauthToken(java.lang.String oauthToken) { + return (Mutate) super.setOauthToken(oauthToken); + } + + @Override + public Mutate setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Mutate) super.setPrettyPrint(prettyPrint); + } + + @Override + public Mutate setQuotaUser(java.lang.String quotaUser) { + return (Mutate) super.setQuotaUser(quotaUser); + } + + @Override + public Mutate setUploadType(java.lang.String uploadType) { + return (Mutate) super.setUploadType(uploadType); + } + + @Override + public Mutate setUploadProtocol(java.lang.String uploadProtocol) { + return (Mutate) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the customer whose custom conversion goals are being modified. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer whose custom conversion goals are being modified. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the customer whose custom conversion goals are being modified. */ + public Mutate setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public Mutate set(String parameterName, Object value) { + return (Mutate) super.set(parameterName, value); + } + } + + } + /** + * An accessor for creating requests from the CustomInterests collection. + * + *

The typical use is:

+ *
+     *   {@code SA360 searchads360 = new SA360(...);}
+     *   {@code SA360.CustomInterests.List request = searchads360.customInterests().list(parameters ...)}
+     * 
+ * + * @return the resource collection + */ + public CustomInterests customInterests() { + return new CustomInterests(); + } + + /** + * The "customInterests" collection of methods. + */ + public class CustomInterests { + + /** + * Creates or updates custom interests. Operation statuses are returned. List of thrown errors: + * [AuthenticationError]() [AuthorizationError]() [CriterionError]() [CustomInterestError]() + * [HeaderError]() [InternalError]() [MutateError]() [PolicyViolationError]() [QuotaError]() + * [RequestError]() [StringLengthError]() + * + * Create a request for the method "customInterests.mutate". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + * + * @param customerId Required. The ID of the customer whose custom interests are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCustomInterestsRequest} + * @return the request + */ + public Mutate mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCustomInterestsRequest content) throws java.io.IOException { + Mutate result = new Mutate(customerId, content); + initialize(result); + return result; + } + + public class Mutate extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/customInterests:mutate"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Creates or updates custom interests. Operation statuses are returned. List of thrown errors: + * [AuthenticationError]() [AuthorizationError]() [CriterionError]() [CustomInterestError]() + * [HeaderError]() [InternalError]() [MutateError]() [PolicyViolationError]() [QuotaError]() + * [RequestError]() [StringLengthError]() + * + * Create a request for the method "customInterests.mutate". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + *

{@link + * Mutate#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer whose custom interests are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCustomInterestsRequest} + * @since 1.13 + */ + protected Mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCustomInterestsRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCustomInterestsResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public Mutate set$Xgafv(java.lang.String $Xgafv) { + return (Mutate) super.set$Xgafv($Xgafv); + } + + @Override + public Mutate setAccessToken(java.lang.String accessToken) { + return (Mutate) super.setAccessToken(accessToken); + } + + @Override + public Mutate setAlt(java.lang.String alt) { + return (Mutate) super.setAlt(alt); + } + + @Override + public Mutate setCallback(java.lang.String callback) { + return (Mutate) super.setCallback(callback); + } + + @Override + public Mutate setFields(java.lang.String fields) { + return (Mutate) super.setFields(fields); + } + + @Override + public Mutate setKey(java.lang.String key) { + return (Mutate) super.setKey(key); + } + + @Override + public Mutate setOauthToken(java.lang.String oauthToken) { + return (Mutate) super.setOauthToken(oauthToken); + } + + @Override + public Mutate setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Mutate) super.setPrettyPrint(prettyPrint); + } + + @Override + public Mutate setQuotaUser(java.lang.String quotaUser) { + return (Mutate) super.setQuotaUser(quotaUser); + } + + @Override + public Mutate setUploadType(java.lang.String uploadType) { + return (Mutate) super.setUploadType(uploadType); + } + + @Override + public Mutate setUploadProtocol(java.lang.String uploadProtocol) { + return (Mutate) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the customer whose custom interests are being modified. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer whose custom interests are being modified. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the customer whose custom interests are being modified. */ + public Mutate setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public Mutate set(String parameterName, Object value) { + return (Mutate) super.set(parameterName, value); + } + } + + } + /** + * An accessor for creating requests from the CustomerAssetSets collection. + * + *

The typical use is:

+ *
+     *   {@code SA360 searchads360 = new SA360(...);}
+     *   {@code SA360.CustomerAssetSets.List request = searchads360.customerAssetSets().list(parameters ...)}
+     * 
+ * + * @return the resource collection + */ + public CustomerAssetSets customerAssetSets() { + return new CustomerAssetSets(); + } + + /** + * The "customerAssetSets" collection of methods. + */ + public class CustomerAssetSets { + + /** + * Creates, or removes customer asset sets. Operation statuses are returned. + * + * Create a request for the method "customerAssetSets.mutate". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + * + * @param customerId Required. The ID of the customer whose customer asset sets are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCustomerAssetSetsRequest} + * @return the request + */ + public Mutate mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCustomerAssetSetsRequest content) throws java.io.IOException { + Mutate result = new Mutate(customerId, content); + initialize(result); + return result; + } + + public class Mutate extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/customerAssetSets:mutate"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Creates, or removes customer asset sets. Operation statuses are returned. + * + * Create a request for the method "customerAssetSets.mutate". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + *

{@link + * Mutate#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer whose customer asset sets are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCustomerAssetSetsRequest} + * @since 1.13 + */ + protected Mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCustomerAssetSetsRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCustomerAssetSetsResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public Mutate set$Xgafv(java.lang.String $Xgafv) { + return (Mutate) super.set$Xgafv($Xgafv); + } + + @Override + public Mutate setAccessToken(java.lang.String accessToken) { + return (Mutate) super.setAccessToken(accessToken); + } + + @Override + public Mutate setAlt(java.lang.String alt) { + return (Mutate) super.setAlt(alt); + } + + @Override + public Mutate setCallback(java.lang.String callback) { + return (Mutate) super.setCallback(callback); + } + + @Override + public Mutate setFields(java.lang.String fields) { + return (Mutate) super.setFields(fields); + } + + @Override + public Mutate setKey(java.lang.String key) { + return (Mutate) super.setKey(key); + } + + @Override + public Mutate setOauthToken(java.lang.String oauthToken) { + return (Mutate) super.setOauthToken(oauthToken); + } + + @Override + public Mutate setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Mutate) super.setPrettyPrint(prettyPrint); + } + + @Override + public Mutate setQuotaUser(java.lang.String quotaUser) { + return (Mutate) super.setQuotaUser(quotaUser); + } + + @Override + public Mutate setUploadType(java.lang.String uploadType) { + return (Mutate) super.setUploadType(uploadType); + } + + @Override + public Mutate setUploadProtocol(java.lang.String uploadProtocol) { + return (Mutate) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the customer whose customer asset sets are being modified. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer whose customer asset sets are being modified. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the customer whose customer asset sets are being modified. */ + public Mutate setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public Mutate set(String parameterName, Object value) { + return (Mutate) super.set(parameterName, value); + } + } + + } + /** + * An accessor for creating requests from the CustomerAssets collection. + * + *

The typical use is:

+ *
+     *   {@code SA360 searchads360 = new SA360(...);}
+     *   {@code SA360.CustomerAssets.List request = searchads360.customerAssets().list(parameters ...)}
+     * 
+ * + * @return the resource collection + */ + public CustomerAssets customerAssets() { + return new CustomerAssets(); + } + + /** + * The "customerAssets" collection of methods. + */ + public class CustomerAssets { + + /** + * Creates, updates, or removes customer assets. Operation statuses are returned. List of thrown + * errors: [AssetLinkError]() [AuthenticationError]() [AuthorizationError]() [FieldError]() + * [HeaderError]() [InternalError]() [MutateError]() [QuotaError]() [RequestError]() + * + * Create a request for the method "customerAssets.mutate". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + * + * @param customerId Required. The ID of the customer whose customer assets are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCustomerAssetsRequest} + * @return the request + */ + public Mutate mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCustomerAssetsRequest content) throws java.io.IOException { + Mutate result = new Mutate(customerId, content); + initialize(result); + return result; + } + + public class Mutate extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/customerAssets:mutate"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Creates, updates, or removes customer assets. Operation statuses are returned. List of thrown + * errors: [AssetLinkError]() [AuthenticationError]() [AuthorizationError]() [FieldError]() + * [HeaderError]() [InternalError]() [MutateError]() [QuotaError]() [RequestError]() + * + * Create a request for the method "customerAssets.mutate". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + *

{@link + * Mutate#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer whose customer assets are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCustomerAssetsRequest} + * @since 1.13 + */ + protected Mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCustomerAssetsRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCustomerAssetsResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public Mutate set$Xgafv(java.lang.String $Xgafv) { + return (Mutate) super.set$Xgafv($Xgafv); + } + + @Override + public Mutate setAccessToken(java.lang.String accessToken) { + return (Mutate) super.setAccessToken(accessToken); + } + + @Override + public Mutate setAlt(java.lang.String alt) { + return (Mutate) super.setAlt(alt); + } + + @Override + public Mutate setCallback(java.lang.String callback) { + return (Mutate) super.setCallback(callback); + } + + @Override + public Mutate setFields(java.lang.String fields) { + return (Mutate) super.setFields(fields); + } + + @Override + public Mutate setKey(java.lang.String key) { + return (Mutate) super.setKey(key); + } + + @Override + public Mutate setOauthToken(java.lang.String oauthToken) { + return (Mutate) super.setOauthToken(oauthToken); + } + + @Override + public Mutate setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Mutate) super.setPrettyPrint(prettyPrint); + } + + @Override + public Mutate setQuotaUser(java.lang.String quotaUser) { + return (Mutate) super.setQuotaUser(quotaUser); + } + + @Override + public Mutate setUploadType(java.lang.String uploadType) { + return (Mutate) super.setUploadType(uploadType); + } + + @Override + public Mutate setUploadProtocol(java.lang.String uploadProtocol) { + return (Mutate) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the customer whose customer assets are being modified. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer whose customer assets are being modified. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the customer whose customer assets are being modified. */ + public Mutate setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public Mutate set(String parameterName, Object value) { + return (Mutate) super.set(parameterName, value); + } + } + + } + /** + * An accessor for creating requests from the CustomerClientLinks collection. + * + *

The typical use is:

+ *
+     *   {@code SA360 searchads360 = new SA360(...);}
+     *   {@code SA360.CustomerClientLinks.List request = searchads360.customerClientLinks().list(parameters ...)}
+     * 
+ * + * @return the resource collection + */ + public CustomerClientLinks customerClientLinks() { + return new CustomerClientLinks(); + } + + /** + * The "customerClientLinks" collection of methods. + */ + public class CustomerClientLinks { + + /** + * Creates or updates a customer client link. Operation statuses are returned. List of thrown + * errors: [AuthenticationError]() [AuthorizationError]() [DatabaseError]() [FieldError]() + * [FieldMaskError]() [HeaderError]() [InternalError]() [ManagerLinkError]() [MutateError]() + * [NewResourceCreationError]() [QuotaError]() [RequestError]() + * + * Create a request for the method "customerClientLinks.mutate". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + * + * @param customerId Required. The ID of the customer whose customer link are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCustomerClientLinkRequest} + * @return the request + */ + public Mutate mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCustomerClientLinkRequest content) throws java.io.IOException { + Mutate result = new Mutate(customerId, content); + initialize(result); + return result; + } + + public class Mutate extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/customerClientLinks:mutate"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Creates or updates a customer client link. Operation statuses are returned. List of thrown + * errors: [AuthenticationError]() [AuthorizationError]() [DatabaseError]() [FieldError]() + * [FieldMaskError]() [HeaderError]() [InternalError]() [ManagerLinkError]() [MutateError]() + * [NewResourceCreationError]() [QuotaError]() [RequestError]() + * + * Create a request for the method "customerClientLinks.mutate". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + *

{@link + * Mutate#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer whose customer link are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCustomerClientLinkRequest} + * @since 1.13 + */ + protected Mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCustomerClientLinkRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCustomerClientLinkResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public Mutate set$Xgafv(java.lang.String $Xgafv) { + return (Mutate) super.set$Xgafv($Xgafv); + } + + @Override + public Mutate setAccessToken(java.lang.String accessToken) { + return (Mutate) super.setAccessToken(accessToken); + } + + @Override + public Mutate setAlt(java.lang.String alt) { + return (Mutate) super.setAlt(alt); + } + + @Override + public Mutate setCallback(java.lang.String callback) { + return (Mutate) super.setCallback(callback); + } + + @Override + public Mutate setFields(java.lang.String fields) { + return (Mutate) super.setFields(fields); + } + + @Override + public Mutate setKey(java.lang.String key) { + return (Mutate) super.setKey(key); + } + + @Override + public Mutate setOauthToken(java.lang.String oauthToken) { + return (Mutate) super.setOauthToken(oauthToken); + } + + @Override + public Mutate setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Mutate) super.setPrettyPrint(prettyPrint); + } + + @Override + public Mutate setQuotaUser(java.lang.String quotaUser) { + return (Mutate) super.setQuotaUser(quotaUser); + } + + @Override + public Mutate setUploadType(java.lang.String uploadType) { + return (Mutate) super.setUploadType(uploadType); + } + + @Override + public Mutate setUploadProtocol(java.lang.String uploadProtocol) { + return (Mutate) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the customer whose customer link are being modified. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer whose customer link are being modified. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the customer whose customer link are being modified. */ + public Mutate setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public Mutate set(String parameterName, Object value) { + return (Mutate) super.set(parameterName, value); + } + } + + } + /** + * An accessor for creating requests from the CustomerConversionGoals collection. + * + *

The typical use is:

+ *
+     *   {@code SA360 searchads360 = new SA360(...);}
+     *   {@code SA360.CustomerConversionGoals.List request = searchads360.customerConversionGoals().list(parameters ...)}
+     * 
+ * + * @return the resource collection + */ + public CustomerConversionGoals customerConversionGoals() { + return new CustomerConversionGoals(); + } + + /** + * The "customerConversionGoals" collection of methods. + */ + public class CustomerConversionGoals { + + /** + * Creates, updates or removes customer conversion goals. Operation statuses are returned. + * + * Create a request for the method "customerConversionGoals.mutate". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + * + * @param customerId Required. The ID of the customer whose customer conversion goals are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCustomerConversionGoalsRequest} + * @return the request + */ + public Mutate mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCustomerConversionGoalsRequest content) throws java.io.IOException { + Mutate result = new Mutate(customerId, content); + initialize(result); + return result; + } + + public class Mutate extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/customerConversionGoals:mutate"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Creates, updates or removes customer conversion goals. Operation statuses are returned. + * + * Create a request for the method "customerConversionGoals.mutate". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + *

{@link + * Mutate#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer whose customer conversion goals are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCustomerConversionGoalsRequest} + * @since 1.13 + */ + protected Mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCustomerConversionGoalsRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCustomerConversionGoalsResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public Mutate set$Xgafv(java.lang.String $Xgafv) { + return (Mutate) super.set$Xgafv($Xgafv); + } + + @Override + public Mutate setAccessToken(java.lang.String accessToken) { + return (Mutate) super.setAccessToken(accessToken); + } + + @Override + public Mutate setAlt(java.lang.String alt) { + return (Mutate) super.setAlt(alt); + } + + @Override + public Mutate setCallback(java.lang.String callback) { + return (Mutate) super.setCallback(callback); + } + + @Override + public Mutate setFields(java.lang.String fields) { + return (Mutate) super.setFields(fields); + } + + @Override + public Mutate setKey(java.lang.String key) { + return (Mutate) super.setKey(key); + } + + @Override + public Mutate setOauthToken(java.lang.String oauthToken) { + return (Mutate) super.setOauthToken(oauthToken); + } + + @Override + public Mutate setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Mutate) super.setPrettyPrint(prettyPrint); + } + + @Override + public Mutate setQuotaUser(java.lang.String quotaUser) { + return (Mutate) super.setQuotaUser(quotaUser); + } + + @Override + public Mutate setUploadType(java.lang.String uploadType) { + return (Mutate) super.setUploadType(uploadType); + } + + @Override + public Mutate setUploadProtocol(java.lang.String uploadProtocol) { + return (Mutate) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the customer whose customer conversion goals are being modified. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer whose customer conversion goals are being modified. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the customer whose customer conversion goals are being modified. */ + public Mutate setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public Mutate set(String parameterName, Object value) { + return (Mutate) super.set(parameterName, value); + } + } + + } + /** + * An accessor for creating requests from the CustomerLabels collection. + * + *

The typical use is:

+ *
+     *   {@code SA360 searchads360 = new SA360(...);}
+     *   {@code SA360.CustomerLabels.List request = searchads360.customerLabels().list(parameters ...)}
+     * 
+ * + * @return the resource collection + */ + public CustomerLabels customerLabels() { + return new CustomerLabels(); + } + + /** + * The "customerLabels" collection of methods. + */ + public class CustomerLabels { + + /** + * Creates and removes customer-label relationships. Operation statuses are returned. List of thrown + * errors: [AuthenticationError]() [AuthorizationError]() [DatabaseError]() [HeaderError]() + * [InternalError]() [LabelError]() [MutateError]() [QuotaError]() [RequestError]() + * + * Create a request for the method "customerLabels.mutate". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + * + * @param customerId Required. ID of the customer whose customer-label relationships are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCustomerLabelsRequest} + * @return the request + */ + public Mutate mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCustomerLabelsRequest content) throws java.io.IOException { + Mutate result = new Mutate(customerId, content); + initialize(result); + return result; + } + + public class Mutate extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/customerLabels:mutate"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Creates and removes customer-label relationships. Operation statuses are returned. List of + * thrown errors: [AuthenticationError]() [AuthorizationError]() [DatabaseError]() [HeaderError]() + * [InternalError]() [LabelError]() [MutateError]() [QuotaError]() [RequestError]() + * + * Create a request for the method "customerLabels.mutate". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + *

{@link + * Mutate#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param customerId Required. ID of the customer whose customer-label relationships are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCustomerLabelsRequest} + * @since 1.13 + */ + protected Mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCustomerLabelsRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCustomerLabelsResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public Mutate set$Xgafv(java.lang.String $Xgafv) { + return (Mutate) super.set$Xgafv($Xgafv); + } + + @Override + public Mutate setAccessToken(java.lang.String accessToken) { + return (Mutate) super.setAccessToken(accessToken); + } + + @Override + public Mutate setAlt(java.lang.String alt) { + return (Mutate) super.setAlt(alt); + } + + @Override + public Mutate setCallback(java.lang.String callback) { + return (Mutate) super.setCallback(callback); + } + + @Override + public Mutate setFields(java.lang.String fields) { + return (Mutate) super.setFields(fields); + } + + @Override + public Mutate setKey(java.lang.String key) { + return (Mutate) super.setKey(key); + } + + @Override + public Mutate setOauthToken(java.lang.String oauthToken) { + return (Mutate) super.setOauthToken(oauthToken); + } + + @Override + public Mutate setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Mutate) super.setPrettyPrint(prettyPrint); + } + + @Override + public Mutate setQuotaUser(java.lang.String quotaUser) { + return (Mutate) super.setQuotaUser(quotaUser); + } + + @Override + public Mutate setUploadType(java.lang.String uploadType) { + return (Mutate) super.setUploadType(uploadType); + } + + @Override + public Mutate setUploadProtocol(java.lang.String uploadProtocol) { + return (Mutate) super.setUploadProtocol(uploadProtocol); + } + + /** Required. ID of the customer whose customer-label relationships are being modified. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. ID of the customer whose customer-label relationships are being modified. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. ID of the customer whose customer-label relationships are being modified. */ + public Mutate setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public Mutate set(String parameterName, Object value) { + return (Mutate) super.set(parameterName, value); + } + } + + } + /** + * An accessor for creating requests from the CustomerLifecycleGoal collection. + * + *

The typical use is:

+ *
+     *   {@code SA360 searchads360 = new SA360(...);}
+     *   {@code SA360.CustomerLifecycleGoal.List request = searchads360.customerLifecycleGoal().list(parameters ...)}
+     * 
+ * + * @return the resource collection + */ + public CustomerLifecycleGoal customerLifecycleGoal() { + return new CustomerLifecycleGoal(); + } + + /** + * The "customerLifecycleGoal" collection of methods. + */ + public class CustomerLifecycleGoal { + + /** + * Process the given customer lifecycle configurations. List of thrown errors: + * [AuthenticationError]() [AuthorizationError]() [CustomerLifecycleGoalConfigError]() + * [HeaderError]() [InternalError]() [QuotaError]() [RequestError]() + * + * Create a request for the method "customerLifecycleGoal.configureCustomerLifecycleGoals". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link ConfigureCustomerLifecycleGoals#execute()} method to invoke the + * remote operation. + * + * @param customerId Required. The ID of the customer performing the upload. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesConfigureCustomerLifecycleGoalsRequest} + * @return the request + */ + public ConfigureCustomerLifecycleGoals configureCustomerLifecycleGoals(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesConfigureCustomerLifecycleGoalsRequest content) throws java.io.IOException { + ConfigureCustomerLifecycleGoals result = new ConfigureCustomerLifecycleGoals(customerId, content); + initialize(result); + return result; + } + + public class ConfigureCustomerLifecycleGoals extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/customerLifecycleGoal:configureCustomerLifecycleGoals"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Process the given customer lifecycle configurations. List of thrown errors: + * [AuthenticationError]() [AuthorizationError]() [CustomerLifecycleGoalConfigError]() + * [HeaderError]() [InternalError]() [QuotaError]() [RequestError]() + * + * Create a request for the method "customerLifecycleGoal.configureCustomerLifecycleGoals". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link ConfigureCustomerLifecycleGoals#execute()} method to + * invoke the remote operation.

{@link ConfigureCustomerLifecycleGoals#initialize(com.google.a + * pi.client.googleapis.services.AbstractGoogleClientRequest)} must be called to initialize this + * instance immediately after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer performing the upload. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesConfigureCustomerLifecycleGoalsRequest} + * @since 1.13 + */ + protected ConfigureCustomerLifecycleGoals(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesConfigureCustomerLifecycleGoalsRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesConfigureCustomerLifecycleGoalsResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public ConfigureCustomerLifecycleGoals set$Xgafv(java.lang.String $Xgafv) { + return (ConfigureCustomerLifecycleGoals) super.set$Xgafv($Xgafv); + } + + @Override + public ConfigureCustomerLifecycleGoals setAccessToken(java.lang.String accessToken) { + return (ConfigureCustomerLifecycleGoals) super.setAccessToken(accessToken); + } + + @Override + public ConfigureCustomerLifecycleGoals setAlt(java.lang.String alt) { + return (ConfigureCustomerLifecycleGoals) super.setAlt(alt); + } + + @Override + public ConfigureCustomerLifecycleGoals setCallback(java.lang.String callback) { + return (ConfigureCustomerLifecycleGoals) super.setCallback(callback); + } + + @Override + public ConfigureCustomerLifecycleGoals setFields(java.lang.String fields) { + return (ConfigureCustomerLifecycleGoals) super.setFields(fields); + } + + @Override + public ConfigureCustomerLifecycleGoals setKey(java.lang.String key) { + return (ConfigureCustomerLifecycleGoals) super.setKey(key); + } + + @Override + public ConfigureCustomerLifecycleGoals setOauthToken(java.lang.String oauthToken) { + return (ConfigureCustomerLifecycleGoals) super.setOauthToken(oauthToken); + } + + @Override + public ConfigureCustomerLifecycleGoals setPrettyPrint(java.lang.Boolean prettyPrint) { + return (ConfigureCustomerLifecycleGoals) super.setPrettyPrint(prettyPrint); + } + + @Override + public ConfigureCustomerLifecycleGoals setQuotaUser(java.lang.String quotaUser) { + return (ConfigureCustomerLifecycleGoals) super.setQuotaUser(quotaUser); + } + + @Override + public ConfigureCustomerLifecycleGoals setUploadType(java.lang.String uploadType) { + return (ConfigureCustomerLifecycleGoals) super.setUploadType(uploadType); + } + + @Override + public ConfigureCustomerLifecycleGoals setUploadProtocol(java.lang.String uploadProtocol) { + return (ConfigureCustomerLifecycleGoals) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the customer performing the upload. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer performing the upload. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the customer performing the upload. */ + public ConfigureCustomerLifecycleGoals setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public ConfigureCustomerLifecycleGoals set(String parameterName, Object value) { + return (ConfigureCustomerLifecycleGoals) super.set(parameterName, value); + } + } + + } + /** + * An accessor for creating requests from the CustomerManagerLinks collection. + * + *

The typical use is:

+ *
+     *   {@code SA360 searchads360 = new SA360(...);}
+     *   {@code SA360.CustomerManagerLinks.List request = searchads360.customerManagerLinks().list(parameters ...)}
+     * 
+ * + * @return the resource collection + */ + public CustomerManagerLinks customerManagerLinks() { + return new CustomerManagerLinks(); + } + + /** + * The "customerManagerLinks" collection of methods. + */ + public class CustomerManagerLinks { + + /** + * Moves a client customer to a new manager customer. This simplifies the complex request that + * requires two operations to move a client customer to a new manager, for example: 1. Update + * operation with Status INACTIVE (previous manager) and, 2. Update operation with Status ACTIVE + * (new manager). List of thrown errors: [AuthenticationError]() [AuthorizationError]() + * [DatabaseError]() [FieldError]() [HeaderError]() [InternalError]() [MutateError]() [QuotaError]() + * [RequestError]() + * + * Create a request for the method "customerManagerLinks.moveManagerLink". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link MoveManagerLink#execute()} method to invoke the remote operation. + * + * @param customerId Required. The ID of the client customer that is being moved. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMoveManagerLinkRequest} + * @return the request + */ + public MoveManagerLink moveManagerLink(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMoveManagerLinkRequest content) throws java.io.IOException { + MoveManagerLink result = new MoveManagerLink(customerId, content); + initialize(result); + return result; + } + + public class MoveManagerLink extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/customerManagerLinks:moveManagerLink"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Moves a client customer to a new manager customer. This simplifies the complex request that + * requires two operations to move a client customer to a new manager, for example: 1. Update + * operation with Status INACTIVE (previous manager) and, 2. Update operation with Status ACTIVE + * (new manager). List of thrown errors: [AuthenticationError]() [AuthorizationError]() + * [DatabaseError]() [FieldError]() [HeaderError]() [InternalError]() [MutateError]() + * [QuotaError]() [RequestError]() + * + * Create a request for the method "customerManagerLinks.moveManagerLink". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link MoveManagerLink#execute()} method to invoke the remote + * operation.

{@link MoveManagerLink#initialize(com.google.api.client.googleapis.services.Abst + * ractGoogleClientRequest)} must be called to initialize this instance immediately after invoking + * the constructor.

+ * + * @param customerId Required. The ID of the client customer that is being moved. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMoveManagerLinkRequest} + * @since 1.13 + */ + protected MoveManagerLink(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMoveManagerLinkRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMoveManagerLinkResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public MoveManagerLink set$Xgafv(java.lang.String $Xgafv) { + return (MoveManagerLink) super.set$Xgafv($Xgafv); + } + + @Override + public MoveManagerLink setAccessToken(java.lang.String accessToken) { + return (MoveManagerLink) super.setAccessToken(accessToken); + } + + @Override + public MoveManagerLink setAlt(java.lang.String alt) { + return (MoveManagerLink) super.setAlt(alt); + } + + @Override + public MoveManagerLink setCallback(java.lang.String callback) { + return (MoveManagerLink) super.setCallback(callback); + } + + @Override + public MoveManagerLink setFields(java.lang.String fields) { + return (MoveManagerLink) super.setFields(fields); + } + + @Override + public MoveManagerLink setKey(java.lang.String key) { + return (MoveManagerLink) super.setKey(key); + } + + @Override + public MoveManagerLink setOauthToken(java.lang.String oauthToken) { + return (MoveManagerLink) super.setOauthToken(oauthToken); + } + + @Override + public MoveManagerLink setPrettyPrint(java.lang.Boolean prettyPrint) { + return (MoveManagerLink) super.setPrettyPrint(prettyPrint); + } + + @Override + public MoveManagerLink setQuotaUser(java.lang.String quotaUser) { + return (MoveManagerLink) super.setQuotaUser(quotaUser); + } + + @Override + public MoveManagerLink setUploadType(java.lang.String uploadType) { + return (MoveManagerLink) super.setUploadType(uploadType); + } + + @Override + public MoveManagerLink setUploadProtocol(java.lang.String uploadProtocol) { + return (MoveManagerLink) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the client customer that is being moved. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the client customer that is being moved. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the client customer that is being moved. */ + public MoveManagerLink setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public MoveManagerLink set(String parameterName, Object value) { + return (MoveManagerLink) super.set(parameterName, value); + } + } + /** + * Updates customer manager links. Operation statuses are returned. List of thrown errors: + * [AuthenticationError]() [AuthorizationError]() [DatabaseError]() [FieldError]() + * [FieldMaskError]() [HeaderError]() [InternalError]() [ManagerLinkError]() [MutateError]() + * [QuotaError]() [RequestError]() + * + * Create a request for the method "customerManagerLinks.mutate". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + * + * @param customerId Required. The ID of the customer whose customer manager links are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCustomerManagerLinkRequest} + * @return the request + */ + public Mutate mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCustomerManagerLinkRequest content) throws java.io.IOException { + Mutate result = new Mutate(customerId, content); + initialize(result); + return result; + } + + public class Mutate extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/customerManagerLinks:mutate"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Updates customer manager links. Operation statuses are returned. List of thrown errors: + * [AuthenticationError]() [AuthorizationError]() [DatabaseError]() [FieldError]() + * [FieldMaskError]() [HeaderError]() [InternalError]() [ManagerLinkError]() [MutateError]() + * [QuotaError]() [RequestError]() + * + * Create a request for the method "customerManagerLinks.mutate". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + *

{@link + * Mutate#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer whose customer manager links are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCustomerManagerLinkRequest} + * @since 1.13 + */ + protected Mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCustomerManagerLinkRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCustomerManagerLinkResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public Mutate set$Xgafv(java.lang.String $Xgafv) { + return (Mutate) super.set$Xgafv($Xgafv); + } + + @Override + public Mutate setAccessToken(java.lang.String accessToken) { + return (Mutate) super.setAccessToken(accessToken); + } + + @Override + public Mutate setAlt(java.lang.String alt) { + return (Mutate) super.setAlt(alt); + } + + @Override + public Mutate setCallback(java.lang.String callback) { + return (Mutate) super.setCallback(callback); + } + + @Override + public Mutate setFields(java.lang.String fields) { + return (Mutate) super.setFields(fields); + } + + @Override + public Mutate setKey(java.lang.String key) { + return (Mutate) super.setKey(key); + } + + @Override + public Mutate setOauthToken(java.lang.String oauthToken) { + return (Mutate) super.setOauthToken(oauthToken); + } + + @Override + public Mutate setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Mutate) super.setPrettyPrint(prettyPrint); + } + + @Override + public Mutate setQuotaUser(java.lang.String quotaUser) { + return (Mutate) super.setQuotaUser(quotaUser); + } + + @Override + public Mutate setUploadType(java.lang.String uploadType) { + return (Mutate) super.setUploadType(uploadType); + } + + @Override + public Mutate setUploadProtocol(java.lang.String uploadProtocol) { + return (Mutate) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the customer whose customer manager links are being modified. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer whose customer manager links are being modified. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the customer whose customer manager links are being modified. */ + public Mutate setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public Mutate set(String parameterName, Object value) { + return (Mutate) super.set(parameterName, value); + } + } + + } + /** + * An accessor for creating requests from the CustomerNegativeCriteria collection. + * + *

The typical use is:

+ *
+     *   {@code SA360 searchads360 = new SA360(...);}
+     *   {@code SA360.CustomerNegativeCriteria.List request = searchads360.customerNegativeCriteria().list(parameters ...)}
+     * 
+ * + * @return the resource collection + */ + public CustomerNegativeCriteria customerNegativeCriteria() { + return new CustomerNegativeCriteria(); + } + + /** + * The "customerNegativeCriteria" collection of methods. + */ + public class CustomerNegativeCriteria { + + /** + * Creates or removes criteria. Operation statuses are returned. List of thrown errors: + * [AuthenticationError]() [AuthorizationError]() [CriterionError]() [DatabaseError]() + * [FieldError]() [HeaderError]() [InternalError]() [MutateError]() [QuotaError]() [RequestError]() + * + * Create a request for the method "customerNegativeCriteria.mutate". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + * + * @param customerId Required. The ID of the customer whose criteria are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCustomerNegativeCriteriaRequest} + * @return the request + */ + public Mutate mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCustomerNegativeCriteriaRequest content) throws java.io.IOException { + Mutate result = new Mutate(customerId, content); + initialize(result); + return result; + } + + public class Mutate extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/customerNegativeCriteria:mutate"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Creates or removes criteria. Operation statuses are returned. List of thrown errors: + * [AuthenticationError]() [AuthorizationError]() [CriterionError]() [DatabaseError]() + * [FieldError]() [HeaderError]() [InternalError]() [MutateError]() [QuotaError]() + * [RequestError]() + * + * Create a request for the method "customerNegativeCriteria.mutate". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + *

{@link + * Mutate#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer whose criteria are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCustomerNegativeCriteriaRequest} + * @since 1.13 + */ + protected Mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCustomerNegativeCriteriaRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCustomerNegativeCriteriaResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public Mutate set$Xgafv(java.lang.String $Xgafv) { + return (Mutate) super.set$Xgafv($Xgafv); + } + + @Override + public Mutate setAccessToken(java.lang.String accessToken) { + return (Mutate) super.setAccessToken(accessToken); + } + + @Override + public Mutate setAlt(java.lang.String alt) { + return (Mutate) super.setAlt(alt); + } + + @Override + public Mutate setCallback(java.lang.String callback) { + return (Mutate) super.setCallback(callback); + } + + @Override + public Mutate setFields(java.lang.String fields) { + return (Mutate) super.setFields(fields); + } + + @Override + public Mutate setKey(java.lang.String key) { + return (Mutate) super.setKey(key); + } + + @Override + public Mutate setOauthToken(java.lang.String oauthToken) { + return (Mutate) super.setOauthToken(oauthToken); + } + + @Override + public Mutate setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Mutate) super.setPrettyPrint(prettyPrint); + } + + @Override + public Mutate setQuotaUser(java.lang.String quotaUser) { + return (Mutate) super.setQuotaUser(quotaUser); + } + + @Override + public Mutate setUploadType(java.lang.String uploadType) { + return (Mutate) super.setUploadType(uploadType); + } + + @Override + public Mutate setUploadProtocol(java.lang.String uploadProtocol) { + return (Mutate) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the customer whose criteria are being modified. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer whose criteria are being modified. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the customer whose criteria are being modified. */ + public Mutate setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public Mutate set(String parameterName, Object value) { + return (Mutate) super.set(parameterName, value); + } + } + + } + /** + * An accessor for creating requests from the CustomerSkAdNetworkConversionValueSchemas collection. + * + *

The typical use is:

+ *
+     *   {@code SA360 searchads360 = new SA360(...);}
+     *   {@code SA360.CustomerSkAdNetworkConversionValueSchemas.List request = searchads360.customerSkAdNetworkConversionValueSchemas().list(parameters ...)}
+     * 
+ * + * @return the resource collection + */ + public CustomerSkAdNetworkConversionValueSchemas customerSkAdNetworkConversionValueSchemas() { + return new CustomerSkAdNetworkConversionValueSchemas(); + } + + /** + * The "customerSkAdNetworkConversionValueSchemas" collection of methods. + */ + public class CustomerSkAdNetworkConversionValueSchemas { + + /** + * Creates or updates the CustomerSkAdNetworkConversionValueSchema. List of thrown errors: + * [AuthenticationError]() [AuthorizationError]() [FieldError]() [InternalError]() [MutateError]() + * + * Create a request for the method "customerSkAdNetworkConversionValueSchemas.mutate". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + * + * @param customerId The ID of the customer whose shared sets are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCustomerSkAdNetworkConversionValueSchemaRequest} + * @return the request + */ + public Mutate mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCustomerSkAdNetworkConversionValueSchemaRequest content) throws java.io.IOException { + Mutate result = new Mutate(customerId, content); + initialize(result); + return result; + } + + public class Mutate extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/customerSkAdNetworkConversionValueSchemas:mutate"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Creates or updates the CustomerSkAdNetworkConversionValueSchema. List of thrown errors: + * [AuthenticationError]() [AuthorizationError]() [FieldError]() [InternalError]() [MutateError]() + * + * Create a request for the method "customerSkAdNetworkConversionValueSchemas.mutate". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + *

{@link + * Mutate#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param customerId The ID of the customer whose shared sets are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCustomerSkAdNetworkConversionValueSchemaRequest} + * @since 1.13 + */ + protected Mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCustomerSkAdNetworkConversionValueSchemaRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCustomerSkAdNetworkConversionValueSchemaResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public Mutate set$Xgafv(java.lang.String $Xgafv) { + return (Mutate) super.set$Xgafv($Xgafv); + } + + @Override + public Mutate setAccessToken(java.lang.String accessToken) { + return (Mutate) super.setAccessToken(accessToken); + } + + @Override + public Mutate setAlt(java.lang.String alt) { + return (Mutate) super.setAlt(alt); + } + + @Override + public Mutate setCallback(java.lang.String callback) { + return (Mutate) super.setCallback(callback); + } + + @Override + public Mutate setFields(java.lang.String fields) { + return (Mutate) super.setFields(fields); + } + + @Override + public Mutate setKey(java.lang.String key) { + return (Mutate) super.setKey(key); + } + + @Override + public Mutate setOauthToken(java.lang.String oauthToken) { + return (Mutate) super.setOauthToken(oauthToken); + } + + @Override + public Mutate setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Mutate) super.setPrettyPrint(prettyPrint); + } + + @Override + public Mutate setQuotaUser(java.lang.String quotaUser) { + return (Mutate) super.setQuotaUser(quotaUser); + } + + @Override + public Mutate setUploadType(java.lang.String uploadType) { + return (Mutate) super.setUploadType(uploadType); + } + + @Override + public Mutate setUploadProtocol(java.lang.String uploadProtocol) { + return (Mutate) super.setUploadProtocol(uploadProtocol); + } + + /** The ID of the customer whose shared sets are being modified. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** The ID of the customer whose shared sets are being modified. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** The ID of the customer whose shared sets are being modified. */ + public Mutate setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public Mutate set(String parameterName, Object value) { + return (Mutate) super.set(parameterName, value); + } + } + + } + /** + * An accessor for creating requests from the CustomerUserAccessInvitations collection. + * + *

The typical use is:

+ *
+     *   {@code SA360 searchads360 = new SA360(...);}
+     *   {@code SA360.CustomerUserAccessInvitations.List request = searchads360.customerUserAccessInvitations().list(parameters ...)}
+     * 
+ * + * @return the resource collection + */ + public CustomerUserAccessInvitations customerUserAccessInvitations() { + return new CustomerUserAccessInvitations(); + } + + /** + * The "customerUserAccessInvitations" collection of methods. + */ + public class CustomerUserAccessInvitations { + + /** + * Creates or removes an access invitation. List of thrown errors: [AccessInvitationError]() + * [AuthenticationError]() [AuthorizationError]() [HeaderError]() [InternalError]() [QuotaError]() + * [RequestError]() + * + * Create a request for the method "customerUserAccessInvitations.mutate". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + * + * @param customerId Required. The ID of the customer whose access invitation is being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCustomerUserAccessInvitationRequest} + * @return the request + */ + public Mutate mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCustomerUserAccessInvitationRequest content) throws java.io.IOException { + Mutate result = new Mutate(customerId, content); + initialize(result); + return result; + } + + public class Mutate extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/customerUserAccessInvitations:mutate"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Creates or removes an access invitation. List of thrown errors: [AccessInvitationError]() + * [AuthenticationError]() [AuthorizationError]() [HeaderError]() [InternalError]() [QuotaError]() + * [RequestError]() + * + * Create a request for the method "customerUserAccessInvitations.mutate". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + *

{@link + * Mutate#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer whose access invitation is being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCustomerUserAccessInvitationRequest} + * @since 1.13 + */ + protected Mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCustomerUserAccessInvitationRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCustomerUserAccessInvitationResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public Mutate set$Xgafv(java.lang.String $Xgafv) { + return (Mutate) super.set$Xgafv($Xgafv); + } + + @Override + public Mutate setAccessToken(java.lang.String accessToken) { + return (Mutate) super.setAccessToken(accessToken); + } + + @Override + public Mutate setAlt(java.lang.String alt) { + return (Mutate) super.setAlt(alt); + } + + @Override + public Mutate setCallback(java.lang.String callback) { + return (Mutate) super.setCallback(callback); + } + + @Override + public Mutate setFields(java.lang.String fields) { + return (Mutate) super.setFields(fields); + } + + @Override + public Mutate setKey(java.lang.String key) { + return (Mutate) super.setKey(key); + } + + @Override + public Mutate setOauthToken(java.lang.String oauthToken) { + return (Mutate) super.setOauthToken(oauthToken); + } + + @Override + public Mutate setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Mutate) super.setPrettyPrint(prettyPrint); + } + + @Override + public Mutate setQuotaUser(java.lang.String quotaUser) { + return (Mutate) super.setQuotaUser(quotaUser); + } + + @Override + public Mutate setUploadType(java.lang.String uploadType) { + return (Mutate) super.setUploadType(uploadType); + } + + @Override + public Mutate setUploadProtocol(java.lang.String uploadProtocol) { + return (Mutate) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the customer whose access invitation is being modified. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer whose access invitation is being modified. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the customer whose access invitation is being modified. */ + public Mutate setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public Mutate set(String parameterName, Object value) { + return (Mutate) super.set(parameterName, value); + } + } + + } + /** + * An accessor for creating requests from the CustomerUserAccesses collection. + * + *

The typical use is:

+ *
+     *   {@code SA360 searchads360 = new SA360(...);}
+     *   {@code SA360.CustomerUserAccesses.List request = searchads360.customerUserAccesses().list(parameters ...)}
+     * 
+ * + * @return the resource collection + */ + public CustomerUserAccesses customerUserAccesses() { + return new CustomerUserAccesses(); + } + + /** + * The "customerUserAccesses" collection of methods. + */ + public class CustomerUserAccesses { + + /** + * Updates, removes permission of a user on a given customer. Operation statuses are returned. List + * of thrown errors: [AuthenticationError]() [AuthorizationError]() [CustomerUserAccessError]() + * [FieldMaskError]() [HeaderError]() [InternalError]() [MutateError]() [QuotaError]() + * [RequestError]() + * + * Create a request for the method "customerUserAccesses.mutate". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + * + * @param customerId Required. The ID of the customer being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCustomerUserAccessRequest} + * @return the request + */ + public Mutate mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCustomerUserAccessRequest content) throws java.io.IOException { + Mutate result = new Mutate(customerId, content); + initialize(result); + return result; + } + + public class Mutate extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/customerUserAccesses:mutate"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Updates, removes permission of a user on a given customer. Operation statuses are returned. + * List of thrown errors: [AuthenticationError]() [AuthorizationError]() + * [CustomerUserAccessError]() [FieldMaskError]() [HeaderError]() [InternalError]() + * [MutateError]() [QuotaError]() [RequestError]() + * + * Create a request for the method "customerUserAccesses.mutate". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + *

{@link + * Mutate#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCustomerUserAccessRequest} + * @since 1.13 + */ + protected Mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCustomerUserAccessRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCustomerUserAccessResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public Mutate set$Xgafv(java.lang.String $Xgafv) { + return (Mutate) super.set$Xgafv($Xgafv); + } + + @Override + public Mutate setAccessToken(java.lang.String accessToken) { + return (Mutate) super.setAccessToken(accessToken); + } + + @Override + public Mutate setAlt(java.lang.String alt) { + return (Mutate) super.setAlt(alt); + } + + @Override + public Mutate setCallback(java.lang.String callback) { + return (Mutate) super.setCallback(callback); + } + + @Override + public Mutate setFields(java.lang.String fields) { + return (Mutate) super.setFields(fields); + } + + @Override + public Mutate setKey(java.lang.String key) { + return (Mutate) super.setKey(key); + } + + @Override + public Mutate setOauthToken(java.lang.String oauthToken) { + return (Mutate) super.setOauthToken(oauthToken); + } + + @Override + public Mutate setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Mutate) super.setPrettyPrint(prettyPrint); + } + + @Override + public Mutate setQuotaUser(java.lang.String quotaUser) { + return (Mutate) super.setQuotaUser(quotaUser); + } + + @Override + public Mutate setUploadType(java.lang.String uploadType) { + return (Mutate) super.setUploadType(uploadType); + } + + @Override + public Mutate setUploadProtocol(java.lang.String uploadProtocol) { + return (Mutate) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the customer being modified. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer being modified. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the customer being modified. */ + public Mutate setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public Mutate set(String parameterName, Object value) { + return (Mutate) super.set(parameterName, value); + } + } + + } + /** + * An accessor for creating requests from the CustomizerAttributes collection. + * + *

The typical use is:

+ *
+     *   {@code SA360 searchads360 = new SA360(...);}
+     *   {@code SA360.CustomizerAttributes.List request = searchads360.customizerAttributes().list(parameters ...)}
+     * 
+ * + * @return the resource collection + */ + public CustomizerAttributes customizerAttributes() { + return new CustomizerAttributes(); + } + + /** + * The "customizerAttributes" collection of methods. + */ + public class CustomizerAttributes { + + /** + * Creates, updates or removes customizer attributes. Operation statuses are returned. + * + * Create a request for the method "customizerAttributes.mutate". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + * + * @param customerId Required. The ID of the customer whose customizer attributes are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCustomizerAttributesRequest} + * @return the request + */ + public Mutate mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCustomizerAttributesRequest content) throws java.io.IOException { + Mutate result = new Mutate(customerId, content); + initialize(result); + return result; + } + + public class Mutate extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/customizerAttributes:mutate"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Creates, updates or removes customizer attributes. Operation statuses are returned. + * + * Create a request for the method "customizerAttributes.mutate". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + *

{@link + * Mutate#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer whose customizer attributes are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCustomizerAttributesRequest} + * @since 1.13 + */ + protected Mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCustomizerAttributesRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateCustomizerAttributesResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public Mutate set$Xgafv(java.lang.String $Xgafv) { + return (Mutate) super.set$Xgafv($Xgafv); + } + + @Override + public Mutate setAccessToken(java.lang.String accessToken) { + return (Mutate) super.setAccessToken(accessToken); + } + + @Override + public Mutate setAlt(java.lang.String alt) { + return (Mutate) super.setAlt(alt); + } + + @Override + public Mutate setCallback(java.lang.String callback) { + return (Mutate) super.setCallback(callback); + } + + @Override + public Mutate setFields(java.lang.String fields) { + return (Mutate) super.setFields(fields); + } + + @Override + public Mutate setKey(java.lang.String key) { + return (Mutate) super.setKey(key); + } + + @Override + public Mutate setOauthToken(java.lang.String oauthToken) { + return (Mutate) super.setOauthToken(oauthToken); + } + + @Override + public Mutate setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Mutate) super.setPrettyPrint(prettyPrint); + } + + @Override + public Mutate setQuotaUser(java.lang.String quotaUser) { + return (Mutate) super.setQuotaUser(quotaUser); + } + + @Override + public Mutate setUploadType(java.lang.String uploadType) { + return (Mutate) super.setUploadType(uploadType); + } + + @Override + public Mutate setUploadProtocol(java.lang.String uploadProtocol) { + return (Mutate) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the customer whose customizer attributes are being modified. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer whose customizer attributes are being modified. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the customer whose customizer attributes are being modified. */ + public Mutate setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public Mutate set(String parameterName, Object value) { + return (Mutate) super.set(parameterName, value); + } + } + + } + /** + * An accessor for creating requests from the DataLinks collection. + * + *

The typical use is:

+ *
+     *   {@code SA360 searchads360 = new SA360(...);}
+     *   {@code SA360.DataLinks.List request = searchads360.dataLinks().list(parameters ...)}
+     * 
+ * + * @return the resource collection + */ + public DataLinks dataLinks() { + return new DataLinks(); + } + + /** + * The "dataLinks" collection of methods. + */ + public class DataLinks { + + /** + * Creates a data link. The requesting Google Ads account name and account ID will be shared with + * the third party (such as YouTube creators for video links) to whom you are creating the link + * with. Only customers on the allow-list can create data links. List of thrown errors: + * [AuthenticationError]() [AuthorizationError]() [DatabaseError]() [DataLinkError]() [FieldError]() + * [HeaderError]() [InternalError]() [MutateError]() [QuotaError]() [RequestError]() + * + * Create a request for the method "dataLinks.create". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Create#execute()} method to invoke the remote operation. + * + * @param customerId Required. The ID of the customer for which the data link is created. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesCreateDataLinkRequest} + * @return the request + */ + public Create create(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesCreateDataLinkRequest content) throws java.io.IOException { + Create result = new Create(customerId, content); + initialize(result); + return result; + } + + public class Create extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/dataLinks:create"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Creates a data link. The requesting Google Ads account name and account ID will be shared with + * the third party (such as YouTube creators for video links) to whom you are creating the link + * with. Only customers on the allow-list can create data links. List of thrown errors: + * [AuthenticationError]() [AuthorizationError]() [DatabaseError]() [DataLinkError]() + * [FieldError]() [HeaderError]() [InternalError]() [MutateError]() [QuotaError]() + * [RequestError]() + * + * Create a request for the method "dataLinks.create". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Create#execute()} method to invoke the remote operation. + *

{@link + * Create#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer for which the data link is created. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesCreateDataLinkRequest} + * @since 1.13 + */ + protected Create(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesCreateDataLinkRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesCreateDataLinkResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public Create set$Xgafv(java.lang.String $Xgafv) { + return (Create) super.set$Xgafv($Xgafv); + } + + @Override + public Create setAccessToken(java.lang.String accessToken) { + return (Create) super.setAccessToken(accessToken); + } + + @Override + public Create setAlt(java.lang.String alt) { + return (Create) super.setAlt(alt); + } + + @Override + public Create setCallback(java.lang.String callback) { + return (Create) super.setCallback(callback); + } + + @Override + public Create setFields(java.lang.String fields) { + return (Create) super.setFields(fields); + } + + @Override + public Create setKey(java.lang.String key) { + return (Create) super.setKey(key); + } + + @Override + public Create setOauthToken(java.lang.String oauthToken) { + return (Create) super.setOauthToken(oauthToken); + } + + @Override + public Create setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Create) super.setPrettyPrint(prettyPrint); + } + + @Override + public Create setQuotaUser(java.lang.String quotaUser) { + return (Create) super.setQuotaUser(quotaUser); + } + + @Override + public Create setUploadType(java.lang.String uploadType) { + return (Create) super.setUploadType(uploadType); + } + + @Override + public Create setUploadProtocol(java.lang.String uploadProtocol) { + return (Create) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the customer for which the data link is created. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer for which the data link is created. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the customer for which the data link is created. */ + public Create setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public Create set(String parameterName, Object value) { + return (Create) super.set(parameterName, value); + } + } + /** + * Remove a data link. List of thrown errors: [AuthenticationError]() [AuthorizationError]() + * [DatabaseError]() [DataLinkError]() [FieldError]() [HeaderError]() [InternalError]() + * [MutateError]() [QuotaError]() [RequestError]() + * + * Create a request for the method "dataLinks.remove". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Remove#execute()} method to invoke the remote operation. + * + * @param customerId Required. The ID of the customer for which the data link is updated. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesRemoveDataLinkRequest} + * @return the request + */ + public Remove remove(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesRemoveDataLinkRequest content) throws java.io.IOException { + Remove result = new Remove(customerId, content); + initialize(result); + return result; + } + + public class Remove extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/dataLinks:remove"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Remove a data link. List of thrown errors: [AuthenticationError]() [AuthorizationError]() + * [DatabaseError]() [DataLinkError]() [FieldError]() [HeaderError]() [InternalError]() + * [MutateError]() [QuotaError]() [RequestError]() + * + * Create a request for the method "dataLinks.remove". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Remove#execute()} method to invoke the remote operation. + *

{@link + * Remove#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer for which the data link is updated. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesRemoveDataLinkRequest} + * @since 1.13 + */ + protected Remove(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesRemoveDataLinkRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesRemoveDataLinkResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public Remove set$Xgafv(java.lang.String $Xgafv) { + return (Remove) super.set$Xgafv($Xgafv); + } + + @Override + public Remove setAccessToken(java.lang.String accessToken) { + return (Remove) super.setAccessToken(accessToken); + } + + @Override + public Remove setAlt(java.lang.String alt) { + return (Remove) super.setAlt(alt); + } + + @Override + public Remove setCallback(java.lang.String callback) { + return (Remove) super.setCallback(callback); + } + + @Override + public Remove setFields(java.lang.String fields) { + return (Remove) super.setFields(fields); + } + + @Override + public Remove setKey(java.lang.String key) { + return (Remove) super.setKey(key); + } + + @Override + public Remove setOauthToken(java.lang.String oauthToken) { + return (Remove) super.setOauthToken(oauthToken); + } + + @Override + public Remove setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Remove) super.setPrettyPrint(prettyPrint); + } + + @Override + public Remove setQuotaUser(java.lang.String quotaUser) { + return (Remove) super.setQuotaUser(quotaUser); + } + + @Override + public Remove setUploadType(java.lang.String uploadType) { + return (Remove) super.setUploadType(uploadType); + } + + @Override + public Remove setUploadProtocol(java.lang.String uploadProtocol) { + return (Remove) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the customer for which the data link is updated. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer for which the data link is updated. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the customer for which the data link is updated. */ + public Remove setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public Remove set(String parameterName, Object value) { + return (Remove) super.set(parameterName, value); + } + } + /** + * Update a data link. List of thrown errors: [AuthenticationError]() [AuthorizationError]() + * [DatabaseError]() [DataLinkError]() [FieldError]() [HeaderError]() [InternalError]() + * [MutateError]() [QuotaError]() [RequestError]() + * + * Create a request for the method "dataLinks.update". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Update#execute()} method to invoke the remote operation. + * + * @param customerId Required. The ID of the customer for which the data link is created. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesUpdateDataLinkRequest} + * @return the request + */ + public Update update(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesUpdateDataLinkRequest content) throws java.io.IOException { + Update result = new Update(customerId, content); + initialize(result); + return result; + } + + public class Update extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/dataLinks:update"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Update a data link. List of thrown errors: [AuthenticationError]() [AuthorizationError]() + * [DatabaseError]() [DataLinkError]() [FieldError]() [HeaderError]() [InternalError]() + * [MutateError]() [QuotaError]() [RequestError]() + * + * Create a request for the method "dataLinks.update". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Update#execute()} method to invoke the remote operation. + *

{@link + * Update#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer for which the data link is created. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesUpdateDataLinkRequest} + * @since 1.13 + */ + protected Update(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesUpdateDataLinkRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesUpdateDataLinkResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public Update set$Xgafv(java.lang.String $Xgafv) { + return (Update) super.set$Xgafv($Xgafv); + } + + @Override + public Update setAccessToken(java.lang.String accessToken) { + return (Update) super.setAccessToken(accessToken); + } + + @Override + public Update setAlt(java.lang.String alt) { + return (Update) super.setAlt(alt); + } + + @Override + public Update setCallback(java.lang.String callback) { + return (Update) super.setCallback(callback); + } + + @Override + public Update setFields(java.lang.String fields) { + return (Update) super.setFields(fields); + } + + @Override + public Update setKey(java.lang.String key) { + return (Update) super.setKey(key); + } + + @Override + public Update setOauthToken(java.lang.String oauthToken) { + return (Update) super.setOauthToken(oauthToken); + } + + @Override + public Update setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Update) super.setPrettyPrint(prettyPrint); + } + + @Override + public Update setQuotaUser(java.lang.String quotaUser) { + return (Update) super.setQuotaUser(quotaUser); + } + + @Override + public Update setUploadType(java.lang.String uploadType) { + return (Update) super.setUploadType(uploadType); + } + + @Override + public Update setUploadProtocol(java.lang.String uploadProtocol) { + return (Update) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the customer for which the data link is created. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer for which the data link is created. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the customer for which the data link is created. */ + public Update setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public Update set(String parameterName, Object value) { + return (Update) super.set(parameterName, value); + } + } + + } + /** + * An accessor for creating requests from the ExperimentArms collection. + * + *

The typical use is:

+ *
+     *   {@code SA360 searchads360 = new SA360(...);}
+     *   {@code SA360.ExperimentArms.List request = searchads360.experimentArms().list(parameters ...)}
+     * 
+ * + * @return the resource collection + */ + public ExperimentArms experimentArms() { + return new ExperimentArms(); + } + + /** + * The "experimentArms" collection of methods. + */ + public class ExperimentArms { + + /** + * Creates, updates, or removes experiment arms. Operation statuses are returned. List of thrown + * errors: [AuthenticationError]() [AuthorizationError]() [ExperimentArmError]() [HeaderError]() + * [InternalError]() [QuotaError]() [RequestError]() + * + * Create a request for the method "experimentArms.mutate". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + * + * @param customerId Required. The ID of the customer whose experiments are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateExperimentArmsRequest} + * @return the request + */ + public Mutate mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateExperimentArmsRequest content) throws java.io.IOException { + Mutate result = new Mutate(customerId, content); + initialize(result); + return result; + } + + public class Mutate extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/experimentArms:mutate"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Creates, updates, or removes experiment arms. Operation statuses are returned. List of thrown + * errors: [AuthenticationError]() [AuthorizationError]() [ExperimentArmError]() [HeaderError]() + * [InternalError]() [QuotaError]() [RequestError]() + * + * Create a request for the method "experimentArms.mutate". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + *

{@link + * Mutate#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer whose experiments are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateExperimentArmsRequest} + * @since 1.13 + */ + protected Mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateExperimentArmsRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateExperimentArmsResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public Mutate set$Xgafv(java.lang.String $Xgafv) { + return (Mutate) super.set$Xgafv($Xgafv); + } + + @Override + public Mutate setAccessToken(java.lang.String accessToken) { + return (Mutate) super.setAccessToken(accessToken); + } + + @Override + public Mutate setAlt(java.lang.String alt) { + return (Mutate) super.setAlt(alt); + } + + @Override + public Mutate setCallback(java.lang.String callback) { + return (Mutate) super.setCallback(callback); + } + + @Override + public Mutate setFields(java.lang.String fields) { + return (Mutate) super.setFields(fields); + } + + @Override + public Mutate setKey(java.lang.String key) { + return (Mutate) super.setKey(key); + } + + @Override + public Mutate setOauthToken(java.lang.String oauthToken) { + return (Mutate) super.setOauthToken(oauthToken); + } + + @Override + public Mutate setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Mutate) super.setPrettyPrint(prettyPrint); + } + + @Override + public Mutate setQuotaUser(java.lang.String quotaUser) { + return (Mutate) super.setQuotaUser(quotaUser); + } + + @Override + public Mutate setUploadType(java.lang.String uploadType) { + return (Mutate) super.setUploadType(uploadType); + } + + @Override + public Mutate setUploadProtocol(java.lang.String uploadProtocol) { + return (Mutate) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the customer whose experiments are being modified. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer whose experiments are being modified. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the customer whose experiments are being modified. */ + public Mutate setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public Mutate set(String parameterName, Object value) { + return (Mutate) super.set(parameterName, value); + } + } + + } + /** + * An accessor for creating requests from the Experiments collection. + * + *

The typical use is:

+ *
+     *   {@code SA360 searchads360 = new SA360(...);}
+     *   {@code SA360.Experiments.List request = searchads360.experiments().list(parameters ...)}
+     * 
+ * + * @return the resource collection + */ + public Experiments experiments() { + return new Experiments(); + } + + /** + * The "experiments" collection of methods. + */ + public class Experiments { + + /** + * Immediately ends an experiment, changing the experiment's scheduled end date and without waiting + * for end of day. End date is updated to be the time of the request. List of thrown errors: + * [AuthenticationError]() [AuthorizationError]() [ExperimentError]() [HeaderError]() + * [InternalError]() [QuotaError]() [RequestError]() + * + * Create a request for the method "experiments.endExperiment". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link EndExperiment#execute()} method to invoke the remote operation. + * + * @param experiment Required. The resource name of the campaign experiment to end. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesEndExperimentRequest} + * @return the request + */ + public EndExperiment endExperiment(java.lang.String experiment, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesEndExperimentRequest content) throws java.io.IOException { + EndExperiment result = new EndExperiment(experiment, content); + initialize(result); + return result; + } + + public class EndExperiment extends SA360Request { + + private static final String REST_PATH = "v23/{+experiment}:endExperiment"; + + private final java.util.regex.Pattern EXPERIMENT_PATTERN = + java.util.regex.Pattern.compile("^customers/[^/]+/experiments/[^/]+$"); + + /** + * Immediately ends an experiment, changing the experiment's scheduled end date and without + * waiting for end of day. End date is updated to be the time of the request. List of thrown + * errors: [AuthenticationError]() [AuthorizationError]() [ExperimentError]() [HeaderError]() + * [InternalError]() [QuotaError]() [RequestError]() + * + * Create a request for the method "experiments.endExperiment". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link EndExperiment#execute()} method to invoke the remote + * operation.

{@link EndExperiment#initialize(com.google.api.client.googleapis.services.Abstra + * ctGoogleClientRequest)} must be called to initialize this instance immediately after invoking + * the constructor.

+ * + * @param experiment Required. The resource name of the campaign experiment to end. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesEndExperimentRequest} + * @since 1.13 + */ + protected EndExperiment(java.lang.String experiment, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesEndExperimentRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleProtobufEmpty.class); + this.experiment = com.google.api.client.util.Preconditions.checkNotNull(experiment, "Required parameter experiment must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(EXPERIMENT_PATTERN.matcher(experiment).matches(), + "Parameter experiment must conform to the pattern " + + "^customers/[^/]+/experiments/[^/]+$"); + } + } + + @Override + public EndExperiment set$Xgafv(java.lang.String $Xgafv) { + return (EndExperiment) super.set$Xgafv($Xgafv); + } + + @Override + public EndExperiment setAccessToken(java.lang.String accessToken) { + return (EndExperiment) super.setAccessToken(accessToken); + } + + @Override + public EndExperiment setAlt(java.lang.String alt) { + return (EndExperiment) super.setAlt(alt); + } + + @Override + public EndExperiment setCallback(java.lang.String callback) { + return (EndExperiment) super.setCallback(callback); + } + + @Override + public EndExperiment setFields(java.lang.String fields) { + return (EndExperiment) super.setFields(fields); + } + + @Override + public EndExperiment setKey(java.lang.String key) { + return (EndExperiment) super.setKey(key); + } + + @Override + public EndExperiment setOauthToken(java.lang.String oauthToken) { + return (EndExperiment) super.setOauthToken(oauthToken); + } + + @Override + public EndExperiment setPrettyPrint(java.lang.Boolean prettyPrint) { + return (EndExperiment) super.setPrettyPrint(prettyPrint); + } + + @Override + public EndExperiment setQuotaUser(java.lang.String quotaUser) { + return (EndExperiment) super.setQuotaUser(quotaUser); + } + + @Override + public EndExperiment setUploadType(java.lang.String uploadType) { + return (EndExperiment) super.setUploadType(uploadType); + } + + @Override + public EndExperiment setUploadProtocol(java.lang.String uploadProtocol) { + return (EndExperiment) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The resource name of the campaign experiment to end. */ + @com.google.api.client.util.Key + private java.lang.String experiment; + + /** Required. The resource name of the campaign experiment to end. + */ + public java.lang.String getExperiment() { + return experiment; + } + + /** Required. The resource name of the campaign experiment to end. */ + public EndExperiment setExperiment(java.lang.String experiment) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(EXPERIMENT_PATTERN.matcher(experiment).matches(), + "Parameter experiment must conform to the pattern " + + "^customers/[^/]+/experiments/[^/]+$"); + } + this.experiment = experiment; + return this; + } + + @Override + public EndExperiment set(String parameterName, Object value) { + return (EndExperiment) super.set(parameterName, value); + } + } + /** + * Graduates an experiment to a full campaign. List of thrown errors: [AuthenticationError]() + * [AuthorizationError]() [ExperimentError]() [HeaderError]() [InternalError]() [MutateError]() + * [QuotaError]() [RequestError]() + * + * Create a request for the method "experiments.graduateExperiment". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link GraduateExperiment#execute()} method to invoke the remote operation. + * + * @param experiment Required. The experiment to be graduated. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesGraduateExperimentRequest} + * @return the request + */ + public GraduateExperiment graduateExperiment(java.lang.String experiment, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesGraduateExperimentRequest content) throws java.io.IOException { + GraduateExperiment result = new GraduateExperiment(experiment, content); + initialize(result); + return result; + } + + public class GraduateExperiment extends SA360Request { + + private static final String REST_PATH = "v23/{+experiment}:graduateExperiment"; + + private final java.util.regex.Pattern EXPERIMENT_PATTERN = + java.util.regex.Pattern.compile("^customers/[^/]+/experiments/[^/]+$"); + + /** + * Graduates an experiment to a full campaign. List of thrown errors: [AuthenticationError]() + * [AuthorizationError]() [ExperimentError]() [HeaderError]() [InternalError]() [MutateError]() + * [QuotaError]() [RequestError]() + * + * Create a request for the method "experiments.graduateExperiment". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link GraduateExperiment#execute()} method to invoke the remote + * operation.

{@link GraduateExperiment#initialize(com.google.api.client.googleapis.services.A + * bstractGoogleClientRequest)} must be called to initialize this instance immediately after + * invoking the constructor.

+ * + * @param experiment Required. The experiment to be graduated. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesGraduateExperimentRequest} + * @since 1.13 + */ + protected GraduateExperiment(java.lang.String experiment, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesGraduateExperimentRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleProtobufEmpty.class); + this.experiment = com.google.api.client.util.Preconditions.checkNotNull(experiment, "Required parameter experiment must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(EXPERIMENT_PATTERN.matcher(experiment).matches(), + "Parameter experiment must conform to the pattern " + + "^customers/[^/]+/experiments/[^/]+$"); + } + } + + @Override + public GraduateExperiment set$Xgafv(java.lang.String $Xgafv) { + return (GraduateExperiment) super.set$Xgafv($Xgafv); + } + + @Override + public GraduateExperiment setAccessToken(java.lang.String accessToken) { + return (GraduateExperiment) super.setAccessToken(accessToken); + } + + @Override + public GraduateExperiment setAlt(java.lang.String alt) { + return (GraduateExperiment) super.setAlt(alt); + } + + @Override + public GraduateExperiment setCallback(java.lang.String callback) { + return (GraduateExperiment) super.setCallback(callback); + } + + @Override + public GraduateExperiment setFields(java.lang.String fields) { + return (GraduateExperiment) super.setFields(fields); + } + + @Override + public GraduateExperiment setKey(java.lang.String key) { + return (GraduateExperiment) super.setKey(key); + } + + @Override + public GraduateExperiment setOauthToken(java.lang.String oauthToken) { + return (GraduateExperiment) super.setOauthToken(oauthToken); + } + + @Override + public GraduateExperiment setPrettyPrint(java.lang.Boolean prettyPrint) { + return (GraduateExperiment) super.setPrettyPrint(prettyPrint); + } + + @Override + public GraduateExperiment setQuotaUser(java.lang.String quotaUser) { + return (GraduateExperiment) super.setQuotaUser(quotaUser); + } + + @Override + public GraduateExperiment setUploadType(java.lang.String uploadType) { + return (GraduateExperiment) super.setUploadType(uploadType); + } + + @Override + public GraduateExperiment setUploadProtocol(java.lang.String uploadProtocol) { + return (GraduateExperiment) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The experiment to be graduated. */ + @com.google.api.client.util.Key + private java.lang.String experiment; + + /** Required. The experiment to be graduated. + */ + public java.lang.String getExperiment() { + return experiment; + } + + /** Required. The experiment to be graduated. */ + public GraduateExperiment setExperiment(java.lang.String experiment) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(EXPERIMENT_PATTERN.matcher(experiment).matches(), + "Parameter experiment must conform to the pattern " + + "^customers/[^/]+/experiments/[^/]+$"); + } + this.experiment = experiment; + return this; + } + + @Override + public GraduateExperiment set(String parameterName, Object value) { + return (GraduateExperiment) super.set(parameterName, value); + } + } + /** + * Returns all errors that occurred during the last Experiment update (either scheduling or + * promotion). Supports standard list paging. List of thrown errors: [AuthenticationError]() + * [AuthorizationError]() [HeaderError]() [InternalError]() [QuotaError]() [RequestError]() + * + * Create a request for the method "experiments.listExperimentAsyncErrors". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link ListExperimentAsyncErrors#execute()} method to invoke the remote + * operation. + * + * @param resourceName Required. The name of the experiment from which to retrieve the async errors. + * @return the request + */ + public ListExperimentAsyncErrors listExperimentAsyncErrors(java.lang.String resourceName) throws java.io.IOException { + ListExperimentAsyncErrors result = new ListExperimentAsyncErrors(resourceName); + initialize(result); + return result; + } + + public class ListExperimentAsyncErrors extends SA360Request { + + private static final String REST_PATH = "v23/{+resourceName}:listExperimentAsyncErrors"; + + private final java.util.regex.Pattern RESOURCE_NAME_PATTERN = + java.util.regex.Pattern.compile("^customers/[^/]+/experiments/[^/]+$"); + + /** + * Returns all errors that occurred during the last Experiment update (either scheduling or + * promotion). Supports standard list paging. List of thrown errors: [AuthenticationError]() + * [AuthorizationError]() [HeaderError]() [InternalError]() [QuotaError]() [RequestError]() + * + * Create a request for the method "experiments.listExperimentAsyncErrors". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link ListExperimentAsyncErrors#execute()} method to invoke the + * remote operation.

{@link ListExperimentAsyncErrors#initialize(com.google.api.client.googlea + * pis.services.AbstractGoogleClientRequest)} must be called to initialize this instance + * immediately after invoking the constructor.

+ * + * @param resourceName Required. The name of the experiment from which to retrieve the async errors. + * @since 1.13 + */ + protected ListExperimentAsyncErrors(java.lang.String resourceName) { + super(SA360.this, "GET", REST_PATH, null, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesListExperimentAsyncErrorsResponse.class); + this.resourceName = com.google.api.client.util.Preconditions.checkNotNull(resourceName, "Required parameter resourceName must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(RESOURCE_NAME_PATTERN.matcher(resourceName).matches(), + "Parameter resourceName must conform to the pattern " + + "^customers/[^/]+/experiments/[^/]+$"); + } + } + + @Override + public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { + return super.executeUsingHead(); + } + + @Override + public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { + return super.buildHttpRequestUsingHead(); + } + + @Override + public ListExperimentAsyncErrors set$Xgafv(java.lang.String $Xgafv) { + return (ListExperimentAsyncErrors) super.set$Xgafv($Xgafv); + } + + @Override + public ListExperimentAsyncErrors setAccessToken(java.lang.String accessToken) { + return (ListExperimentAsyncErrors) super.setAccessToken(accessToken); + } + + @Override + public ListExperimentAsyncErrors setAlt(java.lang.String alt) { + return (ListExperimentAsyncErrors) super.setAlt(alt); + } + + @Override + public ListExperimentAsyncErrors setCallback(java.lang.String callback) { + return (ListExperimentAsyncErrors) super.setCallback(callback); + } + + @Override + public ListExperimentAsyncErrors setFields(java.lang.String fields) { + return (ListExperimentAsyncErrors) super.setFields(fields); + } + + @Override + public ListExperimentAsyncErrors setKey(java.lang.String key) { + return (ListExperimentAsyncErrors) super.setKey(key); + } + + @Override + public ListExperimentAsyncErrors setOauthToken(java.lang.String oauthToken) { + return (ListExperimentAsyncErrors) super.setOauthToken(oauthToken); + } + + @Override + public ListExperimentAsyncErrors setPrettyPrint(java.lang.Boolean prettyPrint) { + return (ListExperimentAsyncErrors) super.setPrettyPrint(prettyPrint); + } + + @Override + public ListExperimentAsyncErrors setQuotaUser(java.lang.String quotaUser) { + return (ListExperimentAsyncErrors) super.setQuotaUser(quotaUser); + } + + @Override + public ListExperimentAsyncErrors setUploadType(java.lang.String uploadType) { + return (ListExperimentAsyncErrors) super.setUploadType(uploadType); + } + + @Override + public ListExperimentAsyncErrors setUploadProtocol(java.lang.String uploadProtocol) { + return (ListExperimentAsyncErrors) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The name of the experiment from which to retrieve the async errors. */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** Required. The name of the experiment from which to retrieve the async errors. + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** Required. The name of the experiment from which to retrieve the async errors. */ + public ListExperimentAsyncErrors setResourceName(java.lang.String resourceName) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(RESOURCE_NAME_PATTERN.matcher(resourceName).matches(), + "Parameter resourceName must conform to the pattern " + + "^customers/[^/]+/experiments/[^/]+$"); + } + this.resourceName = resourceName; + return this; + } + + /** + * Number of elements to retrieve in a single page. When a page request is too large, the + * server may decide to further limit the number of returned resources. The maximum page + * size is 1000. + */ + @com.google.api.client.util.Key + private java.lang.Integer pageSize; + + /** Number of elements to retrieve in a single page. When a page request is too large, the server may + decide to further limit the number of returned resources. The maximum page size is 1000. + */ + public java.lang.Integer getPageSize() { + return pageSize; + } + + /** + * Number of elements to retrieve in a single page. When a page request is too large, the + * server may decide to further limit the number of returned resources. The maximum page + * size is 1000. + */ + public ListExperimentAsyncErrors setPageSize(java.lang.Integer pageSize) { + this.pageSize = pageSize; + return this; + } + + /** + * Token of the page to retrieve. If not specified, the first page of results will be + * returned. Use the value obtained from `next_page_token` in the previous response in order + * to request the next page of results. + */ + @com.google.api.client.util.Key + private java.lang.String pageToken; + + /** Token of the page to retrieve. If not specified, the first page of results will be returned. Use + the value obtained from `next_page_token` in the previous response in order to request the next + page of results. + */ + public java.lang.String getPageToken() { + return pageToken; + } + + /** + * Token of the page to retrieve. If not specified, the first page of results will be + * returned. Use the value obtained from `next_page_token` in the previous response in order + * to request the next page of results. + */ + public ListExperimentAsyncErrors setPageToken(java.lang.String pageToken) { + this.pageToken = pageToken; + return this; + } + + @Override + public ListExperimentAsyncErrors set(String parameterName, Object value) { + return (ListExperimentAsyncErrors) super.set(parameterName, value); + } + } + /** + * Creates, updates, or removes experiments. Operation statuses are returned. List of thrown errors: + * [AuthenticationError]() [AuthorizationError]() [ExperimentError]() [HeaderError]() + * [InternalError]() [QuotaError]() [RequestError]() + * + * Create a request for the method "experiments.mutate". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + * + * @param customerId Required. The ID of the customer whose experiments are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateExperimentsRequest} + * @return the request + */ + public Mutate mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateExperimentsRequest content) throws java.io.IOException { + Mutate result = new Mutate(customerId, content); + initialize(result); + return result; + } + + public class Mutate extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/experiments:mutate"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Creates, updates, or removes experiments. Operation statuses are returned. List of thrown + * errors: [AuthenticationError]() [AuthorizationError]() [ExperimentError]() [HeaderError]() + * [InternalError]() [QuotaError]() [RequestError]() + * + * Create a request for the method "experiments.mutate". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + *

{@link + * Mutate#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer whose experiments are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateExperimentsRequest} + * @since 1.13 + */ + protected Mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateExperimentsRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateExperimentsResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public Mutate set$Xgafv(java.lang.String $Xgafv) { + return (Mutate) super.set$Xgafv($Xgafv); + } + + @Override + public Mutate setAccessToken(java.lang.String accessToken) { + return (Mutate) super.setAccessToken(accessToken); + } + + @Override + public Mutate setAlt(java.lang.String alt) { + return (Mutate) super.setAlt(alt); + } + + @Override + public Mutate setCallback(java.lang.String callback) { + return (Mutate) super.setCallback(callback); + } + + @Override + public Mutate setFields(java.lang.String fields) { + return (Mutate) super.setFields(fields); + } + + @Override + public Mutate setKey(java.lang.String key) { + return (Mutate) super.setKey(key); + } + + @Override + public Mutate setOauthToken(java.lang.String oauthToken) { + return (Mutate) super.setOauthToken(oauthToken); + } + + @Override + public Mutate setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Mutate) super.setPrettyPrint(prettyPrint); + } + + @Override + public Mutate setQuotaUser(java.lang.String quotaUser) { + return (Mutate) super.setQuotaUser(quotaUser); + } + + @Override + public Mutate setUploadType(java.lang.String uploadType) { + return (Mutate) super.setUploadType(uploadType); + } + + @Override + public Mutate setUploadProtocol(java.lang.String uploadProtocol) { + return (Mutate) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the customer whose experiments are being modified. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer whose experiments are being modified. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the customer whose experiments are being modified. */ + public Mutate setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public Mutate set(String parameterName, Object value) { + return (Mutate) super.set(parameterName, value); + } + } + /** + * Promotes the trial campaign thus applying changes in the trial campaign to the base campaign. + * This method returns a long running operation that tracks the promotion of the experiment + * campaign. If it fails, a list of errors can be retrieved using the ListExperimentAsyncErrors + * method. The operation's metadata will be a string containing the resource name of the created + * experiment. List of thrown errors: [AuthenticationError]() [AuthorizationError]() + * [ExperimentError]() [HeaderError]() [InternalError]() [QuotaError]() [RequestError]() + * + * Create a request for the method "experiments.promoteExperiment". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link PromoteExperiment#execute()} method to invoke the remote operation. + * + * @param resourceName Required. The resource name of the experiment to promote. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesPromoteExperimentRequest} + * @return the request + */ + public PromoteExperiment promoteExperiment(java.lang.String resourceName, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesPromoteExperimentRequest content) throws java.io.IOException { + PromoteExperiment result = new PromoteExperiment(resourceName, content); + initialize(result); + return result; + } + + public class PromoteExperiment extends SA360Request { + + private static final String REST_PATH = "v23/{+resourceName}:promoteExperiment"; + + private final java.util.regex.Pattern RESOURCE_NAME_PATTERN = + java.util.regex.Pattern.compile("^customers/[^/]+/experiments/[^/]+$"); + + /** + * Promotes the trial campaign thus applying changes in the trial campaign to the base campaign. + * This method returns a long running operation that tracks the promotion of the experiment + * campaign. If it fails, a list of errors can be retrieved using the ListExperimentAsyncErrors + * method. The operation's metadata will be a string containing the resource name of the created + * experiment. List of thrown errors: [AuthenticationError]() [AuthorizationError]() + * [ExperimentError]() [HeaderError]() [InternalError]() [QuotaError]() [RequestError]() + * + * Create a request for the method "experiments.promoteExperiment". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link PromoteExperiment#execute()} method to invoke the remote + * operation.

{@link PromoteExperiment#initialize(com.google.api.client.googleapis.services.Ab + * stractGoogleClientRequest)} must be called to initialize this instance immediately after + * invoking the constructor.

+ * + * @param resourceName Required. The resource name of the experiment to promote. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesPromoteExperimentRequest} + * @since 1.13 + */ + protected PromoteExperiment(java.lang.String resourceName, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesPromoteExperimentRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleLongrunningOperation.class); + this.resourceName = com.google.api.client.util.Preconditions.checkNotNull(resourceName, "Required parameter resourceName must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(RESOURCE_NAME_PATTERN.matcher(resourceName).matches(), + "Parameter resourceName must conform to the pattern " + + "^customers/[^/]+/experiments/[^/]+$"); + } + } + + @Override + public PromoteExperiment set$Xgafv(java.lang.String $Xgafv) { + return (PromoteExperiment) super.set$Xgafv($Xgafv); + } + + @Override + public PromoteExperiment setAccessToken(java.lang.String accessToken) { + return (PromoteExperiment) super.setAccessToken(accessToken); + } + + @Override + public PromoteExperiment setAlt(java.lang.String alt) { + return (PromoteExperiment) super.setAlt(alt); + } + + @Override + public PromoteExperiment setCallback(java.lang.String callback) { + return (PromoteExperiment) super.setCallback(callback); + } + + @Override + public PromoteExperiment setFields(java.lang.String fields) { + return (PromoteExperiment) super.setFields(fields); + } + + @Override + public PromoteExperiment setKey(java.lang.String key) { + return (PromoteExperiment) super.setKey(key); + } + + @Override + public PromoteExperiment setOauthToken(java.lang.String oauthToken) { + return (PromoteExperiment) super.setOauthToken(oauthToken); + } + + @Override + public PromoteExperiment setPrettyPrint(java.lang.Boolean prettyPrint) { + return (PromoteExperiment) super.setPrettyPrint(prettyPrint); + } + + @Override + public PromoteExperiment setQuotaUser(java.lang.String quotaUser) { + return (PromoteExperiment) super.setQuotaUser(quotaUser); + } + + @Override + public PromoteExperiment setUploadType(java.lang.String uploadType) { + return (PromoteExperiment) super.setUploadType(uploadType); + } + + @Override + public PromoteExperiment setUploadProtocol(java.lang.String uploadProtocol) { + return (PromoteExperiment) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The resource name of the experiment to promote. */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** Required. The resource name of the experiment to promote. + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** Required. The resource name of the experiment to promote. */ + public PromoteExperiment setResourceName(java.lang.String resourceName) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(RESOURCE_NAME_PATTERN.matcher(resourceName).matches(), + "Parameter resourceName must conform to the pattern " + + "^customers/[^/]+/experiments/[^/]+$"); + } + this.resourceName = resourceName; + return this; + } + + @Override + public PromoteExperiment set(String parameterName, Object value) { + return (PromoteExperiment) super.set(parameterName, value); + } + } + /** + * Schedule an experiment. The in design campaign will be converted into a real campaign (called the + * experiment campaign) that will begin serving ads if successfully created. The experiment is + * scheduled immediately with status INITIALIZING. This method returns a long running operation that + * tracks the forking of the in design campaign. If the forking fails, a list of errors can be + * retrieved using the ListExperimentAsyncErrors method. The operation's metadata will be a string + * containing the resource name of the created experiment. List of thrown errors: + * [AuthenticationError]() [AuthorizationError]() [ExperimentError]() [DatabaseError]() + * [DateError]() [DateRangeError]() [FieldError]() [HeaderError]() [InternalError]() [QuotaError]() + * [RangeError]() [RequestError]() + * + * Create a request for the method "experiments.scheduleExperiment". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link ScheduleExperiment#execute()} method to invoke the remote operation. + * + * @param resourceName Required. The scheduled experiment. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesScheduleExperimentRequest} + * @return the request + */ + public ScheduleExperiment scheduleExperiment(java.lang.String resourceName, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesScheduleExperimentRequest content) throws java.io.IOException { + ScheduleExperiment result = new ScheduleExperiment(resourceName, content); + initialize(result); + return result; + } + + public class ScheduleExperiment extends SA360Request { + + private static final String REST_PATH = "v23/{+resourceName}:scheduleExperiment"; + + private final java.util.regex.Pattern RESOURCE_NAME_PATTERN = + java.util.regex.Pattern.compile("^customers/[^/]+/experiments/[^/]+$"); + + /** + * Schedule an experiment. The in design campaign will be converted into a real campaign (called + * the experiment campaign) that will begin serving ads if successfully created. The experiment is + * scheduled immediately with status INITIALIZING. This method returns a long running operation + * that tracks the forking of the in design campaign. If the forking fails, a list of errors can + * be retrieved using the ListExperimentAsyncErrors method. The operation's metadata will be a + * string containing the resource name of the created experiment. List of thrown errors: + * [AuthenticationError]() [AuthorizationError]() [ExperimentError]() [DatabaseError]() + * [DateError]() [DateRangeError]() [FieldError]() [HeaderError]() [InternalError]() + * [QuotaError]() [RangeError]() [RequestError]() + * + * Create a request for the method "experiments.scheduleExperiment". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link ScheduleExperiment#execute()} method to invoke the remote + * operation.

{@link ScheduleExperiment#initialize(com.google.api.client.googleapis.services.A + * bstractGoogleClientRequest)} must be called to initialize this instance immediately after + * invoking the constructor.

+ * + * @param resourceName Required. The scheduled experiment. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesScheduleExperimentRequest} + * @since 1.13 + */ + protected ScheduleExperiment(java.lang.String resourceName, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesScheduleExperimentRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleLongrunningOperation.class); + this.resourceName = com.google.api.client.util.Preconditions.checkNotNull(resourceName, "Required parameter resourceName must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(RESOURCE_NAME_PATTERN.matcher(resourceName).matches(), + "Parameter resourceName must conform to the pattern " + + "^customers/[^/]+/experiments/[^/]+$"); + } + } + + @Override + public ScheduleExperiment set$Xgafv(java.lang.String $Xgafv) { + return (ScheduleExperiment) super.set$Xgafv($Xgafv); + } + + @Override + public ScheduleExperiment setAccessToken(java.lang.String accessToken) { + return (ScheduleExperiment) super.setAccessToken(accessToken); + } + + @Override + public ScheduleExperiment setAlt(java.lang.String alt) { + return (ScheduleExperiment) super.setAlt(alt); + } + + @Override + public ScheduleExperiment setCallback(java.lang.String callback) { + return (ScheduleExperiment) super.setCallback(callback); + } + + @Override + public ScheduleExperiment setFields(java.lang.String fields) { + return (ScheduleExperiment) super.setFields(fields); + } + + @Override + public ScheduleExperiment setKey(java.lang.String key) { + return (ScheduleExperiment) super.setKey(key); + } + + @Override + public ScheduleExperiment setOauthToken(java.lang.String oauthToken) { + return (ScheduleExperiment) super.setOauthToken(oauthToken); + } + + @Override + public ScheduleExperiment setPrettyPrint(java.lang.Boolean prettyPrint) { + return (ScheduleExperiment) super.setPrettyPrint(prettyPrint); + } + + @Override + public ScheduleExperiment setQuotaUser(java.lang.String quotaUser) { + return (ScheduleExperiment) super.setQuotaUser(quotaUser); + } + + @Override + public ScheduleExperiment setUploadType(java.lang.String uploadType) { + return (ScheduleExperiment) super.setUploadType(uploadType); + } + + @Override + public ScheduleExperiment setUploadProtocol(java.lang.String uploadProtocol) { + return (ScheduleExperiment) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The scheduled experiment. */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** Required. The scheduled experiment. + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** Required. The scheduled experiment. */ + public ScheduleExperiment setResourceName(java.lang.String resourceName) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(RESOURCE_NAME_PATTERN.matcher(resourceName).matches(), + "Parameter resourceName must conform to the pattern " + + "^customers/[^/]+/experiments/[^/]+$"); + } + this.resourceName = resourceName; + return this; + } + + @Override + public ScheduleExperiment set(String parameterName, Object value) { + return (ScheduleExperiment) super.set(parameterName, value); + } + } + + } + /** + * An accessor for creating requests from the Incentives collection. + * + *

The typical use is:

+ *
+     *   {@code SA360 searchads360 = new SA360(...);}
+     *   {@code SA360.Incentives.List request = searchads360.incentives().list(parameters ...)}
+     * 
+ * + * @return the resource collection + */ + public Incentives incentives() { + return new Incentives(); + } + + /** + * The "incentives" collection of methods. + */ + public class Incentives { + + /** + * Applies the incentive for the ads customer. + * + * Create a request for the method "incentives.applyIncentive". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link ApplyIncentive#execute()} method to invoke the remote operation. + * + * @param customerId The customer ID of the account that the incentive is being applied to. + * @param selectedIncentiveId The incentive ID of this incentive. This is used to identify which incentive is selected by the user + * in the CYO flow. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesApplyIncentiveRequest} + * @return the request + */ + public ApplyIncentive applyIncentive(java.lang.String customerId, java.lang.Long selectedIncentiveId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesApplyIncentiveRequest content) throws java.io.IOException { + ApplyIncentive result = new ApplyIncentive(customerId, selectedIncentiveId, content); + initialize(result); + return result; + } + + public class ApplyIncentive extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/incentives/{+selectedIncentiveId}:applyIncentive"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + private final java.util.regex.Pattern SELECTED_INCENTIVE_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Applies the incentive for the ads customer. + * + * Create a request for the method "incentives.applyIncentive". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link ApplyIncentive#execute()} method to invoke the remote + * operation.

{@link ApplyIncentive#initialize(com.google.api.client.googleapis.services.Abstr + * actGoogleClientRequest)} must be called to initialize this instance immediately after invoking + * the constructor.

+ * + * @param customerId The customer ID of the account that the incentive is being applied to. + * @param selectedIncentiveId The incentive ID of this incentive. This is used to identify which incentive is selected by the user + * in the CYO flow. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesApplyIncentiveRequest} + * @since 1.13 + */ + protected ApplyIncentive(java.lang.String customerId, java.lang.Long selectedIncentiveId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesApplyIncentiveRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesApplyIncentiveResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.selectedIncentiveId = com.google.api.client.util.Preconditions.checkNotNull(selectedIncentiveId, "Required parameter selectedIncentiveId must be specified."); + } + + @Override + public ApplyIncentive set$Xgafv(java.lang.String $Xgafv) { + return (ApplyIncentive) super.set$Xgafv($Xgafv); + } + + @Override + public ApplyIncentive setAccessToken(java.lang.String accessToken) { + return (ApplyIncentive) super.setAccessToken(accessToken); + } + + @Override + public ApplyIncentive setAlt(java.lang.String alt) { + return (ApplyIncentive) super.setAlt(alt); + } + + @Override + public ApplyIncentive setCallback(java.lang.String callback) { + return (ApplyIncentive) super.setCallback(callback); + } + + @Override + public ApplyIncentive setFields(java.lang.String fields) { + return (ApplyIncentive) super.setFields(fields); + } + + @Override + public ApplyIncentive setKey(java.lang.String key) { + return (ApplyIncentive) super.setKey(key); + } + + @Override + public ApplyIncentive setOauthToken(java.lang.String oauthToken) { + return (ApplyIncentive) super.setOauthToken(oauthToken); + } + + @Override + public ApplyIncentive setPrettyPrint(java.lang.Boolean prettyPrint) { + return (ApplyIncentive) super.setPrettyPrint(prettyPrint); + } + + @Override + public ApplyIncentive setQuotaUser(java.lang.String quotaUser) { + return (ApplyIncentive) super.setQuotaUser(quotaUser); + } + + @Override + public ApplyIncentive setUploadType(java.lang.String uploadType) { + return (ApplyIncentive) super.setUploadType(uploadType); + } + + @Override + public ApplyIncentive setUploadProtocol(java.lang.String uploadProtocol) { + return (ApplyIncentive) super.setUploadProtocol(uploadProtocol); + } + + /** The customer ID of the account that the incentive is being applied to. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** The customer ID of the account that the incentive is being applied to. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** The customer ID of the account that the incentive is being applied to. */ + public ApplyIncentive setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + /** + * The incentive ID of this incentive. This is used to identify which incentive is selected + * by the user in the CYO flow. + */ + @com.google.api.client.util.Key + private java.lang.Long selectedIncentiveId; + + /** The incentive ID of this incentive. This is used to identify which incentive is selected by the + user in the CYO flow. + */ + public java.lang.Long getSelectedIncentiveId() { + return selectedIncentiveId; + } + + /** + * The incentive ID of this incentive. This is used to identify which incentive is selected + * by the user in the CYO flow. + */ + public ApplyIncentive setSelectedIncentiveId(java.lang.Long selectedIncentiveId) { + this.selectedIncentiveId = selectedIncentiveId; + return this; + } + + @Override + public ApplyIncentive set(String parameterName, Object value) { + return (ApplyIncentive) super.set(parameterName, value); + } + } + + } + /** + * An accessor for creating requests from the Invoices collection. + * + *

The typical use is:

+ *
+     *   {@code SA360 searchads360 = new SA360(...);}
+     *   {@code SA360.Invoices.List request = searchads360.invoices().list(parameters ...)}
+     * 
+ * + * @return the resource collection + */ + public Invoices invoices() { + return new Invoices(); + } + + /** + * The "invoices" collection of methods. + */ + public class Invoices { + + /** + * Returns all invoices associated with a billing setup, for a given month. List of thrown errors: + * [AuthenticationError]() [AuthorizationError]() [FieldError]() [HeaderError]() [InternalError]() + * [InvoiceError]() [QuotaError]() [RequestError]() + * + * Create a request for the method "invoices.list". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link List#execute()} method to invoke the remote operation. + * + * @param customerId Required. The ID of the customer to fetch invoices for. + * @return the request + */ + public List list(java.lang.String customerId) throws java.io.IOException { + List result = new List(customerId); + initialize(result); + return result; + } + + public class List extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/invoices"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Returns all invoices associated with a billing setup, for a given month. List of thrown errors: + * [AuthenticationError]() [AuthorizationError]() [FieldError]() [HeaderError]() [InternalError]() + * [InvoiceError]() [QuotaError]() [RequestError]() + * + * Create a request for the method "invoices.list". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link List#execute()} method to invoke the remote operation.

+ * {@link List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} + * must be called to initialize this instance immediately after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer to fetch invoices for. + * @since 1.13 + */ + protected List(java.lang.String customerId) { + super(SA360.this, "GET", REST_PATH, null, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesListInvoicesResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { + return super.executeUsingHead(); + } + + @Override + public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { + return super.buildHttpRequestUsingHead(); + } + + @Override + public List set$Xgafv(java.lang.String $Xgafv) { + return (List) super.set$Xgafv($Xgafv); + } + + @Override + public List setAccessToken(java.lang.String accessToken) { + return (List) super.setAccessToken(accessToken); + } + + @Override + public List setAlt(java.lang.String alt) { + return (List) super.setAlt(alt); + } + + @Override + public List setCallback(java.lang.String callback) { + return (List) super.setCallback(callback); + } + + @Override + public List setFields(java.lang.String fields) { + return (List) super.setFields(fields); + } + + @Override + public List setKey(java.lang.String key) { + return (List) super.setKey(key); + } + + @Override + public List setOauthToken(java.lang.String oauthToken) { + return (List) super.setOauthToken(oauthToken); + } + + @Override + public List setPrettyPrint(java.lang.Boolean prettyPrint) { + return (List) super.setPrettyPrint(prettyPrint); + } + + @Override + public List setQuotaUser(java.lang.String quotaUser) { + return (List) super.setQuotaUser(quotaUser); + } + + @Override + public List setUploadType(java.lang.String uploadType) { + return (List) super.setUploadType(uploadType); + } + + @Override + public List setUploadProtocol(java.lang.String uploadProtocol) { + return (List) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the customer to fetch invoices for. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer to fetch invoices for. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the customer to fetch invoices for. */ + public List setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + /** + * Required. The billing setup resource name of the requested invoices. + * `customers/{customer_id}/billingSetups/{billing_setup_id}` + */ + @com.google.api.client.util.Key + private java.lang.String billingSetup; + + /** Required. The billing setup resource name of the requested invoices. + `customers/{customer_id}/billingSetups/{billing_setup_id}` + */ + public java.lang.String getBillingSetup() { + return billingSetup; + } + + /** + * Required. The billing setup resource name of the requested invoices. + * `customers/{customer_id}/billingSetups/{billing_setup_id}` + */ + public List setBillingSetup(java.lang.String billingSetup) { + this.billingSetup = billingSetup; + return this; + } + + /** + * Optional. When true, the response will include more granular level invoice details such + * as campaign level cost breakdown, itemized regulatory costs and adjustments. The default + * value is false. + */ + @com.google.api.client.util.Key + private java.lang.Boolean includeGranularLevelInvoiceDetails; + + /** Optional. When true, the response will include more granular level invoice details such as campaign + level cost breakdown, itemized regulatory costs and adjustments. The default value is false. + */ + public java.lang.Boolean getIncludeGranularLevelInvoiceDetails() { + return includeGranularLevelInvoiceDetails; + } + + /** + * Optional. When true, the response will include more granular level invoice details such + * as campaign level cost breakdown, itemized regulatory costs and adjustments. The default + * value is false. + */ + public List setIncludeGranularLevelInvoiceDetails(java.lang.Boolean includeGranularLevelInvoiceDetails) { + this.includeGranularLevelInvoiceDetails = includeGranularLevelInvoiceDetails; + return this; + } + + /** Required. The issue month to retrieve invoices. */ + @com.google.api.client.util.Key + private java.lang.String issueMonth; + + /** Required. The issue month to retrieve invoices. + */ + public java.lang.String getIssueMonth() { + return issueMonth; + } + + /** Required. The issue month to retrieve invoices. */ + public List setIssueMonth(java.lang.String issueMonth) { + this.issueMonth = issueMonth; + return this; + } + + /** + * Required. The issue year to retrieve invoices, in yyyy format. Only invoices issued in + * 2019 or later can be retrieved. + */ + @com.google.api.client.util.Key + private java.lang.String issueYear; + + /** Required. The issue year to retrieve invoices, in yyyy format. Only invoices issued in 2019 or + later can be retrieved. + */ + public java.lang.String getIssueYear() { + return issueYear; + } + + /** + * Required. The issue year to retrieve invoices, in yyyy format. Only invoices issued in + * 2019 or later can be retrieved. + */ + public List setIssueYear(java.lang.String issueYear) { + this.issueYear = issueYear; + return this; + } + + @Override + public List set(String parameterName, Object value) { + return (List) super.set(parameterName, value); + } + } + + } + /** + * An accessor for creating requests from the KeywordPlanAdGroupKeywords collection. + * + *

The typical use is:

+ *
+     *   {@code SA360 searchads360 = new SA360(...);}
+     *   {@code SA360.KeywordPlanAdGroupKeywords.List request = searchads360.keywordPlanAdGroupKeywords().list(parameters ...)}
+     * 
+ * + * @return the resource collection + */ + public KeywordPlanAdGroupKeywords keywordPlanAdGroupKeywords() { + return new KeywordPlanAdGroupKeywords(); + } + + /** + * The "keywordPlanAdGroupKeywords" collection of methods. + */ + public class KeywordPlanAdGroupKeywords { + + /** + * Creates, updates, or removes Keyword Plan ad group keywords. Operation statuses are returned. + * List of thrown errors: [AuthenticationError]() [AuthorizationError]() [DatabaseError]() + * [FieldError]() [HeaderError]() [InternalError]() [KeywordPlanAdGroupKeywordError]() + * [KeywordPlanError]() [MutateError]() [QuotaError]() [RequestError]() + * [ResourceCountLimitExceededError]() + * + * Create a request for the method "keywordPlanAdGroupKeywords.mutate". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + * + * @param customerId Required. The ID of the customer whose Keyword Plan ad group keywords are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateKeywordPlanAdGroupKeywordsRequest} + * @return the request + */ + public Mutate mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateKeywordPlanAdGroupKeywordsRequest content) throws java.io.IOException { + Mutate result = new Mutate(customerId, content); + initialize(result); + return result; + } + + public class Mutate extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/keywordPlanAdGroupKeywords:mutate"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Creates, updates, or removes Keyword Plan ad group keywords. Operation statuses are returned. + * List of thrown errors: [AuthenticationError]() [AuthorizationError]() [DatabaseError]() + * [FieldError]() [HeaderError]() [InternalError]() [KeywordPlanAdGroupKeywordError]() + * [KeywordPlanError]() [MutateError]() [QuotaError]() [RequestError]() + * [ResourceCountLimitExceededError]() + * + * Create a request for the method "keywordPlanAdGroupKeywords.mutate". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + *

{@link + * Mutate#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer whose Keyword Plan ad group keywords are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateKeywordPlanAdGroupKeywordsRequest} + * @since 1.13 + */ + protected Mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateKeywordPlanAdGroupKeywordsRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateKeywordPlanAdGroupKeywordsResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public Mutate set$Xgafv(java.lang.String $Xgafv) { + return (Mutate) super.set$Xgafv($Xgafv); + } + + @Override + public Mutate setAccessToken(java.lang.String accessToken) { + return (Mutate) super.setAccessToken(accessToken); + } + + @Override + public Mutate setAlt(java.lang.String alt) { + return (Mutate) super.setAlt(alt); + } + + @Override + public Mutate setCallback(java.lang.String callback) { + return (Mutate) super.setCallback(callback); + } + + @Override + public Mutate setFields(java.lang.String fields) { + return (Mutate) super.setFields(fields); + } + + @Override + public Mutate setKey(java.lang.String key) { + return (Mutate) super.setKey(key); + } + + @Override + public Mutate setOauthToken(java.lang.String oauthToken) { + return (Mutate) super.setOauthToken(oauthToken); + } + + @Override + public Mutate setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Mutate) super.setPrettyPrint(prettyPrint); + } + + @Override + public Mutate setQuotaUser(java.lang.String quotaUser) { + return (Mutate) super.setQuotaUser(quotaUser); + } + + @Override + public Mutate setUploadType(java.lang.String uploadType) { + return (Mutate) super.setUploadType(uploadType); + } + + @Override + public Mutate setUploadProtocol(java.lang.String uploadProtocol) { + return (Mutate) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. The ID of the customer whose Keyword Plan ad group keywords are being modified. + */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer whose Keyword Plan ad group keywords are being modified. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** + * Required. The ID of the customer whose Keyword Plan ad group keywords are being modified. + */ + public Mutate setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public Mutate set(String parameterName, Object value) { + return (Mutate) super.set(parameterName, value); + } + } + + } + /** + * An accessor for creating requests from the KeywordPlanAdGroups collection. + * + *

The typical use is:

+ *
+     *   {@code SA360 searchads360 = new SA360(...);}
+     *   {@code SA360.KeywordPlanAdGroups.List request = searchads360.keywordPlanAdGroups().list(parameters ...)}
+     * 
+ * + * @return the resource collection + */ + public KeywordPlanAdGroups keywordPlanAdGroups() { + return new KeywordPlanAdGroups(); + } + + /** + * The "keywordPlanAdGroups" collection of methods. + */ + public class KeywordPlanAdGroups { + + /** + * Creates, updates, or removes Keyword Plan ad groups. Operation statuses are returned. List of + * thrown errors: [AuthenticationError]() [AuthorizationError]() [DatabaseError]() [FieldError]() + * [FieldMaskError]() [HeaderError]() [InternalError]() [KeywordPlanAdGroupError]() + * [KeywordPlanError]() [MutateError]() [NewResourceCreationError]() [QuotaError]() [RequestError]() + * [ResourceCountLimitExceededError]() + * + * Create a request for the method "keywordPlanAdGroups.mutate". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + * + * @param customerId Required. The ID of the customer whose Keyword Plan ad groups are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateKeywordPlanAdGroupsRequest} + * @return the request + */ + public Mutate mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateKeywordPlanAdGroupsRequest content) throws java.io.IOException { + Mutate result = new Mutate(customerId, content); + initialize(result); + return result; + } + + public class Mutate extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/keywordPlanAdGroups:mutate"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Creates, updates, or removes Keyword Plan ad groups. Operation statuses are returned. List of + * thrown errors: [AuthenticationError]() [AuthorizationError]() [DatabaseError]() [FieldError]() + * [FieldMaskError]() [HeaderError]() [InternalError]() [KeywordPlanAdGroupError]() + * [KeywordPlanError]() [MutateError]() [NewResourceCreationError]() [QuotaError]() + * [RequestError]() [ResourceCountLimitExceededError]() + * + * Create a request for the method "keywordPlanAdGroups.mutate". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + *

{@link + * Mutate#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer whose Keyword Plan ad groups are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateKeywordPlanAdGroupsRequest} + * @since 1.13 + */ + protected Mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateKeywordPlanAdGroupsRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateKeywordPlanAdGroupsResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public Mutate set$Xgafv(java.lang.String $Xgafv) { + return (Mutate) super.set$Xgafv($Xgafv); + } + + @Override + public Mutate setAccessToken(java.lang.String accessToken) { + return (Mutate) super.setAccessToken(accessToken); + } + + @Override + public Mutate setAlt(java.lang.String alt) { + return (Mutate) super.setAlt(alt); + } + + @Override + public Mutate setCallback(java.lang.String callback) { + return (Mutate) super.setCallback(callback); + } + + @Override + public Mutate setFields(java.lang.String fields) { + return (Mutate) super.setFields(fields); + } + + @Override + public Mutate setKey(java.lang.String key) { + return (Mutate) super.setKey(key); + } + + @Override + public Mutate setOauthToken(java.lang.String oauthToken) { + return (Mutate) super.setOauthToken(oauthToken); + } + + @Override + public Mutate setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Mutate) super.setPrettyPrint(prettyPrint); + } + + @Override + public Mutate setQuotaUser(java.lang.String quotaUser) { + return (Mutate) super.setQuotaUser(quotaUser); + } + + @Override + public Mutate setUploadType(java.lang.String uploadType) { + return (Mutate) super.setUploadType(uploadType); + } + + @Override + public Mutate setUploadProtocol(java.lang.String uploadProtocol) { + return (Mutate) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the customer whose Keyword Plan ad groups are being modified. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer whose Keyword Plan ad groups are being modified. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the customer whose Keyword Plan ad groups are being modified. */ + public Mutate setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public Mutate set(String parameterName, Object value) { + return (Mutate) super.set(parameterName, value); + } + } + + } + /** + * An accessor for creating requests from the KeywordPlanCampaignKeywords collection. + * + *

The typical use is:

+ *
+     *   {@code SA360 searchads360 = new SA360(...);}
+     *   {@code SA360.KeywordPlanCampaignKeywords.List request = searchads360.keywordPlanCampaignKeywords().list(parameters ...)}
+     * 
+ * + * @return the resource collection + */ + public KeywordPlanCampaignKeywords keywordPlanCampaignKeywords() { + return new KeywordPlanCampaignKeywords(); + } + + /** + * The "keywordPlanCampaignKeywords" collection of methods. + */ + public class KeywordPlanCampaignKeywords { + + /** + * Creates, updates, or removes Keyword Plan campaign keywords. Operation statuses are returned. + * List of thrown errors: [AuthenticationError]() [AuthorizationError]() [DatabaseError]() + * [FieldError]() [HeaderError]() [InternalError]() [KeywordPlanAdGroupKeywordError]() + * [KeywordPlanCampaignKeywordError]() [QuotaError]() [RequestError]() + * [ResourceCountLimitExceededError]() + * + * Create a request for the method "keywordPlanCampaignKeywords.mutate". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + * + * @param customerId Required. The ID of the customer whose campaign keywords are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateKeywordPlanCampaignKeywordsRequest} + * @return the request + */ + public Mutate mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateKeywordPlanCampaignKeywordsRequest content) throws java.io.IOException { + Mutate result = new Mutate(customerId, content); + initialize(result); + return result; + } + + public class Mutate extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/keywordPlanCampaignKeywords:mutate"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Creates, updates, or removes Keyword Plan campaign keywords. Operation statuses are returned. + * List of thrown errors: [AuthenticationError]() [AuthorizationError]() [DatabaseError]() + * [FieldError]() [HeaderError]() [InternalError]() [KeywordPlanAdGroupKeywordError]() + * [KeywordPlanCampaignKeywordError]() [QuotaError]() [RequestError]() + * [ResourceCountLimitExceededError]() + * + * Create a request for the method "keywordPlanCampaignKeywords.mutate". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + *

{@link + * Mutate#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer whose campaign keywords are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateKeywordPlanCampaignKeywordsRequest} + * @since 1.13 + */ + protected Mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateKeywordPlanCampaignKeywordsRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateKeywordPlanCampaignKeywordsResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public Mutate set$Xgafv(java.lang.String $Xgafv) { + return (Mutate) super.set$Xgafv($Xgafv); + } + + @Override + public Mutate setAccessToken(java.lang.String accessToken) { + return (Mutate) super.setAccessToken(accessToken); + } + + @Override + public Mutate setAlt(java.lang.String alt) { + return (Mutate) super.setAlt(alt); + } + + @Override + public Mutate setCallback(java.lang.String callback) { + return (Mutate) super.setCallback(callback); + } + + @Override + public Mutate setFields(java.lang.String fields) { + return (Mutate) super.setFields(fields); + } + + @Override + public Mutate setKey(java.lang.String key) { + return (Mutate) super.setKey(key); + } + + @Override + public Mutate setOauthToken(java.lang.String oauthToken) { + return (Mutate) super.setOauthToken(oauthToken); + } + + @Override + public Mutate setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Mutate) super.setPrettyPrint(prettyPrint); + } + + @Override + public Mutate setQuotaUser(java.lang.String quotaUser) { + return (Mutate) super.setQuotaUser(quotaUser); + } + + @Override + public Mutate setUploadType(java.lang.String uploadType) { + return (Mutate) super.setUploadType(uploadType); + } + + @Override + public Mutate setUploadProtocol(java.lang.String uploadProtocol) { + return (Mutate) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the customer whose campaign keywords are being modified. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer whose campaign keywords are being modified. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the customer whose campaign keywords are being modified. */ + public Mutate setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public Mutate set(String parameterName, Object value) { + return (Mutate) super.set(parameterName, value); + } + } + + } + /** + * An accessor for creating requests from the KeywordPlanCampaigns collection. + * + *

The typical use is:

+ *
+     *   {@code SA360 searchads360 = new SA360(...);}
+     *   {@code SA360.KeywordPlanCampaigns.List request = searchads360.keywordPlanCampaigns().list(parameters ...)}
+     * 
+ * + * @return the resource collection + */ + public KeywordPlanCampaigns keywordPlanCampaigns() { + return new KeywordPlanCampaigns(); + } + + /** + * The "keywordPlanCampaigns" collection of methods. + */ + public class KeywordPlanCampaigns { + + /** + * Creates, updates, or removes Keyword Plan campaigns. Operation statuses are returned. List of + * thrown errors: [AuthenticationError]() [AuthorizationError]() [DatabaseError]() [FieldError]() + * [FieldMaskError]() [HeaderError]() [InternalError]() [KeywordPlanCampaignError]() + * [KeywordPlanError]() [ListOperationError]() [MutateError]() [QuotaError]() [RangeError]() + * [RequestError]() [ResourceCountLimitExceededError]() + * + * Create a request for the method "keywordPlanCampaigns.mutate". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + * + * @param customerId Required. The ID of the customer whose Keyword Plan campaigns are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateKeywordPlanCampaignsRequest} + * @return the request + */ + public Mutate mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateKeywordPlanCampaignsRequest content) throws java.io.IOException { + Mutate result = new Mutate(customerId, content); + initialize(result); + return result; + } + + public class Mutate extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/keywordPlanCampaigns:mutate"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Creates, updates, or removes Keyword Plan campaigns. Operation statuses are returned. List of + * thrown errors: [AuthenticationError]() [AuthorizationError]() [DatabaseError]() [FieldError]() + * [FieldMaskError]() [HeaderError]() [InternalError]() [KeywordPlanCampaignError]() + * [KeywordPlanError]() [ListOperationError]() [MutateError]() [QuotaError]() [RangeError]() + * [RequestError]() [ResourceCountLimitExceededError]() + * + * Create a request for the method "keywordPlanCampaigns.mutate". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + *

{@link + * Mutate#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer whose Keyword Plan campaigns are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateKeywordPlanCampaignsRequest} + * @since 1.13 + */ + protected Mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateKeywordPlanCampaignsRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateKeywordPlanCampaignsResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public Mutate set$Xgafv(java.lang.String $Xgafv) { + return (Mutate) super.set$Xgafv($Xgafv); + } + + @Override + public Mutate setAccessToken(java.lang.String accessToken) { + return (Mutate) super.setAccessToken(accessToken); + } + + @Override + public Mutate setAlt(java.lang.String alt) { + return (Mutate) super.setAlt(alt); + } + + @Override + public Mutate setCallback(java.lang.String callback) { + return (Mutate) super.setCallback(callback); + } + + @Override + public Mutate setFields(java.lang.String fields) { + return (Mutate) super.setFields(fields); + } + + @Override + public Mutate setKey(java.lang.String key) { + return (Mutate) super.setKey(key); + } + + @Override + public Mutate setOauthToken(java.lang.String oauthToken) { + return (Mutate) super.setOauthToken(oauthToken); + } + + @Override + public Mutate setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Mutate) super.setPrettyPrint(prettyPrint); + } + + @Override + public Mutate setQuotaUser(java.lang.String quotaUser) { + return (Mutate) super.setQuotaUser(quotaUser); + } + + @Override + public Mutate setUploadType(java.lang.String uploadType) { + return (Mutate) super.setUploadType(uploadType); + } + + @Override + public Mutate setUploadProtocol(java.lang.String uploadProtocol) { + return (Mutate) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the customer whose Keyword Plan campaigns are being modified. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer whose Keyword Plan campaigns are being modified. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the customer whose Keyword Plan campaigns are being modified. */ + public Mutate setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public Mutate set(String parameterName, Object value) { + return (Mutate) super.set(parameterName, value); + } + } + + } + /** + * An accessor for creating requests from the KeywordPlans collection. + * + *

The typical use is:

+ *
+     *   {@code SA360 searchads360 = new SA360(...);}
+     *   {@code SA360.KeywordPlans.List request = searchads360.keywordPlans().list(parameters ...)}
+     * 
+ * + * @return the resource collection + */ + public KeywordPlans keywordPlans() { + return new KeywordPlans(); + } + + /** + * The "keywordPlans" collection of methods. + */ + public class KeywordPlans { + + /** + * Creates, updates, or removes keyword plans. Operation statuses are returned. List of thrown + * errors: [AuthenticationError]() [AuthorizationError]() [DatabaseError]() [FieldError]() + * [HeaderError]() [InternalError]() [KeywordPlanError]() [MutateError]() + * [NewResourceCreationError]() [QuotaError]() [RequestError]() [ResourceCountLimitExceededError]() + * [StringLengthError]() + * + * Create a request for the method "keywordPlans.mutate". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + * + * @param customerId Required. The ID of the customer whose keyword plans are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateKeywordPlansRequest} + * @return the request + */ + public Mutate mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateKeywordPlansRequest content) throws java.io.IOException { + Mutate result = new Mutate(customerId, content); + initialize(result); + return result; + } + + public class Mutate extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/keywordPlans:mutate"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Creates, updates, or removes keyword plans. Operation statuses are returned. List of thrown + * errors: [AuthenticationError]() [AuthorizationError]() [DatabaseError]() [FieldError]() + * [HeaderError]() [InternalError]() [KeywordPlanError]() [MutateError]() + * [NewResourceCreationError]() [QuotaError]() [RequestError]() + * [ResourceCountLimitExceededError]() [StringLengthError]() + * + * Create a request for the method "keywordPlans.mutate". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + *

{@link + * Mutate#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer whose keyword plans are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateKeywordPlansRequest} + * @since 1.13 + */ + protected Mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateKeywordPlansRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateKeywordPlansResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public Mutate set$Xgafv(java.lang.String $Xgafv) { + return (Mutate) super.set$Xgafv($Xgafv); + } + + @Override + public Mutate setAccessToken(java.lang.String accessToken) { + return (Mutate) super.setAccessToken(accessToken); + } + + @Override + public Mutate setAlt(java.lang.String alt) { + return (Mutate) super.setAlt(alt); + } + + @Override + public Mutate setCallback(java.lang.String callback) { + return (Mutate) super.setCallback(callback); + } + + @Override + public Mutate setFields(java.lang.String fields) { + return (Mutate) super.setFields(fields); + } + + @Override + public Mutate setKey(java.lang.String key) { + return (Mutate) super.setKey(key); + } + + @Override + public Mutate setOauthToken(java.lang.String oauthToken) { + return (Mutate) super.setOauthToken(oauthToken); + } + + @Override + public Mutate setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Mutate) super.setPrettyPrint(prettyPrint); + } + + @Override + public Mutate setQuotaUser(java.lang.String quotaUser) { + return (Mutate) super.setQuotaUser(quotaUser); + } + + @Override + public Mutate setUploadType(java.lang.String uploadType) { + return (Mutate) super.setUploadType(uploadType); + } + + @Override + public Mutate setUploadProtocol(java.lang.String uploadProtocol) { + return (Mutate) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the customer whose keyword plans are being modified. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer whose keyword plans are being modified. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the customer whose keyword plans are being modified. */ + public Mutate setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public Mutate set(String parameterName, Object value) { + return (Mutate) super.set(parameterName, value); + } + } + + } + /** + * An accessor for creating requests from the Labels collection. + * + *

The typical use is:

+ *
+     *   {@code SA360 searchads360 = new SA360(...);}
+     *   {@code SA360.Labels.List request = searchads360.labels().list(parameters ...)}
+     * 
+ * + * @return the resource collection + */ + public Labels labels() { + return new Labels(); + } + + /** + * The "labels" collection of methods. + */ + public class Labels { + + /** + * Creates, updates, or removes labels. Operation statuses are returned. List of thrown errors: + * [AuthenticationError]() [AuthorizationError]() [DatabaseError]() [DateError]() [DistinctError]() + * [FieldError]() [FieldMaskError]() [HeaderError]() [IdError]() [InternalError]() [LabelError]() + * [MutateError]() [NewResourceCreationError]() [NotEmptyError]() [NullError]() [OperatorError]() + * [QuotaError]() [RangeError]() [RequestError]() [ResourceCountLimitExceededError]() + * [SizeLimitError]() [StringFormatError]() [StringLengthError]() + * + * Create a request for the method "labels.mutate". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + * + * @param customerId Required. ID of the customer whose labels are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateLabelsRequest} + * @return the request + */ + public Mutate mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateLabelsRequest content) throws java.io.IOException { + Mutate result = new Mutate(customerId, content); + initialize(result); + return result; + } + + public class Mutate extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/labels:mutate"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Creates, updates, or removes labels. Operation statuses are returned. List of thrown errors: + * [AuthenticationError]() [AuthorizationError]() [DatabaseError]() [DateError]() + * [DistinctError]() [FieldError]() [FieldMaskError]() [HeaderError]() [IdError]() + * [InternalError]() [LabelError]() [MutateError]() [NewResourceCreationError]() [NotEmptyError]() + * [NullError]() [OperatorError]() [QuotaError]() [RangeError]() [RequestError]() + * [ResourceCountLimitExceededError]() [SizeLimitError]() [StringFormatError]() + * [StringLengthError]() + * + * Create a request for the method "labels.mutate". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + *

{@link + * Mutate#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param customerId Required. ID of the customer whose labels are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateLabelsRequest} + * @since 1.13 + */ + protected Mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateLabelsRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateLabelsResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public Mutate set$Xgafv(java.lang.String $Xgafv) { + return (Mutate) super.set$Xgafv($Xgafv); + } + + @Override + public Mutate setAccessToken(java.lang.String accessToken) { + return (Mutate) super.setAccessToken(accessToken); + } + + @Override + public Mutate setAlt(java.lang.String alt) { + return (Mutate) super.setAlt(alt); + } + + @Override + public Mutate setCallback(java.lang.String callback) { + return (Mutate) super.setCallback(callback); + } + + @Override + public Mutate setFields(java.lang.String fields) { + return (Mutate) super.setFields(fields); + } + + @Override + public Mutate setKey(java.lang.String key) { + return (Mutate) super.setKey(key); + } + + @Override + public Mutate setOauthToken(java.lang.String oauthToken) { + return (Mutate) super.setOauthToken(oauthToken); + } + + @Override + public Mutate setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Mutate) super.setPrettyPrint(prettyPrint); + } + + @Override + public Mutate setQuotaUser(java.lang.String quotaUser) { + return (Mutate) super.setQuotaUser(quotaUser); + } + + @Override + public Mutate setUploadType(java.lang.String uploadType) { + return (Mutate) super.setUploadType(uploadType); + } + + @Override + public Mutate setUploadProtocol(java.lang.String uploadProtocol) { + return (Mutate) super.setUploadProtocol(uploadProtocol); + } + + /** Required. ID of the customer whose labels are being modified. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. ID of the customer whose labels are being modified. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. ID of the customer whose labels are being modified. */ + public Mutate setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public Mutate set(String parameterName, Object value) { + return (Mutate) super.set(parameterName, value); + } + } + + } + /** + * An accessor for creating requests from the LocalServices collection. + * + *

The typical use is:

+ *
+     *   {@code SA360 searchads360 = new SA360(...);}
+     *   {@code SA360.LocalServices.List request = searchads360.localServices().list(parameters ...)}
+     * 
+ * + * @return the resource collection + */ + public LocalServices localServices() { + return new LocalServices(); + } + + /** + * The "localServices" collection of methods. + */ + public class LocalServices { + + /** + * RPC to append Local Services Lead Conversation resources to Local Services Lead resources. + * + * Create a request for the method "localServices.appendLeadConversation". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link AppendLeadConversation#execute()} method to invoke the remote + * operation. + * + * @param customerId Required. The Id of the customer which owns the leads onto which the conversations will be appended. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesAppendLeadConversationRequest} + * @return the request + */ + public AppendLeadConversation appendLeadConversation(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesAppendLeadConversationRequest content) throws java.io.IOException { + AppendLeadConversation result = new AppendLeadConversation(customerId, content); + initialize(result); + return result; + } + + public class AppendLeadConversation extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/localServices:appendLeadConversation"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * RPC to append Local Services Lead Conversation resources to Local Services Lead resources. + * + * Create a request for the method "localServices.appendLeadConversation". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link AppendLeadConversation#execute()} method to invoke the + * remote operation.

{@link AppendLeadConversation#initialize(com.google.api.client.googleapis + * .services.AbstractGoogleClientRequest)} must be called to initialize this instance immediately + * after invoking the constructor.

+ * + * @param customerId Required. The Id of the customer which owns the leads onto which the conversations will be appended. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesAppendLeadConversationRequest} + * @since 1.13 + */ + protected AppendLeadConversation(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesAppendLeadConversationRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesAppendLeadConversationResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public AppendLeadConversation set$Xgafv(java.lang.String $Xgafv) { + return (AppendLeadConversation) super.set$Xgafv($Xgafv); + } + + @Override + public AppendLeadConversation setAccessToken(java.lang.String accessToken) { + return (AppendLeadConversation) super.setAccessToken(accessToken); + } + + @Override + public AppendLeadConversation setAlt(java.lang.String alt) { + return (AppendLeadConversation) super.setAlt(alt); + } + + @Override + public AppendLeadConversation setCallback(java.lang.String callback) { + return (AppendLeadConversation) super.setCallback(callback); + } + + @Override + public AppendLeadConversation setFields(java.lang.String fields) { + return (AppendLeadConversation) super.setFields(fields); + } + + @Override + public AppendLeadConversation setKey(java.lang.String key) { + return (AppendLeadConversation) super.setKey(key); + } + + @Override + public AppendLeadConversation setOauthToken(java.lang.String oauthToken) { + return (AppendLeadConversation) super.setOauthToken(oauthToken); + } + + @Override + public AppendLeadConversation setPrettyPrint(java.lang.Boolean prettyPrint) { + return (AppendLeadConversation) super.setPrettyPrint(prettyPrint); + } + + @Override + public AppendLeadConversation setQuotaUser(java.lang.String quotaUser) { + return (AppendLeadConversation) super.setQuotaUser(quotaUser); + } + + @Override + public AppendLeadConversation setUploadType(java.lang.String uploadType) { + return (AppendLeadConversation) super.setUploadType(uploadType); + } + + @Override + public AppendLeadConversation setUploadProtocol(java.lang.String uploadProtocol) { + return (AppendLeadConversation) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. The Id of the customer which owns the leads onto which the conversations will + * be appended. + */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The Id of the customer which owns the leads onto which the conversations will be + appended. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** + * Required. The Id of the customer which owns the leads onto which the conversations will + * be appended. + */ + public AppendLeadConversation setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public AppendLeadConversation set(String parameterName, Object value) { + return (AppendLeadConversation) super.set(parameterName, value); + } + } + + } + /** + * An accessor for creating requests from the LocalServicesLeads collection. + * + *

The typical use is:

+ *
+     *   {@code SA360 searchads360 = new SA360(...);}
+     *   {@code SA360.LocalServicesLeads.List request = searchads360.localServicesLeads().list(parameters ...)}
+     * 
+ * + * @return the resource collection + */ + public LocalServicesLeads localServicesLeads() { + return new LocalServicesLeads(); + } + + /** + * The "localServicesLeads" collection of methods. + */ + public class LocalServicesLeads { + + /** + * RPC to provide feedback on Local Services Lead resources. + * + * Create a request for the method "localServicesLeads.provideLeadFeedback". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link ProvideLeadFeedback#execute()} method to invoke the remote operation. + * + * @param resourceName Required. The resource name of the local services lead that for which the feedback is being + * provided. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesProvideLeadFeedbackRequest} + * @return the request + */ + public ProvideLeadFeedback provideLeadFeedback(java.lang.String resourceName, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesProvideLeadFeedbackRequest content) throws java.io.IOException { + ProvideLeadFeedback result = new ProvideLeadFeedback(resourceName, content); + initialize(result); + return result; + } + + public class ProvideLeadFeedback extends SA360Request { + + private static final String REST_PATH = "v23/{+resourceName}:provideLeadFeedback"; + + private final java.util.regex.Pattern RESOURCE_NAME_PATTERN = + java.util.regex.Pattern.compile("^customers/[^/]+/localServicesLeads/[^/]+$"); + + /** + * RPC to provide feedback on Local Services Lead resources. + * + * Create a request for the method "localServicesLeads.provideLeadFeedback". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link ProvideLeadFeedback#execute()} method to invoke the remote + * operation.

{@link ProvideLeadFeedback#initialize(com.google.api.client.googleapis.services. + * AbstractGoogleClientRequest)} must be called to initialize this instance immediately after + * invoking the constructor.

+ * + * @param resourceName Required. The resource name of the local services lead that for which the feedback is being + * provided. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesProvideLeadFeedbackRequest} + * @since 1.13 + */ + protected ProvideLeadFeedback(java.lang.String resourceName, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesProvideLeadFeedbackRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesProvideLeadFeedbackResponse.class); + this.resourceName = com.google.api.client.util.Preconditions.checkNotNull(resourceName, "Required parameter resourceName must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(RESOURCE_NAME_PATTERN.matcher(resourceName).matches(), + "Parameter resourceName must conform to the pattern " + + "^customers/[^/]+/localServicesLeads/[^/]+$"); + } + } + + @Override + public ProvideLeadFeedback set$Xgafv(java.lang.String $Xgafv) { + return (ProvideLeadFeedback) super.set$Xgafv($Xgafv); + } + + @Override + public ProvideLeadFeedback setAccessToken(java.lang.String accessToken) { + return (ProvideLeadFeedback) super.setAccessToken(accessToken); + } + + @Override + public ProvideLeadFeedback setAlt(java.lang.String alt) { + return (ProvideLeadFeedback) super.setAlt(alt); + } + + @Override + public ProvideLeadFeedback setCallback(java.lang.String callback) { + return (ProvideLeadFeedback) super.setCallback(callback); + } + + @Override + public ProvideLeadFeedback setFields(java.lang.String fields) { + return (ProvideLeadFeedback) super.setFields(fields); + } + + @Override + public ProvideLeadFeedback setKey(java.lang.String key) { + return (ProvideLeadFeedback) super.setKey(key); + } + + @Override + public ProvideLeadFeedback setOauthToken(java.lang.String oauthToken) { + return (ProvideLeadFeedback) super.setOauthToken(oauthToken); + } + + @Override + public ProvideLeadFeedback setPrettyPrint(java.lang.Boolean prettyPrint) { + return (ProvideLeadFeedback) super.setPrettyPrint(prettyPrint); + } + + @Override + public ProvideLeadFeedback setQuotaUser(java.lang.String quotaUser) { + return (ProvideLeadFeedback) super.setQuotaUser(quotaUser); + } + + @Override + public ProvideLeadFeedback setUploadType(java.lang.String uploadType) { + return (ProvideLeadFeedback) super.setUploadType(uploadType); + } + + @Override + public ProvideLeadFeedback setUploadProtocol(java.lang.String uploadProtocol) { + return (ProvideLeadFeedback) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. The resource name of the local services lead that for which the feedback is + * being provided. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** Required. The resource name of the local services lead that for which the feedback is being + provided. + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Required. The resource name of the local services lead that for which the feedback is + * being provided. + */ + public ProvideLeadFeedback setResourceName(java.lang.String resourceName) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(RESOURCE_NAME_PATTERN.matcher(resourceName).matches(), + "Parameter resourceName must conform to the pattern " + + "^customers/[^/]+/localServicesLeads/[^/]+$"); + } + this.resourceName = resourceName; + return this; + } + + @Override + public ProvideLeadFeedback set(String parameterName, Object value) { + return (ProvideLeadFeedback) super.set(parameterName, value); + } + } + + } + /** + * An accessor for creating requests from the OfflineUserDataJobs collection. + * + *

The typical use is:

+ *
+     *   {@code SA360 searchads360 = new SA360(...);}
+     *   {@code SA360.OfflineUserDataJobs.List request = searchads360.offlineUserDataJobs().list(parameters ...)}
+     * 
+ * + * @return the resource collection + */ + public OfflineUserDataJobs offlineUserDataJobs() { + return new OfflineUserDataJobs(); + } + + /** + * The "offlineUserDataJobs" collection of methods. + */ + public class OfflineUserDataJobs { + + /** + * Adds operations to the offline user data job. List of thrown errors: [AuthenticationError]() + * [AuthorizationError]() [DatabaseError]() [FieldError]() [HeaderError]() [InternalError]() + * [MutateError]() [OfflineUserDataJobError]() [QuotaError]() [RequestError]() + * + * Create a request for the method "offlineUserDataJobs.addOperations". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link AddOperations#execute()} method to invoke the remote operation. + * + * @param resourceName Required. The resource name of the OfflineUserDataJob. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesAddOfflineUserDataJobOperationsRequest} + * @return the request + */ + public AddOperations addOperations(java.lang.String resourceName, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesAddOfflineUserDataJobOperationsRequest content) throws java.io.IOException { + AddOperations result = new AddOperations(resourceName, content); + initialize(result); + return result; + } + + public class AddOperations extends SA360Request { + + private static final String REST_PATH = "v23/{+resourceName}:addOperations"; + + private final java.util.regex.Pattern RESOURCE_NAME_PATTERN = + java.util.regex.Pattern.compile("^customers/[^/]+/offlineUserDataJobs/[^/]+$"); + + /** + * Adds operations to the offline user data job. List of thrown errors: [AuthenticationError]() + * [AuthorizationError]() [DatabaseError]() [FieldError]() [HeaderError]() [InternalError]() + * [MutateError]() [OfflineUserDataJobError]() [QuotaError]() [RequestError]() + * + * Create a request for the method "offlineUserDataJobs.addOperations". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link AddOperations#execute()} method to invoke the remote + * operation.

{@link AddOperations#initialize(com.google.api.client.googleapis.services.Abstra + * ctGoogleClientRequest)} must be called to initialize this instance immediately after invoking + * the constructor.

+ * + * @param resourceName Required. The resource name of the OfflineUserDataJob. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesAddOfflineUserDataJobOperationsRequest} + * @since 1.13 + */ + protected AddOperations(java.lang.String resourceName, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesAddOfflineUserDataJobOperationsRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesAddOfflineUserDataJobOperationsResponse.class); + this.resourceName = com.google.api.client.util.Preconditions.checkNotNull(resourceName, "Required parameter resourceName must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(RESOURCE_NAME_PATTERN.matcher(resourceName).matches(), + "Parameter resourceName must conform to the pattern " + + "^customers/[^/]+/offlineUserDataJobs/[^/]+$"); + } + } + + @Override + public AddOperations set$Xgafv(java.lang.String $Xgafv) { + return (AddOperations) super.set$Xgafv($Xgafv); + } + + @Override + public AddOperations setAccessToken(java.lang.String accessToken) { + return (AddOperations) super.setAccessToken(accessToken); + } + + @Override + public AddOperations setAlt(java.lang.String alt) { + return (AddOperations) super.setAlt(alt); + } + + @Override + public AddOperations setCallback(java.lang.String callback) { + return (AddOperations) super.setCallback(callback); + } + + @Override + public AddOperations setFields(java.lang.String fields) { + return (AddOperations) super.setFields(fields); + } + + @Override + public AddOperations setKey(java.lang.String key) { + return (AddOperations) super.setKey(key); + } + + @Override + public AddOperations setOauthToken(java.lang.String oauthToken) { + return (AddOperations) super.setOauthToken(oauthToken); + } + + @Override + public AddOperations setPrettyPrint(java.lang.Boolean prettyPrint) { + return (AddOperations) super.setPrettyPrint(prettyPrint); + } + + @Override + public AddOperations setQuotaUser(java.lang.String quotaUser) { + return (AddOperations) super.setQuotaUser(quotaUser); + } + + @Override + public AddOperations setUploadType(java.lang.String uploadType) { + return (AddOperations) super.setUploadType(uploadType); + } + + @Override + public AddOperations setUploadProtocol(java.lang.String uploadProtocol) { + return (AddOperations) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The resource name of the OfflineUserDataJob. */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** Required. The resource name of the OfflineUserDataJob. + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** Required. The resource name of the OfflineUserDataJob. */ + public AddOperations setResourceName(java.lang.String resourceName) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(RESOURCE_NAME_PATTERN.matcher(resourceName).matches(), + "Parameter resourceName must conform to the pattern " + + "^customers/[^/]+/offlineUserDataJobs/[^/]+$"); + } + this.resourceName = resourceName; + return this; + } + + @Override + public AddOperations set(String parameterName, Object value) { + return (AddOperations) super.set(parameterName, value); + } + } + /** + * Creates an offline user data job. List of thrown errors: [AuthenticationError]() + * [AuthorizationError]() [DatabaseError]() [FieldError]() [HeaderError]() [InternalError]() + * [NotAllowlistedError]() [OfflineUserDataJobError]() [QuotaError]() [RequestError]() + * + * Create a request for the method "offlineUserDataJobs.create". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Create#execute()} method to invoke the remote operation. + * + * @param customerId Required. The ID of the customer for which to create an offline user data job. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesCreateOfflineUserDataJobRequest} + * @return the request + */ + public Create create(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesCreateOfflineUserDataJobRequest content) throws java.io.IOException { + Create result = new Create(customerId, content); + initialize(result); + return result; + } + + public class Create extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/offlineUserDataJobs:create"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Creates an offline user data job. List of thrown errors: [AuthenticationError]() + * [AuthorizationError]() [DatabaseError]() [FieldError]() [HeaderError]() [InternalError]() + * [NotAllowlistedError]() [OfflineUserDataJobError]() [QuotaError]() [RequestError]() + * + * Create a request for the method "offlineUserDataJobs.create". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Create#execute()} method to invoke the remote operation. + *

{@link + * Create#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer for which to create an offline user data job. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesCreateOfflineUserDataJobRequest} + * @since 1.13 + */ + protected Create(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesCreateOfflineUserDataJobRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesCreateOfflineUserDataJobResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public Create set$Xgafv(java.lang.String $Xgafv) { + return (Create) super.set$Xgafv($Xgafv); + } + + @Override + public Create setAccessToken(java.lang.String accessToken) { + return (Create) super.setAccessToken(accessToken); + } + + @Override + public Create setAlt(java.lang.String alt) { + return (Create) super.setAlt(alt); + } + + @Override + public Create setCallback(java.lang.String callback) { + return (Create) super.setCallback(callback); + } + + @Override + public Create setFields(java.lang.String fields) { + return (Create) super.setFields(fields); + } + + @Override + public Create setKey(java.lang.String key) { + return (Create) super.setKey(key); + } + + @Override + public Create setOauthToken(java.lang.String oauthToken) { + return (Create) super.setOauthToken(oauthToken); + } + + @Override + public Create setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Create) super.setPrettyPrint(prettyPrint); + } + + @Override + public Create setQuotaUser(java.lang.String quotaUser) { + return (Create) super.setQuotaUser(quotaUser); + } + + @Override + public Create setUploadType(java.lang.String uploadType) { + return (Create) super.setUploadType(uploadType); + } + + @Override + public Create setUploadProtocol(java.lang.String uploadProtocol) { + return (Create) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the customer for which to create an offline user data job. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer for which to create an offline user data job. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the customer for which to create an offline user data job. */ + public Create setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public Create set(String parameterName, Object value) { + return (Create) super.set(parameterName, value); + } + } + /** + * Runs the offline user data job. When finished, the long running operation will contain the + * processing result or failure information, if any. List of thrown errors: [AuthenticationError]() + * [AuthorizationError]() [DatabaseError]() [HeaderError]() [InternalError]() + * [OfflineUserDataJobError]() [QuotaError]() [RequestError]() + * + * Create a request for the method "offlineUserDataJobs.run". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Run#execute()} method to invoke the remote operation. + * + * @param resourceName Required. The resource name of the OfflineUserDataJob to run. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesRunOfflineUserDataJobRequest} + * @return the request + */ + public Run run(java.lang.String resourceName, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesRunOfflineUserDataJobRequest content) throws java.io.IOException { + Run result = new Run(resourceName, content); + initialize(result); + return result; + } + + public class Run extends SA360Request { + + private static final String REST_PATH = "v23/{+resourceName}:run"; + + private final java.util.regex.Pattern RESOURCE_NAME_PATTERN = + java.util.regex.Pattern.compile("^customers/[^/]+/offlineUserDataJobs/[^/]+$"); + + /** + * Runs the offline user data job. When finished, the long running operation will contain the + * processing result or failure information, if any. List of thrown errors: + * [AuthenticationError]() [AuthorizationError]() [DatabaseError]() [HeaderError]() + * [InternalError]() [OfflineUserDataJobError]() [QuotaError]() [RequestError]() + * + * Create a request for the method "offlineUserDataJobs.run". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Run#execute()} method to invoke the remote operation.

+ * {@link Run#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} + * must be called to initialize this instance immediately after invoking the constructor.

+ * + * @param resourceName Required. The resource name of the OfflineUserDataJob to run. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesRunOfflineUserDataJobRequest} + * @since 1.13 + */ + protected Run(java.lang.String resourceName, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesRunOfflineUserDataJobRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleLongrunningOperation.class); + this.resourceName = com.google.api.client.util.Preconditions.checkNotNull(resourceName, "Required parameter resourceName must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(RESOURCE_NAME_PATTERN.matcher(resourceName).matches(), + "Parameter resourceName must conform to the pattern " + + "^customers/[^/]+/offlineUserDataJobs/[^/]+$"); + } + } + + @Override + public Run set$Xgafv(java.lang.String $Xgafv) { + return (Run) super.set$Xgafv($Xgafv); + } + + @Override + public Run setAccessToken(java.lang.String accessToken) { + return (Run) super.setAccessToken(accessToken); + } + + @Override + public Run setAlt(java.lang.String alt) { + return (Run) super.setAlt(alt); + } + + @Override + public Run setCallback(java.lang.String callback) { + return (Run) super.setCallback(callback); + } + + @Override + public Run setFields(java.lang.String fields) { + return (Run) super.setFields(fields); + } + + @Override + public Run setKey(java.lang.String key) { + return (Run) super.setKey(key); + } + + @Override + public Run setOauthToken(java.lang.String oauthToken) { + return (Run) super.setOauthToken(oauthToken); + } + + @Override + public Run setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Run) super.setPrettyPrint(prettyPrint); + } + + @Override + public Run setQuotaUser(java.lang.String quotaUser) { + return (Run) super.setQuotaUser(quotaUser); + } + + @Override + public Run setUploadType(java.lang.String uploadType) { + return (Run) super.setUploadType(uploadType); + } + + @Override + public Run setUploadProtocol(java.lang.String uploadProtocol) { + return (Run) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The resource name of the OfflineUserDataJob to run. */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** Required. The resource name of the OfflineUserDataJob to run. + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** Required. The resource name of the OfflineUserDataJob to run. */ + public Run setResourceName(java.lang.String resourceName) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(RESOURCE_NAME_PATTERN.matcher(resourceName).matches(), + "Parameter resourceName must conform to the pattern " + + "^customers/[^/]+/offlineUserDataJobs/[^/]+$"); + } + this.resourceName = resourceName; + return this; + } + + @Override + public Run set(String parameterName, Object value) { + return (Run) super.set(parameterName, value); + } + } + + } + /** + * An accessor for creating requests from the PaymentsAccounts collection. + * + *

The typical use is:

+ *
+     *   {@code SA360 searchads360 = new SA360(...);}
+     *   {@code SA360.PaymentsAccounts.List request = searchads360.paymentsAccounts().list(parameters ...)}
+     * 
+ * + * @return the resource collection + */ + public PaymentsAccounts paymentsAccounts() { + return new PaymentsAccounts(); + } + + /** + * The "paymentsAccounts" collection of methods. + */ + public class PaymentsAccounts { + + /** + * Returns all payments accounts associated with all managers between the login customer ID and + * specified serving customer in the hierarchy, inclusive. List of thrown errors: + * [AuthenticationError]() [AuthorizationError]() [HeaderError]() [InternalError]() + * [PaymentsAccountError]() [QuotaError]() [RequestError]() + * + * Create a request for the method "paymentsAccounts.list". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link List#execute()} method to invoke the remote operation. + * + * @param customerId Required. The ID of the customer to apply the PaymentsAccount list operation to. + * @return the request + */ + public List list(java.lang.String customerId) throws java.io.IOException { + List result = new List(customerId); + initialize(result); + return result; + } + + public class List extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/paymentsAccounts"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Returns all payments accounts associated with all managers between the login customer ID and + * specified serving customer in the hierarchy, inclusive. List of thrown errors: + * [AuthenticationError]() [AuthorizationError]() [HeaderError]() [InternalError]() + * [PaymentsAccountError]() [QuotaError]() [RequestError]() + * + * Create a request for the method "paymentsAccounts.list". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link List#execute()} method to invoke the remote operation.

+ * {@link List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} + * must be called to initialize this instance immediately after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer to apply the PaymentsAccount list operation to. + * @since 1.13 + */ + protected List(java.lang.String customerId) { + super(SA360.this, "GET", REST_PATH, null, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesListPaymentsAccountsResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { + return super.executeUsingHead(); + } + + @Override + public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { + return super.buildHttpRequestUsingHead(); + } + + @Override + public List set$Xgafv(java.lang.String $Xgafv) { + return (List) super.set$Xgafv($Xgafv); + } + + @Override + public List setAccessToken(java.lang.String accessToken) { + return (List) super.setAccessToken(accessToken); + } + + @Override + public List setAlt(java.lang.String alt) { + return (List) super.setAlt(alt); + } + + @Override + public List setCallback(java.lang.String callback) { + return (List) super.setCallback(callback); + } + + @Override + public List setFields(java.lang.String fields) { + return (List) super.setFields(fields); + } + + @Override + public List setKey(java.lang.String key) { + return (List) super.setKey(key); + } + + @Override + public List setOauthToken(java.lang.String oauthToken) { + return (List) super.setOauthToken(oauthToken); + } + + @Override + public List setPrettyPrint(java.lang.Boolean prettyPrint) { + return (List) super.setPrettyPrint(prettyPrint); + } + + @Override + public List setQuotaUser(java.lang.String quotaUser) { + return (List) super.setQuotaUser(quotaUser); + } + + @Override + public List setUploadType(java.lang.String uploadType) { + return (List) super.setUploadType(uploadType); + } + + @Override + public List setUploadProtocol(java.lang.String uploadProtocol) { + return (List) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the customer to apply the PaymentsAccount list operation to. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer to apply the PaymentsAccount list operation to. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the customer to apply the PaymentsAccount list operation to. */ + public List setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public List set(String parameterName, Object value) { + return (List) super.set(parameterName, value); + } + } + + } + /** + * An accessor for creating requests from the ProductLinkInvitations collection. + * + *

The typical use is:

+ *
+     *   {@code SA360 searchads360 = new SA360(...);}
+     *   {@code SA360.ProductLinkInvitations.List request = searchads360.productLinkInvitations().list(parameters ...)}
+     * 
+ * + * @return the resource collection + */ + public ProductLinkInvitations productLinkInvitations() { + return new ProductLinkInvitations(); + } + + /** + * The "productLinkInvitations" collection of methods. + */ + public class ProductLinkInvitations { + + /** + * Creates a product link invitation. + * + * Create a request for the method "productLinkInvitations.create". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Create#execute()} method to invoke the remote operation. + * + * @param customerId Required. The ID of the customer being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesCreateProductLinkInvitationRequest} + * @return the request + */ + public Create create(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesCreateProductLinkInvitationRequest content) throws java.io.IOException { + Create result = new Create(customerId, content); + initialize(result); + return result; + } + + public class Create extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/productLinkInvitations:create"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Creates a product link invitation. + * + * Create a request for the method "productLinkInvitations.create". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Create#execute()} method to invoke the remote operation. + *

{@link + * Create#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesCreateProductLinkInvitationRequest} + * @since 1.13 + */ + protected Create(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesCreateProductLinkInvitationRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesCreateProductLinkInvitationResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public Create set$Xgafv(java.lang.String $Xgafv) { + return (Create) super.set$Xgafv($Xgafv); + } + + @Override + public Create setAccessToken(java.lang.String accessToken) { + return (Create) super.setAccessToken(accessToken); + } + + @Override + public Create setAlt(java.lang.String alt) { + return (Create) super.setAlt(alt); + } + + @Override + public Create setCallback(java.lang.String callback) { + return (Create) super.setCallback(callback); + } + + @Override + public Create setFields(java.lang.String fields) { + return (Create) super.setFields(fields); + } + + @Override + public Create setKey(java.lang.String key) { + return (Create) super.setKey(key); + } + + @Override + public Create setOauthToken(java.lang.String oauthToken) { + return (Create) super.setOauthToken(oauthToken); + } + + @Override + public Create setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Create) super.setPrettyPrint(prettyPrint); + } + + @Override + public Create setQuotaUser(java.lang.String quotaUser) { + return (Create) super.setQuotaUser(quotaUser); + } + + @Override + public Create setUploadType(java.lang.String uploadType) { + return (Create) super.setUploadType(uploadType); + } + + @Override + public Create setUploadProtocol(java.lang.String uploadProtocol) { + return (Create) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the customer being modified. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer being modified. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the customer being modified. */ + public Create setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public Create set(String parameterName, Object value) { + return (Create) super.set(parameterName, value); + } + } + /** + * Remove a product link invitation. + * + * Create a request for the method "productLinkInvitations.remove". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Remove#execute()} method to invoke the remote operation. + * + * @param customerId Required. The ID of the product link invitation being removed. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesRemoveProductLinkInvitationRequest} + * @return the request + */ + public Remove remove(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesRemoveProductLinkInvitationRequest content) throws java.io.IOException { + Remove result = new Remove(customerId, content); + initialize(result); + return result; + } + + public class Remove extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/productLinkInvitations:remove"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Remove a product link invitation. + * + * Create a request for the method "productLinkInvitations.remove". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Remove#execute()} method to invoke the remote operation. + *

{@link + * Remove#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param customerId Required. The ID of the product link invitation being removed. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesRemoveProductLinkInvitationRequest} + * @since 1.13 + */ + protected Remove(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesRemoveProductLinkInvitationRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesRemoveProductLinkInvitationResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public Remove set$Xgafv(java.lang.String $Xgafv) { + return (Remove) super.set$Xgafv($Xgafv); + } + + @Override + public Remove setAccessToken(java.lang.String accessToken) { + return (Remove) super.setAccessToken(accessToken); + } + + @Override + public Remove setAlt(java.lang.String alt) { + return (Remove) super.setAlt(alt); + } + + @Override + public Remove setCallback(java.lang.String callback) { + return (Remove) super.setCallback(callback); + } + + @Override + public Remove setFields(java.lang.String fields) { + return (Remove) super.setFields(fields); + } + + @Override + public Remove setKey(java.lang.String key) { + return (Remove) super.setKey(key); + } + + @Override + public Remove setOauthToken(java.lang.String oauthToken) { + return (Remove) super.setOauthToken(oauthToken); + } + + @Override + public Remove setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Remove) super.setPrettyPrint(prettyPrint); + } + + @Override + public Remove setQuotaUser(java.lang.String quotaUser) { + return (Remove) super.setQuotaUser(quotaUser); + } + + @Override + public Remove setUploadType(java.lang.String uploadType) { + return (Remove) super.setUploadType(uploadType); + } + + @Override + public Remove setUploadProtocol(java.lang.String uploadProtocol) { + return (Remove) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the product link invitation being removed. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the product link invitation being removed. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the product link invitation being removed. */ + public Remove setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public Remove set(String parameterName, Object value) { + return (Remove) super.set(parameterName, value); + } + } + /** + * Update a product link invitation. + * + * Create a request for the method "productLinkInvitations.update". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Update#execute()} method to invoke the remote operation. + * + * @param customerId Required. The ID of the customer being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesUpdateProductLinkInvitationRequest} + * @return the request + */ + public Update update(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesUpdateProductLinkInvitationRequest content) throws java.io.IOException { + Update result = new Update(customerId, content); + initialize(result); + return result; + } + + public class Update extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/productLinkInvitations:update"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Update a product link invitation. + * + * Create a request for the method "productLinkInvitations.update". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Update#execute()} method to invoke the remote operation. + *

{@link + * Update#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesUpdateProductLinkInvitationRequest} + * @since 1.13 + */ + protected Update(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesUpdateProductLinkInvitationRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesUpdateProductLinkInvitationResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public Update set$Xgafv(java.lang.String $Xgafv) { + return (Update) super.set$Xgafv($Xgafv); + } + + @Override + public Update setAccessToken(java.lang.String accessToken) { + return (Update) super.setAccessToken(accessToken); + } + + @Override + public Update setAlt(java.lang.String alt) { + return (Update) super.setAlt(alt); + } + + @Override + public Update setCallback(java.lang.String callback) { + return (Update) super.setCallback(callback); + } + + @Override + public Update setFields(java.lang.String fields) { + return (Update) super.setFields(fields); + } + + @Override + public Update setKey(java.lang.String key) { + return (Update) super.setKey(key); + } + + @Override + public Update setOauthToken(java.lang.String oauthToken) { + return (Update) super.setOauthToken(oauthToken); + } + + @Override + public Update setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Update) super.setPrettyPrint(prettyPrint); + } + + @Override + public Update setQuotaUser(java.lang.String quotaUser) { + return (Update) super.setQuotaUser(quotaUser); + } + + @Override + public Update setUploadType(java.lang.String uploadType) { + return (Update) super.setUploadType(uploadType); + } + + @Override + public Update setUploadProtocol(java.lang.String uploadProtocol) { + return (Update) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the customer being modified. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer being modified. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the customer being modified. */ + public Update setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public Update set(String parameterName, Object value) { + return (Update) super.set(parameterName, value); + } + } + + } + /** + * An accessor for creating requests from the ProductLinks collection. + * + *

The typical use is:

+ *
+     *   {@code SA360 searchads360 = new SA360(...);}
+     *   {@code SA360.ProductLinks.List request = searchads360.productLinks().list(parameters ...)}
+     * 
+ * + * @return the resource collection + */ + public ProductLinks productLinks() { + return new ProductLinks(); + } + + /** + * The "productLinks" collection of methods. + */ + public class ProductLinks { + + /** + * Creates a product link. List of thrown errors: [AuthenticationError]() [AuthorizationError]() + * [DatabaseError]() [FieldError]() [HeaderError]() [InternalError]() [MutateError]() [QuotaError]() + * [RequestError]() + * + * Create a request for the method "productLinks.create". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Create#execute()} method to invoke the remote operation. + * + * @param customerId Required. The ID of the customer for which the product link is created. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesCreateProductLinkRequest} + * @return the request + */ + public Create create(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesCreateProductLinkRequest content) throws java.io.IOException { + Create result = new Create(customerId, content); + initialize(result); + return result; + } + + public class Create extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/productLinks:create"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Creates a product link. List of thrown errors: [AuthenticationError]() [AuthorizationError]() + * [DatabaseError]() [FieldError]() [HeaderError]() [InternalError]() [MutateError]() + * [QuotaError]() [RequestError]() + * + * Create a request for the method "productLinks.create". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Create#execute()} method to invoke the remote operation. + *

{@link + * Create#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer for which the product link is created. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesCreateProductLinkRequest} + * @since 1.13 + */ + protected Create(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesCreateProductLinkRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesCreateProductLinkResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public Create set$Xgafv(java.lang.String $Xgafv) { + return (Create) super.set$Xgafv($Xgafv); + } + + @Override + public Create setAccessToken(java.lang.String accessToken) { + return (Create) super.setAccessToken(accessToken); + } + + @Override + public Create setAlt(java.lang.String alt) { + return (Create) super.setAlt(alt); + } + + @Override + public Create setCallback(java.lang.String callback) { + return (Create) super.setCallback(callback); + } + + @Override + public Create setFields(java.lang.String fields) { + return (Create) super.setFields(fields); + } + + @Override + public Create setKey(java.lang.String key) { + return (Create) super.setKey(key); + } + + @Override + public Create setOauthToken(java.lang.String oauthToken) { + return (Create) super.setOauthToken(oauthToken); + } + + @Override + public Create setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Create) super.setPrettyPrint(prettyPrint); + } + + @Override + public Create setQuotaUser(java.lang.String quotaUser) { + return (Create) super.setQuotaUser(quotaUser); + } + + @Override + public Create setUploadType(java.lang.String uploadType) { + return (Create) super.setUploadType(uploadType); + } + + @Override + public Create setUploadProtocol(java.lang.String uploadProtocol) { + return (Create) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the customer for which the product link is created. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer for which the product link is created. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the customer for which the product link is created. */ + public Create setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public Create set(String parameterName, Object value) { + return (Create) super.set(parameterName, value); + } + } + /** + * Removes a product link. List of thrown errors: [AuthenticationError]() [AuthorizationError]() + * [FieldMaskError]() [HeaderError]() [InternalError]() [MutateError]() [QuotaError]() + * [RequestError]() + * + * Create a request for the method "productLinks.remove". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Remove#execute()} method to invoke the remote operation. + * + * @param customerId Required. The ID of the customer being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesRemoveProductLinkRequest} + * @return the request + */ + public Remove remove(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesRemoveProductLinkRequest content) throws java.io.IOException { + Remove result = new Remove(customerId, content); + initialize(result); + return result; + } + + public class Remove extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/productLinks:remove"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Removes a product link. List of thrown errors: [AuthenticationError]() [AuthorizationError]() + * [FieldMaskError]() [HeaderError]() [InternalError]() [MutateError]() [QuotaError]() + * [RequestError]() + * + * Create a request for the method "productLinks.remove". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Remove#execute()} method to invoke the remote operation. + *

{@link + * Remove#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesRemoveProductLinkRequest} + * @since 1.13 + */ + protected Remove(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesRemoveProductLinkRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesRemoveProductLinkResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public Remove set$Xgafv(java.lang.String $Xgafv) { + return (Remove) super.set$Xgafv($Xgafv); + } + + @Override + public Remove setAccessToken(java.lang.String accessToken) { + return (Remove) super.setAccessToken(accessToken); + } + + @Override + public Remove setAlt(java.lang.String alt) { + return (Remove) super.setAlt(alt); + } + + @Override + public Remove setCallback(java.lang.String callback) { + return (Remove) super.setCallback(callback); + } + + @Override + public Remove setFields(java.lang.String fields) { + return (Remove) super.setFields(fields); + } + + @Override + public Remove setKey(java.lang.String key) { + return (Remove) super.setKey(key); + } + + @Override + public Remove setOauthToken(java.lang.String oauthToken) { + return (Remove) super.setOauthToken(oauthToken); + } + + @Override + public Remove setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Remove) super.setPrettyPrint(prettyPrint); + } + + @Override + public Remove setQuotaUser(java.lang.String quotaUser) { + return (Remove) super.setQuotaUser(quotaUser); + } + + @Override + public Remove setUploadType(java.lang.String uploadType) { + return (Remove) super.setUploadType(uploadType); + } + + @Override + public Remove setUploadProtocol(java.lang.String uploadProtocol) { + return (Remove) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the customer being modified. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer being modified. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the customer being modified. */ + public Remove setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public Remove set(String parameterName, Object value) { + return (Remove) super.set(parameterName, value); + } + } + + } + /** + * An accessor for creating requests from the RecommendationSubscriptions collection. + * + *

The typical use is:

+ *
+     *   {@code SA360 searchads360 = new SA360(...);}
+     *   {@code SA360.RecommendationSubscriptions.List request = searchads360.recommendationSubscriptions().list(parameters ...)}
+     * 
+ * + * @return the resource collection + */ + public RecommendationSubscriptions recommendationSubscriptions() { + return new RecommendationSubscriptions(); + } + + /** + * The "recommendationSubscriptions" collection of methods. + */ + public class RecommendationSubscriptions { + + /** + * Mutates given subscription with corresponding apply parameters. List of thrown errors: + * [AuthenticationError]() [AuthorizationError]() [DatabaseError]() [FieldError]() [HeaderError]() + * [InternalError]() [MutateError]() [QuotaError]() [RecommendationError]() + * [RecommendationSubscriptionError]() [RequestError]() [UrlFieldError]() + * + * Create a request for the method "recommendationSubscriptions.mutateRecommendationSubscription". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link MutateRecommendationSubscription#execute()} method to invoke the + * remote operation. + * + * @param customerId Required. The ID of the subscribing customer. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateRecommendationSubscriptionRequest} + * @return the request + */ + public MutateRecommendationSubscription mutateRecommendationSubscription(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateRecommendationSubscriptionRequest content) throws java.io.IOException { + MutateRecommendationSubscription result = new MutateRecommendationSubscription(customerId, content); + initialize(result); + return result; + } + + public class MutateRecommendationSubscription extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/recommendationSubscriptions:mutateRecommendationSubscription"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Mutates given subscription with corresponding apply parameters. List of thrown errors: + * [AuthenticationError]() [AuthorizationError]() [DatabaseError]() [FieldError]() [HeaderError]() + * [InternalError]() [MutateError]() [QuotaError]() [RecommendationError]() + * [RecommendationSubscriptionError]() [RequestError]() [UrlFieldError]() + * + * Create a request for the method "recommendationSubscriptions.mutateRecommendationSubscription". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link MutateRecommendationSubscription#execute()} method to + * invoke the remote operation.

{@link MutateRecommendationSubscription#initialize(com.google. + * api.client.googleapis.services.AbstractGoogleClientRequest)} must be called to initialize this + * instance immediately after invoking the constructor.

+ * + * @param customerId Required. The ID of the subscribing customer. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateRecommendationSubscriptionRequest} + * @since 1.13 + */ + protected MutateRecommendationSubscription(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateRecommendationSubscriptionRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateRecommendationSubscriptionResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public MutateRecommendationSubscription set$Xgafv(java.lang.String $Xgafv) { + return (MutateRecommendationSubscription) super.set$Xgafv($Xgafv); + } + + @Override + public MutateRecommendationSubscription setAccessToken(java.lang.String accessToken) { + return (MutateRecommendationSubscription) super.setAccessToken(accessToken); + } + + @Override + public MutateRecommendationSubscription setAlt(java.lang.String alt) { + return (MutateRecommendationSubscription) super.setAlt(alt); + } + + @Override + public MutateRecommendationSubscription setCallback(java.lang.String callback) { + return (MutateRecommendationSubscription) super.setCallback(callback); + } + + @Override + public MutateRecommendationSubscription setFields(java.lang.String fields) { + return (MutateRecommendationSubscription) super.setFields(fields); + } + + @Override + public MutateRecommendationSubscription setKey(java.lang.String key) { + return (MutateRecommendationSubscription) super.setKey(key); + } + + @Override + public MutateRecommendationSubscription setOauthToken(java.lang.String oauthToken) { + return (MutateRecommendationSubscription) super.setOauthToken(oauthToken); + } + + @Override + public MutateRecommendationSubscription setPrettyPrint(java.lang.Boolean prettyPrint) { + return (MutateRecommendationSubscription) super.setPrettyPrint(prettyPrint); + } + + @Override + public MutateRecommendationSubscription setQuotaUser(java.lang.String quotaUser) { + return (MutateRecommendationSubscription) super.setQuotaUser(quotaUser); + } + + @Override + public MutateRecommendationSubscription setUploadType(java.lang.String uploadType) { + return (MutateRecommendationSubscription) super.setUploadType(uploadType); + } + + @Override + public MutateRecommendationSubscription setUploadProtocol(java.lang.String uploadProtocol) { + return (MutateRecommendationSubscription) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the subscribing customer. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the subscribing customer. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the subscribing customer. */ + public MutateRecommendationSubscription setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public MutateRecommendationSubscription set(String parameterName, Object value) { + return (MutateRecommendationSubscription) super.set(parameterName, value); + } + } + + } + /** + * An accessor for creating requests from the Recommendations collection. + * + *

The typical use is:

+ *
+     *   {@code SA360 searchads360 = new SA360(...);}
+     *   {@code SA360.Recommendations.List request = searchads360.recommendations().list(parameters ...)}
+     * 
+ * + * @return the resource collection + */ + public Recommendations recommendations() { + return new Recommendations(); + } + + /** + * The "recommendations" collection of methods. + */ + public class Recommendations { + + /** + * Applies given recommendations with corresponding apply parameters. List of thrown errors: + * [AuthenticationError]() [AuthorizationError]() [DatabaseError]() [FieldError]() [HeaderError]() + * [InternalError]() [MutateError]() [QuotaError]() [RecommendationError]() [RequestError]() + * [UrlFieldError]() + * + * Create a request for the method "recommendations.apply". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Apply#execute()} method to invoke the remote operation. + * + * @param customerId Required. The ID of the customer with the recommendation. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesApplyRecommendationRequest} + * @return the request + */ + public Apply apply(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesApplyRecommendationRequest content) throws java.io.IOException { + Apply result = new Apply(customerId, content); + initialize(result); + return result; + } + + public class Apply extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/recommendations:apply"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Applies given recommendations with corresponding apply parameters. List of thrown errors: + * [AuthenticationError]() [AuthorizationError]() [DatabaseError]() [FieldError]() [HeaderError]() + * [InternalError]() [MutateError]() [QuotaError]() [RecommendationError]() [RequestError]() + * [UrlFieldError]() + * + * Create a request for the method "recommendations.apply". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Apply#execute()} method to invoke the remote operation. + *

{@link + * Apply#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer with the recommendation. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesApplyRecommendationRequest} + * @since 1.13 + */ + protected Apply(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesApplyRecommendationRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesApplyRecommendationResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public Apply set$Xgafv(java.lang.String $Xgafv) { + return (Apply) super.set$Xgafv($Xgafv); + } + + @Override + public Apply setAccessToken(java.lang.String accessToken) { + return (Apply) super.setAccessToken(accessToken); + } + + @Override + public Apply setAlt(java.lang.String alt) { + return (Apply) super.setAlt(alt); + } + + @Override + public Apply setCallback(java.lang.String callback) { + return (Apply) super.setCallback(callback); + } + + @Override + public Apply setFields(java.lang.String fields) { + return (Apply) super.setFields(fields); + } + + @Override + public Apply setKey(java.lang.String key) { + return (Apply) super.setKey(key); + } + + @Override + public Apply setOauthToken(java.lang.String oauthToken) { + return (Apply) super.setOauthToken(oauthToken); + } + + @Override + public Apply setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Apply) super.setPrettyPrint(prettyPrint); + } + + @Override + public Apply setQuotaUser(java.lang.String quotaUser) { + return (Apply) super.setQuotaUser(quotaUser); + } + + @Override + public Apply setUploadType(java.lang.String uploadType) { + return (Apply) super.setUploadType(uploadType); + } + + @Override + public Apply setUploadProtocol(java.lang.String uploadProtocol) { + return (Apply) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the customer with the recommendation. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer with the recommendation. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the customer with the recommendation. */ + public Apply setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public Apply set(String parameterName, Object value) { + return (Apply) super.set(parameterName, value); + } + } + /** + * Dismisses given recommendations. List of thrown errors: [AuthenticationError]() + * [AuthorizationError]() [HeaderError]() [InternalError]() [QuotaError]() [RecommendationError]() + * [RequestError]() + * + * Create a request for the method "recommendations.dismiss". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Dismiss#execute()} method to invoke the remote operation. + * + * @param customerId Required. The ID of the customer with the recommendation. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesDismissRecommendationRequest} + * @return the request + */ + public Dismiss dismiss(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesDismissRecommendationRequest content) throws java.io.IOException { + Dismiss result = new Dismiss(customerId, content); + initialize(result); + return result; + } + + public class Dismiss extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/recommendations:dismiss"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Dismisses given recommendations. List of thrown errors: [AuthenticationError]() + * [AuthorizationError]() [HeaderError]() [InternalError]() [QuotaError]() [RecommendationError]() + * [RequestError]() + * + * Create a request for the method "recommendations.dismiss". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Dismiss#execute()} method to invoke the remote operation. + *

{@link + * Dismiss#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer with the recommendation. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesDismissRecommendationRequest} + * @since 1.13 + */ + protected Dismiss(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesDismissRecommendationRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesDismissRecommendationResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public Dismiss set$Xgafv(java.lang.String $Xgafv) { + return (Dismiss) super.set$Xgafv($Xgafv); + } + + @Override + public Dismiss setAccessToken(java.lang.String accessToken) { + return (Dismiss) super.setAccessToken(accessToken); + } + + @Override + public Dismiss setAlt(java.lang.String alt) { + return (Dismiss) super.setAlt(alt); + } + + @Override + public Dismiss setCallback(java.lang.String callback) { + return (Dismiss) super.setCallback(callback); + } + + @Override + public Dismiss setFields(java.lang.String fields) { + return (Dismiss) super.setFields(fields); + } + + @Override + public Dismiss setKey(java.lang.String key) { + return (Dismiss) super.setKey(key); + } + + @Override + public Dismiss setOauthToken(java.lang.String oauthToken) { + return (Dismiss) super.setOauthToken(oauthToken); + } + + @Override + public Dismiss setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Dismiss) super.setPrettyPrint(prettyPrint); + } + + @Override + public Dismiss setQuotaUser(java.lang.String quotaUser) { + return (Dismiss) super.setQuotaUser(quotaUser); + } + + @Override + public Dismiss setUploadType(java.lang.String uploadType) { + return (Dismiss) super.setUploadType(uploadType); + } + + @Override + public Dismiss setUploadProtocol(java.lang.String uploadProtocol) { + return (Dismiss) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the customer with the recommendation. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer with the recommendation. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the customer with the recommendation. */ + public Dismiss setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public Dismiss set(String parameterName, Object value) { + return (Dismiss) super.set(parameterName, value); + } + } + /** + * Generates Recommendations based off the requested recommendation_types. List of thrown errors: + * [AuthenticationError]() [AuthorizationError]() [HeaderError]() [InternalError]() [QuotaError]() + * [RecommendationError]() [RequestError]() + * + * Create a request for the method "recommendations.generate". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Generate#execute()} method to invoke the remote operation. + * + * @param customerId Required. The ID of the customer generating recommendations. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequest} + * @return the request + */ + public Generate generate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequest content) throws java.io.IOException { + Generate result = new Generate(customerId, content); + initialize(result); + return result; + } + + public class Generate extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/recommendations:generate"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Generates Recommendations based off the requested recommendation_types. List of thrown errors: + * [AuthenticationError]() [AuthorizationError]() [HeaderError]() [InternalError]() [QuotaError]() + * [RecommendationError]() [RequestError]() + * + * Create a request for the method "recommendations.generate". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Generate#execute()} method to invoke the remote operation. + *

{@link + * Generate#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} + * must be called to initialize this instance immediately after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer generating recommendations. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequest} + * @since 1.13 + */ + protected Generate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesGenerateRecommendationsResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public Generate set$Xgafv(java.lang.String $Xgafv) { + return (Generate) super.set$Xgafv($Xgafv); + } + + @Override + public Generate setAccessToken(java.lang.String accessToken) { + return (Generate) super.setAccessToken(accessToken); + } + + @Override + public Generate setAlt(java.lang.String alt) { + return (Generate) super.setAlt(alt); + } + + @Override + public Generate setCallback(java.lang.String callback) { + return (Generate) super.setCallback(callback); + } + + @Override + public Generate setFields(java.lang.String fields) { + return (Generate) super.setFields(fields); + } + + @Override + public Generate setKey(java.lang.String key) { + return (Generate) super.setKey(key); + } + + @Override + public Generate setOauthToken(java.lang.String oauthToken) { + return (Generate) super.setOauthToken(oauthToken); + } + + @Override + public Generate setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Generate) super.setPrettyPrint(prettyPrint); + } + + @Override + public Generate setQuotaUser(java.lang.String quotaUser) { + return (Generate) super.setQuotaUser(quotaUser); + } + + @Override + public Generate setUploadType(java.lang.String uploadType) { + return (Generate) super.setUploadType(uploadType); + } + + @Override + public Generate setUploadProtocol(java.lang.String uploadProtocol) { + return (Generate) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the customer generating recommendations. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer generating recommendations. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the customer generating recommendations. */ + public Generate setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public Generate set(String parameterName, Object value) { + return (Generate) super.set(parameterName, value); + } + } + + } + /** + * An accessor for creating requests from the RemarketingActions collection. + * + *

The typical use is:

+ *
+     *   {@code SA360 searchads360 = new SA360(...);}
+     *   {@code SA360.RemarketingActions.List request = searchads360.remarketingActions().list(parameters ...)}
+     * 
+ * + * @return the resource collection + */ + public RemarketingActions remarketingActions() { + return new RemarketingActions(); + } + + /** + * The "remarketingActions" collection of methods. + */ + public class RemarketingActions { + + /** + * Creates or updates remarketing actions. Operation statuses are returned. List of thrown errors: + * [AuthenticationError]() [AuthorizationError]() [ConversionActionError]() [HeaderError]() + * [InternalError]() [QuotaError]() [RequestError]() + * + * Create a request for the method "remarketingActions.mutate". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + * + * @param customerId Required. The ID of the customer whose remarketing actions are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateRemarketingActionsRequest} + * @return the request + */ + public Mutate mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateRemarketingActionsRequest content) throws java.io.IOException { + Mutate result = new Mutate(customerId, content); + initialize(result); + return result; + } + + public class Mutate extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/remarketingActions:mutate"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Creates or updates remarketing actions. Operation statuses are returned. List of thrown errors: + * [AuthenticationError]() [AuthorizationError]() [ConversionActionError]() [HeaderError]() + * [InternalError]() [QuotaError]() [RequestError]() + * + * Create a request for the method "remarketingActions.mutate". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + *

{@link + * Mutate#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer whose remarketing actions are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateRemarketingActionsRequest} + * @since 1.13 + */ + protected Mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateRemarketingActionsRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateRemarketingActionsResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public Mutate set$Xgafv(java.lang.String $Xgafv) { + return (Mutate) super.set$Xgafv($Xgafv); + } + + @Override + public Mutate setAccessToken(java.lang.String accessToken) { + return (Mutate) super.setAccessToken(accessToken); + } + + @Override + public Mutate setAlt(java.lang.String alt) { + return (Mutate) super.setAlt(alt); + } + + @Override + public Mutate setCallback(java.lang.String callback) { + return (Mutate) super.setCallback(callback); + } + + @Override + public Mutate setFields(java.lang.String fields) { + return (Mutate) super.setFields(fields); + } + + @Override + public Mutate setKey(java.lang.String key) { + return (Mutate) super.setKey(key); + } + + @Override + public Mutate setOauthToken(java.lang.String oauthToken) { + return (Mutate) super.setOauthToken(oauthToken); + } + + @Override + public Mutate setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Mutate) super.setPrettyPrint(prettyPrint); + } + + @Override + public Mutate setQuotaUser(java.lang.String quotaUser) { + return (Mutate) super.setQuotaUser(quotaUser); + } + + @Override + public Mutate setUploadType(java.lang.String uploadType) { + return (Mutate) super.setUploadType(uploadType); + } + + @Override + public Mutate setUploadProtocol(java.lang.String uploadProtocol) { + return (Mutate) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the customer whose remarketing actions are being modified. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer whose remarketing actions are being modified. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the customer whose remarketing actions are being modified. */ + public Mutate setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public Mutate set(String parameterName, Object value) { + return (Mutate) super.set(parameterName, value); + } + } + + } + /** + * An accessor for creating requests from the SearchAds360 collection. + * + *

The typical use is:

+ *
+     *   {@code SA360 searchads360 = new SA360(...);}
+     *   {@code SA360.SearchAds360.List request = searchads360.searchAds360().list(parameters ...)}
+     * 
+ * + * @return the resource collection + */ + public SearchAds360 searchAds360() { + return new SearchAds360(); + } + + /** + * The "searchAds360" collection of methods. + */ + public class SearchAds360 { + + /** + * This method is essentially a wrapper around a series of mutate methods. The only features it + * offers over calling those methods directly are: - Atomic transactions - Temp resource names + * (described below) - Somewhat reduced latency over making a series of mutate calls Note: Only + * resources that support atomic transactions are included, so this method can't replace all calls + * to individual services. ## Atomic Transaction Benefits Atomicity makes error handling much + * easier. If you're making a series of changes and one fails, it can leave your account in an + * inconsistent state. With atomicity, you either reach the chosen state directly, or the request + * fails and you can retry. ## Temp Resource Names Temp resource names are a special type of + * resource name used to create a resource and reference that resource in the same request. For + * example, if a is created with `resource_name` equal to ``, that resource name can be reused in + * the `` field in the same request. That way, the two resources are created and linked atomically. + * To create a temp resource name, put a negative number in the part of the name that the server + * would normally allocate. Note: - Resources must be created with a temp name before the name can + * be reused. For example, the previous example would fail if the mutate order was reversed. - Temp + * names are not remembered across requests. - There's no limit to the number of temp names in a + * request. - Each temp name must use a unique negative number, even if the resource types differ. + * ## Latency It's important to group mutates by resource type or the request may time out and fail. + * Latency is roughly equal to a series of calls to individual mutate methods, where each change in + * resource type is a new call. For example, mutating is like 2 calls, while mutating is like 4 + * calls. List of thrown errors: [AdCustomizerError]() [AdError]() [AdGroupAdError]() + * [AdGroupCriterionError]() [AdGroupError]() [AssetError]() [AuthenticationError]() + * [AuthorizationError]() [BiddingError]() [CampaignBudgetError]() [CampaignCriterionError]() + * [CampaignError]() [CampaignExperimentError]() [CampaignSharedSetError]() [CollectionSizeError]() + * [ContextError]() [ConversionActionError]() [CriterionError]() [CustomerFeedError]() + * [DatabaseError]() [DateError]() [DateRangeError]() [DistinctError]() [ExtensionFeedItemError]() + * [ExtensionSettingError]() [FeedAttributeReferenceError]() [FeedError]() [FeedItemError]() + * [FeedItemSetError]() [FieldError]() [FieldMaskError]() [FunctionParsingError]() [HeaderError]() + * [ImageError]() [InternalError]() [KeywordPlanAdGroupKeywordError]() [KeywordPlanCampaignError]() + * [KeywordPlanError]() [LabelError]() [ListOperationError]() [MediaUploadError]() [MutateError]() + * [NewResourceCreationError]() [NullError]() [OperationAccessDeniedError]() [PolicyFindingError]() + * [PolicyViolationError]() [QuotaError]() [RangeError]() [RequestError]() + * [ResourceCountLimitExceededError]() [SettingError]() [SharedSetError]() [SizeLimitError]() + * [StringFormatError]() [StringLengthError]() [UrlFieldError]() [UserListError]() + * [YoutubeVideoRegistrationError]() + * + * Create a request for the method "searchAds360.mutate". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + * + * @param customerId Required. The ID of the customer whose resources are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateSearchAds360Request} + * @return the request + */ + public Mutate mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateSearchAds360Request content) throws java.io.IOException { + Mutate result = new Mutate(customerId, content); + initialize(result); + return result; + } + + public class Mutate extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/searchAds360:mutate"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * This method is essentially a wrapper around a series of mutate methods. The only features it + * offers over calling those methods directly are: - Atomic transactions - Temp resource names + * (described below) - Somewhat reduced latency over making a series of mutate calls Note: Only + * resources that support atomic transactions are included, so this method can't replace all calls + * to individual services. ## Atomic Transaction Benefits Atomicity makes error handling much + * easier. If you're making a series of changes and one fails, it can leave your account in an + * inconsistent state. With atomicity, you either reach the chosen state directly, or the request + * fails and you can retry. ## Temp Resource Names Temp resource names are a special type of + * resource name used to create a resource and reference that resource in the same request. For + * example, if a is created with `resource_name` equal to ``, that resource name can be reused in + * the `` field in the same request. That way, the two resources are created and linked + * atomically. To create a temp resource name, put a negative number in the part of the name that + * the server would normally allocate. Note: - Resources must be created with a temp name before + * the name can be reused. For example, the previous example would fail if the mutate order was + * reversed. - Temp names are not remembered across requests. - There's no limit to the number of + * temp names in a request. - Each temp name must use a unique negative number, even if the + * resource types differ. ## Latency It's important to group mutates by resource type or the + * request may time out and fail. Latency is roughly equal to a series of calls to individual + * mutate methods, where each change in resource type is a new call. For example, mutating is like + * 2 calls, while mutating is like 4 calls. List of thrown errors: [AdCustomizerError]() + * [AdError]() [AdGroupAdError]() [AdGroupCriterionError]() [AdGroupError]() [AssetError]() + * [AuthenticationError]() [AuthorizationError]() [BiddingError]() [CampaignBudgetError]() + * [CampaignCriterionError]() [CampaignError]() [CampaignExperimentError]() + * [CampaignSharedSetError]() [CollectionSizeError]() [ContextError]() [ConversionActionError]() + * [CriterionError]() [CustomerFeedError]() [DatabaseError]() [DateError]() [DateRangeError]() + * [DistinctError]() [ExtensionFeedItemError]() [ExtensionSettingError]() + * [FeedAttributeReferenceError]() [FeedError]() [FeedItemError]() [FeedItemSetError]() + * [FieldError]() [FieldMaskError]() [FunctionParsingError]() [HeaderError]() [ImageError]() + * [InternalError]() [KeywordPlanAdGroupKeywordError]() [KeywordPlanCampaignError]() + * [KeywordPlanError]() [LabelError]() [ListOperationError]() [MediaUploadError]() [MutateError]() + * [NewResourceCreationError]() [NullError]() [OperationAccessDeniedError]() + * [PolicyFindingError]() [PolicyViolationError]() [QuotaError]() [RangeError]() [RequestError]() + * [ResourceCountLimitExceededError]() [SettingError]() [SharedSetError]() [SizeLimitError]() + * [StringFormatError]() [StringLengthError]() [UrlFieldError]() [UserListError]() + * [YoutubeVideoRegistrationError]() + * + * Create a request for the method "searchAds360.mutate". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + *

{@link + * Mutate#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer whose resources are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateSearchAds360Request} + * @since 1.13 + */ + protected Mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateSearchAds360Request content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateSearchAds360Response.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public Mutate set$Xgafv(java.lang.String $Xgafv) { + return (Mutate) super.set$Xgafv($Xgafv); + } + + @Override + public Mutate setAccessToken(java.lang.String accessToken) { + return (Mutate) super.setAccessToken(accessToken); + } + + @Override + public Mutate setAlt(java.lang.String alt) { + return (Mutate) super.setAlt(alt); + } + + @Override + public Mutate setCallback(java.lang.String callback) { + return (Mutate) super.setCallback(callback); + } + + @Override + public Mutate setFields(java.lang.String fields) { + return (Mutate) super.setFields(fields); + } + + @Override + public Mutate setKey(java.lang.String key) { + return (Mutate) super.setKey(key); + } + + @Override + public Mutate setOauthToken(java.lang.String oauthToken) { + return (Mutate) super.setOauthToken(oauthToken); + } + + @Override + public Mutate setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Mutate) super.setPrettyPrint(prettyPrint); + } + + @Override + public Mutate setQuotaUser(java.lang.String quotaUser) { + return (Mutate) super.setQuotaUser(quotaUser); + } + + @Override + public Mutate setUploadType(java.lang.String uploadType) { + return (Mutate) super.setUploadType(uploadType); + } + + @Override + public Mutate setUploadProtocol(java.lang.String uploadProtocol) { + return (Mutate) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the customer whose resources are being modified. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer whose resources are being modified. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the customer whose resources are being modified. */ + public Mutate setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public Mutate set(String parameterName, Object value) { + return (Mutate) super.set(parameterName, value); + } + } + /** + * Returns all rows that match the search query. List of thrown errors: [AuthenticationError]() + * [AuthorizationError]() [ChangeEventError]() [ChangeStatusError]() [ClickViewError]() + * [HeaderError]() [InternalError]() [QueryError]() [QuotaError]() [RequestError]() + * + * Create a request for the method "searchAds360.search". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Search#execute()} method to invoke the remote operation. + * + * @param customerId Required. The ID of the customer being queried. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesSearchSearchAds360Request} + * @return the request + */ + public Search search(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesSearchSearchAds360Request content) throws java.io.IOException { + Search result = new Search(customerId, content); + initialize(result); + return result; + } + + public class Search extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/searchAds360:search"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Returns all rows that match the search query. List of thrown errors: [AuthenticationError]() + * [AuthorizationError]() [ChangeEventError]() [ChangeStatusError]() [ClickViewError]() + * [HeaderError]() [InternalError]() [QueryError]() [QuotaError]() [RequestError]() + * + * Create a request for the method "searchAds360.search". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Search#execute()} method to invoke the remote operation. + *

{@link + * Search#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer being queried. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesSearchSearchAds360Request} + * @since 1.13 + */ + protected Search(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesSearchSearchAds360Request content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesSearchSearchAds360Response.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public Search set$Xgafv(java.lang.String $Xgafv) { + return (Search) super.set$Xgafv($Xgafv); + } + + @Override + public Search setAccessToken(java.lang.String accessToken) { + return (Search) super.setAccessToken(accessToken); + } + + @Override + public Search setAlt(java.lang.String alt) { + return (Search) super.setAlt(alt); + } + + @Override + public Search setCallback(java.lang.String callback) { + return (Search) super.setCallback(callback); + } + + @Override + public Search setFields(java.lang.String fields) { + return (Search) super.setFields(fields); + } + + @Override + public Search setKey(java.lang.String key) { + return (Search) super.setKey(key); + } + + @Override + public Search setOauthToken(java.lang.String oauthToken) { + return (Search) super.setOauthToken(oauthToken); + } + + @Override + public Search setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Search) super.setPrettyPrint(prettyPrint); + } + + @Override + public Search setQuotaUser(java.lang.String quotaUser) { + return (Search) super.setQuotaUser(quotaUser); + } + + @Override + public Search setUploadType(java.lang.String uploadType) { + return (Search) super.setUploadType(uploadType); + } + + @Override + public Search setUploadProtocol(java.lang.String uploadProtocol) { + return (Search) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the customer being queried. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer being queried. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the customer being queried. */ + public Search setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public Search set(String parameterName, Object value) { + return (Search) super.set(parameterName, value); + } + } + + } + /** + * An accessor for creating requests from the SharedCriteria collection. + * + *

The typical use is:

+ *
+     *   {@code SA360 searchads360 = new SA360(...);}
+     *   {@code SA360.SharedCriteria.List request = searchads360.sharedCriteria().list(parameters ...)}
+     * 
+ * + * @return the resource collection + */ + public SharedCriteria sharedCriteria() { + return new SharedCriteria(); + } + + /** + * The "sharedCriteria" collection of methods. + */ + public class SharedCriteria { + + /** + * Creates or removes shared criteria. Operation statuses are returned. List of thrown errors: + * [AuthenticationError]() [AuthorizationError]() [CriterionError]() [DatabaseError]() + * [DistinctError]() [FieldError]() [HeaderError]() [IdError]() [InternalError]() [MutateError]() + * [NotEmptyError]() [NullError]() [OperatorError]() [QuotaError]() [RangeError]() [RequestError]() + * [ResourceCountLimitExceededError]() [SizeLimitError]() [StringFormatError]() + * [StringLengthError]() + * + * Create a request for the method "sharedCriteria.mutate". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + * + * @param customerId Required. The ID of the customer whose shared criteria are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateSharedCriteriaRequest} + * @return the request + */ + public Mutate mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateSharedCriteriaRequest content) throws java.io.IOException { + Mutate result = new Mutate(customerId, content); + initialize(result); + return result; + } + + public class Mutate extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/sharedCriteria:mutate"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Creates or removes shared criteria. Operation statuses are returned. List of thrown errors: + * [AuthenticationError]() [AuthorizationError]() [CriterionError]() [DatabaseError]() + * [DistinctError]() [FieldError]() [HeaderError]() [IdError]() [InternalError]() [MutateError]() + * [NotEmptyError]() [NullError]() [OperatorError]() [QuotaError]() [RangeError]() + * [RequestError]() [ResourceCountLimitExceededError]() [SizeLimitError]() [StringFormatError]() + * [StringLengthError]() + * + * Create a request for the method "sharedCriteria.mutate". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + *

{@link + * Mutate#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer whose shared criteria are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateSharedCriteriaRequest} + * @since 1.13 + */ + protected Mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateSharedCriteriaRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateSharedCriteriaResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public Mutate set$Xgafv(java.lang.String $Xgafv) { + return (Mutate) super.set$Xgafv($Xgafv); + } + + @Override + public Mutate setAccessToken(java.lang.String accessToken) { + return (Mutate) super.setAccessToken(accessToken); + } + + @Override + public Mutate setAlt(java.lang.String alt) { + return (Mutate) super.setAlt(alt); + } + + @Override + public Mutate setCallback(java.lang.String callback) { + return (Mutate) super.setCallback(callback); + } + + @Override + public Mutate setFields(java.lang.String fields) { + return (Mutate) super.setFields(fields); + } + + @Override + public Mutate setKey(java.lang.String key) { + return (Mutate) super.setKey(key); + } + + @Override + public Mutate setOauthToken(java.lang.String oauthToken) { + return (Mutate) super.setOauthToken(oauthToken); + } + + @Override + public Mutate setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Mutate) super.setPrettyPrint(prettyPrint); + } + + @Override + public Mutate setQuotaUser(java.lang.String quotaUser) { + return (Mutate) super.setQuotaUser(quotaUser); + } + + @Override + public Mutate setUploadType(java.lang.String uploadType) { + return (Mutate) super.setUploadType(uploadType); + } + + @Override + public Mutate setUploadProtocol(java.lang.String uploadProtocol) { + return (Mutate) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the customer whose shared criteria are being modified. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer whose shared criteria are being modified. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the customer whose shared criteria are being modified. */ + public Mutate setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public Mutate set(String parameterName, Object value) { + return (Mutate) super.set(parameterName, value); + } + } + + } + /** + * An accessor for creating requests from the SharedSets collection. + * + *

The typical use is:

+ *
+     *   {@code SA360 searchads360 = new SA360(...);}
+     *   {@code SA360.SharedSets.List request = searchads360.sharedSets().list(parameters ...)}
+     * 
+ * + * @return the resource collection + */ + public SharedSets sharedSets() { + return new SharedSets(); + } + + /** + * The "sharedSets" collection of methods. + */ + public class SharedSets { + + /** + * Creates, updates, or removes shared sets. Operation statuses are returned. List of thrown errors: + * [AuthenticationError]() [AuthorizationError]() [DatabaseError]() [DateError]() [DistinctError]() + * [FieldError]() [FieldMaskError]() [HeaderError]() [IdError]() [InternalError]() [MutateError]() + * [NewResourceCreationError]() [NotEmptyError]() [NullError]() [OperatorError]() [QuotaError]() + * [RangeError]() [RequestError]() [ResourceCountLimitExceededError]() [SharedSetError]() + * [SizeLimitError]() [StringFormatError]() [StringLengthError]() + * + * Create a request for the method "sharedSets.mutate". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + * + * @param customerId Required. The ID of the customer whose shared sets are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateSharedSetsRequest} + * @return the request + */ + public Mutate mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateSharedSetsRequest content) throws java.io.IOException { + Mutate result = new Mutate(customerId, content); + initialize(result); + return result; + } + + public class Mutate extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/sharedSets:mutate"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Creates, updates, or removes shared sets. Operation statuses are returned. List of thrown + * errors: [AuthenticationError]() [AuthorizationError]() [DatabaseError]() [DateError]() + * [DistinctError]() [FieldError]() [FieldMaskError]() [HeaderError]() [IdError]() + * [InternalError]() [MutateError]() [NewResourceCreationError]() [NotEmptyError]() [NullError]() + * [OperatorError]() [QuotaError]() [RangeError]() [RequestError]() + * [ResourceCountLimitExceededError]() [SharedSetError]() [SizeLimitError]() [StringFormatError]() + * [StringLengthError]() + * + * Create a request for the method "sharedSets.mutate". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + *

{@link + * Mutate#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer whose shared sets are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateSharedSetsRequest} + * @since 1.13 + */ + protected Mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateSharedSetsRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateSharedSetsResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public Mutate set$Xgafv(java.lang.String $Xgafv) { + return (Mutate) super.set$Xgafv($Xgafv); + } + + @Override + public Mutate setAccessToken(java.lang.String accessToken) { + return (Mutate) super.setAccessToken(accessToken); + } + + @Override + public Mutate setAlt(java.lang.String alt) { + return (Mutate) super.setAlt(alt); + } + + @Override + public Mutate setCallback(java.lang.String callback) { + return (Mutate) super.setCallback(callback); + } + + @Override + public Mutate setFields(java.lang.String fields) { + return (Mutate) super.setFields(fields); + } + + @Override + public Mutate setKey(java.lang.String key) { + return (Mutate) super.setKey(key); + } + + @Override + public Mutate setOauthToken(java.lang.String oauthToken) { + return (Mutate) super.setOauthToken(oauthToken); + } + + @Override + public Mutate setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Mutate) super.setPrettyPrint(prettyPrint); + } + + @Override + public Mutate setQuotaUser(java.lang.String quotaUser) { + return (Mutate) super.setQuotaUser(quotaUser); + } + + @Override + public Mutate setUploadType(java.lang.String uploadType) { + return (Mutate) super.setUploadType(uploadType); + } + + @Override + public Mutate setUploadProtocol(java.lang.String uploadProtocol) { + return (Mutate) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the customer whose shared sets are being modified. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer whose shared sets are being modified. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the customer whose shared sets are being modified. */ + public Mutate setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public Mutate set(String parameterName, Object value) { + return (Mutate) super.set(parameterName, value); + } + } + + } + /** + * An accessor for creating requests from the SmartCampaignSettings collection. + * + *

The typical use is:

+ *
+     *   {@code SA360 searchads360 = new SA360(...);}
+     *   {@code SA360.SmartCampaignSettings.List request = searchads360.smartCampaignSettings().list(parameters ...)}
+     * 
+ * + * @return the resource collection + */ + public SmartCampaignSettings smartCampaignSettings() { + return new SmartCampaignSettings(); + } + + /** + * The "smartCampaignSettings" collection of methods. + */ + public class SmartCampaignSettings { + + /** + * Returns the status of the requested Smart campaign. + * + * Create a request for the method "smartCampaignSettings.getSmartCampaignStatus". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link GetSmartCampaignStatus#execute()} method to invoke the remote + * operation. + * + * @param resourceName Required. The resource name of the Smart campaign setting belonging to the Smart campaign to fetch + * the status of. + * @return the request + */ + public GetSmartCampaignStatus getSmartCampaignStatus(java.lang.String resourceName) throws java.io.IOException { + GetSmartCampaignStatus result = new GetSmartCampaignStatus(resourceName); + initialize(result); + return result; + } + + public class GetSmartCampaignStatus extends SA360Request { + + private static final String REST_PATH = "v23/{+resourceName}:getSmartCampaignStatus"; + + private final java.util.regex.Pattern RESOURCE_NAME_PATTERN = + java.util.regex.Pattern.compile("^customers/[^/]+/smartCampaignSettings/[^/]+$"); + + /** + * Returns the status of the requested Smart campaign. + * + * Create a request for the method "smartCampaignSettings.getSmartCampaignStatus". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link GetSmartCampaignStatus#execute()} method to invoke the + * remote operation.

{@link GetSmartCampaignStatus#initialize(com.google.api.client.googleapis + * .services.AbstractGoogleClientRequest)} must be called to initialize this instance immediately + * after invoking the constructor.

+ * + * @param resourceName Required. The resource name of the Smart campaign setting belonging to the Smart campaign to fetch + * the status of. + * @since 1.13 + */ + protected GetSmartCampaignStatus(java.lang.String resourceName) { + super(SA360.this, "GET", REST_PATH, null, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesGetSmartCampaignStatusResponse.class); + this.resourceName = com.google.api.client.util.Preconditions.checkNotNull(resourceName, "Required parameter resourceName must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(RESOURCE_NAME_PATTERN.matcher(resourceName).matches(), + "Parameter resourceName must conform to the pattern " + + "^customers/[^/]+/smartCampaignSettings/[^/]+$"); + } + } + + @Override + public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { + return super.executeUsingHead(); + } + + @Override + public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { + return super.buildHttpRequestUsingHead(); + } + + @Override + public GetSmartCampaignStatus set$Xgafv(java.lang.String $Xgafv) { + return (GetSmartCampaignStatus) super.set$Xgafv($Xgafv); + } + + @Override + public GetSmartCampaignStatus setAccessToken(java.lang.String accessToken) { + return (GetSmartCampaignStatus) super.setAccessToken(accessToken); + } + + @Override + public GetSmartCampaignStatus setAlt(java.lang.String alt) { + return (GetSmartCampaignStatus) super.setAlt(alt); + } + + @Override + public GetSmartCampaignStatus setCallback(java.lang.String callback) { + return (GetSmartCampaignStatus) super.setCallback(callback); + } + + @Override + public GetSmartCampaignStatus setFields(java.lang.String fields) { + return (GetSmartCampaignStatus) super.setFields(fields); + } + + @Override + public GetSmartCampaignStatus setKey(java.lang.String key) { + return (GetSmartCampaignStatus) super.setKey(key); + } + + @Override + public GetSmartCampaignStatus setOauthToken(java.lang.String oauthToken) { + return (GetSmartCampaignStatus) super.setOauthToken(oauthToken); + } + + @Override + public GetSmartCampaignStatus setPrettyPrint(java.lang.Boolean prettyPrint) { + return (GetSmartCampaignStatus) super.setPrettyPrint(prettyPrint); + } + + @Override + public GetSmartCampaignStatus setQuotaUser(java.lang.String quotaUser) { + return (GetSmartCampaignStatus) super.setQuotaUser(quotaUser); + } + + @Override + public GetSmartCampaignStatus setUploadType(java.lang.String uploadType) { + return (GetSmartCampaignStatus) super.setUploadType(uploadType); + } + + @Override + public GetSmartCampaignStatus setUploadProtocol(java.lang.String uploadProtocol) { + return (GetSmartCampaignStatus) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. The resource name of the Smart campaign setting belonging to the Smart campaign + * to fetch the status of. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** Required. The resource name of the Smart campaign setting belonging to the Smart campaign to fetch + the status of. + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Required. The resource name of the Smart campaign setting belonging to the Smart campaign + * to fetch the status of. + */ + public GetSmartCampaignStatus setResourceName(java.lang.String resourceName) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(RESOURCE_NAME_PATTERN.matcher(resourceName).matches(), + "Parameter resourceName must conform to the pattern " + + "^customers/[^/]+/smartCampaignSettings/[^/]+$"); + } + this.resourceName = resourceName; + return this; + } + + @Override + public GetSmartCampaignStatus set(String parameterName, Object value) { + return (GetSmartCampaignStatus) super.set(parameterName, value); + } + } + /** + * Updates Smart campaign settings for campaigns. + * + * Create a request for the method "smartCampaignSettings.mutate". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + * + * @param customerId Required. The ID of the customer whose Smart campaign settings are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateSmartCampaignSettingsRequest} + * @return the request + */ + public Mutate mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateSmartCampaignSettingsRequest content) throws java.io.IOException { + Mutate result = new Mutate(customerId, content); + initialize(result); + return result; + } + + public class Mutate extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/smartCampaignSettings:mutate"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Updates Smart campaign settings for campaigns. + * + * Create a request for the method "smartCampaignSettings.mutate". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + *

{@link + * Mutate#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer whose Smart campaign settings are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateSmartCampaignSettingsRequest} + * @since 1.13 + */ + protected Mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateSmartCampaignSettingsRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateSmartCampaignSettingsResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public Mutate set$Xgafv(java.lang.String $Xgafv) { + return (Mutate) super.set$Xgafv($Xgafv); + } + + @Override + public Mutate setAccessToken(java.lang.String accessToken) { + return (Mutate) super.setAccessToken(accessToken); + } + + @Override + public Mutate setAlt(java.lang.String alt) { + return (Mutate) super.setAlt(alt); + } + + @Override + public Mutate setCallback(java.lang.String callback) { + return (Mutate) super.setCallback(callback); + } + + @Override + public Mutate setFields(java.lang.String fields) { + return (Mutate) super.setFields(fields); + } + + @Override + public Mutate setKey(java.lang.String key) { + return (Mutate) super.setKey(key); + } + + @Override + public Mutate setOauthToken(java.lang.String oauthToken) { + return (Mutate) super.setOauthToken(oauthToken); + } + + @Override + public Mutate setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Mutate) super.setPrettyPrint(prettyPrint); + } + + @Override + public Mutate setQuotaUser(java.lang.String quotaUser) { + return (Mutate) super.setQuotaUser(quotaUser); + } + + @Override + public Mutate setUploadType(java.lang.String uploadType) { + return (Mutate) super.setUploadType(uploadType); + } + + @Override + public Mutate setUploadProtocol(java.lang.String uploadProtocol) { + return (Mutate) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the customer whose Smart campaign settings are being modified. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer whose Smart campaign settings are being modified. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the customer whose Smart campaign settings are being modified. */ + public Mutate setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public Mutate set(String parameterName, Object value) { + return (Mutate) super.set(parameterName, value); + } + } + + } + /** + * An accessor for creating requests from the ThirdPartyAppAnalyticsLinks collection. + * + *

The typical use is:

+ *
+     *   {@code SA360 searchads360 = new SA360(...);}
+     *   {@code SA360.ThirdPartyAppAnalyticsLinks.List request = searchads360.thirdPartyAppAnalyticsLinks().list(parameters ...)}
+     * 
+ * + * @return the resource collection + */ + public ThirdPartyAppAnalyticsLinks thirdPartyAppAnalyticsLinks() { + return new ThirdPartyAppAnalyticsLinks(); + } + + /** + * The "thirdPartyAppAnalyticsLinks" collection of methods. + */ + public class ThirdPartyAppAnalyticsLinks { + + /** + * Regenerate ThirdPartyAppAnalyticsLink.shareable_link_id that should be provided to the third + * party when setting up app analytics. List of thrown errors: [AuthenticationError]() + * [AuthorizationError]() [HeaderError]() [InternalError]() [QuotaError]() [RequestError]() + * + * Create a request for the method "thirdPartyAppAnalyticsLinks.regenerateShareableLinkId". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link RegenerateShareableLinkId#execute()} method to invoke the remote + * operation. + * + * @param resourceName Resource name of the third party app analytics link. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesRegenerateShareableLinkIdRequest} + * @return the request + */ + public RegenerateShareableLinkId regenerateShareableLinkId(java.lang.String resourceName, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesRegenerateShareableLinkIdRequest content) throws java.io.IOException { + RegenerateShareableLinkId result = new RegenerateShareableLinkId(resourceName, content); + initialize(result); + return result; + } + + public class RegenerateShareableLinkId extends SA360Request { + + private static final String REST_PATH = "v23/{+resourceName}:regenerateShareableLinkId"; + + private final java.util.regex.Pattern RESOURCE_NAME_PATTERN = + java.util.regex.Pattern.compile("^customers/[^/]+/thirdPartyAppAnalyticsLinks/[^/]+$"); + + /** + * Regenerate ThirdPartyAppAnalyticsLink.shareable_link_id that should be provided to the third + * party when setting up app analytics. List of thrown errors: [AuthenticationError]() + * [AuthorizationError]() [HeaderError]() [InternalError]() [QuotaError]() [RequestError]() + * + * Create a request for the method "thirdPartyAppAnalyticsLinks.regenerateShareableLinkId". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link RegenerateShareableLinkId#execute()} method to invoke the + * remote operation.

{@link RegenerateShareableLinkId#initialize(com.google.api.client.googlea + * pis.services.AbstractGoogleClientRequest)} must be called to initialize this instance + * immediately after invoking the constructor.

+ * + * @param resourceName Resource name of the third party app analytics link. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesRegenerateShareableLinkIdRequest} + * @since 1.13 + */ + protected RegenerateShareableLinkId(java.lang.String resourceName, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesRegenerateShareableLinkIdRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesRegenerateShareableLinkIdResponse.class); + this.resourceName = com.google.api.client.util.Preconditions.checkNotNull(resourceName, "Required parameter resourceName must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(RESOURCE_NAME_PATTERN.matcher(resourceName).matches(), + "Parameter resourceName must conform to the pattern " + + "^customers/[^/]+/thirdPartyAppAnalyticsLinks/[^/]+$"); + } + } + + @Override + public RegenerateShareableLinkId set$Xgafv(java.lang.String $Xgafv) { + return (RegenerateShareableLinkId) super.set$Xgafv($Xgafv); + } + + @Override + public RegenerateShareableLinkId setAccessToken(java.lang.String accessToken) { + return (RegenerateShareableLinkId) super.setAccessToken(accessToken); + } + + @Override + public RegenerateShareableLinkId setAlt(java.lang.String alt) { + return (RegenerateShareableLinkId) super.setAlt(alt); + } + + @Override + public RegenerateShareableLinkId setCallback(java.lang.String callback) { + return (RegenerateShareableLinkId) super.setCallback(callback); + } + + @Override + public RegenerateShareableLinkId setFields(java.lang.String fields) { + return (RegenerateShareableLinkId) super.setFields(fields); + } + + @Override + public RegenerateShareableLinkId setKey(java.lang.String key) { + return (RegenerateShareableLinkId) super.setKey(key); + } + + @Override + public RegenerateShareableLinkId setOauthToken(java.lang.String oauthToken) { + return (RegenerateShareableLinkId) super.setOauthToken(oauthToken); + } + + @Override + public RegenerateShareableLinkId setPrettyPrint(java.lang.Boolean prettyPrint) { + return (RegenerateShareableLinkId) super.setPrettyPrint(prettyPrint); + } + + @Override + public RegenerateShareableLinkId setQuotaUser(java.lang.String quotaUser) { + return (RegenerateShareableLinkId) super.setQuotaUser(quotaUser); + } + + @Override + public RegenerateShareableLinkId setUploadType(java.lang.String uploadType) { + return (RegenerateShareableLinkId) super.setUploadType(uploadType); + } + + @Override + public RegenerateShareableLinkId setUploadProtocol(java.lang.String uploadProtocol) { + return (RegenerateShareableLinkId) super.setUploadProtocol(uploadProtocol); + } + + /** Resource name of the third party app analytics link. */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** Resource name of the third party app analytics link. + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** Resource name of the third party app analytics link. */ + public RegenerateShareableLinkId setResourceName(java.lang.String resourceName) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(RESOURCE_NAME_PATTERN.matcher(resourceName).matches(), + "Parameter resourceName must conform to the pattern " + + "^customers/[^/]+/thirdPartyAppAnalyticsLinks/[^/]+$"); + } + this.resourceName = resourceName; + return this; + } + + @Override + public RegenerateShareableLinkId set(String parameterName, Object value) { + return (RegenerateShareableLinkId) super.set(parameterName, value); + } + } + + } + /** + * An accessor for creating requests from the UserListCustomerTypes collection. + * + *

The typical use is:

+ *
+     *   {@code SA360 searchads360 = new SA360(...);}
+     *   {@code SA360.UserListCustomerTypes.List request = searchads360.userListCustomerTypes().list(parameters ...)}
+     * 
+ * + * @return the resource collection + */ + public UserListCustomerTypes userListCustomerTypes() { + return new UserListCustomerTypes(); + } + + /** + * The "userListCustomerTypes" collection of methods. + */ + public class UserListCustomerTypes { + + /** + * Attach or remove user list customer types. Operation statuses are returned. List of thrown + * errors: [AuthenticationError]() [AuthorizationError]() [UserListCustomerTypeError]() + * [HeaderError]() [InternalError]() [QuotaError]() [RequestError]() + * + * Create a request for the method "userListCustomerTypes.mutate". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + * + * @param customerId Required. The ID of the customer whose user list customer types are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateUserListCustomerTypesRequest} + * @return the request + */ + public Mutate mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateUserListCustomerTypesRequest content) throws java.io.IOException { + Mutate result = new Mutate(customerId, content); + initialize(result); + return result; + } + + public class Mutate extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/userListCustomerTypes:mutate"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Attach or remove user list customer types. Operation statuses are returned. List of thrown + * errors: [AuthenticationError]() [AuthorizationError]() [UserListCustomerTypeError]() + * [HeaderError]() [InternalError]() [QuotaError]() [RequestError]() + * + * Create a request for the method "userListCustomerTypes.mutate". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + *

{@link + * Mutate#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer whose user list customer types are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateUserListCustomerTypesRequest} + * @since 1.13 + */ + protected Mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateUserListCustomerTypesRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateUserListCustomerTypesResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public Mutate set$Xgafv(java.lang.String $Xgafv) { + return (Mutate) super.set$Xgafv($Xgafv); + } + + @Override + public Mutate setAccessToken(java.lang.String accessToken) { + return (Mutate) super.setAccessToken(accessToken); + } + + @Override + public Mutate setAlt(java.lang.String alt) { + return (Mutate) super.setAlt(alt); + } + + @Override + public Mutate setCallback(java.lang.String callback) { + return (Mutate) super.setCallback(callback); + } + + @Override + public Mutate setFields(java.lang.String fields) { + return (Mutate) super.setFields(fields); + } + + @Override + public Mutate setKey(java.lang.String key) { + return (Mutate) super.setKey(key); + } + + @Override + public Mutate setOauthToken(java.lang.String oauthToken) { + return (Mutate) super.setOauthToken(oauthToken); + } + + @Override + public Mutate setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Mutate) super.setPrettyPrint(prettyPrint); + } + + @Override + public Mutate setQuotaUser(java.lang.String quotaUser) { + return (Mutate) super.setQuotaUser(quotaUser); + } + + @Override + public Mutate setUploadType(java.lang.String uploadType) { + return (Mutate) super.setUploadType(uploadType); + } + + @Override + public Mutate setUploadProtocol(java.lang.String uploadProtocol) { + return (Mutate) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the customer whose user list customer types are being modified. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer whose user list customer types are being modified. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the customer whose user list customer types are being modified. */ + public Mutate setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public Mutate set(String parameterName, Object value) { + return (Mutate) super.set(parameterName, value); + } + } + + } + /** + * An accessor for creating requests from the UserLists collection. + * + *

The typical use is:

+ *
+     *   {@code SA360 searchads360 = new SA360(...);}
+     *   {@code SA360.UserLists.List request = searchads360.userLists().list(parameters ...)}
+     * 
+ * + * @return the resource collection + */ + public UserLists userLists() { + return new UserLists(); + } + + /** + * The "userLists" collection of methods. + */ + public class UserLists { + + /** + * Creates or updates user lists. Operation statuses are returned. List of thrown errors: + * [AuthenticationError]() [AuthorizationError]() [CollectionSizeError]() [DatabaseError]() + * [DistinctError]() [FieldError]() [FieldMaskError]() [HeaderError]() [InternalError]() + * [MutateError]() [NewResourceCreationError]() [NotAllowlistedError]() [NotEmptyError]() + * [OperationAccessDeniedError]() [QuotaError]() [RangeError]() [RequestError]() + * [StringFormatError]() [StringLengthError]() [UserListError]() + * + * Create a request for the method "userLists.mutate". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + * + * @param customerId Required. The ID of the customer whose user lists are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateUserListsRequest} + * @return the request + */ + public Mutate mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateUserListsRequest content) throws java.io.IOException { + Mutate result = new Mutate(customerId, content); + initialize(result); + return result; + } + + public class Mutate extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/userLists:mutate"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Creates or updates user lists. Operation statuses are returned. List of thrown errors: + * [AuthenticationError]() [AuthorizationError]() [CollectionSizeError]() [DatabaseError]() + * [DistinctError]() [FieldError]() [FieldMaskError]() [HeaderError]() [InternalError]() + * [MutateError]() [NewResourceCreationError]() [NotAllowlistedError]() [NotEmptyError]() + * [OperationAccessDeniedError]() [QuotaError]() [RangeError]() [RequestError]() + * [StringFormatError]() [StringLengthError]() [UserListError]() + * + * Create a request for the method "userLists.mutate". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + *

{@link + * Mutate#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer whose user lists are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateUserListsRequest} + * @since 1.13 + */ + protected Mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateUserListsRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateUserListsResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public Mutate set$Xgafv(java.lang.String $Xgafv) { + return (Mutate) super.set$Xgafv($Xgafv); + } + + @Override + public Mutate setAccessToken(java.lang.String accessToken) { + return (Mutate) super.setAccessToken(accessToken); + } + + @Override + public Mutate setAlt(java.lang.String alt) { + return (Mutate) super.setAlt(alt); + } + + @Override + public Mutate setCallback(java.lang.String callback) { + return (Mutate) super.setCallback(callback); + } + + @Override + public Mutate setFields(java.lang.String fields) { + return (Mutate) super.setFields(fields); + } + + @Override + public Mutate setKey(java.lang.String key) { + return (Mutate) super.setKey(key); + } + + @Override + public Mutate setOauthToken(java.lang.String oauthToken) { + return (Mutate) super.setOauthToken(oauthToken); + } + + @Override + public Mutate setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Mutate) super.setPrettyPrint(prettyPrint); + } + + @Override + public Mutate setQuotaUser(java.lang.String quotaUser) { + return (Mutate) super.setQuotaUser(quotaUser); + } + + @Override + public Mutate setUploadType(java.lang.String uploadType) { + return (Mutate) super.setUploadType(uploadType); + } + + @Override + public Mutate setUploadProtocol(java.lang.String uploadProtocol) { + return (Mutate) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the customer whose user lists are being modified. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer whose user lists are being modified. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the customer whose user lists are being modified. */ + public Mutate setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public Mutate set(String parameterName, Object value) { + return (Mutate) super.set(parameterName, value); + } + } + + } + } + + /** + * An accessor for creating requests from the GeoTargetConstants collection. + * + *

The typical use is:

+ *
+   *   {@code SA360 searchads360 = new SA360(...);}
+   *   {@code SA360.GeoTargetConstants.List request = searchads360.geoTargetConstants().list(parameters ...)}
+   * 
+ * + * @return the resource collection + */ + public GeoTargetConstants geoTargetConstants() { + return new GeoTargetConstants(); + } + + /** + * The "geoTargetConstants" collection of methods. + */ + public class GeoTargetConstants { + + /** + * Returns GeoTargetConstant suggestions by location name or by resource name. List of thrown + * errors: [AuthenticationError]() [AuthorizationError]() [GeoTargetConstantSuggestionError]() + * [HeaderError]() [InternalError]() [QuotaError]() [RequestError]() + * + * Create a request for the method "geoTargetConstants.suggest". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Suggest#execute()} method to invoke the remote operation. + * + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesSuggestGeoTargetConstantsRequest} + * @return the request + */ + public Suggest suggest(com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesSuggestGeoTargetConstantsRequest content) throws java.io.IOException { + Suggest result = new Suggest(content); + initialize(result); + return result; + } + + public class Suggest extends SA360Request { + + private static final String REST_PATH = "v23/geoTargetConstants:suggest"; + + /** + * Returns GeoTargetConstant suggestions by location name or by resource name. List of thrown + * errors: [AuthenticationError]() [AuthorizationError]() [GeoTargetConstantSuggestionError]() + * [HeaderError]() [InternalError]() [QuotaError]() [RequestError]() + * + * Create a request for the method "geoTargetConstants.suggest". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Suggest#execute()} method to invoke the remote operation. + *

{@link + * Suggest#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesSuggestGeoTargetConstantsRequest} + * @since 1.13 + */ + protected Suggest(com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesSuggestGeoTargetConstantsRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesSuggestGeoTargetConstantsResponse.class); + } + + @Override + public Suggest set$Xgafv(java.lang.String $Xgafv) { + return (Suggest) super.set$Xgafv($Xgafv); + } + + @Override + public Suggest setAccessToken(java.lang.String accessToken) { + return (Suggest) super.setAccessToken(accessToken); + } + + @Override + public Suggest setAlt(java.lang.String alt) { + return (Suggest) super.setAlt(alt); + } + + @Override + public Suggest setCallback(java.lang.String callback) { + return (Suggest) super.setCallback(callback); + } + + @Override + public Suggest setFields(java.lang.String fields) { + return (Suggest) super.setFields(fields); + } + + @Override + public Suggest setKey(java.lang.String key) { + return (Suggest) super.setKey(key); + } + + @Override + public Suggest setOauthToken(java.lang.String oauthToken) { + return (Suggest) super.setOauthToken(oauthToken); + } + + @Override + public Suggest setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Suggest) super.setPrettyPrint(prettyPrint); + } + + @Override + public Suggest setQuotaUser(java.lang.String quotaUser) { + return (Suggest) super.setQuotaUser(quotaUser); + } + + @Override + public Suggest setUploadType(java.lang.String uploadType) { + return (Suggest) super.setUploadType(uploadType); + } + + @Override + public Suggest setUploadProtocol(java.lang.String uploadProtocol) { + return (Suggest) super.setUploadProtocol(uploadProtocol); + } + + @Override + public Suggest set(String parameterName, Object value) { + return (Suggest) super.set(parameterName, value); + } + } + + } + + /** + * An accessor for creating requests from the Incentives collection. + * + *

The typical use is:

+ *
+   *   {@code SA360 searchads360 = new SA360(...);}
+   *   {@code SA360.Incentives.List request = searchads360.incentives().list(parameters ...)}
+   * 
+ * + * @return the resource collection + */ + public Incentives incentives() { + return new Incentives(); + } + + /** + * The "incentives" collection of methods. + */ + public class Incentives { + + /** + * Returns incentives for a given user. + * + * Create a request for the method "incentives.fetchIncentive". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link FetchIncentive#execute()} method to invoke the remote operation. + * + * @return the request + */ + public FetchIncentive fetchIncentive() throws java.io.IOException { + FetchIncentive result = new FetchIncentive(); + initialize(result); + return result; + } + + public class FetchIncentive extends SA360Request { + + private static final String REST_PATH = "v23/incentives:fetchIncentive"; + + /** + * Returns incentives for a given user. + * + * Create a request for the method "incentives.fetchIncentive". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link FetchIncentive#execute()} method to invoke the remote + * operation.

{@link FetchIncentive#initialize(com.google.api.client.googleapis.services.Abstr + * actGoogleClientRequest)} must be called to initialize this instance immediately after invoking + * the constructor.

+ * + * @since 1.13 + */ + protected FetchIncentive() { + super(SA360.this, "GET", REST_PATH, null, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesFetchIncentiveResponse.class); + } + + @Override + public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { + return super.executeUsingHead(); + } + + @Override + public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { + return super.buildHttpRequestUsingHead(); + } + + @Override + public FetchIncentive set$Xgafv(java.lang.String $Xgafv) { + return (FetchIncentive) super.set$Xgafv($Xgafv); + } + + @Override + public FetchIncentive setAccessToken(java.lang.String accessToken) { + return (FetchIncentive) super.setAccessToken(accessToken); + } + + @Override + public FetchIncentive setAlt(java.lang.String alt) { + return (FetchIncentive) super.setAlt(alt); + } + + @Override + public FetchIncentive setCallback(java.lang.String callback) { + return (FetchIncentive) super.setCallback(callback); + } + + @Override + public FetchIncentive setFields(java.lang.String fields) { + return (FetchIncentive) super.setFields(fields); + } + + @Override + public FetchIncentive setKey(java.lang.String key) { + return (FetchIncentive) super.setKey(key); + } + + @Override + public FetchIncentive setOauthToken(java.lang.String oauthToken) { + return (FetchIncentive) super.setOauthToken(oauthToken); + } + + @Override + public FetchIncentive setPrettyPrint(java.lang.Boolean prettyPrint) { + return (FetchIncentive) super.setPrettyPrint(prettyPrint); + } + + @Override + public FetchIncentive setQuotaUser(java.lang.String quotaUser) { + return (FetchIncentive) super.setQuotaUser(quotaUser); + } + + @Override + public FetchIncentive setUploadType(java.lang.String uploadType) { + return (FetchIncentive) super.setUploadType(uploadType); + } + + @Override + public FetchIncentive setUploadProtocol(java.lang.String uploadProtocol) { + return (FetchIncentive) super.setUploadProtocol(uploadProtocol); + } + + /** + * Optional. User's country code. If not provided, the server will default to "US". Possible + * country codes: https://developers.google.com/google-ads/api/data/codes- + * formats#country_codes + */ + @com.google.api.client.util.Key + private java.lang.String countryCode; + + /** Optional. User's country code. If not provided, the server will default to "US". Possible country + codes: https://developers.google.com/google-ads/api/data/codes-formats#country_codes + */ + public java.lang.String getCountryCode() { + return countryCode; + } + + /** + * Optional. User's country code. If not provided, the server will default to "US". Possible + * country codes: https://developers.google.com/google-ads/api/data/codes- + * formats#country_codes + */ + public FetchIncentive setCountryCode(java.lang.String countryCode) { + this.countryCode = countryCode; + return this; + } + + /** + * Optional. Email of the user that the requested incentive is meant for. Will be used for + * channel partners who do NOT use OAuth to authenticate on behalf of user. + */ + @com.google.api.client.util.Key + private java.lang.String email; + + /** Optional. Email of the user that the requested incentive is meant for. Will be used for channel + partners who do NOT use OAuth to authenticate on behalf of user. + */ + public java.lang.String getEmail() { + return email; + } + + /** + * Optional. Email of the user that the requested incentive is meant for. Will be used for + * channel partners who do NOT use OAuth to authenticate on behalf of user. + */ + public FetchIncentive setEmail(java.lang.String email) { + this.email = email; + return this; + } + + /** + * Optional. User's language code. If not provided, the server will default to "en". Possible + * language codes: https://developers.google.com/google-ads/api/data/codes-formats#languages + */ + @com.google.api.client.util.Key + private java.lang.String languageCode; + + /** Optional. User's language code. If not provided, the server will default to "en". Possible language + codes: https://developers.google.com/google-ads/api/data/codes-formats#languages + */ + public java.lang.String getLanguageCode() { + return languageCode; + } + + /** + * Optional. User's language code. If not provided, the server will default to "en". Possible + * language codes: https://developers.google.com/google-ads/api/data/codes-formats#languages + */ + public FetchIncentive setLanguageCode(java.lang.String languageCode) { + this.languageCode = languageCode; + return this; + } + + /** Optional. The type of incentive to get. Defaults to ACQUISITION. */ + @com.google.api.client.util.Key + private java.lang.String type; + + /** Optional. The type of incentive to get. Defaults to ACQUISITION. + */ + public java.lang.String getType() { + return type; + } + + /** Optional. The type of incentive to get. Defaults to ACQUISITION. */ + public FetchIncentive setType(java.lang.String type) { + this.type = type; + return this; + } + + @Override + public FetchIncentive set(String parameterName, Object value) { + return (FetchIncentive) super.set(parameterName, value); + } + } + + } + + /** + * An accessor for creating requests from the KeywordThemeConstants collection. + * + *

The typical use is:

+ *
+   *   {@code SA360 searchads360 = new SA360(...);}
+   *   {@code SA360.KeywordThemeConstants.List request = searchads360.keywordThemeConstants().list(parameters ...)}
+   * 
+ * + * @return the resource collection + */ + public KeywordThemeConstants keywordThemeConstants() { + return new KeywordThemeConstants(); + } + + /** + * The "keywordThemeConstants" collection of methods. + */ + public class KeywordThemeConstants { + + /** + * Returns KeywordThemeConstant suggestions by keyword themes. List of thrown errors: + * [AuthenticationError]() [AuthorizationError]() [HeaderError]() [InternalError]() [QuotaError]() + * [RequestError]() + * + * Create a request for the method "keywordThemeConstants.suggest". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Suggest#execute()} method to invoke the remote operation. + * + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesSuggestKeywordThemeConstantsRequest} + * @return the request + */ + public Suggest suggest(com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesSuggestKeywordThemeConstantsRequest content) throws java.io.IOException { + Suggest result = new Suggest(content); + initialize(result); + return result; + } + + public class Suggest extends SA360Request { + + private static final String REST_PATH = "v23/keywordThemeConstants:suggest"; + + /** + * Returns KeywordThemeConstant suggestions by keyword themes. List of thrown errors: + * [AuthenticationError]() [AuthorizationError]() [HeaderError]() [InternalError]() [QuotaError]() + * [RequestError]() + * + * Create a request for the method "keywordThemeConstants.suggest". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Suggest#execute()} method to invoke the remote operation. + *

{@link + * Suggest#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesSuggestKeywordThemeConstantsRequest} + * @since 1.13 + */ + protected Suggest(com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesSuggestKeywordThemeConstantsRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesSuggestKeywordThemeConstantsResponse.class); + } + + @Override + public Suggest set$Xgafv(java.lang.String $Xgafv) { + return (Suggest) super.set$Xgafv($Xgafv); + } + + @Override + public Suggest setAccessToken(java.lang.String accessToken) { + return (Suggest) super.setAccessToken(accessToken); + } + + @Override + public Suggest setAlt(java.lang.String alt) { + return (Suggest) super.setAlt(alt); + } + + @Override + public Suggest setCallback(java.lang.String callback) { + return (Suggest) super.setCallback(callback); + } + + @Override + public Suggest setFields(java.lang.String fields) { + return (Suggest) super.setFields(fields); + } + + @Override + public Suggest setKey(java.lang.String key) { + return (Suggest) super.setKey(key); + } + + @Override + public Suggest setOauthToken(java.lang.String oauthToken) { + return (Suggest) super.setOauthToken(oauthToken); + } + + @Override + public Suggest setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Suggest) super.setPrettyPrint(prettyPrint); + } + + @Override + public Suggest setQuotaUser(java.lang.String quotaUser) { + return (Suggest) super.setQuotaUser(quotaUser); + } + + @Override + public Suggest setUploadType(java.lang.String uploadType) { + return (Suggest) super.setUploadType(uploadType); + } + + @Override + public Suggest setUploadProtocol(java.lang.String uploadProtocol) { + return (Suggest) super.setUploadProtocol(uploadProtocol); + } + + @Override + public Suggest set(String parameterName, Object value) { + return (Suggest) super.set(parameterName, value); + } + } + + } + + /** + * An accessor for creating requests from the SearchAds360Fields collection. + * + *

The typical use is:

+ *
+   *   {@code SA360 searchads360 = new SA360(...);}
+   *   {@code SA360.SearchAds360Fields.List request = searchads360.searchAds360Fields().list(parameters ...)}
+   * 
+ * + * @return the resource collection + */ + public SearchAds360Fields searchAds360Fields() { + return new SearchAds360Fields(); + } + + /** + * The "searchAds360Fields" collection of methods. + */ + public class SearchAds360Fields { + + /** + * Returns just the requested field. List of thrown errors: [AuthenticationError]() + * [AuthorizationError]() [HeaderError]() [InternalError]() [QuotaError]() [RequestError]() + * + * Create a request for the method "searchAds360Fields.get". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Get#execute()} method to invoke the remote operation. + * + * @param resourceName Required. The resource name of the field to get. + * @return the request + */ + public Get get(java.lang.String resourceName) throws java.io.IOException { + Get result = new Get(resourceName); + initialize(result); + return result; + } + + public class Get extends SA360Request { + + private static final String REST_PATH = "v23/{+resourceName}"; + + private final java.util.regex.Pattern RESOURCE_NAME_PATTERN = + java.util.regex.Pattern.compile("^searchAds360Fields/[^/]+$"); + + /** + * Returns just the requested field. List of thrown errors: [AuthenticationError]() + * [AuthorizationError]() [HeaderError]() [InternalError]() [QuotaError]() [RequestError]() + * + * Create a request for the method "searchAds360Fields.get". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Get#execute()} method to invoke the remote operation.

+ * {@link Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} + * must be called to initialize this instance immediately after invoking the constructor.

+ * + * @param resourceName Required. The resource name of the field to get. + * @since 1.13 + */ + protected Get(java.lang.String resourceName) { + super(SA360.this, "GET", REST_PATH, null, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ResourcesSearchAds360Field.class); + this.resourceName = com.google.api.client.util.Preconditions.checkNotNull(resourceName, "Required parameter resourceName must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(RESOURCE_NAME_PATTERN.matcher(resourceName).matches(), + "Parameter resourceName must conform to the pattern " + + "^searchAds360Fields/[^/]+$"); + } + } + + @Override + public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { + return super.executeUsingHead(); + } + + @Override + public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { + return super.buildHttpRequestUsingHead(); + } + + @Override + public Get set$Xgafv(java.lang.String $Xgafv) { + return (Get) super.set$Xgafv($Xgafv); + } + + @Override + public Get setAccessToken(java.lang.String accessToken) { + return (Get) super.setAccessToken(accessToken); + } + + @Override + public Get setAlt(java.lang.String alt) { + return (Get) super.setAlt(alt); + } + + @Override + public Get setCallback(java.lang.String callback) { + return (Get) super.setCallback(callback); + } + + @Override + public Get setFields(java.lang.String fields) { + return (Get) super.setFields(fields); + } + + @Override + public Get setKey(java.lang.String key) { + return (Get) super.setKey(key); + } + + @Override + public Get setOauthToken(java.lang.String oauthToken) { + return (Get) super.setOauthToken(oauthToken); + } + + @Override + public Get setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Get) super.setPrettyPrint(prettyPrint); + } + + @Override + public Get setQuotaUser(java.lang.String quotaUser) { + return (Get) super.setQuotaUser(quotaUser); + } + + @Override + public Get setUploadType(java.lang.String uploadType) { + return (Get) super.setUploadType(uploadType); + } + + @Override + public Get setUploadProtocol(java.lang.String uploadProtocol) { + return (Get) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The resource name of the field to get. */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** Required. The resource name of the field to get. + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** Required. The resource name of the field to get. */ + public Get setResourceName(java.lang.String resourceName) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(RESOURCE_NAME_PATTERN.matcher(resourceName).matches(), + "Parameter resourceName must conform to the pattern " + + "^searchAds360Fields/[^/]+$"); + } + this.resourceName = resourceName; + return this; + } + + @Override + public Get set(String parameterName, Object value) { + return (Get) super.set(parameterName, value); + } + } + /** + * Returns all fields that match the search [query](/search-ads/reporting/concepts/field- + * service#use_a_query_to_get_field_details). List of thrown errors: [AuthenticationError]() + * [AuthorizationError]() [HeaderError]() [InternalError]() [QueryError]() [QuotaError]() + * [RequestError]() + * + * Create a request for the method "searchAds360Fields.search". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Search#execute()} method to invoke the remote operation. + * + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesSearchSearchAds360FieldsRequest} + * @return the request + */ + public Search search(com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesSearchSearchAds360FieldsRequest content) throws java.io.IOException { + Search result = new Search(content); + initialize(result); + return result; + } + + public class Search extends SA360Request { + + private static final String REST_PATH = "v23/searchAds360Fields:search"; + + /** + * Returns all fields that match the search [query](/search-ads/reporting/concepts/field- + * service#use_a_query_to_get_field_details). List of thrown errors: [AuthenticationError]() + * [AuthorizationError]() [HeaderError]() [InternalError]() [QueryError]() [QuotaError]() + * [RequestError]() + * + * Create a request for the method "searchAds360Fields.search". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Search#execute()} method to invoke the remote operation. + *

{@link + * Search#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesSearchSearchAds360FieldsRequest} + * @since 1.13 + */ + protected Search(com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesSearchSearchAds360FieldsRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesSearchSearchAds360FieldsResponse.class); + } + + @Override + public Search set$Xgafv(java.lang.String $Xgafv) { + return (Search) super.set$Xgafv($Xgafv); + } + + @Override + public Search setAccessToken(java.lang.String accessToken) { + return (Search) super.setAccessToken(accessToken); + } + + @Override + public Search setAlt(java.lang.String alt) { + return (Search) super.setAlt(alt); + } + + @Override + public Search setCallback(java.lang.String callback) { + return (Search) super.setCallback(callback); + } + + @Override + public Search setFields(java.lang.String fields) { + return (Search) super.setFields(fields); + } + + @Override + public Search setKey(java.lang.String key) { + return (Search) super.setKey(key); + } + + @Override + public Search setOauthToken(java.lang.String oauthToken) { + return (Search) super.setOauthToken(oauthToken); + } + + @Override + public Search setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Search) super.setPrettyPrint(prettyPrint); + } + + @Override + public Search setQuotaUser(java.lang.String quotaUser) { + return (Search) super.setQuotaUser(quotaUser); + } + + @Override + public Search setUploadType(java.lang.String uploadType) { + return (Search) super.setUploadType(uploadType); + } + + @Override + public Search setUploadProtocol(java.lang.String uploadProtocol) { + return (Search) super.setUploadProtocol(uploadProtocol); + } + + @Override + public Search set(String parameterName, Object value) { + return (Search) super.set(parameterName, value); + } + } + + } + + /** + * An accessor for creating requests from the V23 collection. + * + *

The typical use is:

+ *
+   *   {@code SA360 searchads360 = new SA360(...);}
+   *   {@code SA360.V23.List request = searchads360.v23().list(parameters ...)}
+   * 
+ * + * @return the resource collection + */ + public V23 v23() { + return new V23(); + } + + /** + * The "v23" collection of methods. + */ + public class V23 { + + /** + * Returns a collection of conversion rate suggestions for supported plannable products. List of + * thrown errors: [AuthenticationError]() [AuthorizationError]() [HeaderError]() [InternalError]() + * [QuotaError]() [RequestError]() + * + * Create a request for the method "v23.generateConversionRates". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link GenerateConversionRates#execute()} method to invoke the remote + * operation. + * + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesGenerateConversionRatesRequest} + * @return the request + */ + public GenerateConversionRates generateConversionRates(com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesGenerateConversionRatesRequest content) throws java.io.IOException { + GenerateConversionRates result = new GenerateConversionRates(content); + initialize(result); + return result; + } + + public class GenerateConversionRates extends SA360Request { + + private static final String REST_PATH = "v23:generateConversionRates"; + + /** + * Returns a collection of conversion rate suggestions for supported plannable products. List of + * thrown errors: [AuthenticationError]() [AuthorizationError]() [HeaderError]() [InternalError]() + * [QuotaError]() [RequestError]() + * + * Create a request for the method "v23.generateConversionRates". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link GenerateConversionRates#execute()} method to invoke the + * remote operation.

{@link GenerateConversionRates#initialize(com.google.api.client.googleapi + * s.services.AbstractGoogleClientRequest)} must be called to initialize this instance immediately + * after invoking the constructor.

+ * + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesGenerateConversionRatesRequest} + * @since 1.13 + */ + protected GenerateConversionRates(com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesGenerateConversionRatesRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesGenerateConversionRatesResponse.class); + } + + @Override + public GenerateConversionRates set$Xgafv(java.lang.String $Xgafv) { + return (GenerateConversionRates) super.set$Xgafv($Xgafv); + } + + @Override + public GenerateConversionRates setAccessToken(java.lang.String accessToken) { + return (GenerateConversionRates) super.setAccessToken(accessToken); + } + + @Override + public GenerateConversionRates setAlt(java.lang.String alt) { + return (GenerateConversionRates) super.setAlt(alt); + } + + @Override + public GenerateConversionRates setCallback(java.lang.String callback) { + return (GenerateConversionRates) super.setCallback(callback); + } + + @Override + public GenerateConversionRates setFields(java.lang.String fields) { + return (GenerateConversionRates) super.setFields(fields); + } + + @Override + public GenerateConversionRates setKey(java.lang.String key) { + return (GenerateConversionRates) super.setKey(key); + } + + @Override + public GenerateConversionRates setOauthToken(java.lang.String oauthToken) { + return (GenerateConversionRates) super.setOauthToken(oauthToken); + } + + @Override + public GenerateConversionRates setPrettyPrint(java.lang.Boolean prettyPrint) { + return (GenerateConversionRates) super.setPrettyPrint(prettyPrint); + } + + @Override + public GenerateConversionRates setQuotaUser(java.lang.String quotaUser) { + return (GenerateConversionRates) super.setQuotaUser(quotaUser); + } + + @Override + public GenerateConversionRates setUploadType(java.lang.String uploadType) { + return (GenerateConversionRates) super.setUploadType(uploadType); + } + + @Override + public GenerateConversionRates setUploadProtocol(java.lang.String uploadProtocol) { + return (GenerateConversionRates) super.setUploadProtocol(uploadProtocol); + } + + @Override + public GenerateConversionRates set(String parameterName, Object value) { + return (GenerateConversionRates) super.set(parameterName, value); + } + } + /** + * Returns a date range that supports benchmarks. List of thrown errors: [AuthenticationError]() + * [AuthorizationError]() [FieldError]() [HeaderError]() [InternalError]() [QuotaError]() + * [RequestError]() + * + * Create a request for the method "v23.listBenchmarksAvailableDates". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link ListBenchmarksAvailableDates#execute()} method to invoke the remote + * operation. + * + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesListBenchmarksAvailableDatesRequest} + * @return the request + */ + public ListBenchmarksAvailableDates listBenchmarksAvailableDates(com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesListBenchmarksAvailableDatesRequest content) throws java.io.IOException { + ListBenchmarksAvailableDates result = new ListBenchmarksAvailableDates(content); + initialize(result); + return result; + } + + public class ListBenchmarksAvailableDates extends SA360Request { + + private static final String REST_PATH = "v23:listBenchmarksAvailableDates"; + + /** + * Returns a date range that supports benchmarks. List of thrown errors: [AuthenticationError]() + * [AuthorizationError]() [FieldError]() [HeaderError]() [InternalError]() [QuotaError]() + * [RequestError]() + * + * Create a request for the method "v23.listBenchmarksAvailableDates". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link ListBenchmarksAvailableDates#execute()} method to invoke + * the remote operation.

{@link ListBenchmarksAvailableDates#initialize(com.google.api.client. + * googleapis.services.AbstractGoogleClientRequest)} must be called to initialize this instance + * immediately after invoking the constructor.

+ * + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesListBenchmarksAvailableDatesRequest} + * @since 1.13 + */ + protected ListBenchmarksAvailableDates(com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesListBenchmarksAvailableDatesRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesListBenchmarksAvailableDatesResponse.class); + } + + @Override + public ListBenchmarksAvailableDates set$Xgafv(java.lang.String $Xgafv) { + return (ListBenchmarksAvailableDates) super.set$Xgafv($Xgafv); + } + + @Override + public ListBenchmarksAvailableDates setAccessToken(java.lang.String accessToken) { + return (ListBenchmarksAvailableDates) super.setAccessToken(accessToken); + } + + @Override + public ListBenchmarksAvailableDates setAlt(java.lang.String alt) { + return (ListBenchmarksAvailableDates) super.setAlt(alt); + } + + @Override + public ListBenchmarksAvailableDates setCallback(java.lang.String callback) { + return (ListBenchmarksAvailableDates) super.setCallback(callback); + } + + @Override + public ListBenchmarksAvailableDates setFields(java.lang.String fields) { + return (ListBenchmarksAvailableDates) super.setFields(fields); + } + + @Override + public ListBenchmarksAvailableDates setKey(java.lang.String key) { + return (ListBenchmarksAvailableDates) super.setKey(key); + } + + @Override + public ListBenchmarksAvailableDates setOauthToken(java.lang.String oauthToken) { + return (ListBenchmarksAvailableDates) super.setOauthToken(oauthToken); + } + + @Override + public ListBenchmarksAvailableDates setPrettyPrint(java.lang.Boolean prettyPrint) { + return (ListBenchmarksAvailableDates) super.setPrettyPrint(prettyPrint); + } + + @Override + public ListBenchmarksAvailableDates setQuotaUser(java.lang.String quotaUser) { + return (ListBenchmarksAvailableDates) super.setQuotaUser(quotaUser); + } + + @Override + public ListBenchmarksAvailableDates setUploadType(java.lang.String uploadType) { + return (ListBenchmarksAvailableDates) super.setUploadType(uploadType); + } + + @Override + public ListBenchmarksAvailableDates setUploadProtocol(java.lang.String uploadProtocol) { + return (ListBenchmarksAvailableDates) super.setUploadProtocol(uploadProtocol); + } + + @Override + public ListBenchmarksAvailableDates set(String parameterName, Object value) { + return (ListBenchmarksAvailableDates) super.set(parameterName, value); + } + } + /** + * Returns the list of locations that support benchmarks (for example, countries). List of thrown + * errors: [AuthenticationError]() [AuthorizationError]() [FieldError]() [HeaderError]() + * [InternalError]() [QuotaError]() [RequestError]() + * + * Create a request for the method "v23.listBenchmarksLocations". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link ListBenchmarksLocations#execute()} method to invoke the remote + * operation. + * + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesListBenchmarksLocationsRequest} + * @return the request + */ + public ListBenchmarksLocations listBenchmarksLocations(com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesListBenchmarksLocationsRequest content) throws java.io.IOException { + ListBenchmarksLocations result = new ListBenchmarksLocations(content); + initialize(result); + return result; + } + + public class ListBenchmarksLocations extends SA360Request { + + private static final String REST_PATH = "v23:listBenchmarksLocations"; + + /** + * Returns the list of locations that support benchmarks (for example, countries). List of thrown + * errors: [AuthenticationError]() [AuthorizationError]() [FieldError]() [HeaderError]() + * [InternalError]() [QuotaError]() [RequestError]() + * + * Create a request for the method "v23.listBenchmarksLocations". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link ListBenchmarksLocations#execute()} method to invoke the + * remote operation.

{@link ListBenchmarksLocations#initialize(com.google.api.client.googleapi + * s.services.AbstractGoogleClientRequest)} must be called to initialize this instance immediately + * after invoking the constructor.

+ * + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesListBenchmarksLocationsRequest} + * @since 1.13 + */ + protected ListBenchmarksLocations(com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesListBenchmarksLocationsRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesListBenchmarksLocationsResponse.class); + } + + @Override + public ListBenchmarksLocations set$Xgafv(java.lang.String $Xgafv) { + return (ListBenchmarksLocations) super.set$Xgafv($Xgafv); + } + + @Override + public ListBenchmarksLocations setAccessToken(java.lang.String accessToken) { + return (ListBenchmarksLocations) super.setAccessToken(accessToken); + } + + @Override + public ListBenchmarksLocations setAlt(java.lang.String alt) { + return (ListBenchmarksLocations) super.setAlt(alt); + } + + @Override + public ListBenchmarksLocations setCallback(java.lang.String callback) { + return (ListBenchmarksLocations) super.setCallback(callback); + } + + @Override + public ListBenchmarksLocations setFields(java.lang.String fields) { + return (ListBenchmarksLocations) super.setFields(fields); + } + + @Override + public ListBenchmarksLocations setKey(java.lang.String key) { + return (ListBenchmarksLocations) super.setKey(key); + } + + @Override + public ListBenchmarksLocations setOauthToken(java.lang.String oauthToken) { + return (ListBenchmarksLocations) super.setOauthToken(oauthToken); + } + + @Override + public ListBenchmarksLocations setPrettyPrint(java.lang.Boolean prettyPrint) { + return (ListBenchmarksLocations) super.setPrettyPrint(prettyPrint); + } + + @Override + public ListBenchmarksLocations setQuotaUser(java.lang.String quotaUser) { + return (ListBenchmarksLocations) super.setQuotaUser(quotaUser); + } + + @Override + public ListBenchmarksLocations setUploadType(java.lang.String uploadType) { + return (ListBenchmarksLocations) super.setUploadType(uploadType); + } + + @Override + public ListBenchmarksLocations setUploadProtocol(java.lang.String uploadProtocol) { + return (ListBenchmarksLocations) super.setUploadProtocol(uploadProtocol); + } + + @Override + public ListBenchmarksLocations set(String parameterName, Object value) { + return (ListBenchmarksLocations) super.set(parameterName, value); + } + } + /** + * Returns the list of products that supports benchmarks. List of thrown errors: + * [AuthenticationError]() [AuthorizationError]() [FieldError]() [HeaderError]() [InternalError]() + * [QuotaError]() [RequestError]() + * + * Create a request for the method "v23.listBenchmarksProducts". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link ListBenchmarksProducts#execute()} method to invoke the remote + * operation. + * + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesListBenchmarksProductsRequest} + * @return the request + */ + public ListBenchmarksProducts listBenchmarksProducts(com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesListBenchmarksProductsRequest content) throws java.io.IOException { + ListBenchmarksProducts result = new ListBenchmarksProducts(content); + initialize(result); + return result; + } + + public class ListBenchmarksProducts extends SA360Request { + + private static final String REST_PATH = "v23:listBenchmarksProducts"; + + /** + * Returns the list of products that supports benchmarks. List of thrown errors: + * [AuthenticationError]() [AuthorizationError]() [FieldError]() [HeaderError]() [InternalError]() + * [QuotaError]() [RequestError]() + * + * Create a request for the method "v23.listBenchmarksProducts". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link ListBenchmarksProducts#execute()} method to invoke the + * remote operation.

{@link ListBenchmarksProducts#initialize(com.google.api.client.googleapis + * .services.AbstractGoogleClientRequest)} must be called to initialize this instance immediately + * after invoking the constructor.

+ * + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesListBenchmarksProductsRequest} + * @since 1.13 + */ + protected ListBenchmarksProducts(com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesListBenchmarksProductsRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesListBenchmarksProductsResponse.class); + } + + @Override + public ListBenchmarksProducts set$Xgafv(java.lang.String $Xgafv) { + return (ListBenchmarksProducts) super.set$Xgafv($Xgafv); + } + + @Override + public ListBenchmarksProducts setAccessToken(java.lang.String accessToken) { + return (ListBenchmarksProducts) super.setAccessToken(accessToken); + } + + @Override + public ListBenchmarksProducts setAlt(java.lang.String alt) { + return (ListBenchmarksProducts) super.setAlt(alt); + } + + @Override + public ListBenchmarksProducts setCallback(java.lang.String callback) { + return (ListBenchmarksProducts) super.setCallback(callback); + } + + @Override + public ListBenchmarksProducts setFields(java.lang.String fields) { + return (ListBenchmarksProducts) super.setFields(fields); + } + + @Override + public ListBenchmarksProducts setKey(java.lang.String key) { + return (ListBenchmarksProducts) super.setKey(key); + } + + @Override + public ListBenchmarksProducts setOauthToken(java.lang.String oauthToken) { + return (ListBenchmarksProducts) super.setOauthToken(oauthToken); + } + + @Override + public ListBenchmarksProducts setPrettyPrint(java.lang.Boolean prettyPrint) { + return (ListBenchmarksProducts) super.setPrettyPrint(prettyPrint); + } + + @Override + public ListBenchmarksProducts setQuotaUser(java.lang.String quotaUser) { + return (ListBenchmarksProducts) super.setQuotaUser(quotaUser); + } + + @Override + public ListBenchmarksProducts setUploadType(java.lang.String uploadType) { + return (ListBenchmarksProducts) super.setUploadType(uploadType); + } + + @Override + public ListBenchmarksProducts setUploadProtocol(java.lang.String uploadProtocol) { + return (ListBenchmarksProducts) super.setUploadProtocol(uploadProtocol); + } + + @Override + public ListBenchmarksProducts set(String parameterName, Object value) { + return (ListBenchmarksProducts) super.set(parameterName, value); + } + } + /** + * Returns the list of benchmarks sources (for example, Industry Verticals). List of thrown errors: + * [AuthenticationError]() [AuthorizationError]() [FieldError]() [HeaderError]() [InternalError]() + * [QuotaError]() [RequestError]() + * + * Create a request for the method "v23.listBenchmarksSources". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link ListBenchmarksSources#execute()} method to invoke the remote + * operation. + * + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesListBenchmarksSourcesRequest} + * @return the request + */ + public ListBenchmarksSources listBenchmarksSources(com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesListBenchmarksSourcesRequest content) throws java.io.IOException { + ListBenchmarksSources result = new ListBenchmarksSources(content); + initialize(result); + return result; + } + + public class ListBenchmarksSources extends SA360Request { + + private static final String REST_PATH = "v23:listBenchmarksSources"; + + /** + * Returns the list of benchmarks sources (for example, Industry Verticals). List of thrown + * errors: [AuthenticationError]() [AuthorizationError]() [FieldError]() [HeaderError]() + * [InternalError]() [QuotaError]() [RequestError]() + * + * Create a request for the method "v23.listBenchmarksSources". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link ListBenchmarksSources#execute()} method to invoke the + * remote operation.

{@link ListBenchmarksSources#initialize(com.google.api.client.googleapis. + * services.AbstractGoogleClientRequest)} must be called to initialize this instance immediately + * after invoking the constructor.

+ * + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesListBenchmarksSourcesRequest} + * @since 1.13 + */ + protected ListBenchmarksSources(com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesListBenchmarksSourcesRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesListBenchmarksSourcesResponse.class); + } + + @Override + public ListBenchmarksSources set$Xgafv(java.lang.String $Xgafv) { + return (ListBenchmarksSources) super.set$Xgafv($Xgafv); + } + + @Override + public ListBenchmarksSources setAccessToken(java.lang.String accessToken) { + return (ListBenchmarksSources) super.setAccessToken(accessToken); + } + + @Override + public ListBenchmarksSources setAlt(java.lang.String alt) { + return (ListBenchmarksSources) super.setAlt(alt); + } + + @Override + public ListBenchmarksSources setCallback(java.lang.String callback) { + return (ListBenchmarksSources) super.setCallback(callback); + } + + @Override + public ListBenchmarksSources setFields(java.lang.String fields) { + return (ListBenchmarksSources) super.setFields(fields); + } + + @Override + public ListBenchmarksSources setKey(java.lang.String key) { + return (ListBenchmarksSources) super.setKey(key); + } + + @Override + public ListBenchmarksSources setOauthToken(java.lang.String oauthToken) { + return (ListBenchmarksSources) super.setOauthToken(oauthToken); + } + + @Override + public ListBenchmarksSources setPrettyPrint(java.lang.Boolean prettyPrint) { + return (ListBenchmarksSources) super.setPrettyPrint(prettyPrint); + } + + @Override + public ListBenchmarksSources setQuotaUser(java.lang.String quotaUser) { + return (ListBenchmarksSources) super.setQuotaUser(quotaUser); + } + + @Override + public ListBenchmarksSources setUploadType(java.lang.String uploadType) { + return (ListBenchmarksSources) super.setUploadType(uploadType); + } + + @Override + public ListBenchmarksSources setUploadProtocol(java.lang.String uploadProtocol) { + return (ListBenchmarksSources) super.setUploadProtocol(uploadProtocol); + } + + @Override + public ListBenchmarksSources set(String parameterName, Object value) { + return (ListBenchmarksSources) super.set(parameterName, value); + } + } + /** + * Returns the list of plannable locations (for example, countries). List of thrown errors: + * [AuthenticationError]() [AuthorizationError]() [HeaderError]() [InternalError]() [QuotaError]() + * [RequestError]() + * + * Create a request for the method "v23.listPlannableLocations". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link ListPlannableLocations#execute()} method to invoke the remote + * operation. + * + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesListPlannableLocationsRequest} + * @return the request + */ + public ListPlannableLocations listPlannableLocations(com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesListPlannableLocationsRequest content) throws java.io.IOException { + ListPlannableLocations result = new ListPlannableLocations(content); + initialize(result); + return result; + } + + public class ListPlannableLocations extends SA360Request { + + private static final String REST_PATH = "v23:listPlannableLocations"; + + /** + * Returns the list of plannable locations (for example, countries). List of thrown errors: + * [AuthenticationError]() [AuthorizationError]() [HeaderError]() [InternalError]() [QuotaError]() + * [RequestError]() + * + * Create a request for the method "v23.listPlannableLocations". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link ListPlannableLocations#execute()} method to invoke the + * remote operation.

{@link ListPlannableLocations#initialize(com.google.api.client.googleapis + * .services.AbstractGoogleClientRequest)} must be called to initialize this instance immediately + * after invoking the constructor.

+ * + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesListPlannableLocationsRequest} + * @since 1.13 + */ + protected ListPlannableLocations(com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesListPlannableLocationsRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesListPlannableLocationsResponse.class); + } + + @Override + public ListPlannableLocations set$Xgafv(java.lang.String $Xgafv) { + return (ListPlannableLocations) super.set$Xgafv($Xgafv); + } + + @Override + public ListPlannableLocations setAccessToken(java.lang.String accessToken) { + return (ListPlannableLocations) super.setAccessToken(accessToken); + } + + @Override + public ListPlannableLocations setAlt(java.lang.String alt) { + return (ListPlannableLocations) super.setAlt(alt); + } + + @Override + public ListPlannableLocations setCallback(java.lang.String callback) { + return (ListPlannableLocations) super.setCallback(callback); + } + + @Override + public ListPlannableLocations setFields(java.lang.String fields) { + return (ListPlannableLocations) super.setFields(fields); + } + + @Override + public ListPlannableLocations setKey(java.lang.String key) { + return (ListPlannableLocations) super.setKey(key); + } + + @Override + public ListPlannableLocations setOauthToken(java.lang.String oauthToken) { + return (ListPlannableLocations) super.setOauthToken(oauthToken); + } + + @Override + public ListPlannableLocations setPrettyPrint(java.lang.Boolean prettyPrint) { + return (ListPlannableLocations) super.setPrettyPrint(prettyPrint); + } + + @Override + public ListPlannableLocations setQuotaUser(java.lang.String quotaUser) { + return (ListPlannableLocations) super.setQuotaUser(quotaUser); + } + + @Override + public ListPlannableLocations setUploadType(java.lang.String uploadType) { + return (ListPlannableLocations) super.setUploadType(uploadType); + } + + @Override + public ListPlannableLocations setUploadProtocol(java.lang.String uploadProtocol) { + return (ListPlannableLocations) super.setUploadProtocol(uploadProtocol); + } + + @Override + public ListPlannableLocations set(String parameterName, Object value) { + return (ListPlannableLocations) super.set(parameterName, value); + } + } + /** + * Returns the list of per-location plannable YouTube ad formats with allowed targeting. List of + * thrown errors: [AuthenticationError]() [AuthorizationError]() [HeaderError]() [InternalError]() + * [QuotaError]() [RequestError]() + * + * Create a request for the method "v23.listPlannableProducts". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link ListPlannableProducts#execute()} method to invoke the remote + * operation. + * + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesListPlannableProductsRequest} + * @return the request + */ + public ListPlannableProducts listPlannableProducts(com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesListPlannableProductsRequest content) throws java.io.IOException { + ListPlannableProducts result = new ListPlannableProducts(content); + initialize(result); + return result; + } + + public class ListPlannableProducts extends SA360Request { + + private static final String REST_PATH = "v23:listPlannableProducts"; + + /** + * Returns the list of per-location plannable YouTube ad formats with allowed targeting. List of + * thrown errors: [AuthenticationError]() [AuthorizationError]() [HeaderError]() [InternalError]() + * [QuotaError]() [RequestError]() + * + * Create a request for the method "v23.listPlannableProducts". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link ListPlannableProducts#execute()} method to invoke the + * remote operation.

{@link ListPlannableProducts#initialize(com.google.api.client.googleapis. + * services.AbstractGoogleClientRequest)} must be called to initialize this instance immediately + * after invoking the constructor.

+ * + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesListPlannableProductsRequest} + * @since 1.13 + */ + protected ListPlannableProducts(com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesListPlannableProductsRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesListPlannableProductsResponse.class); + } + + @Override + public ListPlannableProducts set$Xgafv(java.lang.String $Xgafv) { + return (ListPlannableProducts) super.set$Xgafv($Xgafv); + } + + @Override + public ListPlannableProducts setAccessToken(java.lang.String accessToken) { + return (ListPlannableProducts) super.setAccessToken(accessToken); + } + + @Override + public ListPlannableProducts setAlt(java.lang.String alt) { + return (ListPlannableProducts) super.setAlt(alt); + } + + @Override + public ListPlannableProducts setCallback(java.lang.String callback) { + return (ListPlannableProducts) super.setCallback(callback); + } + + @Override + public ListPlannableProducts setFields(java.lang.String fields) { + return (ListPlannableProducts) super.setFields(fields); + } + + @Override + public ListPlannableProducts setKey(java.lang.String key) { + return (ListPlannableProducts) super.setKey(key); + } + + @Override + public ListPlannableProducts setOauthToken(java.lang.String oauthToken) { + return (ListPlannableProducts) super.setOauthToken(oauthToken); + } + + @Override + public ListPlannableProducts setPrettyPrint(java.lang.Boolean prettyPrint) { + return (ListPlannableProducts) super.setPrettyPrint(prettyPrint); + } + + @Override + public ListPlannableProducts setQuotaUser(java.lang.String quotaUser) { + return (ListPlannableProducts) super.setQuotaUser(quotaUser); + } + + @Override + public ListPlannableProducts setUploadType(java.lang.String uploadType) { + return (ListPlannableProducts) super.setUploadType(uploadType); + } + + @Override + public ListPlannableProducts setUploadProtocol(java.lang.String uploadProtocol) { + return (ListPlannableProducts) super.setUploadProtocol(uploadProtocol); + } + + @Override + public ListPlannableProducts set(String parameterName, Object value) { + return (ListPlannableProducts) super.set(parameterName, value); + } + } + /** + * Returns the list of plannable user interests. A plannable user interest is one that can be + * targeted in a reach forecast using ReachPlanService.GenerateReachForecast. List of thrown errors: + * [AuthenticationError]() [AuthorizationError]() [FieldError]() [HeaderError]() [InternalError]() + * [ListOperationError]() [QuotaError]() [RequestError]() [StringLengthError]() + * + * Create a request for the method "v23.listPlannableUserInterests". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link ListPlannableUserInterests#execute()} method to invoke the remote + * operation. + * + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesListPlannableUserInterestsRequest} + * @return the request + */ + public ListPlannableUserInterests listPlannableUserInterests(com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesListPlannableUserInterestsRequest content) throws java.io.IOException { + ListPlannableUserInterests result = new ListPlannableUserInterests(content); + initialize(result); + return result; + } + + public class ListPlannableUserInterests extends SA360Request { + + private static final String REST_PATH = "v23:listPlannableUserInterests"; + + /** + * Returns the list of plannable user interests. A plannable user interest is one that can be + * targeted in a reach forecast using ReachPlanService.GenerateReachForecast. List of thrown + * errors: [AuthenticationError]() [AuthorizationError]() [FieldError]() [HeaderError]() + * [InternalError]() [ListOperationError]() [QuotaError]() [RequestError]() [StringLengthError]() + * + * Create a request for the method "v23.listPlannableUserInterests". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link ListPlannableUserInterests#execute()} method to invoke the + * remote operation.

{@link ListPlannableUserInterests#initialize(com.google.api.client.google + * apis.services.AbstractGoogleClientRequest)} must be called to initialize this instance + * immediately after invoking the constructor.

+ * + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesListPlannableUserInterestsRequest} + * @since 1.13 + */ + protected ListPlannableUserInterests(com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesListPlannableUserInterestsRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesListPlannableUserInterestsResponse.class); + } + + @Override + public ListPlannableUserInterests set$Xgafv(java.lang.String $Xgafv) { + return (ListPlannableUserInterests) super.set$Xgafv($Xgafv); + } + + @Override + public ListPlannableUserInterests setAccessToken(java.lang.String accessToken) { + return (ListPlannableUserInterests) super.setAccessToken(accessToken); + } + + @Override + public ListPlannableUserInterests setAlt(java.lang.String alt) { + return (ListPlannableUserInterests) super.setAlt(alt); + } + + @Override + public ListPlannableUserInterests setCallback(java.lang.String callback) { + return (ListPlannableUserInterests) super.setCallback(callback); + } + + @Override + public ListPlannableUserInterests setFields(java.lang.String fields) { + return (ListPlannableUserInterests) super.setFields(fields); + } + + @Override + public ListPlannableUserInterests setKey(java.lang.String key) { + return (ListPlannableUserInterests) super.setKey(key); + } + + @Override + public ListPlannableUserInterests setOauthToken(java.lang.String oauthToken) { + return (ListPlannableUserInterests) super.setOauthToken(oauthToken); + } + + @Override + public ListPlannableUserInterests setPrettyPrint(java.lang.Boolean prettyPrint) { + return (ListPlannableUserInterests) super.setPrettyPrint(prettyPrint); + } + + @Override + public ListPlannableUserInterests setQuotaUser(java.lang.String quotaUser) { + return (ListPlannableUserInterests) super.setQuotaUser(quotaUser); + } + + @Override + public ListPlannableUserInterests setUploadType(java.lang.String uploadType) { + return (ListPlannableUserInterests) super.setUploadType(uploadType); + } + + @Override + public ListPlannableUserInterests setUploadProtocol(java.lang.String uploadProtocol) { + return (ListPlannableUserInterests) super.setUploadProtocol(uploadProtocol); + } + + @Override + public ListPlannableUserInterests set(String parameterName, Object value) { + return (ListPlannableUserInterests) super.set(parameterName, value); + } + } + /** + * Returns the list of plannable user lists with their plannable status. User lists may not be + * plannable for a number of reasons, including: - They are less than 10 days old. - They have a + * membership lifespan that is less than 30 days - They have less than 10,000 or more than 700,000 + * users. List of thrown errors: [AuthenticationError]() [AuthorizationError]() [FieldError]() + * [HeaderError]() [InternalError]() [QuotaError]() [RangeError]() [ReachPlanError]() + * [RequestError]() + * + * Create a request for the method "v23.listPlannableUserLists". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link ListPlannableUserLists#execute()} method to invoke the remote + * operation. + * + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesListPlannableUserListsRequest} + * @return the request + */ + public ListPlannableUserLists listPlannableUserLists(com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesListPlannableUserListsRequest content) throws java.io.IOException { + ListPlannableUserLists result = new ListPlannableUserLists(content); + initialize(result); + return result; + } + + public class ListPlannableUserLists extends SA360Request { + + private static final String REST_PATH = "v23:listPlannableUserLists"; + + /** + * Returns the list of plannable user lists with their plannable status. User lists may not be + * plannable for a number of reasons, including: - They are less than 10 days old. - They have a + * membership lifespan that is less than 30 days - They have less than 10,000 or more than 700,000 + * users. List of thrown errors: [AuthenticationError]() [AuthorizationError]() [FieldError]() + * [HeaderError]() [InternalError]() [QuotaError]() [RangeError]() [ReachPlanError]() + * [RequestError]() + * + * Create a request for the method "v23.listPlannableUserLists". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link ListPlannableUserLists#execute()} method to invoke the + * remote operation.

{@link ListPlannableUserLists#initialize(com.google.api.client.googleapis + * .services.AbstractGoogleClientRequest)} must be called to initialize this instance immediately + * after invoking the constructor.

+ * + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesListPlannableUserListsRequest} + * @since 1.13 + */ + protected ListPlannableUserLists(com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesListPlannableUserListsRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesListPlannableUserListsResponse.class); + } + + @Override + public ListPlannableUserLists set$Xgafv(java.lang.String $Xgafv) { + return (ListPlannableUserLists) super.set$Xgafv($Xgafv); + } + + @Override + public ListPlannableUserLists setAccessToken(java.lang.String accessToken) { + return (ListPlannableUserLists) super.setAccessToken(accessToken); + } + + @Override + public ListPlannableUserLists setAlt(java.lang.String alt) { + return (ListPlannableUserLists) super.setAlt(alt); + } + + @Override + public ListPlannableUserLists setCallback(java.lang.String callback) { + return (ListPlannableUserLists) super.setCallback(callback); + } + + @Override + public ListPlannableUserLists setFields(java.lang.String fields) { + return (ListPlannableUserLists) super.setFields(fields); + } + + @Override + public ListPlannableUserLists setKey(java.lang.String key) { + return (ListPlannableUserLists) super.setKey(key); + } + + @Override + public ListPlannableUserLists setOauthToken(java.lang.String oauthToken) { + return (ListPlannableUserLists) super.setOauthToken(oauthToken); + } + + @Override + public ListPlannableUserLists setPrettyPrint(java.lang.Boolean prettyPrint) { + return (ListPlannableUserLists) super.setPrettyPrint(prettyPrint); + } + + @Override + public ListPlannableUserLists setQuotaUser(java.lang.String quotaUser) { + return (ListPlannableUserLists) super.setQuotaUser(quotaUser); + } + + @Override + public ListPlannableUserLists setUploadType(java.lang.String uploadType) { + return (ListPlannableUserLists) super.setUploadType(uploadType); + } + + @Override + public ListPlannableUserLists setUploadProtocol(java.lang.String uploadProtocol) { + return (ListPlannableUserLists) super.setUploadProtocol(uploadProtocol); + } + + @Override + public ListPlannableUserLists set(String parameterName, Object value) { + return (ListPlannableUserLists) super.set(parameterName, value); + } + } + + } + + /** + * Builder for {@link SA360}. + * + *

+ * Implementation is not thread-safe. + *

+ * + * @since 1.3.0 + */ + public static final class Builder extends com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient.Builder { + + private static String chooseEndpoint(com.google.api.client.http.HttpTransport transport) { + // If the GOOGLE_API_USE_MTLS_ENDPOINT environment variable value is "always", use mTLS endpoint. + // If the env variable is "auto", use mTLS endpoint if and only if the transport is mTLS. + // Use the regular endpoint for all other cases. + String useMtlsEndpoint = System.getenv("GOOGLE_API_USE_MTLS_ENDPOINT"); + useMtlsEndpoint = useMtlsEndpoint == null ? "auto" : useMtlsEndpoint; + if ("always".equals(useMtlsEndpoint) || ("auto".equals(useMtlsEndpoint) && transport != null && transport.isMtls())) { + return DEFAULT_MTLS_ROOT_URL; + } + return DEFAULT_ROOT_URL; + } + + /** + * Returns an instance of a new builder. + * + * @param transport HTTP transport, which should normally be: + *
    + *
  • Google App Engine: + * {@code com.google.api.client.extensions.appengine.http.UrlFetchTransport}
  • + *
  • Android: {@code newCompatibleTransport} from + * {@code com.google.api.client.extensions.android.http.AndroidHttp}
  • + *
  • Java: {@code com.google.api.client.http.javanet.NetHttpTransport}
  • + *
+ * @param jsonFactory JSON factory, which may be: + *
    + *
  • Jackson: {@code com.google.api.client.json.jackson2.JacksonFactory}
  • + *
  • Google GSON: {@code com.google.api.client.json.gson.GsonFactory}
  • + *
  • Android Honeycomb or higher: + * {@code com.google.api.client.extensions.android.json.AndroidJsonFactory}
  • + *
+ * @param httpRequestInitializer HTTP request initializer or {@code null} for none + * @since 1.7 + */ + public Builder(com.google.api.client.http.HttpTransport transport, com.google.api.client.json.JsonFactory jsonFactory, + com.google.api.client.http.HttpRequestInitializer httpRequestInitializer) { + super( + transport, + jsonFactory, + Builder.chooseEndpoint(transport), + DEFAULT_SERVICE_PATH, + httpRequestInitializer, + false); + setBatchPath(DEFAULT_BATCH_PATH); + } + + /** Builds a new instance of {@link SA360}. */ + @Override + public SA360 build() { + return new SA360(this); + } + + @Override + public Builder setRootUrl(String rootUrl) { + return (Builder) super.setRootUrl(rootUrl); + } + + @Override + public Builder setServicePath(String servicePath) { + return (Builder) super.setServicePath(servicePath); + } + + @Override + public Builder setBatchPath(String batchPath) { + return (Builder) super.setBatchPath(batchPath); + } + + @Override + public Builder setHttpRequestInitializer(com.google.api.client.http.HttpRequestInitializer httpRequestInitializer) { + return (Builder) super.setHttpRequestInitializer(httpRequestInitializer); + } + + @Override + public Builder setApplicationName(String applicationName) { + return (Builder) super.setApplicationName(applicationName); + } + + @Override + public Builder setSuppressPatternChecks(boolean suppressPatternChecks) { + return (Builder) super.setSuppressPatternChecks(suppressPatternChecks); + } + + @Override + public Builder setSuppressRequiredParameterChecks(boolean suppressRequiredParameterChecks) { + return (Builder) super.setSuppressRequiredParameterChecks(suppressRequiredParameterChecks); + } + + @Override + public Builder setSuppressAllChecks(boolean suppressAllChecks) { + return (Builder) super.setSuppressAllChecks(suppressAllChecks); + } + + /** + * Set the {@link SA360RequestInitializer}. + * + * @since 1.12 + */ + public Builder setSA360RequestInitializer( + SA360RequestInitializer sa360RequestInitializer) { + return (Builder) super.setGoogleClientRequestInitializer(sa360RequestInitializer); + } + + @Override + public Builder setGoogleClientRequestInitializer( + com.google.api.client.googleapis.services.GoogleClientRequestInitializer googleClientRequestInitializer) { + return (Builder) super.setGoogleClientRequestInitializer(googleClientRequestInitializer); + } + + @Override + public Builder setUniverseDomain(String universeDomain) { + return (Builder) super.setUniverseDomain(universeDomain); + } + } +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/SA360Request.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/SA360Request.java new file mode 100644 index 00000000000..2ebda821244 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/SA360Request.java @@ -0,0 +1,267 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23; + +/** + * SA360 request. + * + * @since 1.3 + */ +@SuppressWarnings("javadoc") +public abstract class SA360Request extends com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest { + + /** + * @param client Google client + * @param method HTTP Method + * @param uriTemplate URI template for the path relative to the base URL. If it starts with a "/" + * the base path from the base URL will be stripped out. The URI template can also be a + * full URL. URI template expansion is done using + * {@link com.google.api.client.http.UriTemplate#expand(String, String, Object, boolean)} + * @param content A POJO that can be serialized into JSON or {@code null} for none + * @param responseClass response class to parse into + */ + public SA360Request( + SA360 client, String method, String uriTemplate, Object content, Class responseClass) { + super( + client, + method, + uriTemplate, + content, + responseClass); + } + + /** V1 error format. */ + @com.google.api.client.util.Key("$.xgafv") + private java.lang.String $Xgafv; + + /** + * V1 error format. + */ + public java.lang.String get$Xgafv() { + return $Xgafv; + } + + /** V1 error format. */ + public SA360Request set$Xgafv(java.lang.String $Xgafv) { + this.$Xgafv = $Xgafv; + return this; + } + + /** OAuth access token. */ + @com.google.api.client.util.Key("access_token") + private java.lang.String accessToken; + + /** + * OAuth access token. + */ + public java.lang.String getAccessToken() { + return accessToken; + } + + /** OAuth access token. */ + public SA360Request setAccessToken(java.lang.String accessToken) { + this.accessToken = accessToken; + return this; + } + + /** Data format for response. */ + @com.google.api.client.util.Key + private java.lang.String alt; + + /** + * Data format for response. [default: json] + */ + public java.lang.String getAlt() { + return alt; + } + + /** Data format for response. */ + public SA360Request setAlt(java.lang.String alt) { + this.alt = alt; + return this; + } + + /** JSONP */ + @com.google.api.client.util.Key + private java.lang.String callback; + + /** + * JSONP + */ + public java.lang.String getCallback() { + return callback; + } + + /** JSONP */ + public SA360Request setCallback(java.lang.String callback) { + this.callback = callback; + return this; + } + + /** Selector specifying which fields to include in a partial response. */ + @com.google.api.client.util.Key + private java.lang.String fields; + + /** + * Selector specifying which fields to include in a partial response. + */ + public java.lang.String getFields() { + return fields; + } + + /** Selector specifying which fields to include in a partial response. */ + public SA360Request setFields(java.lang.String fields) { + this.fields = fields; + return this; + } + + /** + * API key. Your API key identifies your project and provides you with API access, quota, and + * reports. Required unless you provide an OAuth 2.0 token. + */ + @com.google.api.client.util.Key + private java.lang.String key; + + /** + * API key. Your API key identifies your project and provides you with API access, quota, and + * reports. Required unless you provide an OAuth 2.0 token. + */ + public java.lang.String getKey() { + return key; + } + + /** + * API key. Your API key identifies your project and provides you with API access, quota, and + * reports. Required unless you provide an OAuth 2.0 token. + */ + public SA360Request setKey(java.lang.String key) { + this.key = key; + return this; + } + + /** OAuth 2.0 token for the current user. */ + @com.google.api.client.util.Key("oauth_token") + private java.lang.String oauthToken; + + /** + * OAuth 2.0 token for the current user. + */ + public java.lang.String getOauthToken() { + return oauthToken; + } + + /** OAuth 2.0 token for the current user. */ + public SA360Request setOauthToken(java.lang.String oauthToken) { + this.oauthToken = oauthToken; + return this; + } + + /** Returns response with indentations and line breaks. */ + @com.google.api.client.util.Key + private java.lang.Boolean prettyPrint; + + /** + * Returns response with indentations and line breaks. [default: true] + */ + public java.lang.Boolean getPrettyPrint() { + return prettyPrint; + } + + /** Returns response with indentations and line breaks. */ + public SA360Request setPrettyPrint(java.lang.Boolean prettyPrint) { + this.prettyPrint = prettyPrint; + return this; + } + + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string + * assigned to a user, but should not exceed 40 characters. + */ + @com.google.api.client.util.Key + private java.lang.String quotaUser; + + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string + * assigned to a user, but should not exceed 40 characters. + */ + public java.lang.String getQuotaUser() { + return quotaUser; + } + + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string + * assigned to a user, but should not exceed 40 characters. + */ + public SA360Request setQuotaUser(java.lang.String quotaUser) { + this.quotaUser = quotaUser; + return this; + } + + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + @com.google.api.client.util.Key + private java.lang.String uploadType; + + /** + * Legacy upload protocol for media (e.g. "media", "multipart"). + */ + public java.lang.String getUploadType() { + return uploadType; + } + + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + public SA360Request setUploadType(java.lang.String uploadType) { + this.uploadType = uploadType; + return this; + } + + /** Upload protocol for media (e.g. "raw", "multipart"). */ + @com.google.api.client.util.Key("upload_protocol") + private java.lang.String uploadProtocol; + + /** + * Upload protocol for media (e.g. "raw", "multipart"). + */ + public java.lang.String getUploadProtocol() { + return uploadProtocol; + } + + /** Upload protocol for media (e.g. "raw", "multipart"). */ + public SA360Request setUploadProtocol(java.lang.String uploadProtocol) { + this.uploadProtocol = uploadProtocol; + return this; + } + + @Override + public final SA360 getAbstractGoogleClient() { + return (SA360) super.getAbstractGoogleClient(); + } + + @Override + public SA360Request setDisableGZipContent(boolean disableGZipContent) { + return (SA360Request) super.setDisableGZipContent(disableGZipContent); + } + + @Override + public SA360Request setRequestHeaders(com.google.api.client.http.HttpHeaders headers) { + return (SA360Request) super.setRequestHeaders(headers); + } + + @Override + public SA360Request set(String parameterName, Object value) { + return (SA360Request) super.set(parameterName, value); + } +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/SA360RequestInitializer.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/SA360RequestInitializer.java new file mode 100644 index 00000000000..83def74e5dc --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/SA360RequestInitializer.java @@ -0,0 +1,119 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23; + +/** + * SA360 request initializer for setting properties like key and userIp. + * + *

+ * The simplest usage is to use it to set the key parameter: + *

+ * + *
+  public static final GoogleClientRequestInitializer KEY_INITIALIZER =
+      new SA360RequestInitializer(KEY);
+ * 
+ * + *

+ * There is also a constructor to set both the key and userIp parameters: + *

+ * + *
+  public static final GoogleClientRequestInitializer INITIALIZER =
+      new SA360RequestInitializer(KEY, USER_IP);
+ * 
+ * + *

+ * If you want to implement custom logic, extend it like this: + *

+ * + *
+  public static class MyRequestInitializer extends SA360RequestInitializer {
+
+    {@literal @}Override
+    public void initializeSA360Request(SA360Request{@literal <}?{@literal >} request)
+        throws IOException {
+      // custom logic
+    }
+  }
+ * 
+ * + *

+ * Finally, to set the key and userIp parameters and insert custom logic, extend it like this: + *

+ * + *
+  public static class MyRequestInitializer2 extends SA360RequestInitializer {
+
+    public MyKeyRequestInitializer() {
+      super(KEY, USER_IP);
+    }
+
+    {@literal @}Override
+    public void initializeSA360Request(SA360Request{@literal <}?{@literal >} request)
+        throws IOException {
+      // custom logic
+    }
+  }
+ * 
+ * + *

+ * Subclasses should be thread-safe. + *

+ * + * @since 1.12 + */ +public class SA360RequestInitializer extends com.google.api.client.googleapis.services.json.CommonGoogleJsonClientRequestInitializer { + + public SA360RequestInitializer() { + super(); + } + + /** + * @param key API key or {@code null} to leave it unchanged + */ + public SA360RequestInitializer(String key) { + super(key); + } + + /** + * @param key API key or {@code null} to leave it unchanged + * @param userIp user IP or {@code null} to leave it unchanged + */ + public SA360RequestInitializer(String key, String userIp) { + super(key, userIp); + } + + @Override + public final void initializeJsonRequest(com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest request) throws java.io.IOException { + super.initializeJsonRequest(request); + initializeSA360Request((SA360Request) request); + } + + /** + * Initializes SA360 request. + * + *

+ * Default implementation does nothing. Called from + * {@link #initializeJsonRequest(com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest)}. + *

+ * + * @throws java.io.IOException I/O exception + */ + protected void initializeSA360Request(SA360Request request) throws java.io.IOException { + } +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/SA360Scopes.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/SA360Scopes.java new file mode 100644 index 00000000000..33ecdd9373e --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/SA360Scopes.java @@ -0,0 +1,42 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23; + +/** + * Available OAuth 2.0 scopes for use with the Search Ads 360 Reporting API. + * + * @since 1.4 + */ +public class SA360Scopes { + + /** View and manage your advertising data in DoubleClick Search. */ + public static final String DOUBLECLICKSEARCH = "https://www.googleapis.com/auth/doubleclicksearch"; + + /** + * Returns an unmodifiable set that contains all scopes declared by this class. + * + * @since 1.16 + */ + public static java.util.Set all() { + java.util.Set set = new java.util.HashSet(); + set.add(DOUBLECLICKSEARCH); + return java.util.Collections.unmodifiableSet(set); + } + + private SA360Scopes() { + } +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V0CommonValue.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V0CommonValue.java new file mode 100644 index 00000000000..412217fb56c --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V0CommonValue.java @@ -0,0 +1,163 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A generic data container. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V0CommonValue extends com.google.api.client.json.GenericJson { + + /** + * A boolean. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean booleanValue; + + /** + * A double. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double doubleValue; + + /** + * A float. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Float floatValue; + + /** + * An int64. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long int64Value; + + /** + * A string. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String stringValue; + + /** + * A boolean. + * @return value or {@code null} for none + */ + public java.lang.Boolean getBooleanValue() { + return booleanValue; + } + + /** + * A boolean. + * @param booleanValue booleanValue or {@code null} for none + */ + public GoogleAdsSearchads360V0CommonValue setBooleanValue(java.lang.Boolean booleanValue) { + this.booleanValue = booleanValue; + return this; + } + + /** + * A double. + * @return value or {@code null} for none + */ + public java.lang.Double getDoubleValue() { + return doubleValue; + } + + /** + * A double. + * @param doubleValue doubleValue or {@code null} for none + */ + public GoogleAdsSearchads360V0CommonValue setDoubleValue(java.lang.Double doubleValue) { + this.doubleValue = doubleValue; + return this; + } + + /** + * A float. + * @return value or {@code null} for none + */ + public java.lang.Float getFloatValue() { + return floatValue; + } + + /** + * A float. + * @param floatValue floatValue or {@code null} for none + */ + public GoogleAdsSearchads360V0CommonValue setFloatValue(java.lang.Float floatValue) { + this.floatValue = floatValue; + return this; + } + + /** + * An int64. + * @return value or {@code null} for none + */ + public java.lang.Long getInt64Value() { + return int64Value; + } + + /** + * An int64. + * @param int64Value int64Value or {@code null} for none + */ + public GoogleAdsSearchads360V0CommonValue setInt64Value(java.lang.Long int64Value) { + this.int64Value = int64Value; + return this; + } + + /** + * A string. + * @return value or {@code null} for none + */ + public java.lang.String getStringValue() { + return stringValue; + } + + /** + * A string. + * @param stringValue stringValue or {@code null} for none + */ + public GoogleAdsSearchads360V0CommonValue setStringValue(java.lang.String stringValue) { + this.stringValue = stringValue; + return this; + } + + @Override + public GoogleAdsSearchads360V0CommonValue set(String fieldName, Object value) { + return (GoogleAdsSearchads360V0CommonValue) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V0CommonValue clone() { + return (GoogleAdsSearchads360V0CommonValue) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V0ErrorsErrorCode.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V0ErrorsErrorCode.java new file mode 100644 index 00000000000..37bc1d2d1a8 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V0ErrorsErrorCode.java @@ -0,0 +1,379 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The error reason represented by type and enum. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V0ErrorsErrorCode extends com.google.api.client.json.GenericJson { + + /** + * Indicates failure to properly authenticate user. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String authenticationError; + + /** + * An error encountered when trying to authorize a user. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String authorizationError; + + /** + * The reasons for the conversion custom variable error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String conversionCustomVariableError; + + /** + * The reasons for the custom column error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String customColumnError; + + /** + * The reasons for the date error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String dateError; + + /** + * The reasons for the date range error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String dateRangeError; + + /** + * The reasons for the distinct error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String distinctError; + + /** + * The reasons for the header error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String headerError; + + /** + * An unexpected server-side error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String internalError; + + /** + * The reasons for invalid parameter errors. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String invalidParameterError; + + /** + * An error with the query + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String queryError; + + /** + * An error with the amount of quota remaining. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String quotaError; + + /** + * An error caused by the request + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String requestError; + + /** + * The reasons for the size limit error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String sizeLimitError; + + /** + * Indicates failure to properly authenticate user. + * @return value or {@code null} for none + */ + public java.lang.String getAuthenticationError() { + return authenticationError; + } + + /** + * Indicates failure to properly authenticate user. + * @param authenticationError authenticationError or {@code null} for none + */ + public GoogleAdsSearchads360V0ErrorsErrorCode setAuthenticationError(java.lang.String authenticationError) { + this.authenticationError = authenticationError; + return this; + } + + /** + * An error encountered when trying to authorize a user. + * @return value or {@code null} for none + */ + public java.lang.String getAuthorizationError() { + return authorizationError; + } + + /** + * An error encountered when trying to authorize a user. + * @param authorizationError authorizationError or {@code null} for none + */ + public GoogleAdsSearchads360V0ErrorsErrorCode setAuthorizationError(java.lang.String authorizationError) { + this.authorizationError = authorizationError; + return this; + } + + /** + * The reasons for the conversion custom variable error + * @return value or {@code null} for none + */ + public java.lang.String getConversionCustomVariableError() { + return conversionCustomVariableError; + } + + /** + * The reasons for the conversion custom variable error + * @param conversionCustomVariableError conversionCustomVariableError or {@code null} for none + */ + public GoogleAdsSearchads360V0ErrorsErrorCode setConversionCustomVariableError(java.lang.String conversionCustomVariableError) { + this.conversionCustomVariableError = conversionCustomVariableError; + return this; + } + + /** + * The reasons for the custom column error + * @return value or {@code null} for none + */ + public java.lang.String getCustomColumnError() { + return customColumnError; + } + + /** + * The reasons for the custom column error + * @param customColumnError customColumnError or {@code null} for none + */ + public GoogleAdsSearchads360V0ErrorsErrorCode setCustomColumnError(java.lang.String customColumnError) { + this.customColumnError = customColumnError; + return this; + } + + /** + * The reasons for the date error + * @return value or {@code null} for none + */ + public java.lang.String getDateError() { + return dateError; + } + + /** + * The reasons for the date error + * @param dateError dateError or {@code null} for none + */ + public GoogleAdsSearchads360V0ErrorsErrorCode setDateError(java.lang.String dateError) { + this.dateError = dateError; + return this; + } + + /** + * The reasons for the date range error + * @return value or {@code null} for none + */ + public java.lang.String getDateRangeError() { + return dateRangeError; + } + + /** + * The reasons for the date range error + * @param dateRangeError dateRangeError or {@code null} for none + */ + public GoogleAdsSearchads360V0ErrorsErrorCode setDateRangeError(java.lang.String dateRangeError) { + this.dateRangeError = dateRangeError; + return this; + } + + /** + * The reasons for the distinct error + * @return value or {@code null} for none + */ + public java.lang.String getDistinctError() { + return distinctError; + } + + /** + * The reasons for the distinct error + * @param distinctError distinctError or {@code null} for none + */ + public GoogleAdsSearchads360V0ErrorsErrorCode setDistinctError(java.lang.String distinctError) { + this.distinctError = distinctError; + return this; + } + + /** + * The reasons for the header error. + * @return value or {@code null} for none + */ + public java.lang.String getHeaderError() { + return headerError; + } + + /** + * The reasons for the header error. + * @param headerError headerError or {@code null} for none + */ + public GoogleAdsSearchads360V0ErrorsErrorCode setHeaderError(java.lang.String headerError) { + this.headerError = headerError; + return this; + } + + /** + * An unexpected server-side error. + * @return value or {@code null} for none + */ + public java.lang.String getInternalError() { + return internalError; + } + + /** + * An unexpected server-side error. + * @param internalError internalError or {@code null} for none + */ + public GoogleAdsSearchads360V0ErrorsErrorCode setInternalError(java.lang.String internalError) { + this.internalError = internalError; + return this; + } + + /** + * The reasons for invalid parameter errors. + * @return value or {@code null} for none + */ + public java.lang.String getInvalidParameterError() { + return invalidParameterError; + } + + /** + * The reasons for invalid parameter errors. + * @param invalidParameterError invalidParameterError or {@code null} for none + */ + public GoogleAdsSearchads360V0ErrorsErrorCode setInvalidParameterError(java.lang.String invalidParameterError) { + this.invalidParameterError = invalidParameterError; + return this; + } + + /** + * An error with the query + * @return value or {@code null} for none + */ + public java.lang.String getQueryError() { + return queryError; + } + + /** + * An error with the query + * @param queryError queryError or {@code null} for none + */ + public GoogleAdsSearchads360V0ErrorsErrorCode setQueryError(java.lang.String queryError) { + this.queryError = queryError; + return this; + } + + /** + * An error with the amount of quota remaining. + * @return value or {@code null} for none + */ + public java.lang.String getQuotaError() { + return quotaError; + } + + /** + * An error with the amount of quota remaining. + * @param quotaError quotaError or {@code null} for none + */ + public GoogleAdsSearchads360V0ErrorsErrorCode setQuotaError(java.lang.String quotaError) { + this.quotaError = quotaError; + return this; + } + + /** + * An error caused by the request + * @return value or {@code null} for none + */ + public java.lang.String getRequestError() { + return requestError; + } + + /** + * An error caused by the request + * @param requestError requestError or {@code null} for none + */ + public GoogleAdsSearchads360V0ErrorsErrorCode setRequestError(java.lang.String requestError) { + this.requestError = requestError; + return this; + } + + /** + * The reasons for the size limit error + * @return value or {@code null} for none + */ + public java.lang.String getSizeLimitError() { + return sizeLimitError; + } + + /** + * The reasons for the size limit error + * @param sizeLimitError sizeLimitError or {@code null} for none + */ + public GoogleAdsSearchads360V0ErrorsErrorCode setSizeLimitError(java.lang.String sizeLimitError) { + this.sizeLimitError = sizeLimitError; + return this; + } + + @Override + public GoogleAdsSearchads360V0ErrorsErrorCode set(String fieldName, Object value) { + return (GoogleAdsSearchads360V0ErrorsErrorCode) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V0ErrorsErrorCode clone() { + return (GoogleAdsSearchads360V0ErrorsErrorCode) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V0ErrorsErrorDetails.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V0ErrorsErrorDetails.java new file mode 100644 index 00000000000..e1e2c1624af --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V0ErrorsErrorDetails.java @@ -0,0 +1,97 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Additional error details. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V0ErrorsErrorDetails extends com.google.api.client.json.GenericJson { + + /** + * Details on the quota error, including the scope (account or developer), the rate bucket name + * and the retry delay. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V0ErrorsQuotaErrorDetails quotaErrorDetails; + + /** + * The error code that should have been returned, but wasn't. This is used when the error code is + * not published in the client specified version. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String unpublishedErrorCode; + + /** + * Details on the quota error, including the scope (account or developer), the rate bucket name + * and the retry delay. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V0ErrorsQuotaErrorDetails getQuotaErrorDetails() { + return quotaErrorDetails; + } + + /** + * Details on the quota error, including the scope (account or developer), the rate bucket name + * and the retry delay. + * @param quotaErrorDetails quotaErrorDetails or {@code null} for none + */ + public GoogleAdsSearchads360V0ErrorsErrorDetails setQuotaErrorDetails(GoogleAdsSearchads360V0ErrorsQuotaErrorDetails quotaErrorDetails) { + this.quotaErrorDetails = quotaErrorDetails; + return this; + } + + /** + * The error code that should have been returned, but wasn't. This is used when the error code is + * not published in the client specified version. + * @return value or {@code null} for none + */ + public java.lang.String getUnpublishedErrorCode() { + return unpublishedErrorCode; + } + + /** + * The error code that should have been returned, but wasn't. This is used when the error code is + * not published in the client specified version. + * @param unpublishedErrorCode unpublishedErrorCode or {@code null} for none + */ + public GoogleAdsSearchads360V0ErrorsErrorDetails setUnpublishedErrorCode(java.lang.String unpublishedErrorCode) { + this.unpublishedErrorCode = unpublishedErrorCode; + return this; + } + + @Override + public GoogleAdsSearchads360V0ErrorsErrorDetails set(String fieldName, Object value) { + return (GoogleAdsSearchads360V0ErrorsErrorDetails) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V0ErrorsErrorDetails clone() { + return (GoogleAdsSearchads360V0ErrorsErrorDetails) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V0ErrorsErrorLocation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V0ErrorsErrorLocation.java new file mode 100644 index 00000000000..d8d9e10c896 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V0ErrorsErrorLocation.java @@ -0,0 +1,73 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Describes the part of the request proto that caused the error. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V0ErrorsErrorLocation extends com.google.api.client.json.GenericJson { + + /** + * A field path that indicates which field was invalid in the request. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List fieldPathElements; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V0ErrorsErrorLocationFieldPathElement used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V0ErrorsErrorLocationFieldPathElement.class); + } + + /** + * A field path that indicates which field was invalid in the request. + * @return value or {@code null} for none + */ + public java.util.List getFieldPathElements() { + return fieldPathElements; + } + + /** + * A field path that indicates which field was invalid in the request. + * @param fieldPathElements fieldPathElements or {@code null} for none + */ + public GoogleAdsSearchads360V0ErrorsErrorLocation setFieldPathElements(java.util.List fieldPathElements) { + this.fieldPathElements = fieldPathElements; + return this; + } + + @Override + public GoogleAdsSearchads360V0ErrorsErrorLocation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V0ErrorsErrorLocation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V0ErrorsErrorLocation clone() { + return (GoogleAdsSearchads360V0ErrorsErrorLocation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V0ErrorsErrorLocationFieldPathElement.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V0ErrorsErrorLocationFieldPathElement.java new file mode 100644 index 00000000000..a9395f4e9de --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V0ErrorsErrorLocationFieldPathElement.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A part of a field path. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V0ErrorsErrorLocationFieldPathElement extends com.google.api.client.json.GenericJson { + + /** + * The name of a field or a oneof + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String fieldName; + + /** + * If field_name is a repeated field, this is the element that failed + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer index; + + /** + * The name of a field or a oneof + * @return value or {@code null} for none + */ + public java.lang.String getFieldName() { + return fieldName; + } + + /** + * The name of a field or a oneof + * @param fieldName fieldName or {@code null} for none + */ + public GoogleAdsSearchads360V0ErrorsErrorLocationFieldPathElement setFieldName(java.lang.String fieldName) { + this.fieldName = fieldName; + return this; + } + + /** + * If field_name is a repeated field, this is the element that failed + * @return value or {@code null} for none + */ + public java.lang.Integer getIndex() { + return index; + } + + /** + * If field_name is a repeated field, this is the element that failed + * @param index index or {@code null} for none + */ + public GoogleAdsSearchads360V0ErrorsErrorLocationFieldPathElement setIndex(java.lang.Integer index) { + this.index = index; + return this; + } + + @Override + public GoogleAdsSearchads360V0ErrorsErrorLocationFieldPathElement set(String fieldName, Object value) { + return (GoogleAdsSearchads360V0ErrorsErrorLocationFieldPathElement) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V0ErrorsErrorLocationFieldPathElement clone() { + return (GoogleAdsSearchads360V0ErrorsErrorLocationFieldPathElement) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V0ErrorsQuotaErrorDetails.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V0ErrorsQuotaErrorDetails.java new file mode 100644 index 00000000000..6e4a4be76f2 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V0ErrorsQuotaErrorDetails.java @@ -0,0 +1,118 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Additional quota error details when there is QuotaError. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V0ErrorsQuotaErrorDetails extends com.google.api.client.json.GenericJson { + + /** + * The high level description of the quota bucket. Examples are "Get requests for standard access" + * or "Requests per account". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String rateName; + + /** + * The rate scope of the quota limit. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String rateScope; + + /** + * Backoff period that customers should wait before sending next request. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String retryDelay; + + /** + * The high level description of the quota bucket. Examples are "Get requests for standard access" + * or "Requests per account". + * @return value or {@code null} for none + */ + public java.lang.String getRateName() { + return rateName; + } + + /** + * The high level description of the quota bucket. Examples are "Get requests for standard access" + * or "Requests per account". + * @param rateName rateName or {@code null} for none + */ + public GoogleAdsSearchads360V0ErrorsQuotaErrorDetails setRateName(java.lang.String rateName) { + this.rateName = rateName; + return this; + } + + /** + * The rate scope of the quota limit. + * @return value or {@code null} for none + */ + public java.lang.String getRateScope() { + return rateScope; + } + + /** + * The rate scope of the quota limit. + * @param rateScope rateScope or {@code null} for none + */ + public GoogleAdsSearchads360V0ErrorsQuotaErrorDetails setRateScope(java.lang.String rateScope) { + this.rateScope = rateScope; + return this; + } + + /** + * Backoff period that customers should wait before sending next request. + * @return value or {@code null} for none + */ + public String getRetryDelay() { + return retryDelay; + } + + /** + * Backoff period that customers should wait before sending next request. + * @param retryDelay retryDelay or {@code null} for none + */ + public GoogleAdsSearchads360V0ErrorsQuotaErrorDetails setRetryDelay(String retryDelay) { + this.retryDelay = retryDelay; + return this; + } + + @Override + public GoogleAdsSearchads360V0ErrorsQuotaErrorDetails set(String fieldName, Object value) { + return (GoogleAdsSearchads360V0ErrorsQuotaErrorDetails) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V0ErrorsQuotaErrorDetails clone() { + return (GoogleAdsSearchads360V0ErrorsQuotaErrorDetails) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V0ErrorsSearchAds360Error.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V0ErrorsSearchAds360Error.java new file mode 100644 index 00000000000..c33fcce9695 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V0ErrorsSearchAds360Error.java @@ -0,0 +1,166 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Search Ads 360-specific error. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V0ErrorsSearchAds360Error extends com.google.api.client.json.GenericJson { + + /** + * Additional error details, which are returned by certain error codes. Most error codes do not + * include details. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V0ErrorsErrorDetails details; + + /** + * An enum value that indicates which error occurred. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V0ErrorsErrorCode errorCode; + + /** + * Describes the part of the request proto that caused the error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V0ErrorsErrorLocation location; + + /** + * A human-readable description of the error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String message; + + /** + * The value that triggered the error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V0CommonValue trigger; + + /** + * Additional error details, which are returned by certain error codes. Most error codes do not + * include details. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V0ErrorsErrorDetails getDetails() { + return details; + } + + /** + * Additional error details, which are returned by certain error codes. Most error codes do not + * include details. + * @param details details or {@code null} for none + */ + public GoogleAdsSearchads360V0ErrorsSearchAds360Error setDetails(GoogleAdsSearchads360V0ErrorsErrorDetails details) { + this.details = details; + return this; + } + + /** + * An enum value that indicates which error occurred. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V0ErrorsErrorCode getErrorCode() { + return errorCode; + } + + /** + * An enum value that indicates which error occurred. + * @param errorCode errorCode or {@code null} for none + */ + public GoogleAdsSearchads360V0ErrorsSearchAds360Error setErrorCode(GoogleAdsSearchads360V0ErrorsErrorCode errorCode) { + this.errorCode = errorCode; + return this; + } + + /** + * Describes the part of the request proto that caused the error. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V0ErrorsErrorLocation getLocation() { + return location; + } + + /** + * Describes the part of the request proto that caused the error. + * @param location location or {@code null} for none + */ + public GoogleAdsSearchads360V0ErrorsSearchAds360Error setLocation(GoogleAdsSearchads360V0ErrorsErrorLocation location) { + this.location = location; + return this; + } + + /** + * A human-readable description of the error. + * @return value or {@code null} for none + */ + public java.lang.String getMessage() { + return message; + } + + /** + * A human-readable description of the error. + * @param message message or {@code null} for none + */ + public GoogleAdsSearchads360V0ErrorsSearchAds360Error setMessage(java.lang.String message) { + this.message = message; + return this; + } + + /** + * The value that triggered the error. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V0CommonValue getTrigger() { + return trigger; + } + + /** + * The value that triggered the error. + * @param trigger trigger or {@code null} for none + */ + public GoogleAdsSearchads360V0ErrorsSearchAds360Error setTrigger(GoogleAdsSearchads360V0CommonValue trigger) { + this.trigger = trigger; + return this; + } + + @Override + public GoogleAdsSearchads360V0ErrorsSearchAds360Error set(String fieldName, Object value) { + return (GoogleAdsSearchads360V0ErrorsSearchAds360Error) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V0ErrorsSearchAds360Error clone() { + return (GoogleAdsSearchads360V0ErrorsSearchAds360Error) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V0ErrorsSearchAds360Failure.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V0ErrorsSearchAds360Failure.java new file mode 100644 index 00000000000..b025476a70d --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V0ErrorsSearchAds360Failure.java @@ -0,0 +1,98 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Describes how a Search Ads 360 API call failed. It's returned inside google.rpc.Status.details + * when a call fails. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V0ErrorsSearchAds360Failure extends com.google.api.client.json.GenericJson { + + /** + * The list of errors that occurred. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List errors; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V0ErrorsSearchAds360Error used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V0ErrorsSearchAds360Error.class); + } + + /** + * The unique ID of the request that is used for debugging purposes. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String requestId; + + /** + * The list of errors that occurred. + * @return value or {@code null} for none + */ + public java.util.List getErrors() { + return errors; + } + + /** + * The list of errors that occurred. + * @param errors errors or {@code null} for none + */ + public GoogleAdsSearchads360V0ErrorsSearchAds360Failure setErrors(java.util.List errors) { + this.errors = errors; + return this; + } + + /** + * The unique ID of the request that is used for debugging purposes. + * @return value or {@code null} for none + */ + public java.lang.String getRequestId() { + return requestId; + } + + /** + * The unique ID of the request that is used for debugging purposes. + * @param requestId requestId or {@code null} for none + */ + public GoogleAdsSearchads360V0ErrorsSearchAds360Failure setRequestId(java.lang.String requestId) { + this.requestId = requestId; + return this; + } + + @Override + public GoogleAdsSearchads360V0ErrorsSearchAds360Failure set(String fieldName, Object value) { + return (GoogleAdsSearchads360V0ErrorsSearchAds360Failure) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V0ErrorsSearchAds360Failure clone() { + return (GoogleAdsSearchads360V0ErrorsSearchAds360Failure) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonActivityCityInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonActivityCityInfo.java new file mode 100644 index 00000000000..83211582c91 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonActivityCityInfo.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The city where the travel activity is available. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonActivityCityInfo extends com.google.api.client.json.GenericJson { + + /** + * String value of the activity city. The Geo Target Constant resource name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String value; + + /** + * String value of the activity city. The Geo Target Constant resource name. + * @return value or {@code null} for none + */ + public java.lang.String getValue() { + return value; + } + + /** + * String value of the activity city. The Geo Target Constant resource name. + * @param value value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonActivityCityInfo setValue(java.lang.String value) { + this.value = value; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonActivityCityInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonActivityCityInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonActivityCityInfo clone() { + return (GoogleAdsSearchads360V23CommonActivityCityInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonActivityCountryInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonActivityCountryInfo.java new file mode 100644 index 00000000000..b8c8574cade --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonActivityCountryInfo.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The country where the travel activity is available. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonActivityCountryInfo extends com.google.api.client.json.GenericJson { + + /** + * String value of the activity country. The Geo Target Constant resource name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String value; + + /** + * String value of the activity country. The Geo Target Constant resource name. + * @return value or {@code null} for none + */ + public java.lang.String getValue() { + return value; + } + + /** + * String value of the activity country. The Geo Target Constant resource name. + * @param value value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonActivityCountryInfo setValue(java.lang.String value) { + this.value = value; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonActivityCountryInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonActivityCountryInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonActivityCountryInfo clone() { + return (GoogleAdsSearchads360V23CommonActivityCountryInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonActivityIdInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonActivityIdInfo.java new file mode 100644 index 00000000000..2fb45fdf309 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonActivityIdInfo.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Advertiser-specific activity ID. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonActivityIdInfo extends com.google.api.client.json.GenericJson { + + /** + * String value of the activity ID. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String value; + + /** + * String value of the activity ID. + * @return value or {@code null} for none + */ + public java.lang.String getValue() { + return value; + } + + /** + * String value of the activity ID. + * @param value value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonActivityIdInfo setValue(java.lang.String value) { + this.value = value; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonActivityIdInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonActivityIdInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonActivityIdInfo clone() { + return (GoogleAdsSearchads360V23CommonActivityIdInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonActivityRatingInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonActivityRatingInfo.java new file mode 100644 index 00000000000..180d8246805 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonActivityRatingInfo.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Rating of the activity as a number 1 to 5, where 5 is the best. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonActivityRatingInfo extends com.google.api.client.json.GenericJson { + + /** + * Long value of the activity rating. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long value; + + /** + * Long value of the activity rating. + * @return value or {@code null} for none + */ + public java.lang.Long getValue() { + return value; + } + + /** + * Long value of the activity rating. + * @param value value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonActivityRatingInfo setValue(java.lang.Long value) { + this.value = value; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonActivityRatingInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonActivityRatingInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonActivityRatingInfo clone() { + return (GoogleAdsSearchads360V23CommonActivityRatingInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonActivityStateInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonActivityStateInfo.java new file mode 100644 index 00000000000..7fa4ab6fb16 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonActivityStateInfo.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The state where the travel activity is available. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonActivityStateInfo extends com.google.api.client.json.GenericJson { + + /** + * String value of the activity state. The Geo Target Constant resource name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String value; + + /** + * String value of the activity state. The Geo Target Constant resource name. + * @return value or {@code null} for none + */ + public java.lang.String getValue() { + return value; + } + + /** + * String value of the activity state. The Geo Target Constant resource name. + * @param value value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonActivityStateInfo setValue(java.lang.String value) { + this.value = value; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonActivityStateInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonActivityStateInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonActivityStateInfo clone() { + return (GoogleAdsSearchads360V23CommonActivityStateInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAdAppDeepLinkAsset.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAdAppDeepLinkAsset.java new file mode 100644 index 00000000000..0ed3610ac7a --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAdAppDeepLinkAsset.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * An app deep link used inside an ad. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonAdAppDeepLinkAsset extends com.google.api.client.json.GenericJson { + + /** + * The Asset resource name of this app deep link asset. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String asset; + + /** + * The Asset resource name of this app deep link asset. + * @return value or {@code null} for none + */ + public java.lang.String getAsset() { + return asset; + } + + /** + * The Asset resource name of this app deep link asset. + * @param asset asset or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAdAppDeepLinkAsset setAsset(java.lang.String asset) { + this.asset = asset; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonAdAppDeepLinkAsset set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonAdAppDeepLinkAsset) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonAdAppDeepLinkAsset clone() { + return (GoogleAdsSearchads360V23CommonAdAppDeepLinkAsset) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAdAssetPolicySummary.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAdAssetPolicySummary.java new file mode 100644 index 00000000000..1da1f5dc1b5 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAdAssetPolicySummary.java @@ -0,0 +1,118 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Contains policy information for an asset inside an ad. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonAdAssetPolicySummary extends com.google.api.client.json.GenericJson { + + /** + * The overall approval status of this asset, which is calculated based on the status of its + * individual policy topic entries. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String approvalStatus; + + /** + * The list of policy findings for this asset. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List policyTopicEntries; + + /** + * Where in the review process this asset. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String reviewStatus; + + /** + * The overall approval status of this asset, which is calculated based on the status of its + * individual policy topic entries. + * @return value or {@code null} for none + */ + public java.lang.String getApprovalStatus() { + return approvalStatus; + } + + /** + * The overall approval status of this asset, which is calculated based on the status of its + * individual policy topic entries. + * @param approvalStatus approvalStatus or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAdAssetPolicySummary setApprovalStatus(java.lang.String approvalStatus) { + this.approvalStatus = approvalStatus; + return this; + } + + /** + * The list of policy findings for this asset. + * @return value or {@code null} for none + */ + public java.util.List getPolicyTopicEntries() { + return policyTopicEntries; + } + + /** + * The list of policy findings for this asset. + * @param policyTopicEntries policyTopicEntries or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAdAssetPolicySummary setPolicyTopicEntries(java.util.List policyTopicEntries) { + this.policyTopicEntries = policyTopicEntries; + return this; + } + + /** + * Where in the review process this asset. + * @return value or {@code null} for none + */ + public java.lang.String getReviewStatus() { + return reviewStatus; + } + + /** + * Where in the review process this asset. + * @param reviewStatus reviewStatus or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAdAssetPolicySummary setReviewStatus(java.lang.String reviewStatus) { + this.reviewStatus = reviewStatus; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonAdAssetPolicySummary set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonAdAssetPolicySummary) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonAdAssetPolicySummary clone() { + return (GoogleAdsSearchads360V23CommonAdAssetPolicySummary) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAdCallToActionAsset.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAdCallToActionAsset.java new file mode 100644 index 00000000000..c714bd0241d --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAdCallToActionAsset.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A call to action asset used inside an ad. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonAdCallToActionAsset extends com.google.api.client.json.GenericJson { + + /** + * The Asset resource name of this call to action asset. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String asset; + + /** + * The Asset resource name of this call to action asset. + * @return value or {@code null} for none + */ + public java.lang.String getAsset() { + return asset; + } + + /** + * The Asset resource name of this call to action asset. + * @param asset asset or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAdCallToActionAsset setAsset(java.lang.String asset) { + this.asset = asset; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonAdCallToActionAsset set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonAdCallToActionAsset) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonAdCallToActionAsset clone() { + return (GoogleAdsSearchads360V23CommonAdCallToActionAsset) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAdDemandGenCarouselCardAsset.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAdDemandGenCarouselCardAsset.java new file mode 100644 index 00000000000..6c3a6cd8ab9 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAdDemandGenCarouselCardAsset.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A Demand Gen carousel card asset used inside an ad. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonAdDemandGenCarouselCardAsset extends com.google.api.client.json.GenericJson { + + /** + * The Asset resource name of this discovery carousel card. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String asset; + + /** + * The Asset resource name of this discovery carousel card. + * @return value or {@code null} for none + */ + public java.lang.String getAsset() { + return asset; + } + + /** + * The Asset resource name of this discovery carousel card. + * @param asset asset or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAdDemandGenCarouselCardAsset setAsset(java.lang.String asset) { + this.asset = asset; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonAdDemandGenCarouselCardAsset set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonAdDemandGenCarouselCardAsset) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonAdDemandGenCarouselCardAsset clone() { + return (GoogleAdsSearchads360V23CommonAdDemandGenCarouselCardAsset) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAdImageAsset.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAdImageAsset.java new file mode 100644 index 00000000000..9f60031597a --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAdImageAsset.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * An image asset used inside an ad. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonAdImageAsset extends com.google.api.client.json.GenericJson { + + /** + * The Asset resource name of this image. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String asset; + + /** + * The Asset resource name of this image. + * @return value or {@code null} for none + */ + public java.lang.String getAsset() { + return asset; + } + + /** + * The Asset resource name of this image. + * @param asset asset or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAdImageAsset setAsset(java.lang.String asset) { + this.asset = asset; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonAdImageAsset set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonAdImageAsset) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonAdImageAsset clone() { + return (GoogleAdsSearchads360V23CommonAdImageAsset) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAdMediaBundleAsset.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAdMediaBundleAsset.java new file mode 100644 index 00000000000..53c71e277e2 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAdMediaBundleAsset.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A media bundle asset used inside an ad. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonAdMediaBundleAsset extends com.google.api.client.json.GenericJson { + + /** + * The Asset resource name of this media bundle. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String asset; + + /** + * The Asset resource name of this media bundle. + * @return value or {@code null} for none + */ + public java.lang.String getAsset() { + return asset; + } + + /** + * The Asset resource name of this media bundle. + * @param asset asset or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAdMediaBundleAsset setAsset(java.lang.String asset) { + this.asset = asset; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonAdMediaBundleAsset set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonAdMediaBundleAsset) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonAdMediaBundleAsset clone() { + return (GoogleAdsSearchads360V23CommonAdMediaBundleAsset) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAdScheduleInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAdScheduleInfo.java new file mode 100644 index 00000000000..0a763ef0dec --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAdScheduleInfo.java @@ -0,0 +1,180 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Represents an AdSchedule criterion. AdSchedule is specified as the day of the week and a time + * interval within which ads will be shown. No more than six AdSchedules can be added for the same + * day. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonAdScheduleInfo extends com.google.api.client.json.GenericJson { + + /** + * Day of the week the schedule applies to. This field is required for CREATE operations and is + * prohibited on UPDATE operations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String dayOfWeek; + + /** + * Ending hour in 24 hour time; 24 signifies end of the day. This field must be between 0 and 24, + * inclusive. This field is required for CREATE operations and is prohibited on UPDATE operations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer endHour; + + /** + * Minutes after the end hour at which this schedule ends. The schedule is exclusive of the end + * minute. This field is required for CREATE operations and is prohibited on UPDATE operations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String endMinute; + + /** + * Starting hour in 24 hour time. This field must be between 0 and 23, inclusive. This field is + * required for CREATE operations and is prohibited on UPDATE operations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer startHour; + + /** + * Minutes after the start hour at which this schedule starts. This field is required for CREATE + * operations and is prohibited on UPDATE operations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String startMinute; + + /** + * Day of the week the schedule applies to. This field is required for CREATE operations and is + * prohibited on UPDATE operations. + * @return value or {@code null} for none + */ + public java.lang.String getDayOfWeek() { + return dayOfWeek; + } + + /** + * Day of the week the schedule applies to. This field is required for CREATE operations and is + * prohibited on UPDATE operations. + * @param dayOfWeek dayOfWeek or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAdScheduleInfo setDayOfWeek(java.lang.String dayOfWeek) { + this.dayOfWeek = dayOfWeek; + return this; + } + + /** + * Ending hour in 24 hour time; 24 signifies end of the day. This field must be between 0 and 24, + * inclusive. This field is required for CREATE operations and is prohibited on UPDATE operations. + * @return value or {@code null} for none + */ + public java.lang.Integer getEndHour() { + return endHour; + } + + /** + * Ending hour in 24 hour time; 24 signifies end of the day. This field must be between 0 and 24, + * inclusive. This field is required for CREATE operations and is prohibited on UPDATE operations. + * @param endHour endHour or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAdScheduleInfo setEndHour(java.lang.Integer endHour) { + this.endHour = endHour; + return this; + } + + /** + * Minutes after the end hour at which this schedule ends. The schedule is exclusive of the end + * minute. This field is required for CREATE operations and is prohibited on UPDATE operations. + * @return value or {@code null} for none + */ + public java.lang.String getEndMinute() { + return endMinute; + } + + /** + * Minutes after the end hour at which this schedule ends. The schedule is exclusive of the end + * minute. This field is required for CREATE operations and is prohibited on UPDATE operations. + * @param endMinute endMinute or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAdScheduleInfo setEndMinute(java.lang.String endMinute) { + this.endMinute = endMinute; + return this; + } + + /** + * Starting hour in 24 hour time. This field must be between 0 and 23, inclusive. This field is + * required for CREATE operations and is prohibited on UPDATE operations. + * @return value or {@code null} for none + */ + public java.lang.Integer getStartHour() { + return startHour; + } + + /** + * Starting hour in 24 hour time. This field must be between 0 and 23, inclusive. This field is + * required for CREATE operations and is prohibited on UPDATE operations. + * @param startHour startHour or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAdScheduleInfo setStartHour(java.lang.Integer startHour) { + this.startHour = startHour; + return this; + } + + /** + * Minutes after the start hour at which this schedule starts. This field is required for CREATE + * operations and is prohibited on UPDATE operations. + * @return value or {@code null} for none + */ + public java.lang.String getStartMinute() { + return startMinute; + } + + /** + * Minutes after the start hour at which this schedule starts. This field is required for CREATE + * operations and is prohibited on UPDATE operations. + * @param startMinute startMinute or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAdScheduleInfo setStartMinute(java.lang.String startMinute) { + this.startMinute = startMinute; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonAdScheduleInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonAdScheduleInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonAdScheduleInfo clone() { + return (GoogleAdsSearchads360V23CommonAdScheduleInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAdTextAsset.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAdTextAsset.java new file mode 100644 index 00000000000..2e663094036 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAdTextAsset.java @@ -0,0 +1,145 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A text asset used inside an ad. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonAdTextAsset extends com.google.api.client.json.GenericJson { + + /** + * The performance label of this text asset. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String assetPerformanceLabel; + + /** + * The pinned field of the asset. This restricts the asset to only serve within this field. + * Multiple assets can be pinned to the same field. An asset that is unpinned or pinned to a + * different field will not serve in a field where some other asset has been pinned. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String pinnedField; + + /** + * The policy summary of this text asset. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonAdAssetPolicySummary policySummaryInfo; + + /** + * Asset text. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String text; + + /** + * The performance label of this text asset. + * @return value or {@code null} for none + */ + public java.lang.String getAssetPerformanceLabel() { + return assetPerformanceLabel; + } + + /** + * The performance label of this text asset. + * @param assetPerformanceLabel assetPerformanceLabel or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAdTextAsset setAssetPerformanceLabel(java.lang.String assetPerformanceLabel) { + this.assetPerformanceLabel = assetPerformanceLabel; + return this; + } + + /** + * The pinned field of the asset. This restricts the asset to only serve within this field. + * Multiple assets can be pinned to the same field. An asset that is unpinned or pinned to a + * different field will not serve in a field where some other asset has been pinned. + * @return value or {@code null} for none + */ + public java.lang.String getPinnedField() { + return pinnedField; + } + + /** + * The pinned field of the asset. This restricts the asset to only serve within this field. + * Multiple assets can be pinned to the same field. An asset that is unpinned or pinned to a + * different field will not serve in a field where some other asset has been pinned. + * @param pinnedField pinnedField or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAdTextAsset setPinnedField(java.lang.String pinnedField) { + this.pinnedField = pinnedField; + return this; + } + + /** + * The policy summary of this text asset. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAdAssetPolicySummary getPolicySummaryInfo() { + return policySummaryInfo; + } + + /** + * The policy summary of this text asset. + * @param policySummaryInfo policySummaryInfo or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAdTextAsset setPolicySummaryInfo(GoogleAdsSearchads360V23CommonAdAssetPolicySummary policySummaryInfo) { + this.policySummaryInfo = policySummaryInfo; + return this; + } + + /** + * Asset text. + * @return value or {@code null} for none + */ + public java.lang.String getText() { + return text; + } + + /** + * Asset text. + * @param text text or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAdTextAsset setText(java.lang.String text) { + this.text = text; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonAdTextAsset set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonAdTextAsset) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonAdTextAsset clone() { + return (GoogleAdsSearchads360V23CommonAdTextAsset) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAdVideoAsset.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAdVideoAsset.java new file mode 100644 index 00000000000..8faa17f95d8 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAdVideoAsset.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A video asset used inside an ad. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonAdVideoAsset extends com.google.api.client.json.GenericJson { + + /** + * Contains info fields for this AdVideoAsset. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonAdVideoAssetInfo adVideoAssetInfo; + + /** + * The Asset resource name of this video. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String asset; + + /** + * Contains info fields for this AdVideoAsset. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAdVideoAssetInfo getAdVideoAssetInfo() { + return adVideoAssetInfo; + } + + /** + * Contains info fields for this AdVideoAsset. + * @param adVideoAssetInfo adVideoAssetInfo or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAdVideoAsset setAdVideoAssetInfo(GoogleAdsSearchads360V23CommonAdVideoAssetInfo adVideoAssetInfo) { + this.adVideoAssetInfo = adVideoAssetInfo; + return this; + } + + /** + * The Asset resource name of this video. + * @return value or {@code null} for none + */ + public java.lang.String getAsset() { + return asset; + } + + /** + * The Asset resource name of this video. + * @param asset asset or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAdVideoAsset setAsset(java.lang.String asset) { + this.asset = asset; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonAdVideoAsset set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonAdVideoAsset) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonAdVideoAsset clone() { + return (GoogleAdsSearchads360V23CommonAdVideoAsset) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAdVideoAssetInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAdVideoAssetInfo.java new file mode 100644 index 00000000000..127fcda283d --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAdVideoAssetInfo.java @@ -0,0 +1,70 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Contains info fields for AdVideoAssets. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonAdVideoAssetInfo extends com.google.api.client.json.GenericJson { + + /** + * Defines feature controls for this AdVideoAsset during serving time. For example, whether + * YouTube comments should be enabled for Partnership Ads served on YouTube Shorts. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonAdVideoAssetLinkFeatureControl adVideoAssetFeatureControl; + + /** + * Defines feature controls for this AdVideoAsset during serving time. For example, whether + * YouTube comments should be enabled for Partnership Ads served on YouTube Shorts. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAdVideoAssetLinkFeatureControl getAdVideoAssetFeatureControl() { + return adVideoAssetFeatureControl; + } + + /** + * Defines feature controls for this AdVideoAsset during serving time. For example, whether + * YouTube comments should be enabled for Partnership Ads served on YouTube Shorts. + * @param adVideoAssetFeatureControl adVideoAssetFeatureControl or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAdVideoAssetInfo setAdVideoAssetFeatureControl(GoogleAdsSearchads360V23CommonAdVideoAssetLinkFeatureControl adVideoAssetFeatureControl) { + this.adVideoAssetFeatureControl = adVideoAssetFeatureControl; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonAdVideoAssetInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonAdVideoAssetInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonAdVideoAssetInfo clone() { + return (GoogleAdsSearchads360V23CommonAdVideoAssetInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAdVideoAssetLinkFeatureControl.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAdVideoAssetLinkFeatureControl.java new file mode 100644 index 00000000000..69d10c138cd --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAdVideoAssetLinkFeatureControl.java @@ -0,0 +1,70 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * YouTube Video Asset feature controls. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonAdVideoAssetLinkFeatureControl extends com.google.api.client.json.GenericJson { + + /** + * Defines if YouTube comments should be enabled for the creative using this YouTube video asset + * served on YouTube Shorts. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean allowYoutubeComments; + + /** + * Defines if YouTube comments should be enabled for the creative using this YouTube video asset + * served on YouTube Shorts. + * @return value or {@code null} for none + */ + public java.lang.Boolean getAllowYoutubeComments() { + return allowYoutubeComments; + } + + /** + * Defines if YouTube comments should be enabled for the creative using this YouTube video asset + * served on YouTube Shorts. + * @param allowYoutubeComments allowYoutubeComments or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAdVideoAssetLinkFeatureControl setAllowYoutubeComments(java.lang.Boolean allowYoutubeComments) { + this.allowYoutubeComments = allowYoutubeComments; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonAdVideoAssetLinkFeatureControl set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonAdVideoAssetLinkFeatureControl) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonAdVideoAssetLinkFeatureControl clone() { + return (GoogleAdsSearchads360V23CommonAdVideoAssetLinkFeatureControl) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAdditionalApplicationInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAdditionalApplicationInfo.java new file mode 100644 index 00000000000..23318d4524e --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAdditionalApplicationInfo.java @@ -0,0 +1,98 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Additional information about the application/tool issuing the request. This field is only used by + * ContentCreatorInsightsService, AudienceInsightsService, and ReachPlanService APIs. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonAdditionalApplicationInfo extends com.google.api.client.json.GenericJson { + + /** + * The unique identifier of the agency proprietary application. This identifier is generated by + * Google. Reach out to your Google representative to request an application_id for each new + * application being integrated. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String applicationId; + + /** + * The instance type of the application sending the request. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String applicationInstance; + + /** + * The unique identifier of the agency proprietary application. This identifier is generated by + * Google. Reach out to your Google representative to request an application_id for each new + * application being integrated. + * @return value or {@code null} for none + */ + public java.lang.String getApplicationId() { + return applicationId; + } + + /** + * The unique identifier of the agency proprietary application. This identifier is generated by + * Google. Reach out to your Google representative to request an application_id for each new + * application being integrated. + * @param applicationId applicationId or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAdditionalApplicationInfo setApplicationId(java.lang.String applicationId) { + this.applicationId = applicationId; + return this; + } + + /** + * The instance type of the application sending the request. + * @return value or {@code null} for none + */ + public java.lang.String getApplicationInstance() { + return applicationInstance; + } + + /** + * The instance type of the application sending the request. + * @param applicationInstance applicationInstance or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAdditionalApplicationInfo setApplicationInstance(java.lang.String applicationInstance) { + this.applicationInstance = applicationInstance; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonAdditionalApplicationInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonAdditionalApplicationInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonAdditionalApplicationInfo clone() { + return (GoogleAdsSearchads360V23CommonAdditionalApplicationInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAddressInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAddressInfo.java new file mode 100644 index 00000000000..22b4dd314fc --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAddressInfo.java @@ -0,0 +1,214 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Address for proximity criterion. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonAddressInfo extends com.google.api.client.json.GenericJson { + + /** + * Name of the city. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String cityName; + + /** + * Country code. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String countryCode; + + /** + * Postal code. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String postalCode; + + /** + * Province or state code. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String provinceCode; + + /** + * Province or state name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String provinceName; + + /** + * Street address line 1. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String streetAddress; + + /** + * Street address line 2. This field is write-only. It is only used for calculating the longitude + * and latitude of an address when geo_point is empty. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String streetAddress2; + + /** + * Name of the city. + * @return value or {@code null} for none + */ + public java.lang.String getCityName() { + return cityName; + } + + /** + * Name of the city. + * @param cityName cityName or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAddressInfo setCityName(java.lang.String cityName) { + this.cityName = cityName; + return this; + } + + /** + * Country code. + * @return value or {@code null} for none + */ + public java.lang.String getCountryCode() { + return countryCode; + } + + /** + * Country code. + * @param countryCode countryCode or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAddressInfo setCountryCode(java.lang.String countryCode) { + this.countryCode = countryCode; + return this; + } + + /** + * Postal code. + * @return value or {@code null} for none + */ + public java.lang.String getPostalCode() { + return postalCode; + } + + /** + * Postal code. + * @param postalCode postalCode or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAddressInfo setPostalCode(java.lang.String postalCode) { + this.postalCode = postalCode; + return this; + } + + /** + * Province or state code. + * @return value or {@code null} for none + */ + public java.lang.String getProvinceCode() { + return provinceCode; + } + + /** + * Province or state code. + * @param provinceCode provinceCode or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAddressInfo setProvinceCode(java.lang.String provinceCode) { + this.provinceCode = provinceCode; + return this; + } + + /** + * Province or state name. + * @return value or {@code null} for none + */ + public java.lang.String getProvinceName() { + return provinceName; + } + + /** + * Province or state name. + * @param provinceName provinceName or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAddressInfo setProvinceName(java.lang.String provinceName) { + this.provinceName = provinceName; + return this; + } + + /** + * Street address line 1. + * @return value or {@code null} for none + */ + public java.lang.String getStreetAddress() { + return streetAddress; + } + + /** + * Street address line 1. + * @param streetAddress streetAddress or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAddressInfo setStreetAddress(java.lang.String streetAddress) { + this.streetAddress = streetAddress; + return this; + } + + /** + * Street address line 2. This field is write-only. It is only used for calculating the longitude + * and latitude of an address when geo_point is empty. + * @return value or {@code null} for none + */ + public java.lang.String getStreetAddress2() { + return streetAddress2; + } + + /** + * Street address line 2. This field is write-only. It is only used for calculating the longitude + * and latitude of an address when geo_point is empty. + * @param streetAddress2 streetAddress2 or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAddressInfo setStreetAddress2(java.lang.String streetAddress2) { + this.streetAddress2 = streetAddress2; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonAddressInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonAddressInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonAddressInfo clone() { + return (GoogleAdsSearchads360V23CommonAddressInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAgeDimension.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAgeDimension.java new file mode 100644 index 00000000000..839dc64a765 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAgeDimension.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Dimension specifying users by their age. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonAgeDimension extends com.google.api.client.json.GenericJson { + + /** + * Contiguous age range to be included in the dimension. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List ageRanges; + + /** + * Include users whose age is not determined. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean includeUndetermined; + + /** + * Contiguous age range to be included in the dimension. + * @return value or {@code null} for none + */ + public java.util.List getAgeRanges() { + return ageRanges; + } + + /** + * Contiguous age range to be included in the dimension. + * @param ageRanges ageRanges or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAgeDimension setAgeRanges(java.util.List ageRanges) { + this.ageRanges = ageRanges; + return this; + } + + /** + * Include users whose age is not determined. + * @return value or {@code null} for none + */ + public java.lang.Boolean getIncludeUndetermined() { + return includeUndetermined; + } + + /** + * Include users whose age is not determined. + * @param includeUndetermined includeUndetermined or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAgeDimension setIncludeUndetermined(java.lang.Boolean includeUndetermined) { + this.includeUndetermined = includeUndetermined; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonAgeDimension set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonAgeDimension) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonAgeDimension clone() { + return (GoogleAdsSearchads360V23CommonAgeDimension) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAgeRangeInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAgeRangeInfo.java new file mode 100644 index 00000000000..a21d8ba2ff2 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAgeRangeInfo.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * An age range criterion. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonAgeRangeInfo extends com.google.api.client.json.GenericJson { + + /** + * Type of the age range. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String type; + + /** + * Type of the age range. + * @return value or {@code null} for none + */ + public java.lang.String getType() { + return type; + } + + /** + * Type of the age range. + * @param type type or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAgeRangeInfo setType(java.lang.String type) { + this.type = type; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonAgeRangeInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonAgeRangeInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonAgeRangeInfo clone() { + return (GoogleAdsSearchads360V23CommonAgeRangeInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAgeSegment.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAgeSegment.java new file mode 100644 index 00000000000..7102aa885a0 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAgeSegment.java @@ -0,0 +1,97 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Contiguous age range. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonAgeSegment extends com.google.api.client.json.GenericJson { + + /** + * Maximum age to include. A maximum age need not be specified. If specified, max_age must be + * greater than min_age, and allowed values are 24, 34, 44, 54, and 64. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer maxAge; + + /** + * Minimum age to include. A minimum age must be specified and must be at least 18. Allowed values + * are 18, 25, 35, 45, 55, and 65. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer minAge; + + /** + * Maximum age to include. A maximum age need not be specified. If specified, max_age must be + * greater than min_age, and allowed values are 24, 34, 44, 54, and 64. + * @return value or {@code null} for none + */ + public java.lang.Integer getMaxAge() { + return maxAge; + } + + /** + * Maximum age to include. A maximum age need not be specified. If specified, max_age must be + * greater than min_age, and allowed values are 24, 34, 44, 54, and 64. + * @param maxAge maxAge or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAgeSegment setMaxAge(java.lang.Integer maxAge) { + this.maxAge = maxAge; + return this; + } + + /** + * Minimum age to include. A minimum age must be specified and must be at least 18. Allowed values + * are 18, 25, 35, 45, 55, and 65. + * @return value or {@code null} for none + */ + public java.lang.Integer getMinAge() { + return minAge; + } + + /** + * Minimum age to include. A minimum age must be specified and must be at least 18. Allowed values + * are 18, 25, 35, 45, 55, and 65. + * @param minAge minAge or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAgeSegment setMinAge(java.lang.Integer minAge) { + this.minAge = minAge; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonAgeSegment set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonAgeSegment) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonAgeSegment clone() { + return (GoogleAdsSearchads360V23CommonAgeSegment) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAppAdInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAppAdInfo.java new file mode 100644 index 00000000000..2b22afd0f5d --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAppAdInfo.java @@ -0,0 +1,247 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * An app ad. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonAppAdInfo extends com.google.api.client.json.GenericJson { + + /** + * An app deep link asset that may be used with the ad. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonAdAppDeepLinkAsset appDeepLink; + + /** + * List of text assets for descriptions. When the ad serves the descriptions will be selected from + * this list. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List descriptions; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonAdTextAsset used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonAdTextAsset.class); + } + + /** + * List of text assets for headlines. When the ad serves the headlines will be selected from this + * list. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List headlines; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonAdTextAsset used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonAdTextAsset.class); + } + + /** + * List of media bundle assets that may be used with the ad. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List html5MediaBundles; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonAdMediaBundleAsset used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonAdMediaBundleAsset.class); + } + + /** + * List of image assets that may be displayed with the ad. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List images; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonAdImageAsset used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonAdImageAsset.class); + } + + /** + * Mandatory ad text. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonAdTextAsset mandatoryAdText; + + /** + * List of YouTube video assets that may be displayed with the ad. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List youtubeVideos; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonAdVideoAsset used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonAdVideoAsset.class); + } + + /** + * An app deep link asset that may be used with the ad. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAdAppDeepLinkAsset getAppDeepLink() { + return appDeepLink; + } + + /** + * An app deep link asset that may be used with the ad. + * @param appDeepLink appDeepLink or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAppAdInfo setAppDeepLink(GoogleAdsSearchads360V23CommonAdAppDeepLinkAsset appDeepLink) { + this.appDeepLink = appDeepLink; + return this; + } + + /** + * List of text assets for descriptions. When the ad serves the descriptions will be selected from + * this list. + * @return value or {@code null} for none + */ + public java.util.List getDescriptions() { + return descriptions; + } + + /** + * List of text assets for descriptions. When the ad serves the descriptions will be selected from + * this list. + * @param descriptions descriptions or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAppAdInfo setDescriptions(java.util.List descriptions) { + this.descriptions = descriptions; + return this; + } + + /** + * List of text assets for headlines. When the ad serves the headlines will be selected from this + * list. + * @return value or {@code null} for none + */ + public java.util.List getHeadlines() { + return headlines; + } + + /** + * List of text assets for headlines. When the ad serves the headlines will be selected from this + * list. + * @param headlines headlines or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAppAdInfo setHeadlines(java.util.List headlines) { + this.headlines = headlines; + return this; + } + + /** + * List of media bundle assets that may be used with the ad. + * @return value or {@code null} for none + */ + public java.util.List getHtml5MediaBundles() { + return html5MediaBundles; + } + + /** + * List of media bundle assets that may be used with the ad. + * @param html5MediaBundles html5MediaBundles or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAppAdInfo setHtml5MediaBundles(java.util.List html5MediaBundles) { + this.html5MediaBundles = html5MediaBundles; + return this; + } + + /** + * List of image assets that may be displayed with the ad. + * @return value or {@code null} for none + */ + public java.util.List getImages() { + return images; + } + + /** + * List of image assets that may be displayed with the ad. + * @param images images or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAppAdInfo setImages(java.util.List images) { + this.images = images; + return this; + } + + /** + * Mandatory ad text. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAdTextAsset getMandatoryAdText() { + return mandatoryAdText; + } + + /** + * Mandatory ad text. + * @param mandatoryAdText mandatoryAdText or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAppAdInfo setMandatoryAdText(GoogleAdsSearchads360V23CommonAdTextAsset mandatoryAdText) { + this.mandatoryAdText = mandatoryAdText; + return this; + } + + /** + * List of YouTube video assets that may be displayed with the ad. + * @return value or {@code null} for none + */ + public java.util.List getYoutubeVideos() { + return youtubeVideos; + } + + /** + * List of YouTube video assets that may be displayed with the ad. + * @param youtubeVideos youtubeVideos or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAppAdInfo setYoutubeVideos(java.util.List youtubeVideos) { + this.youtubeVideos = youtubeVideos; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonAppAdInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonAppAdInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonAppAdInfo clone() { + return (GoogleAdsSearchads360V23CommonAppAdInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAppDeepLinkAsset.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAppDeepLinkAsset.java new file mode 100644 index 00000000000..796d9d11355 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAppDeepLinkAsset.java @@ -0,0 +1,70 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * An app deep link asset + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonAppDeepLinkAsset extends com.google.api.client.json.GenericJson { + + /** + * The uri for the app deep link, The uri can be either a custom scheme uri (e.g. mystore://shoes) + * or universal uri (e.g. http://www.mystore.com/shoes). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String appDeepLinkUri; + + /** + * The uri for the app deep link, The uri can be either a custom scheme uri (e.g. mystore://shoes) + * or universal uri (e.g. http://www.mystore.com/shoes). + * @return value or {@code null} for none + */ + public java.lang.String getAppDeepLinkUri() { + return appDeepLinkUri; + } + + /** + * The uri for the app deep link, The uri can be either a custom scheme uri (e.g. mystore://shoes) + * or universal uri (e.g. http://www.mystore.com/shoes). + * @param appDeepLinkUri appDeepLinkUri or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAppDeepLinkAsset setAppDeepLinkUri(java.lang.String appDeepLinkUri) { + this.appDeepLinkUri = appDeepLinkUri; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonAppDeepLinkAsset set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonAppDeepLinkAsset) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonAppDeepLinkAsset clone() { + return (GoogleAdsSearchads360V23CommonAppDeepLinkAsset) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAppEngagementAdInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAppEngagementAdInfo.java new file mode 100644 index 00000000000..51d3a6168b1 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAppEngagementAdInfo.java @@ -0,0 +1,171 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * App engagement ads allow you to write text encouraging a specific action in the app, like + * checking in, making a purchase, or booking a flight. They allow you to send users to a specific + * part of your app where they can find what they're looking for easier and faster. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonAppEngagementAdInfo extends com.google.api.client.json.GenericJson { + + /** + * List of text assets for descriptions. When the ad serves the descriptions will be selected from + * this list. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List descriptions; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonAdTextAsset used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonAdTextAsset.class); + } + + /** + * List of text assets for headlines. When the ad serves the headlines will be selected from this + * list. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List headlines; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonAdTextAsset used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonAdTextAsset.class); + } + + /** + * List of image assets that may be displayed with the ad. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List images; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonAdImageAsset used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonAdImageAsset.class); + } + + /** + * List of video assets that may be displayed with the ad. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List videos; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonAdVideoAsset used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonAdVideoAsset.class); + } + + /** + * List of text assets for descriptions. When the ad serves the descriptions will be selected from + * this list. + * @return value or {@code null} for none + */ + public java.util.List getDescriptions() { + return descriptions; + } + + /** + * List of text assets for descriptions. When the ad serves the descriptions will be selected from + * this list. + * @param descriptions descriptions or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAppEngagementAdInfo setDescriptions(java.util.List descriptions) { + this.descriptions = descriptions; + return this; + } + + /** + * List of text assets for headlines. When the ad serves the headlines will be selected from this + * list. + * @return value or {@code null} for none + */ + public java.util.List getHeadlines() { + return headlines; + } + + /** + * List of text assets for headlines. When the ad serves the headlines will be selected from this + * list. + * @param headlines headlines or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAppEngagementAdInfo setHeadlines(java.util.List headlines) { + this.headlines = headlines; + return this; + } + + /** + * List of image assets that may be displayed with the ad. + * @return value or {@code null} for none + */ + public java.util.List getImages() { + return images; + } + + /** + * List of image assets that may be displayed with the ad. + * @param images images or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAppEngagementAdInfo setImages(java.util.List images) { + this.images = images; + return this; + } + + /** + * List of video assets that may be displayed with the ad. + * @return value or {@code null} for none + */ + public java.util.List getVideos() { + return videos; + } + + /** + * List of video assets that may be displayed with the ad. + * @param videos videos or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAppEngagementAdInfo setVideos(java.util.List videos) { + this.videos = videos; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonAppEngagementAdInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonAppEngagementAdInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonAppEngagementAdInfo clone() { + return (GoogleAdsSearchads360V23CommonAppEngagementAdInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAppPaymentModelInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAppPaymentModelInfo.java new file mode 100644 index 00000000000..3fb1751b191 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAppPaymentModelInfo.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * An app payment model criterion. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonAppPaymentModelInfo extends com.google.api.client.json.GenericJson { + + /** + * Type of the app payment model. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String type; + + /** + * Type of the app payment model. + * @return value or {@code null} for none + */ + public java.lang.String getType() { + return type; + } + + /** + * Type of the app payment model. + * @param type type or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAppPaymentModelInfo setType(java.lang.String type) { + this.type = type; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonAppPaymentModelInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonAppPaymentModelInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonAppPaymentModelInfo clone() { + return (GoogleAdsSearchads360V23CommonAppPaymentModelInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAppPreRegistrationAdInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAppPreRegistrationAdInfo.java new file mode 100644 index 00000000000..a429d972c90 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAppPreRegistrationAdInfo.java @@ -0,0 +1,172 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * App pre-registration ads link to your app or game listing on Google Play, and can run on Google + * Play, on YouTube (in-stream only), and within other apps and mobile websites on the Display + * Network. It will help capture people's interest in your app or game and generate an early install + * base for your app or game before a launch. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonAppPreRegistrationAdInfo extends com.google.api.client.json.GenericJson { + + /** + * List of text assets for descriptions. When the ad serves the descriptions will be selected from + * this list. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List descriptions; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonAdTextAsset used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonAdTextAsset.class); + } + + /** + * List of text assets for headlines. When the ad serves the headlines will be selected from this + * list. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List headlines; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonAdTextAsset used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonAdTextAsset.class); + } + + /** + * List of image asset IDs whose images may be displayed with the ad. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List images; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonAdImageAsset used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonAdImageAsset.class); + } + + /** + * List of YouTube video asset IDs whose videos may be displayed with the ad. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List youtubeVideos; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonAdVideoAsset used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonAdVideoAsset.class); + } + + /** + * List of text assets for descriptions. When the ad serves the descriptions will be selected from + * this list. + * @return value or {@code null} for none + */ + public java.util.List getDescriptions() { + return descriptions; + } + + /** + * List of text assets for descriptions. When the ad serves the descriptions will be selected from + * this list. + * @param descriptions descriptions or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAppPreRegistrationAdInfo setDescriptions(java.util.List descriptions) { + this.descriptions = descriptions; + return this; + } + + /** + * List of text assets for headlines. When the ad serves the headlines will be selected from this + * list. + * @return value or {@code null} for none + */ + public java.util.List getHeadlines() { + return headlines; + } + + /** + * List of text assets for headlines. When the ad serves the headlines will be selected from this + * list. + * @param headlines headlines or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAppPreRegistrationAdInfo setHeadlines(java.util.List headlines) { + this.headlines = headlines; + return this; + } + + /** + * List of image asset IDs whose images may be displayed with the ad. + * @return value or {@code null} for none + */ + public java.util.List getImages() { + return images; + } + + /** + * List of image asset IDs whose images may be displayed with the ad. + * @param images images or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAppPreRegistrationAdInfo setImages(java.util.List images) { + this.images = images; + return this; + } + + /** + * List of YouTube video asset IDs whose videos may be displayed with the ad. + * @return value or {@code null} for none + */ + public java.util.List getYoutubeVideos() { + return youtubeVideos; + } + + /** + * List of YouTube video asset IDs whose videos may be displayed with the ad. + * @param youtubeVideos youtubeVideos or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAppPreRegistrationAdInfo setYoutubeVideos(java.util.List youtubeVideos) { + this.youtubeVideos = youtubeVideos; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonAppPreRegistrationAdInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonAppPreRegistrationAdInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonAppPreRegistrationAdInfo clone() { + return (GoogleAdsSearchads360V23CommonAppPreRegistrationAdInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAssetDisapproved.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAssetDisapproved.java new file mode 100644 index 00000000000..2b0943d8a1f --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAssetDisapproved.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Details related to AssetLinkPrimaryStatusReasonPB.ASSET_DISAPPROVED + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonAssetDisapproved extends com.google.api.client.json.GenericJson { + + /** + * Provides the quality evaluation disapproval reason of an asset. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List offlineEvaluationErrorReasons; + + /** + * Provides the quality evaluation disapproval reason of an asset. + * @return value or {@code null} for none + */ + public java.util.List getOfflineEvaluationErrorReasons() { + return offlineEvaluationErrorReasons; + } + + /** + * Provides the quality evaluation disapproval reason of an asset. + * @param offlineEvaluationErrorReasons offlineEvaluationErrorReasons or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAssetDisapproved setOfflineEvaluationErrorReasons(java.util.List offlineEvaluationErrorReasons) { + this.offlineEvaluationErrorReasons = offlineEvaluationErrorReasons; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonAssetDisapproved set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonAssetDisapproved) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonAssetDisapproved clone() { + return (GoogleAdsSearchads360V23CommonAssetDisapproved) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAssetInteractionTarget.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAssetInteractionTarget.java new file mode 100644 index 00000000000..2e168883f9c --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAssetInteractionTarget.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * An AssetInteractionTarget segment. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonAssetInteractionTarget extends com.google.api.client.json.GenericJson { + + /** + * The asset resource name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String asset; + + /** + * Only used with CustomerAsset, CampaignAsset and AdGroupAsset metrics. Indicates whether the + * interaction metrics occurred on the asset itself or a different asset or ad unit. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean interactionOnThisAsset; + + /** + * The asset resource name. + * @return value or {@code null} for none + */ + public java.lang.String getAsset() { + return asset; + } + + /** + * The asset resource name. + * @param asset asset or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAssetInteractionTarget setAsset(java.lang.String asset) { + this.asset = asset; + return this; + } + + /** + * Only used with CustomerAsset, CampaignAsset and AdGroupAsset metrics. Indicates whether the + * interaction metrics occurred on the asset itself or a different asset or ad unit. + * @return value or {@code null} for none + */ + public java.lang.Boolean getInteractionOnThisAsset() { + return interactionOnThisAsset; + } + + /** + * Only used with CustomerAsset, CampaignAsset and AdGroupAsset metrics. Indicates whether the + * interaction metrics occurred on the asset itself or a different asset or ad unit. + * @param interactionOnThisAsset interactionOnThisAsset or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAssetInteractionTarget setInteractionOnThisAsset(java.lang.Boolean interactionOnThisAsset) { + this.interactionOnThisAsset = interactionOnThisAsset; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonAssetInteractionTarget set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonAssetInteractionTarget) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonAssetInteractionTarget clone() { + return (GoogleAdsSearchads360V23CommonAssetInteractionTarget) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAssetLinkPrimaryStatusDetails.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAssetLinkPrimaryStatusDetails.java new file mode 100644 index 00000000000..ce90dd6e98f --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAssetLinkPrimaryStatusDetails.java @@ -0,0 +1,119 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Provides the detail of a PrimaryStatus. Each asset link has a PrimaryStatus value (e.g. + * NOT_ELIGIBLE, meaning not serving), and list of corroborating PrimaryStatusReasons (e.g. + * [ASSET_DISAPPROVED]). Each reason may have some additional details annotated with it. For + * instance, when the reason is ASSET_DISAPPROVED, the details field will contain additional + * information about the offline evaluation errors which led to the asset being disapproved. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonAssetLinkPrimaryStatusDetails extends com.google.api.client.json.GenericJson { + + /** + * Provides the details for AssetLinkPrimaryStatusReason.ASSET_DISAPPROVED + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonAssetDisapproved assetDisapproved; + + /** + * Provides the reason of this PrimaryStatus. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String reason; + + /** + * Provides the PrimaryStatus of this status detail. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String status; + + /** + * Provides the details for AssetLinkPrimaryStatusReason.ASSET_DISAPPROVED + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAssetDisapproved getAssetDisapproved() { + return assetDisapproved; + } + + /** + * Provides the details for AssetLinkPrimaryStatusReason.ASSET_DISAPPROVED + * @param assetDisapproved assetDisapproved or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAssetLinkPrimaryStatusDetails setAssetDisapproved(GoogleAdsSearchads360V23CommonAssetDisapproved assetDisapproved) { + this.assetDisapproved = assetDisapproved; + return this; + } + + /** + * Provides the reason of this PrimaryStatus. + * @return value or {@code null} for none + */ + public java.lang.String getReason() { + return reason; + } + + /** + * Provides the reason of this PrimaryStatus. + * @param reason reason or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAssetLinkPrimaryStatusDetails setReason(java.lang.String reason) { + this.reason = reason; + return this; + } + + /** + * Provides the PrimaryStatus of this status detail. + * @return value or {@code null} for none + */ + public java.lang.String getStatus() { + return status; + } + + /** + * Provides the PrimaryStatus of this status detail. + * @param status status or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAssetLinkPrimaryStatusDetails setStatus(java.lang.String status) { + this.status = status; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonAssetLinkPrimaryStatusDetails set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonAssetLinkPrimaryStatusDetails) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonAssetLinkPrimaryStatusDetails clone() { + return (GoogleAdsSearchads360V23CommonAssetLinkPrimaryStatusDetails) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAssetUsage.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAssetUsage.java new file mode 100644 index 00000000000..fbc42328fc6 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAssetUsage.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Contains the usage information of the asset. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonAssetUsage extends com.google.api.client.json.GenericJson { + + /** + * Resource name of the asset. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String asset; + + /** + * The served field type of the asset. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String servedAssetFieldType; + + /** + * Resource name of the asset. + * @return value or {@code null} for none + */ + public java.lang.String getAsset() { + return asset; + } + + /** + * Resource name of the asset. + * @param asset asset or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAssetUsage setAsset(java.lang.String asset) { + this.asset = asset; + return this; + } + + /** + * The served field type of the asset. + * @return value or {@code null} for none + */ + public java.lang.String getServedAssetFieldType() { + return servedAssetFieldType; + } + + /** + * The served field type of the asset. + * @param servedAssetFieldType servedAssetFieldType or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAssetUsage setServedAssetFieldType(java.lang.String servedAssetFieldType) { + this.servedAssetFieldType = servedAssetFieldType; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonAssetUsage set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonAssetUsage) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonAssetUsage clone() { + return (GoogleAdsSearchads360V23CommonAssetUsage) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAudienceDimension.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAudienceDimension.java new file mode 100644 index 00000000000..1837c9a353f --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAudienceDimension.java @@ -0,0 +1,163 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Positive dimension specifying user's audience. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonAudienceDimension extends com.google.api.client.json.GenericJson { + + /** + * Dimension specifying users by their age. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonAgeDimension age; + + /** + * Dimension specifying users by their membership in other audience segments. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonAudienceSegmentDimension audienceSegments; + + /** + * Dimension specifying users by their gender. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonGenderDimension gender; + + /** + * Dimension specifying users by their household income. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonHouseholdIncomeDimension householdIncome; + + /** + * Dimension specifying users by their parental status. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonParentalStatusDimension parentalStatus; + + /** + * Dimension specifying users by their age. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAgeDimension getAge() { + return age; + } + + /** + * Dimension specifying users by their age. + * @param age age or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAudienceDimension setAge(GoogleAdsSearchads360V23CommonAgeDimension age) { + this.age = age; + return this; + } + + /** + * Dimension specifying users by their membership in other audience segments. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAudienceSegmentDimension getAudienceSegments() { + return audienceSegments; + } + + /** + * Dimension specifying users by their membership in other audience segments. + * @param audienceSegments audienceSegments or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAudienceDimension setAudienceSegments(GoogleAdsSearchads360V23CommonAudienceSegmentDimension audienceSegments) { + this.audienceSegments = audienceSegments; + return this; + } + + /** + * Dimension specifying users by their gender. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonGenderDimension getGender() { + return gender; + } + + /** + * Dimension specifying users by their gender. + * @param gender gender or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAudienceDimension setGender(GoogleAdsSearchads360V23CommonGenderDimension gender) { + this.gender = gender; + return this; + } + + /** + * Dimension specifying users by their household income. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonHouseholdIncomeDimension getHouseholdIncome() { + return householdIncome; + } + + /** + * Dimension specifying users by their household income. + * @param householdIncome householdIncome or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAudienceDimension setHouseholdIncome(GoogleAdsSearchads360V23CommonHouseholdIncomeDimension householdIncome) { + this.householdIncome = householdIncome; + return this; + } + + /** + * Dimension specifying users by their parental status. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonParentalStatusDimension getParentalStatus() { + return parentalStatus; + } + + /** + * Dimension specifying users by their parental status. + * @param parentalStatus parentalStatus or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAudienceDimension setParentalStatus(GoogleAdsSearchads360V23CommonParentalStatusDimension parentalStatus) { + this.parentalStatus = parentalStatus; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonAudienceDimension set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonAudienceDimension) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonAudienceDimension clone() { + return (GoogleAdsSearchads360V23CommonAudienceDimension) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAudienceExclusionDimension.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAudienceExclusionDimension.java new file mode 100644 index 00000000000..83c897fcebe --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAudienceExclusionDimension.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Negative dimension specifying users to exclude from the audience. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonAudienceExclusionDimension extends com.google.api.client.json.GenericJson { + + /** + * Audience segment to be excluded. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List exclusions; + + /** + * Audience segment to be excluded. + * @return value or {@code null} for none + */ + public java.util.List getExclusions() { + return exclusions; + } + + /** + * Audience segment to be excluded. + * @param exclusions exclusions or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAudienceExclusionDimension setExclusions(java.util.List exclusions) { + this.exclusions = exclusions; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonAudienceExclusionDimension set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonAudienceExclusionDimension) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonAudienceExclusionDimension clone() { + return (GoogleAdsSearchads360V23CommonAudienceExclusionDimension) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAudienceInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAudienceInfo.java new file mode 100644 index 00000000000..7c1be618c8a --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAudienceInfo.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * An audience criterion. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonAudienceInfo extends com.google.api.client.json.GenericJson { + + /** + * The Audience resource name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String audience; + + /** + * The Audience resource name. + * @return value or {@code null} for none + */ + public java.lang.String getAudience() { + return audience; + } + + /** + * The Audience resource name. + * @param audience audience or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAudienceInfo setAudience(java.lang.String audience) { + this.audience = audience; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonAudienceInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonAudienceInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonAudienceInfo clone() { + return (GoogleAdsSearchads360V23CommonAudienceInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAudienceInsightsAttribute.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAudienceInsightsAttribute.java new file mode 100644 index 00000000000..f8aacd1d908 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAudienceInsightsAttribute.java @@ -0,0 +1,355 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * An audience attribute that can be used to request insights about the audience. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonAudienceInsightsAttribute extends com.google.api.client.json.GenericJson { + + /** + * An audience attribute defined by an age range. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonAgeRangeInfo ageRange; + + /** + * An audience attribute defined by interest in a Product & Service category. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonAudienceInsightsCategory category; + + /** + * A device type. (Mobile, Desktop, Tablet) + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonDeviceInfo device; + + /** + * An audience attribute defined by interest in a topic represented by a Knowledge Graph entity. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonAudienceInsightsEntity entity; + + /** + * An audience attribute defined by a gender. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonGenderInfo gender; + + /** + * A household income percentile range. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonIncomeRangeInfo incomeRange; + + /** + * A YouTube Lineup. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonAudienceInsightsLineup lineup; + + /** + * An audience attribute defined by a geographic location. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonLocationInfo location; + + /** + * A Parental Status value (parent, or not a parent). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonParentalStatusInfo parentalStatus; + + /** + * An Affinity or In-Market audience. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonUserInterestInfo userInterest; + + /** + * A User List. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonUserListInfo userList; + + /** + * A YouTube channel. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonYouTubeChannelInfo youtubeChannel; + + /** + * A YouTube video. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonYouTubeVideoInfo youtubeVideo; + + /** + * An audience attribute defined by an age range. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAgeRangeInfo getAgeRange() { + return ageRange; + } + + /** + * An audience attribute defined by an age range. + * @param ageRange ageRange or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAudienceInsightsAttribute setAgeRange(GoogleAdsSearchads360V23CommonAgeRangeInfo ageRange) { + this.ageRange = ageRange; + return this; + } + + /** + * An audience attribute defined by interest in a Product & Service category. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAudienceInsightsCategory getCategory() { + return category; + } + + /** + * An audience attribute defined by interest in a Product & Service category. + * @param category category or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAudienceInsightsAttribute setCategory(GoogleAdsSearchads360V23CommonAudienceInsightsCategory category) { + this.category = category; + return this; + } + + /** + * A device type. (Mobile, Desktop, Tablet) + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDeviceInfo getDevice() { + return device; + } + + /** + * A device type. (Mobile, Desktop, Tablet) + * @param device device or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAudienceInsightsAttribute setDevice(GoogleAdsSearchads360V23CommonDeviceInfo device) { + this.device = device; + return this; + } + + /** + * An audience attribute defined by interest in a topic represented by a Knowledge Graph entity. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAudienceInsightsEntity getEntity() { + return entity; + } + + /** + * An audience attribute defined by interest in a topic represented by a Knowledge Graph entity. + * @param entity entity or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAudienceInsightsAttribute setEntity(GoogleAdsSearchads360V23CommonAudienceInsightsEntity entity) { + this.entity = entity; + return this; + } + + /** + * An audience attribute defined by a gender. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonGenderInfo getGender() { + return gender; + } + + /** + * An audience attribute defined by a gender. + * @param gender gender or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAudienceInsightsAttribute setGender(GoogleAdsSearchads360V23CommonGenderInfo gender) { + this.gender = gender; + return this; + } + + /** + * A household income percentile range. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonIncomeRangeInfo getIncomeRange() { + return incomeRange; + } + + /** + * A household income percentile range. + * @param incomeRange incomeRange or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAudienceInsightsAttribute setIncomeRange(GoogleAdsSearchads360V23CommonIncomeRangeInfo incomeRange) { + this.incomeRange = incomeRange; + return this; + } + + /** + * A YouTube Lineup. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAudienceInsightsLineup getLineup() { + return lineup; + } + + /** + * A YouTube Lineup. + * @param lineup lineup or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAudienceInsightsAttribute setLineup(GoogleAdsSearchads360V23CommonAudienceInsightsLineup lineup) { + this.lineup = lineup; + return this; + } + + /** + * An audience attribute defined by a geographic location. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLocationInfo getLocation() { + return location; + } + + /** + * An audience attribute defined by a geographic location. + * @param location location or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAudienceInsightsAttribute setLocation(GoogleAdsSearchads360V23CommonLocationInfo location) { + this.location = location; + return this; + } + + /** + * A Parental Status value (parent, or not a parent). + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonParentalStatusInfo getParentalStatus() { + return parentalStatus; + } + + /** + * A Parental Status value (parent, or not a parent). + * @param parentalStatus parentalStatus or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAudienceInsightsAttribute setParentalStatus(GoogleAdsSearchads360V23CommonParentalStatusInfo parentalStatus) { + this.parentalStatus = parentalStatus; + return this; + } + + /** + * An Affinity or In-Market audience. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUserInterestInfo getUserInterest() { + return userInterest; + } + + /** + * An Affinity or In-Market audience. + * @param userInterest userInterest or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAudienceInsightsAttribute setUserInterest(GoogleAdsSearchads360V23CommonUserInterestInfo userInterest) { + this.userInterest = userInterest; + return this; + } + + /** + * A User List. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUserListInfo getUserList() { + return userList; + } + + /** + * A User List. + * @param userList userList or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAudienceInsightsAttribute setUserList(GoogleAdsSearchads360V23CommonUserListInfo userList) { + this.userList = userList; + return this; + } + + /** + * A YouTube channel. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonYouTubeChannelInfo getYoutubeChannel() { + return youtubeChannel; + } + + /** + * A YouTube channel. + * @param youtubeChannel youtubeChannel or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAudienceInsightsAttribute setYoutubeChannel(GoogleAdsSearchads360V23CommonYouTubeChannelInfo youtubeChannel) { + this.youtubeChannel = youtubeChannel; + return this; + } + + /** + * A YouTube video. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonYouTubeVideoInfo getYoutubeVideo() { + return youtubeVideo; + } + + /** + * A YouTube video. + * @param youtubeVideo youtubeVideo or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAudienceInsightsAttribute setYoutubeVideo(GoogleAdsSearchads360V23CommonYouTubeVideoInfo youtubeVideo) { + this.youtubeVideo = youtubeVideo; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonAudienceInsightsAttribute set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonAudienceInsightsAttribute) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonAudienceInsightsAttribute clone() { + return (GoogleAdsSearchads360V23CommonAudienceInsightsAttribute) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAudienceInsightsAttributeMetadata.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAudienceInsightsAttributeMetadata.java new file mode 100644 index 00000000000..2f43585d01d --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAudienceInsightsAttributeMetadata.java @@ -0,0 +1,400 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * An audience attribute, with metadata about it, returned in response to a search. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonAudienceInsightsAttributeMetadata extends com.google.api.client.json.GenericJson { + + /** + * The attribute itself. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonAudienceInsightsAttribute attribute; + + /** + * The type of the attribute. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String dimension; + + /** + * A string that supplements the display_name to identify the attribute. If the dimension is + * TOPIC, this is a brief description of the Knowledge Graph entity, such as "American singer- + * songwriter". If the dimension is CATEGORY, this is the complete path to the category in The + * Product & Service taxonomy, for example "/Apparel/Clothing/Outerwear". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String displayInfo; + + /** + * The human-readable name of the attribute. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String displayName; + + /** + * Special metadata for a Knowledge Graph Entity. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonKnowledgeGraphAttributeMetadata knowledgeGraphAttributeMetadata; + + /** + * Special metadata for a YouTube Lineup. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonLineupAttributeMetadata lineupAttributeMetadata; + + /** + * Special metadata for a Location. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonLocationAttributeMetadata locationAttributeMetadata; + + /** + * An estimate of the number of reachable YouTube users matching this attribute in the requested + * location, or zero if that information is not available for this attribute. This field is not + * populated in every response. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long potentialYoutubeReach; + + /** + * The share of subscribers within this attribute, between and including 0 and 1. This field is + * not populated in every response. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double subscriberShare; + + /** + * Special metadata for a User Interest. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonUserInterestAttributeMetadata userInterestAttributeMetadata; + + /** + * Special metadata for a User List. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonUserListAttributeMetadata userListAttributeMetadata; + + /** + * The share of viewers within this attribute, between and including 0 and 1. This field is not + * populated in every response. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double viewerShare; + + /** + * Special metadata for a YouTube channel. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonYouTubeChannelAttributeMetadata youtubeChannelMetadata; + + /** + * Special metadata for a YouTube video. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonYouTubeVideoAttributeMetadata youtubeVideoMetadata; + + /** + * The attribute itself. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAudienceInsightsAttribute getAttribute() { + return attribute; + } + + /** + * The attribute itself. + * @param attribute attribute or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAudienceInsightsAttributeMetadata setAttribute(GoogleAdsSearchads360V23CommonAudienceInsightsAttribute attribute) { + this.attribute = attribute; + return this; + } + + /** + * The type of the attribute. + * @return value or {@code null} for none + */ + public java.lang.String getDimension() { + return dimension; + } + + /** + * The type of the attribute. + * @param dimension dimension or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAudienceInsightsAttributeMetadata setDimension(java.lang.String dimension) { + this.dimension = dimension; + return this; + } + + /** + * A string that supplements the display_name to identify the attribute. If the dimension is + * TOPIC, this is a brief description of the Knowledge Graph entity, such as "American singer- + * songwriter". If the dimension is CATEGORY, this is the complete path to the category in The + * Product & Service taxonomy, for example "/Apparel/Clothing/Outerwear". + * @return value or {@code null} for none + */ + public java.lang.String getDisplayInfo() { + return displayInfo; + } + + /** + * A string that supplements the display_name to identify the attribute. If the dimension is + * TOPIC, this is a brief description of the Knowledge Graph entity, such as "American singer- + * songwriter". If the dimension is CATEGORY, this is the complete path to the category in The + * Product & Service taxonomy, for example "/Apparel/Clothing/Outerwear". + * @param displayInfo displayInfo or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAudienceInsightsAttributeMetadata setDisplayInfo(java.lang.String displayInfo) { + this.displayInfo = displayInfo; + return this; + } + + /** + * The human-readable name of the attribute. + * @return value or {@code null} for none + */ + public java.lang.String getDisplayName() { + return displayName; + } + + /** + * The human-readable name of the attribute. + * @param displayName displayName or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAudienceInsightsAttributeMetadata setDisplayName(java.lang.String displayName) { + this.displayName = displayName; + return this; + } + + /** + * Special metadata for a Knowledge Graph Entity. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonKnowledgeGraphAttributeMetadata getKnowledgeGraphAttributeMetadata() { + return knowledgeGraphAttributeMetadata; + } + + /** + * Special metadata for a Knowledge Graph Entity. + * @param knowledgeGraphAttributeMetadata knowledgeGraphAttributeMetadata or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAudienceInsightsAttributeMetadata setKnowledgeGraphAttributeMetadata(GoogleAdsSearchads360V23CommonKnowledgeGraphAttributeMetadata knowledgeGraphAttributeMetadata) { + this.knowledgeGraphAttributeMetadata = knowledgeGraphAttributeMetadata; + return this; + } + + /** + * Special metadata for a YouTube Lineup. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLineupAttributeMetadata getLineupAttributeMetadata() { + return lineupAttributeMetadata; + } + + /** + * Special metadata for a YouTube Lineup. + * @param lineupAttributeMetadata lineupAttributeMetadata or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAudienceInsightsAttributeMetadata setLineupAttributeMetadata(GoogleAdsSearchads360V23CommonLineupAttributeMetadata lineupAttributeMetadata) { + this.lineupAttributeMetadata = lineupAttributeMetadata; + return this; + } + + /** + * Special metadata for a Location. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLocationAttributeMetadata getLocationAttributeMetadata() { + return locationAttributeMetadata; + } + + /** + * Special metadata for a Location. + * @param locationAttributeMetadata locationAttributeMetadata or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAudienceInsightsAttributeMetadata setLocationAttributeMetadata(GoogleAdsSearchads360V23CommonLocationAttributeMetadata locationAttributeMetadata) { + this.locationAttributeMetadata = locationAttributeMetadata; + return this; + } + + /** + * An estimate of the number of reachable YouTube users matching this attribute in the requested + * location, or zero if that information is not available for this attribute. This field is not + * populated in every response. + * @return value or {@code null} for none + */ + public java.lang.Long getPotentialYoutubeReach() { + return potentialYoutubeReach; + } + + /** + * An estimate of the number of reachable YouTube users matching this attribute in the requested + * location, or zero if that information is not available for this attribute. This field is not + * populated in every response. + * @param potentialYoutubeReach potentialYoutubeReach or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAudienceInsightsAttributeMetadata setPotentialYoutubeReach(java.lang.Long potentialYoutubeReach) { + this.potentialYoutubeReach = potentialYoutubeReach; + return this; + } + + /** + * The share of subscribers within this attribute, between and including 0 and 1. This field is + * not populated in every response. + * @return value or {@code null} for none + */ + public java.lang.Double getSubscriberShare() { + return subscriberShare; + } + + /** + * The share of subscribers within this attribute, between and including 0 and 1. This field is + * not populated in every response. + * @param subscriberShare subscriberShare or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAudienceInsightsAttributeMetadata setSubscriberShare(java.lang.Double subscriberShare) { + this.subscriberShare = subscriberShare; + return this; + } + + /** + * Special metadata for a User Interest. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUserInterestAttributeMetadata getUserInterestAttributeMetadata() { + return userInterestAttributeMetadata; + } + + /** + * Special metadata for a User Interest. + * @param userInterestAttributeMetadata userInterestAttributeMetadata or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAudienceInsightsAttributeMetadata setUserInterestAttributeMetadata(GoogleAdsSearchads360V23CommonUserInterestAttributeMetadata userInterestAttributeMetadata) { + this.userInterestAttributeMetadata = userInterestAttributeMetadata; + return this; + } + + /** + * Special metadata for a User List. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUserListAttributeMetadata getUserListAttributeMetadata() { + return userListAttributeMetadata; + } + + /** + * Special metadata for a User List. + * @param userListAttributeMetadata userListAttributeMetadata or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAudienceInsightsAttributeMetadata setUserListAttributeMetadata(GoogleAdsSearchads360V23CommonUserListAttributeMetadata userListAttributeMetadata) { + this.userListAttributeMetadata = userListAttributeMetadata; + return this; + } + + /** + * The share of viewers within this attribute, between and including 0 and 1. This field is not + * populated in every response. + * @return value or {@code null} for none + */ + public java.lang.Double getViewerShare() { + return viewerShare; + } + + /** + * The share of viewers within this attribute, between and including 0 and 1. This field is not + * populated in every response. + * @param viewerShare viewerShare or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAudienceInsightsAttributeMetadata setViewerShare(java.lang.Double viewerShare) { + this.viewerShare = viewerShare; + return this; + } + + /** + * Special metadata for a YouTube channel. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonYouTubeChannelAttributeMetadata getYoutubeChannelMetadata() { + return youtubeChannelMetadata; + } + + /** + * Special metadata for a YouTube channel. + * @param youtubeChannelMetadata youtubeChannelMetadata or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAudienceInsightsAttributeMetadata setYoutubeChannelMetadata(GoogleAdsSearchads360V23CommonYouTubeChannelAttributeMetadata youtubeChannelMetadata) { + this.youtubeChannelMetadata = youtubeChannelMetadata; + return this; + } + + /** + * Special metadata for a YouTube video. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonYouTubeVideoAttributeMetadata getYoutubeVideoMetadata() { + return youtubeVideoMetadata; + } + + /** + * Special metadata for a YouTube video. + * @param youtubeVideoMetadata youtubeVideoMetadata or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAudienceInsightsAttributeMetadata setYoutubeVideoMetadata(GoogleAdsSearchads360V23CommonYouTubeVideoAttributeMetadata youtubeVideoMetadata) { + this.youtubeVideoMetadata = youtubeVideoMetadata; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonAudienceInsightsAttributeMetadata set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonAudienceInsightsAttributeMetadata) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonAudienceInsightsAttributeMetadata clone() { + return (GoogleAdsSearchads360V23CommonAudienceInsightsAttributeMetadata) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAudienceInsightsAttributeMetadataGroup.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAudienceInsightsAttributeMetadataGroup.java new file mode 100644 index 00000000000..d466957e405 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAudienceInsightsAttributeMetadataGroup.java @@ -0,0 +1,73 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A group of audience attributes with metadata, returned in response to a search. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonAudienceInsightsAttributeMetadataGroup extends com.google.api.client.json.GenericJson { + + /** + * Attributes with metadata returned in response to a search. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List attributes; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonAudienceInsightsAttributeMetadata used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonAudienceInsightsAttributeMetadata.class); + } + + /** + * Attributes with metadata returned in response to a search. + * @return value or {@code null} for none + */ + public java.util.List getAttributes() { + return attributes; + } + + /** + * Attributes with metadata returned in response to a search. + * @param attributes attributes or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAudienceInsightsAttributeMetadataGroup setAttributes(java.util.List attributes) { + this.attributes = attributes; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonAudienceInsightsAttributeMetadataGroup set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonAudienceInsightsAttributeMetadataGroup) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonAudienceInsightsAttributeMetadataGroup clone() { + return (GoogleAdsSearchads360V23CommonAudienceInsightsAttributeMetadataGroup) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAudienceInsightsCategory.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAudienceInsightsCategory.java new file mode 100644 index 00000000000..ac4302ac526 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAudienceInsightsCategory.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A Product and Service category. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonAudienceInsightsCategory extends com.google.api.client.json.GenericJson { + + /** + * Required. The criterion ID of the category. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String categoryId; + + /** + * Required. The criterion ID of the category. + * @return value or {@code null} for none + */ + public java.lang.String getCategoryId() { + return categoryId; + } + + /** + * Required. The criterion ID of the category. + * @param categoryId categoryId or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAudienceInsightsCategory setCategoryId(java.lang.String categoryId) { + this.categoryId = categoryId; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonAudienceInsightsCategory set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonAudienceInsightsCategory) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonAudienceInsightsCategory clone() { + return (GoogleAdsSearchads360V23CommonAudienceInsightsCategory) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAudienceInsightsEntity.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAudienceInsightsEntity.java new file mode 100644 index 00000000000..77576ce14fd --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAudienceInsightsEntity.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A Knowledge Graph entity, represented by its machine id. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonAudienceInsightsEntity extends com.google.api.client.json.GenericJson { + + /** + * Required. The machine ID (mid) of the Knowledge Graph entity. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String knowledgeGraphMachineId; + + /** + * Required. The machine ID (mid) of the Knowledge Graph entity. + * @return value or {@code null} for none + */ + public java.lang.String getKnowledgeGraphMachineId() { + return knowledgeGraphMachineId; + } + + /** + * Required. The machine ID (mid) of the Knowledge Graph entity. + * @param knowledgeGraphMachineId knowledgeGraphMachineId or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAudienceInsightsEntity setKnowledgeGraphMachineId(java.lang.String knowledgeGraphMachineId) { + this.knowledgeGraphMachineId = knowledgeGraphMachineId; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonAudienceInsightsEntity set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonAudienceInsightsEntity) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonAudienceInsightsEntity clone() { + return (GoogleAdsSearchads360V23CommonAudienceInsightsEntity) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAudienceInsightsLineup.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAudienceInsightsLineup.java new file mode 100644 index 00000000000..f55a92195af --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAudienceInsightsLineup.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A YouTube Lineup. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonAudienceInsightsLineup extends com.google.api.client.json.GenericJson { + + /** + * Required. The numeric ID of the lineup. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String lineupId; + + /** + * Required. The numeric ID of the lineup. + * @return value or {@code null} for none + */ + public java.lang.String getLineupId() { + return lineupId; + } + + /** + * Required. The numeric ID of the lineup. + * @param lineupId lineupId or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAudienceInsightsLineup setLineupId(java.lang.String lineupId) { + this.lineupId = lineupId; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonAudienceInsightsLineup set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonAudienceInsightsLineup) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonAudienceInsightsLineup clone() { + return (GoogleAdsSearchads360V23CommonAudienceInsightsLineup) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAudienceSegment.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAudienceSegment.java new file mode 100644 index 00000000000..e4cb7bd1d20 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAudienceSegment.java @@ -0,0 +1,163 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Positive audience segment. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonAudienceSegment extends com.google.api.client.json.GenericJson { + + /** + * Custom audience segment. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonCustomAudienceSegment customAudience; + + /** + * Detailed demographic segment. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonDetailedDemographicSegment detailedDemographic; + + /** + * Live-event audience segment. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonLifeEventSegment lifeEvent; + + /** + * Affinity or In-market segment. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonUserInterestSegment userInterest; + + /** + * User list segment. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonUserListSegment userList; + + /** + * Custom audience segment. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCustomAudienceSegment getCustomAudience() { + return customAudience; + } + + /** + * Custom audience segment. + * @param customAudience customAudience or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAudienceSegment setCustomAudience(GoogleAdsSearchads360V23CommonCustomAudienceSegment customAudience) { + this.customAudience = customAudience; + return this; + } + + /** + * Detailed demographic segment. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDetailedDemographicSegment getDetailedDemographic() { + return detailedDemographic; + } + + /** + * Detailed demographic segment. + * @param detailedDemographic detailedDemographic or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAudienceSegment setDetailedDemographic(GoogleAdsSearchads360V23CommonDetailedDemographicSegment detailedDemographic) { + this.detailedDemographic = detailedDemographic; + return this; + } + + /** + * Live-event audience segment. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLifeEventSegment getLifeEvent() { + return lifeEvent; + } + + /** + * Live-event audience segment. + * @param lifeEvent lifeEvent or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAudienceSegment setLifeEvent(GoogleAdsSearchads360V23CommonLifeEventSegment lifeEvent) { + this.lifeEvent = lifeEvent; + return this; + } + + /** + * Affinity or In-market segment. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUserInterestSegment getUserInterest() { + return userInterest; + } + + /** + * Affinity or In-market segment. + * @param userInterest userInterest or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAudienceSegment setUserInterest(GoogleAdsSearchads360V23CommonUserInterestSegment userInterest) { + this.userInterest = userInterest; + return this; + } + + /** + * User list segment. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUserListSegment getUserList() { + return userList; + } + + /** + * User list segment. + * @param userList userList or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAudienceSegment setUserList(GoogleAdsSearchads360V23CommonUserListSegment userList) { + this.userList = userList; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonAudienceSegment set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonAudienceSegment) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonAudienceSegment clone() { + return (GoogleAdsSearchads360V23CommonAudienceSegment) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAudienceSegmentDimension.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAudienceSegmentDimension.java new file mode 100644 index 00000000000..0325e1cd7d1 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonAudienceSegmentDimension.java @@ -0,0 +1,73 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Dimension specifying users by their membership in other audience segments. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonAudienceSegmentDimension extends com.google.api.client.json.GenericJson { + + /** + * Included audience segments. Users are included if they belong to at least one segment. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List segments; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonAudienceSegment used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonAudienceSegment.class); + } + + /** + * Included audience segments. Users are included if they belong to at least one segment. + * @return value or {@code null} for none + */ + public java.util.List getSegments() { + return segments; + } + + /** + * Included audience segments. Users are included if they belong to at least one segment. + * @param segments segments or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAudienceSegmentDimension setSegments(java.util.List segments) { + this.segments = segments; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonAudienceSegmentDimension set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonAudienceSegmentDimension) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonAudienceSegmentDimension clone() { + return (GoogleAdsSearchads360V23CommonAudienceSegmentDimension) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonBasicUserListInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonBasicUserListInfo.java new file mode 100644 index 00000000000..8dfcefc1e0e --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonBasicUserListInfo.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Model definition for GoogleAdsSearchads360V23CommonBasicUserListInfo. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonBasicUserListInfo extends com.google.api.client.json.GenericJson { + + /** + * Actions associated with this user list. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List actions; + + /** + * Actions associated with this user list. + * @return value or {@code null} for none + */ + public java.util.List getActions() { + return actions; + } + + /** + * Actions associated with this user list. + * @param actions actions or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonBasicUserListInfo setActions(java.util.List actions) { + this.actions = actions; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonBasicUserListInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonBasicUserListInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonBasicUserListInfo clone() { + return (GoogleAdsSearchads360V23CommonBasicUserListInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonBookOnGoogleAsset.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonBookOnGoogleAsset.java new file mode 100644 index 00000000000..e5035b9e55f --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonBookOnGoogleAsset.java @@ -0,0 +1,44 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A Book on Google asset. Used to redirect user to book through Google. Book on Google will change + * the redirect url to book directly through Google. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonBookOnGoogleAsset extends com.google.api.client.json.GenericJson { + + @Override + public GoogleAdsSearchads360V23CommonBookOnGoogleAsset set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonBookOnGoogleAsset) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonBookOnGoogleAsset clone() { + return (GoogleAdsSearchads360V23CommonBookOnGoogleAsset) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonBrandInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonBrandInfo.java new file mode 100644 index 00000000000..5f9108bd80a --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonBrandInfo.java @@ -0,0 +1,163 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Represents a Brand Criterion used for targeting based on commercial knowledge graph. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonBrandInfo extends com.google.api.client.json.GenericJson { + + /** + * Output only. A text representation of a brand. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String displayName; + + /** + * The Commercial KG MID for the brand. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String entityId; + + /** + * Output only. The primary url of a brand. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String primaryUrl; + + /** + * Output only. The rejection reason when a brand status is REJECTED. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String rejectionReason; + + /** + * Output only. The status of a brand. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String status; + + /** + * Output only. A text representation of a brand. + * @return value or {@code null} for none + */ + public java.lang.String getDisplayName() { + return displayName; + } + + /** + * Output only. A text representation of a brand. + * @param displayName displayName or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonBrandInfo setDisplayName(java.lang.String displayName) { + this.displayName = displayName; + return this; + } + + /** + * The Commercial KG MID for the brand. + * @return value or {@code null} for none + */ + public java.lang.String getEntityId() { + return entityId; + } + + /** + * The Commercial KG MID for the brand. + * @param entityId entityId or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonBrandInfo setEntityId(java.lang.String entityId) { + this.entityId = entityId; + return this; + } + + /** + * Output only. The primary url of a brand. + * @return value or {@code null} for none + */ + public java.lang.String getPrimaryUrl() { + return primaryUrl; + } + + /** + * Output only. The primary url of a brand. + * @param primaryUrl primaryUrl or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonBrandInfo setPrimaryUrl(java.lang.String primaryUrl) { + this.primaryUrl = primaryUrl; + return this; + } + + /** + * Output only. The rejection reason when a brand status is REJECTED. + * @return value or {@code null} for none + */ + public java.lang.String getRejectionReason() { + return rejectionReason; + } + + /** + * Output only. The rejection reason when a brand status is REJECTED. + * @param rejectionReason rejectionReason or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonBrandInfo setRejectionReason(java.lang.String rejectionReason) { + this.rejectionReason = rejectionReason; + return this; + } + + /** + * Output only. The status of a brand. + * @return value or {@code null} for none + */ + public java.lang.String getStatus() { + return status; + } + + /** + * Output only. The status of a brand. + * @param status status or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonBrandInfo setStatus(java.lang.String status) { + this.status = status; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonBrandInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonBrandInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonBrandInfo clone() { + return (GoogleAdsSearchads360V23CommonBrandInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonBrandListInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonBrandListInfo.java new file mode 100644 index 00000000000..30d7846b232 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonBrandListInfo.java @@ -0,0 +1,68 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A Brand List Criterion is used to specify a list of brands. The list is represented as a + * SharedSet id type BRAND_HINT. A criterion of this type can be either targeted or excluded. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonBrandListInfo extends com.google.api.client.json.GenericJson { + + /** + * Shared set resource name of the brand list. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String sharedSet; + + /** + * Shared set resource name of the brand list. + * @return value or {@code null} for none + */ + public java.lang.String getSharedSet() { + return sharedSet; + } + + /** + * Shared set resource name of the brand list. + * @param sharedSet sharedSet or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonBrandListInfo setSharedSet(java.lang.String sharedSet) { + this.sharedSet = sharedSet; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonBrandListInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonBrandListInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonBrandListInfo clone() { + return (GoogleAdsSearchads360V23CommonBrandListInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonBudgetSimulationPoint.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonBudgetSimulationPoint.java new file mode 100644 index 00000000000..1cd6097ac57 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonBudgetSimulationPoint.java @@ -0,0 +1,268 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Projected metrics for a specific budget amount. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonBudgetSimulationPoint extends com.google.api.client.json.GenericJson { + + /** + * Projected number of biddable conversions. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double biddableConversions; + + /** + * Projected total value of biddable conversions. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double biddableConversionsValue; + + /** + * The simulated budget upon which projected metrics are based. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long budgetAmountMicros; + + /** + * Projected number of clicks. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long clicks; + + /** + * Projected cost in micros. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long costMicros; + + /** + * Projected number of impressions. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long impressions; + + /** + * Projected number of interactions. Only discovery advertising channel type supports this field. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long interactions; + + /** + * Projected required daily cpc bid ceiling that the advertiser must set to realize this + * simulation, in micros of the advertiser currency. Only campaigns with the Target Spend bidding + * strategy support this field. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long requiredCpcBidCeilingMicros; + + /** + * Projected number of top slot impressions. Only search advertising channel type supports this + * field. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long topSlotImpressions; + + /** + * Projected number of biddable conversions. + * @return value or {@code null} for none + */ + public java.lang.Double getBiddableConversions() { + return biddableConversions; + } + + /** + * Projected number of biddable conversions. + * @param biddableConversions biddableConversions or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonBudgetSimulationPoint setBiddableConversions(java.lang.Double biddableConversions) { + this.biddableConversions = biddableConversions; + return this; + } + + /** + * Projected total value of biddable conversions. + * @return value or {@code null} for none + */ + public java.lang.Double getBiddableConversionsValue() { + return biddableConversionsValue; + } + + /** + * Projected total value of biddable conversions. + * @param biddableConversionsValue biddableConversionsValue or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonBudgetSimulationPoint setBiddableConversionsValue(java.lang.Double biddableConversionsValue) { + this.biddableConversionsValue = biddableConversionsValue; + return this; + } + + /** + * The simulated budget upon which projected metrics are based. + * @return value or {@code null} for none + */ + public java.lang.Long getBudgetAmountMicros() { + return budgetAmountMicros; + } + + /** + * The simulated budget upon which projected metrics are based. + * @param budgetAmountMicros budgetAmountMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonBudgetSimulationPoint setBudgetAmountMicros(java.lang.Long budgetAmountMicros) { + this.budgetAmountMicros = budgetAmountMicros; + return this; + } + + /** + * Projected number of clicks. + * @return value or {@code null} for none + */ + public java.lang.Long getClicks() { + return clicks; + } + + /** + * Projected number of clicks. + * @param clicks clicks or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonBudgetSimulationPoint setClicks(java.lang.Long clicks) { + this.clicks = clicks; + return this; + } + + /** + * Projected cost in micros. + * @return value or {@code null} for none + */ + public java.lang.Long getCostMicros() { + return costMicros; + } + + /** + * Projected cost in micros. + * @param costMicros costMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonBudgetSimulationPoint setCostMicros(java.lang.Long costMicros) { + this.costMicros = costMicros; + return this; + } + + /** + * Projected number of impressions. + * @return value or {@code null} for none + */ + public java.lang.Long getImpressions() { + return impressions; + } + + /** + * Projected number of impressions. + * @param impressions impressions or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonBudgetSimulationPoint setImpressions(java.lang.Long impressions) { + this.impressions = impressions; + return this; + } + + /** + * Projected number of interactions. Only discovery advertising channel type supports this field. + * @return value or {@code null} for none + */ + public java.lang.Long getInteractions() { + return interactions; + } + + /** + * Projected number of interactions. Only discovery advertising channel type supports this field. + * @param interactions interactions or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonBudgetSimulationPoint setInteractions(java.lang.Long interactions) { + this.interactions = interactions; + return this; + } + + /** + * Projected required daily cpc bid ceiling that the advertiser must set to realize this + * simulation, in micros of the advertiser currency. Only campaigns with the Target Spend bidding + * strategy support this field. + * @return value or {@code null} for none + */ + public java.lang.Long getRequiredCpcBidCeilingMicros() { + return requiredCpcBidCeilingMicros; + } + + /** + * Projected required daily cpc bid ceiling that the advertiser must set to realize this + * simulation, in micros of the advertiser currency. Only campaigns with the Target Spend bidding + * strategy support this field. + * @param requiredCpcBidCeilingMicros requiredCpcBidCeilingMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonBudgetSimulationPoint setRequiredCpcBidCeilingMicros(java.lang.Long requiredCpcBidCeilingMicros) { + this.requiredCpcBidCeilingMicros = requiredCpcBidCeilingMicros; + return this; + } + + /** + * Projected number of top slot impressions. Only search advertising channel type supports this + * field. + * @return value or {@code null} for none + */ + public java.lang.Long getTopSlotImpressions() { + return topSlotImpressions; + } + + /** + * Projected number of top slot impressions. Only search advertising channel type supports this + * field. + * @param topSlotImpressions topSlotImpressions or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonBudgetSimulationPoint setTopSlotImpressions(java.lang.Long topSlotImpressions) { + this.topSlotImpressions = topSlotImpressions; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonBudgetSimulationPoint set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonBudgetSimulationPoint) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonBudgetSimulationPoint clone() { + return (GoogleAdsSearchads360V23CommonBudgetSimulationPoint) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonBudgetSimulationPointList.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonBudgetSimulationPointList.java new file mode 100644 index 00000000000..19e58026803 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonBudgetSimulationPointList.java @@ -0,0 +1,73 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A container for simulation points for simulations of type BUDGET. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonBudgetSimulationPointList extends com.google.api.client.json.GenericJson { + + /** + * Projected metrics for a series of budget amounts. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List points; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonBudgetSimulationPoint used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonBudgetSimulationPoint.class); + } + + /** + * Projected metrics for a series of budget amounts. + * @return value or {@code null} for none + */ + public java.util.List getPoints() { + return points; + } + + /** + * Projected metrics for a series of budget amounts. + * @param points points or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonBudgetSimulationPointList setPoints(java.util.List points) { + this.points = points; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonBudgetSimulationPointList set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonBudgetSimulationPointList) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonBudgetSimulationPointList clone() { + return (GoogleAdsSearchads360V23CommonBudgetSimulationPointList) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonBusinessMessageAsset.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonBusinessMessageAsset.java new file mode 100644 index 00000000000..15468c32810 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonBusinessMessageAsset.java @@ -0,0 +1,187 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A business message asset. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonBusinessMessageAsset extends com.google.api.client.json.GenericJson { + + /** + * A call to action for the business message asset. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonBusinessMessageCallToActionInfo callToAction; + + /** + * Facebook Messenger. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonFacebookMessengerBusinessMessageInfo facebookMessengerInfo; + + /** + * Required. Message provider of the business message asset. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String messageProvider; + + /** + * Required. A welcome message to prompt the user to initiate a conversation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String starterMessage; + + /** + * Whatsapp. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonWhatsappBusinessMessageInfo whatsappInfo; + + /** + * Zalo. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonZaloBusinessMessageInfo zaloInfo; + + /** + * A call to action for the business message asset. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonBusinessMessageCallToActionInfo getCallToAction() { + return callToAction; + } + + /** + * A call to action for the business message asset. + * @param callToAction callToAction or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonBusinessMessageAsset setCallToAction(GoogleAdsSearchads360V23CommonBusinessMessageCallToActionInfo callToAction) { + this.callToAction = callToAction; + return this; + } + + /** + * Facebook Messenger. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonFacebookMessengerBusinessMessageInfo getFacebookMessengerInfo() { + return facebookMessengerInfo; + } + + /** + * Facebook Messenger. + * @param facebookMessengerInfo facebookMessengerInfo or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonBusinessMessageAsset setFacebookMessengerInfo(GoogleAdsSearchads360V23CommonFacebookMessengerBusinessMessageInfo facebookMessengerInfo) { + this.facebookMessengerInfo = facebookMessengerInfo; + return this; + } + + /** + * Required. Message provider of the business message asset. + * @return value or {@code null} for none + */ + public java.lang.String getMessageProvider() { + return messageProvider; + } + + /** + * Required. Message provider of the business message asset. + * @param messageProvider messageProvider or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonBusinessMessageAsset setMessageProvider(java.lang.String messageProvider) { + this.messageProvider = messageProvider; + return this; + } + + /** + * Required. A welcome message to prompt the user to initiate a conversation. + * @return value or {@code null} for none + */ + public java.lang.String getStarterMessage() { + return starterMessage; + } + + /** + * Required. A welcome message to prompt the user to initiate a conversation. + * @param starterMessage starterMessage or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonBusinessMessageAsset setStarterMessage(java.lang.String starterMessage) { + this.starterMessage = starterMessage; + return this; + } + + /** + * Whatsapp. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonWhatsappBusinessMessageInfo getWhatsappInfo() { + return whatsappInfo; + } + + /** + * Whatsapp. + * @param whatsappInfo whatsappInfo or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonBusinessMessageAsset setWhatsappInfo(GoogleAdsSearchads360V23CommonWhatsappBusinessMessageInfo whatsappInfo) { + this.whatsappInfo = whatsappInfo; + return this; + } + + /** + * Zalo. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonZaloBusinessMessageInfo getZaloInfo() { + return zaloInfo; + } + + /** + * Zalo. + * @param zaloInfo zaloInfo or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonBusinessMessageAsset setZaloInfo(GoogleAdsSearchads360V23CommonZaloBusinessMessageInfo zaloInfo) { + this.zaloInfo = zaloInfo; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonBusinessMessageAsset set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonBusinessMessageAsset) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonBusinessMessageAsset clone() { + return (GoogleAdsSearchads360V23CommonBusinessMessageAsset) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonBusinessMessageCallToActionInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonBusinessMessageCallToActionInfo.java new file mode 100644 index 00000000000..e85e540329b --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonBusinessMessageCallToActionInfo.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Display information that encourages the user to take action. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonBusinessMessageCallToActionInfo extends com.google.api.client.json.GenericJson { + + /** + * Required. Text providing a clear value proposition of what users expect once they take the + * action. Examples: 'Message us for a quote', 'Ask our expert team'. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String callToActionDescription; + + /** + * Required. Pre-defined call to action text. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String callToActionSelection; + + /** + * Required. Text providing a clear value proposition of what users expect once they take the + * action. Examples: 'Message us for a quote', 'Ask our expert team'. + * @return value or {@code null} for none + */ + public java.lang.String getCallToActionDescription() { + return callToActionDescription; + } + + /** + * Required. Text providing a clear value proposition of what users expect once they take the + * action. Examples: 'Message us for a quote', 'Ask our expert team'. + * @param callToActionDescription callToActionDescription or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonBusinessMessageCallToActionInfo setCallToActionDescription(java.lang.String callToActionDescription) { + this.callToActionDescription = callToActionDescription; + return this; + } + + /** + * Required. Pre-defined call to action text. + * @return value or {@code null} for none + */ + public java.lang.String getCallToActionSelection() { + return callToActionSelection; + } + + /** + * Required. Pre-defined call to action text. + * @param callToActionSelection callToActionSelection or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonBusinessMessageCallToActionInfo setCallToActionSelection(java.lang.String callToActionSelection) { + this.callToActionSelection = callToActionSelection; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonBusinessMessageCallToActionInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonBusinessMessageCallToActionInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonBusinessMessageCallToActionInfo clone() { + return (GoogleAdsSearchads360V23CommonBusinessMessageCallToActionInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonBusinessProfileBusinessNameFilter.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonBusinessProfileBusinessNameFilter.java new file mode 100644 index 00000000000..e44f039dfe9 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonBusinessProfileBusinessNameFilter.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Business Profile location group business name filter. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonBusinessProfileBusinessNameFilter extends com.google.api.client.json.GenericJson { + + /** + * Business name string to use for filtering. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String businessName; + + /** + * The type of string matching to use when filtering with business_name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String filterType; + + /** + * Business name string to use for filtering. + * @return value or {@code null} for none + */ + public java.lang.String getBusinessName() { + return businessName; + } + + /** + * Business name string to use for filtering. + * @param businessName businessName or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonBusinessProfileBusinessNameFilter setBusinessName(java.lang.String businessName) { + this.businessName = businessName; + return this; + } + + /** + * The type of string matching to use when filtering with business_name. + * @return value or {@code null} for none + */ + public java.lang.String getFilterType() { + return filterType; + } + + /** + * The type of string matching to use when filtering with business_name. + * @param filterType filterType or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonBusinessProfileBusinessNameFilter setFilterType(java.lang.String filterType) { + this.filterType = filterType; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonBusinessProfileBusinessNameFilter set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonBusinessProfileBusinessNameFilter) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonBusinessProfileBusinessNameFilter clone() { + return (GoogleAdsSearchads360V23CommonBusinessProfileBusinessNameFilter) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonBusinessProfileLocation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonBusinessProfileLocation.java new file mode 100644 index 00000000000..6038b324c07 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonBusinessProfileLocation.java @@ -0,0 +1,121 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Business Profile location data synced from the linked Business Profile account. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonBusinessProfileLocation extends com.google.api.client.json.GenericJson { + + /** + * Advertiser specified label for the location on the Business Profile account. This is synced + * from the Business Profile account. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List labels; + + /** + * Listing ID of this Business Profile location. This is synced from the linked Business Profile + * account. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long listingId; + + /** + * Business Profile store code of this location. This is synced from the Business Profile account. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String storeCode; + + /** + * Advertiser specified label for the location on the Business Profile account. This is synced + * from the Business Profile account. + * @return value or {@code null} for none + */ + public java.util.List getLabels() { + return labels; + } + + /** + * Advertiser specified label for the location on the Business Profile account. This is synced + * from the Business Profile account. + * @param labels labels or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonBusinessProfileLocation setLabels(java.util.List labels) { + this.labels = labels; + return this; + } + + /** + * Listing ID of this Business Profile location. This is synced from the linked Business Profile + * account. + * @return value or {@code null} for none + */ + public java.lang.Long getListingId() { + return listingId; + } + + /** + * Listing ID of this Business Profile location. This is synced from the linked Business Profile + * account. + * @param listingId listingId or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonBusinessProfileLocation setListingId(java.lang.Long listingId) { + this.listingId = listingId; + return this; + } + + /** + * Business Profile store code of this location. This is synced from the Business Profile account. + * @return value or {@code null} for none + */ + public java.lang.String getStoreCode() { + return storeCode; + } + + /** + * Business Profile store code of this location. This is synced from the Business Profile account. + * @param storeCode storeCode or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonBusinessProfileLocation setStoreCode(java.lang.String storeCode) { + this.storeCode = storeCode; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonBusinessProfileLocation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonBusinessProfileLocation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonBusinessProfileLocation clone() { + return (GoogleAdsSearchads360V23CommonBusinessProfileLocation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonBusinessProfileLocationGroup.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonBusinessProfileLocationGroup.java new file mode 100644 index 00000000000..51901e3c725 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonBusinessProfileLocationGroup.java @@ -0,0 +1,68 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Information about a Business Profile dynamic location group. Only applicable if the sync level + * AssetSet's type is LOCATION_SYNC and sync source is Business Profile. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonBusinessProfileLocationGroup extends com.google.api.client.json.GenericJson { + + /** + * Filter for dynamic Business Profile location sets. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonDynamicBusinessProfileLocationGroupFilter dynamicBusinessProfileLocationGroupFilter; + + /** + * Filter for dynamic Business Profile location sets. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicBusinessProfileLocationGroupFilter getDynamicBusinessProfileLocationGroupFilter() { + return dynamicBusinessProfileLocationGroupFilter; + } + + /** + * Filter for dynamic Business Profile location sets. + * @param dynamicBusinessProfileLocationGroupFilter dynamicBusinessProfileLocationGroupFilter or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonBusinessProfileLocationGroup setDynamicBusinessProfileLocationGroupFilter(GoogleAdsSearchads360V23CommonDynamicBusinessProfileLocationGroupFilter dynamicBusinessProfileLocationGroupFilter) { + this.dynamicBusinessProfileLocationGroupFilter = dynamicBusinessProfileLocationGroupFilter; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonBusinessProfileLocationGroup set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonBusinessProfileLocationGroup) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonBusinessProfileLocationGroup clone() { + return (GoogleAdsSearchads360V23CommonBusinessProfileLocationGroup) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonBusinessProfileLocationSet.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonBusinessProfileLocationSet.java new file mode 100644 index 00000000000..91396d6e024 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonBusinessProfileLocationSet.java @@ -0,0 +1,218 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Data used to configure a location set populated from Google Business Profile locations. Different + * types of filters are AND'ed together, if they are specified. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonBusinessProfileLocationSet extends com.google.api.client.json.GenericJson { + + /** + * Immutable. The account ID of the managed business whose locations are to be used. If this field + * is not set, then all businesses accessible by the user (specified by the emailAddress) are + * used. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String businessAccountId; + + /** + * Used to filter Google Business Profile listings by business name. If businessNameFilter is set, + * only listings with a matching business name are candidates to be sync'd into Assets. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String businessNameFilter; + + /** + * Required. Immutable. Email address of a Google Business Profile account or email address of a + * manager of the Google Business Profile account. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String emailAddress; + + /** + * Required. Immutable. The HTTP authorization token used to obtain authorization. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String httpAuthorizationToken; + + /** + * Used to filter Google Business Profile listings by labels. If entries exist in labelFilters, + * only listings that have any of the labels set are candidates to be synchronized into Assets. If + * no entries exist in labelFilters, then all listings are candidates for syncing. Label filters + * are OR'ed together. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List labelFilters; + + /** + * Used to filter Google Business Profile listings by listing id. If entries exist in + * listingIdFilters, only listings specified by the filters are candidates to be synchronized into + * Assets. If no entries exist in listingIdFilters, then all listings are candidates for syncing. + * Listing ID filters are OR'ed together. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.util.List listingIdFilters; + + /** + * Immutable. The account ID of the managed business whose locations are to be used. If this field + * is not set, then all businesses accessible by the user (specified by the emailAddress) are + * used. + * @return value or {@code null} for none + */ + public java.lang.String getBusinessAccountId() { + return businessAccountId; + } + + /** + * Immutable. The account ID of the managed business whose locations are to be used. If this field + * is not set, then all businesses accessible by the user (specified by the emailAddress) are + * used. + * @param businessAccountId businessAccountId or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonBusinessProfileLocationSet setBusinessAccountId(java.lang.String businessAccountId) { + this.businessAccountId = businessAccountId; + return this; + } + + /** + * Used to filter Google Business Profile listings by business name. If businessNameFilter is set, + * only listings with a matching business name are candidates to be sync'd into Assets. + * @return value or {@code null} for none + */ + public java.lang.String getBusinessNameFilter() { + return businessNameFilter; + } + + /** + * Used to filter Google Business Profile listings by business name. If businessNameFilter is set, + * only listings with a matching business name are candidates to be sync'd into Assets. + * @param businessNameFilter businessNameFilter or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonBusinessProfileLocationSet setBusinessNameFilter(java.lang.String businessNameFilter) { + this.businessNameFilter = businessNameFilter; + return this; + } + + /** + * Required. Immutable. Email address of a Google Business Profile account or email address of a + * manager of the Google Business Profile account. + * @return value or {@code null} for none + */ + public java.lang.String getEmailAddress() { + return emailAddress; + } + + /** + * Required. Immutable. Email address of a Google Business Profile account or email address of a + * manager of the Google Business Profile account. + * @param emailAddress emailAddress or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonBusinessProfileLocationSet setEmailAddress(java.lang.String emailAddress) { + this.emailAddress = emailAddress; + return this; + } + + /** + * Required. Immutable. The HTTP authorization token used to obtain authorization. + * @return value or {@code null} for none + */ + public java.lang.String getHttpAuthorizationToken() { + return httpAuthorizationToken; + } + + /** + * Required. Immutable. The HTTP authorization token used to obtain authorization. + * @param httpAuthorizationToken httpAuthorizationToken or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonBusinessProfileLocationSet setHttpAuthorizationToken(java.lang.String httpAuthorizationToken) { + this.httpAuthorizationToken = httpAuthorizationToken; + return this; + } + + /** + * Used to filter Google Business Profile listings by labels. If entries exist in labelFilters, + * only listings that have any of the labels set are candidates to be synchronized into Assets. If + * no entries exist in labelFilters, then all listings are candidates for syncing. Label filters + * are OR'ed together. + * @return value or {@code null} for none + */ + public java.util.List getLabelFilters() { + return labelFilters; + } + + /** + * Used to filter Google Business Profile listings by labels. If entries exist in labelFilters, + * only listings that have any of the labels set are candidates to be synchronized into Assets. If + * no entries exist in labelFilters, then all listings are candidates for syncing. Label filters + * are OR'ed together. + * @param labelFilters labelFilters or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonBusinessProfileLocationSet setLabelFilters(java.util.List labelFilters) { + this.labelFilters = labelFilters; + return this; + } + + /** + * Used to filter Google Business Profile listings by listing id. If entries exist in + * listingIdFilters, only listings specified by the filters are candidates to be synchronized into + * Assets. If no entries exist in listingIdFilters, then all listings are candidates for syncing. + * Listing ID filters are OR'ed together. + * @return value or {@code null} for none + */ + public java.util.List getListingIdFilters() { + return listingIdFilters; + } + + /** + * Used to filter Google Business Profile listings by listing id. If entries exist in + * listingIdFilters, only listings specified by the filters are candidates to be synchronized into + * Assets. If no entries exist in listingIdFilters, then all listings are candidates for syncing. + * Listing ID filters are OR'ed together. + * @param listingIdFilters listingIdFilters or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonBusinessProfileLocationSet setListingIdFilters(java.util.List listingIdFilters) { + this.listingIdFilters = listingIdFilters; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonBusinessProfileLocationSet set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonBusinessProfileLocationSet) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonBusinessProfileLocationSet clone() { + return (GoogleAdsSearchads360V23CommonBusinessProfileLocationSet) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCallAsset.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCallAsset.java new file mode 100644 index 00000000000..749857c4810 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCallAsset.java @@ -0,0 +1,181 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A Call asset. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonCallAsset extends com.google.api.client.json.GenericJson { + + /** + * List of non-overlapping schedules specifying all time intervals for which the asset may serve. + * There can be a maximum of 6 schedules per day, 42 in total. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List adScheduleTargets; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonAdScheduleInfo used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonAdScheduleInfo.class); + } + + /** + * The conversion action to attribute a call conversion to. If not set, the default conversion + * action is used. This field only has effect if call_conversion_reporting_state is set to + * USE_RESOURCE_LEVEL_CALL_CONVERSION_ACTION. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String callConversionAction; + + /** + * Indicates whether this CallAsset should use its own call conversion setting, follow the account + * level setting, or disable call conversion. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String callConversionReportingState; + + /** + * Required. Two-letter country code of the phone number. Examples: 'US', 'us'. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String countryCode; + + /** + * Required. The advertiser's raw phone number. Examples: '1234567890', '(123)456-7890' + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String phoneNumber; + + /** + * List of non-overlapping schedules specifying all time intervals for which the asset may serve. + * There can be a maximum of 6 schedules per day, 42 in total. + * @return value or {@code null} for none + */ + public java.util.List getAdScheduleTargets() { + return adScheduleTargets; + } + + /** + * List of non-overlapping schedules specifying all time intervals for which the asset may serve. + * There can be a maximum of 6 schedules per day, 42 in total. + * @param adScheduleTargets adScheduleTargets or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCallAsset setAdScheduleTargets(java.util.List adScheduleTargets) { + this.adScheduleTargets = adScheduleTargets; + return this; + } + + /** + * The conversion action to attribute a call conversion to. If not set, the default conversion + * action is used. This field only has effect if call_conversion_reporting_state is set to + * USE_RESOURCE_LEVEL_CALL_CONVERSION_ACTION. + * @return value or {@code null} for none + */ + public java.lang.String getCallConversionAction() { + return callConversionAction; + } + + /** + * The conversion action to attribute a call conversion to. If not set, the default conversion + * action is used. This field only has effect if call_conversion_reporting_state is set to + * USE_RESOURCE_LEVEL_CALL_CONVERSION_ACTION. + * @param callConversionAction callConversionAction or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCallAsset setCallConversionAction(java.lang.String callConversionAction) { + this.callConversionAction = callConversionAction; + return this; + } + + /** + * Indicates whether this CallAsset should use its own call conversion setting, follow the account + * level setting, or disable call conversion. + * @return value or {@code null} for none + */ + public java.lang.String getCallConversionReportingState() { + return callConversionReportingState; + } + + /** + * Indicates whether this CallAsset should use its own call conversion setting, follow the account + * level setting, or disable call conversion. + * @param callConversionReportingState callConversionReportingState or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCallAsset setCallConversionReportingState(java.lang.String callConversionReportingState) { + this.callConversionReportingState = callConversionReportingState; + return this; + } + + /** + * Required. Two-letter country code of the phone number. Examples: 'US', 'us'. + * @return value or {@code null} for none + */ + public java.lang.String getCountryCode() { + return countryCode; + } + + /** + * Required. Two-letter country code of the phone number. Examples: 'US', 'us'. + * @param countryCode countryCode or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCallAsset setCountryCode(java.lang.String countryCode) { + this.countryCode = countryCode; + return this; + } + + /** + * Required. The advertiser's raw phone number. Examples: '1234567890', '(123)456-7890' + * @return value or {@code null} for none + */ + public java.lang.String getPhoneNumber() { + return phoneNumber; + } + + /** + * Required. The advertiser's raw phone number. Examples: '1234567890', '(123)456-7890' + * @param phoneNumber phoneNumber or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCallAsset setPhoneNumber(java.lang.String phoneNumber) { + this.phoneNumber = phoneNumber; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonCallAsset set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonCallAsset) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonCallAsset clone() { + return (GoogleAdsSearchads360V23CommonCallAsset) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCallFeedItem.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCallFeedItem.java new file mode 100644 index 00000000000..187cdb22648 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCallFeedItem.java @@ -0,0 +1,202 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Represents a Call extension. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonCallFeedItem extends com.google.api.client.json.GenericJson { + + /** + * The conversion action to attribute a call conversion to. If not set a default conversion action + * is used. This field only has effect if call_tracking_enabled is set to true. Otherwise this + * field is ignored. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String callConversionAction; + + /** + * Enum value that indicates whether this call extension uses its own call conversion setting (or + * just have call conversion disabled), or following the account level setting. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String callConversionReportingState; + + /** + * If true, disable call conversion tracking. call_conversion_action should not be set if this is + * true. Optional. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean callConversionTrackingDisabled; + + /** + * Indicates whether call tracking is enabled. By default, call tracking is not enabled. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean callTrackingEnabled; + + /** + * Uppercase two-letter country code of the advertiser's phone number. This string must not be + * empty. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String countryCode; + + /** + * The advertiser's phone number to append to the ad. This string must not be empty. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String phoneNumber; + + /** + * The conversion action to attribute a call conversion to. If not set a default conversion action + * is used. This field only has effect if call_tracking_enabled is set to true. Otherwise this + * field is ignored. + * @return value or {@code null} for none + */ + public java.lang.String getCallConversionAction() { + return callConversionAction; + } + + /** + * The conversion action to attribute a call conversion to. If not set a default conversion action + * is used. This field only has effect if call_tracking_enabled is set to true. Otherwise this + * field is ignored. + * @param callConversionAction callConversionAction or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCallFeedItem setCallConversionAction(java.lang.String callConversionAction) { + this.callConversionAction = callConversionAction; + return this; + } + + /** + * Enum value that indicates whether this call extension uses its own call conversion setting (or + * just have call conversion disabled), or following the account level setting. + * @return value or {@code null} for none + */ + public java.lang.String getCallConversionReportingState() { + return callConversionReportingState; + } + + /** + * Enum value that indicates whether this call extension uses its own call conversion setting (or + * just have call conversion disabled), or following the account level setting. + * @param callConversionReportingState callConversionReportingState or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCallFeedItem setCallConversionReportingState(java.lang.String callConversionReportingState) { + this.callConversionReportingState = callConversionReportingState; + return this; + } + + /** + * If true, disable call conversion tracking. call_conversion_action should not be set if this is + * true. Optional. + * @return value or {@code null} for none + */ + public java.lang.Boolean getCallConversionTrackingDisabled() { + return callConversionTrackingDisabled; + } + + /** + * If true, disable call conversion tracking. call_conversion_action should not be set if this is + * true. Optional. + * @param callConversionTrackingDisabled callConversionTrackingDisabled or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCallFeedItem setCallConversionTrackingDisabled(java.lang.Boolean callConversionTrackingDisabled) { + this.callConversionTrackingDisabled = callConversionTrackingDisabled; + return this; + } + + /** + * Indicates whether call tracking is enabled. By default, call tracking is not enabled. + * @return value or {@code null} for none + */ + public java.lang.Boolean getCallTrackingEnabled() { + return callTrackingEnabled; + } + + /** + * Indicates whether call tracking is enabled. By default, call tracking is not enabled. + * @param callTrackingEnabled callTrackingEnabled or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCallFeedItem setCallTrackingEnabled(java.lang.Boolean callTrackingEnabled) { + this.callTrackingEnabled = callTrackingEnabled; + return this; + } + + /** + * Uppercase two-letter country code of the advertiser's phone number. This string must not be + * empty. + * @return value or {@code null} for none + */ + public java.lang.String getCountryCode() { + return countryCode; + } + + /** + * Uppercase two-letter country code of the advertiser's phone number. This string must not be + * empty. + * @param countryCode countryCode or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCallFeedItem setCountryCode(java.lang.String countryCode) { + this.countryCode = countryCode; + return this; + } + + /** + * The advertiser's phone number to append to the ad. This string must not be empty. + * @return value or {@code null} for none + */ + public java.lang.String getPhoneNumber() { + return phoneNumber; + } + + /** + * The advertiser's phone number to append to the ad. This string must not be empty. + * @param phoneNumber phoneNumber or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCallFeedItem setPhoneNumber(java.lang.String phoneNumber) { + this.phoneNumber = phoneNumber; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonCallFeedItem set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonCallFeedItem) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonCallFeedItem clone() { + return (GoogleAdsSearchads360V23CommonCallFeedItem) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCallToActionAsset.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCallToActionAsset.java new file mode 100644 index 00000000000..a3d64a71d06 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCallToActionAsset.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A call to action asset. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonCallToActionAsset extends com.google.api.client.json.GenericJson { + + /** + * Call to action. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String callToAction; + + /** + * Call to action. + * @return value or {@code null} for none + */ + public java.lang.String getCallToAction() { + return callToAction; + } + + /** + * Call to action. + * @param callToAction callToAction or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCallToActionAsset setCallToAction(java.lang.String callToAction) { + this.callToAction = callToAction; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonCallToActionAsset set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonCallToActionAsset) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonCallToActionAsset clone() { + return (GoogleAdsSearchads360V23CommonCallToActionAsset) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCalloutAsset.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCalloutAsset.java new file mode 100644 index 00000000000..1aad13a1b58 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCalloutAsset.java @@ -0,0 +1,148 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A Callout asset. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonCalloutAsset extends com.google.api.client.json.GenericJson { + + /** + * List of non-overlapping schedules specifying all time intervals for which the asset may serve. + * There can be a maximum of 6 schedules per day, 42 in total. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List adScheduleTargets; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonAdScheduleInfo used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonAdScheduleInfo.class); + } + + /** + * Required. The callout text. The length of this string should be between 1 and 25, inclusive. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String calloutText; + + /** + * Last date of when this asset is effective and still serving, in yyyy-MM-dd format. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String endDate; + + /** + * Start date of when this asset is effective and can begin serving, in yyyy-MM-dd format. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String startDate; + + /** + * List of non-overlapping schedules specifying all time intervals for which the asset may serve. + * There can be a maximum of 6 schedules per day, 42 in total. + * @return value or {@code null} for none + */ + public java.util.List getAdScheduleTargets() { + return adScheduleTargets; + } + + /** + * List of non-overlapping schedules specifying all time intervals for which the asset may serve. + * There can be a maximum of 6 schedules per day, 42 in total. + * @param adScheduleTargets adScheduleTargets or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCalloutAsset setAdScheduleTargets(java.util.List adScheduleTargets) { + this.adScheduleTargets = adScheduleTargets; + return this; + } + + /** + * Required. The callout text. The length of this string should be between 1 and 25, inclusive. + * @return value or {@code null} for none + */ + public java.lang.String getCalloutText() { + return calloutText; + } + + /** + * Required. The callout text. The length of this string should be between 1 and 25, inclusive. + * @param calloutText calloutText or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCalloutAsset setCalloutText(java.lang.String calloutText) { + this.calloutText = calloutText; + return this; + } + + /** + * Last date of when this asset is effective and still serving, in yyyy-MM-dd format. + * @return value or {@code null} for none + */ + public java.lang.String getEndDate() { + return endDate; + } + + /** + * Last date of when this asset is effective and still serving, in yyyy-MM-dd format. + * @param endDate endDate or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCalloutAsset setEndDate(java.lang.String endDate) { + this.endDate = endDate; + return this; + } + + /** + * Start date of when this asset is effective and can begin serving, in yyyy-MM-dd format. + * @return value or {@code null} for none + */ + public java.lang.String getStartDate() { + return startDate; + } + + /** + * Start date of when this asset is effective and can begin serving, in yyyy-MM-dd format. + * @param startDate startDate or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCalloutAsset setStartDate(java.lang.String startDate) { + this.startDate = startDate; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonCalloutAsset set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonCalloutAsset) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonCalloutAsset clone() { + return (GoogleAdsSearchads360V23CommonCalloutAsset) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCalloutFeedItem.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCalloutFeedItem.java new file mode 100644 index 00000000000..4365f538537 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCalloutFeedItem.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Represents a callout extension. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonCalloutFeedItem extends com.google.api.client.json.GenericJson { + + /** + * The callout text. The length of this string should be between 1 and 25, inclusive. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String calloutText; + + /** + * The callout text. The length of this string should be between 1 and 25, inclusive. + * @return value or {@code null} for none + */ + public java.lang.String getCalloutText() { + return calloutText; + } + + /** + * The callout text. The length of this string should be between 1 and 25, inclusive. + * @param calloutText calloutText or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCalloutFeedItem setCalloutText(java.lang.String calloutText) { + this.calloutText = calloutText; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonCalloutFeedItem set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonCalloutFeedItem) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonCalloutFeedItem clone() { + return (GoogleAdsSearchads360V23CommonCalloutFeedItem) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCampaignGoalSettingsCampaignRetentionGoalSettings.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCampaignGoalSettingsCampaignRetentionGoalSettings.java new file mode 100644 index 00000000000..3cf1001ac4e --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCampaignGoalSettingsCampaignRetentionGoalSettings.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Retention campaign goal settings. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonCampaignGoalSettingsCampaignRetentionGoalSettings extends com.google.api.client.json.GenericJson { + + /** + * Retention goal optimization mode for this campaign. Defaults to TARGET_ALL. Only customers on + * the allowlist can set target_option. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String targetOption; + + /** + * Retention goal campaign specific value settings. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonCustomerLifecycleOptimizationValueSettings valueSettingsOverride; + + /** + * Retention goal optimization mode for this campaign. Defaults to TARGET_ALL. Only customers on + * the allowlist can set target_option. + * @return value or {@code null} for none + */ + public java.lang.String getTargetOption() { + return targetOption; + } + + /** + * Retention goal optimization mode for this campaign. Defaults to TARGET_ALL. Only customers on + * the allowlist can set target_option. + * @param targetOption targetOption or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCampaignGoalSettingsCampaignRetentionGoalSettings setTargetOption(java.lang.String targetOption) { + this.targetOption = targetOption; + return this; + } + + /** + * Retention goal campaign specific value settings. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCustomerLifecycleOptimizationValueSettings getValueSettingsOverride() { + return valueSettingsOverride; + } + + /** + * Retention goal campaign specific value settings. + * @param valueSettingsOverride valueSettingsOverride or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCampaignGoalSettingsCampaignRetentionGoalSettings setValueSettingsOverride(GoogleAdsSearchads360V23CommonCustomerLifecycleOptimizationValueSettings valueSettingsOverride) { + this.valueSettingsOverride = valueSettingsOverride; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonCampaignGoalSettingsCampaignRetentionGoalSettings set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonCampaignGoalSettingsCampaignRetentionGoalSettings) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonCampaignGoalSettingsCampaignRetentionGoalSettings clone() { + return (GoogleAdsSearchads360V23CommonCampaignGoalSettingsCampaignRetentionGoalSettings) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCampaignThirdPartyBrandLiftIntegrationPartner.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCampaignThirdPartyBrandLiftIntegrationPartner.java new file mode 100644 index 00000000000..892e182f1fa --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCampaignThirdPartyBrandLiftIntegrationPartner.java @@ -0,0 +1,118 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Container for third party Brand Lift integration data for Campaign. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonCampaignThirdPartyBrandLiftIntegrationPartner extends com.google.api.client.json.GenericJson { + + /** + * Allowed third party integration partners for Brand Lift verification. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String brandLiftIntegrationPartner; + + /** + * Third party partner data for YouTube Brand Lift verification. This is optional metadata for + * partners to join or attach data to Ads campaigns. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonThirdPartyIntegrationPartnerData brandLiftIntegrationPartnerData; + + /** + * If true, then cost data will be shared with this vendor. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean shareCost; + + /** + * Allowed third party integration partners for Brand Lift verification. + * @return value or {@code null} for none + */ + public java.lang.String getBrandLiftIntegrationPartner() { + return brandLiftIntegrationPartner; + } + + /** + * Allowed third party integration partners for Brand Lift verification. + * @param brandLiftIntegrationPartner brandLiftIntegrationPartner or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCampaignThirdPartyBrandLiftIntegrationPartner setBrandLiftIntegrationPartner(java.lang.String brandLiftIntegrationPartner) { + this.brandLiftIntegrationPartner = brandLiftIntegrationPartner; + return this; + } + + /** + * Third party partner data for YouTube Brand Lift verification. This is optional metadata for + * partners to join or attach data to Ads campaigns. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonThirdPartyIntegrationPartnerData getBrandLiftIntegrationPartnerData() { + return brandLiftIntegrationPartnerData; + } + + /** + * Third party partner data for YouTube Brand Lift verification. This is optional metadata for + * partners to join or attach data to Ads campaigns. + * @param brandLiftIntegrationPartnerData brandLiftIntegrationPartnerData or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCampaignThirdPartyBrandLiftIntegrationPartner setBrandLiftIntegrationPartnerData(GoogleAdsSearchads360V23CommonThirdPartyIntegrationPartnerData brandLiftIntegrationPartnerData) { + this.brandLiftIntegrationPartnerData = brandLiftIntegrationPartnerData; + return this; + } + + /** + * If true, then cost data will be shared with this vendor. + * @return value or {@code null} for none + */ + public java.lang.Boolean getShareCost() { + return shareCost; + } + + /** + * If true, then cost data will be shared with this vendor. + * @param shareCost shareCost or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCampaignThirdPartyBrandLiftIntegrationPartner setShareCost(java.lang.Boolean shareCost) { + this.shareCost = shareCost; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonCampaignThirdPartyBrandLiftIntegrationPartner set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonCampaignThirdPartyBrandLiftIntegrationPartner) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonCampaignThirdPartyBrandLiftIntegrationPartner clone() { + return (GoogleAdsSearchads360V23CommonCampaignThirdPartyBrandLiftIntegrationPartner) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCampaignThirdPartyBrandSafetyIntegrationPartner.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCampaignThirdPartyBrandSafetyIntegrationPartner.java new file mode 100644 index 00000000000..13909cabdaa --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCampaignThirdPartyBrandSafetyIntegrationPartner.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Container for third party brand safety integration data for Campaign. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonCampaignThirdPartyBrandSafetyIntegrationPartner extends com.google.api.client.json.GenericJson { + + /** + * Allowed third party integration partners for brand safety verification. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String brandSafetyIntegrationPartner; + + /** + * Third party partner data for YouTube brand safety verification. This is optional metadata for + * partners to join or attach data to Ads campaigns. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonThirdPartyIntegrationPartnerData brandSafetyIntegrationPartnerData; + + /** + * Allowed third party integration partners for brand safety verification. + * @return value or {@code null} for none + */ + public java.lang.String getBrandSafetyIntegrationPartner() { + return brandSafetyIntegrationPartner; + } + + /** + * Allowed third party integration partners for brand safety verification. + * @param brandSafetyIntegrationPartner brandSafetyIntegrationPartner or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCampaignThirdPartyBrandSafetyIntegrationPartner setBrandSafetyIntegrationPartner(java.lang.String brandSafetyIntegrationPartner) { + this.brandSafetyIntegrationPartner = brandSafetyIntegrationPartner; + return this; + } + + /** + * Third party partner data for YouTube brand safety verification. This is optional metadata for + * partners to join or attach data to Ads campaigns. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonThirdPartyIntegrationPartnerData getBrandSafetyIntegrationPartnerData() { + return brandSafetyIntegrationPartnerData; + } + + /** + * Third party partner data for YouTube brand safety verification. This is optional metadata for + * partners to join or attach data to Ads campaigns. + * @param brandSafetyIntegrationPartnerData brandSafetyIntegrationPartnerData or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCampaignThirdPartyBrandSafetyIntegrationPartner setBrandSafetyIntegrationPartnerData(GoogleAdsSearchads360V23CommonThirdPartyIntegrationPartnerData brandSafetyIntegrationPartnerData) { + this.brandSafetyIntegrationPartnerData = brandSafetyIntegrationPartnerData; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonCampaignThirdPartyBrandSafetyIntegrationPartner set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonCampaignThirdPartyBrandSafetyIntegrationPartner) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonCampaignThirdPartyBrandSafetyIntegrationPartner clone() { + return (GoogleAdsSearchads360V23CommonCampaignThirdPartyBrandSafetyIntegrationPartner) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCampaignThirdPartyIntegrationPartners.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCampaignThirdPartyIntegrationPartners.java new file mode 100644 index 00000000000..a0714f5a049 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCampaignThirdPartyIntegrationPartners.java @@ -0,0 +1,151 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Container for Campaign level third party integration partners. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonCampaignThirdPartyIntegrationPartners extends com.google.api.client.json.GenericJson { + + /** + * Third party integration partners for Brand Lift verification for this Campaign. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List brandLiftIntegrationPartners; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonCampaignThirdPartyBrandLiftIntegrationPartner used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonCampaignThirdPartyBrandLiftIntegrationPartner.class); + } + + /** + * Third party integration partners for brand safety verification for this Campaign. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List brandSafetyIntegrationPartners; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonCampaignThirdPartyBrandSafetyIntegrationPartner used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonCampaignThirdPartyBrandSafetyIntegrationPartner.class); + } + + /** + * Third party integration partners for reach verification for this Campaign. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List reachIntegrationPartners; + + /** + * Third party integration partners for YouTube viewability verification for this Campaign. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List viewabilityIntegrationPartners; + + /** + * Third party integration partners for Brand Lift verification for this Campaign. + * @return value or {@code null} for none + */ + public java.util.List getBrandLiftIntegrationPartners() { + return brandLiftIntegrationPartners; + } + + /** + * Third party integration partners for Brand Lift verification for this Campaign. + * @param brandLiftIntegrationPartners brandLiftIntegrationPartners or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCampaignThirdPartyIntegrationPartners setBrandLiftIntegrationPartners(java.util.List brandLiftIntegrationPartners) { + this.brandLiftIntegrationPartners = brandLiftIntegrationPartners; + return this; + } + + /** + * Third party integration partners for brand safety verification for this Campaign. + * @return value or {@code null} for none + */ + public java.util.List getBrandSafetyIntegrationPartners() { + return brandSafetyIntegrationPartners; + } + + /** + * Third party integration partners for brand safety verification for this Campaign. + * @param brandSafetyIntegrationPartners brandSafetyIntegrationPartners or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCampaignThirdPartyIntegrationPartners setBrandSafetyIntegrationPartners(java.util.List brandSafetyIntegrationPartners) { + this.brandSafetyIntegrationPartners = brandSafetyIntegrationPartners; + return this; + } + + /** + * Third party integration partners for reach verification for this Campaign. + * @return value or {@code null} for none + */ + public java.util.List getReachIntegrationPartners() { + return reachIntegrationPartners; + } + + /** + * Third party integration partners for reach verification for this Campaign. + * @param reachIntegrationPartners reachIntegrationPartners or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCampaignThirdPartyIntegrationPartners setReachIntegrationPartners(java.util.List reachIntegrationPartners) { + this.reachIntegrationPartners = reachIntegrationPartners; + return this; + } + + /** + * Third party integration partners for YouTube viewability verification for this Campaign. + * @return value or {@code null} for none + */ + public java.util.List getViewabilityIntegrationPartners() { + return viewabilityIntegrationPartners; + } + + /** + * Third party integration partners for YouTube viewability verification for this Campaign. + * @param viewabilityIntegrationPartners viewabilityIntegrationPartners or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCampaignThirdPartyIntegrationPartners setViewabilityIntegrationPartners(java.util.List viewabilityIntegrationPartners) { + this.viewabilityIntegrationPartners = viewabilityIntegrationPartners; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonCampaignThirdPartyIntegrationPartners set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonCampaignThirdPartyIntegrationPartners) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonCampaignThirdPartyIntegrationPartners clone() { + return (GoogleAdsSearchads360V23CommonCampaignThirdPartyIntegrationPartners) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCampaignThirdPartyReachIntegrationPartner.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCampaignThirdPartyReachIntegrationPartner.java new file mode 100644 index 00000000000..dc06e5b8da3 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCampaignThirdPartyReachIntegrationPartner.java @@ -0,0 +1,118 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Container for third party reach integration data for Campaign. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonCampaignThirdPartyReachIntegrationPartner extends com.google.api.client.json.GenericJson { + + /** + * Allowed third party integration partners for reach verification. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String reachIntegrationPartner; + + /** + * Third party partner data for YouTube Reach verification. This is optional metadata for partners + * to join or attach data to Ads campaigns. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonThirdPartyIntegrationPartnerData reachIntegrationPartnerData; + + /** + * If true, then cost data will be shared with this vendor. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean shareCost; + + /** + * Allowed third party integration partners for reach verification. + * @return value or {@code null} for none + */ + public java.lang.String getReachIntegrationPartner() { + return reachIntegrationPartner; + } + + /** + * Allowed third party integration partners for reach verification. + * @param reachIntegrationPartner reachIntegrationPartner or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCampaignThirdPartyReachIntegrationPartner setReachIntegrationPartner(java.lang.String reachIntegrationPartner) { + this.reachIntegrationPartner = reachIntegrationPartner; + return this; + } + + /** + * Third party partner data for YouTube Reach verification. This is optional metadata for partners + * to join or attach data to Ads campaigns. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonThirdPartyIntegrationPartnerData getReachIntegrationPartnerData() { + return reachIntegrationPartnerData; + } + + /** + * Third party partner data for YouTube Reach verification. This is optional metadata for partners + * to join or attach data to Ads campaigns. + * @param reachIntegrationPartnerData reachIntegrationPartnerData or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCampaignThirdPartyReachIntegrationPartner setReachIntegrationPartnerData(GoogleAdsSearchads360V23CommonThirdPartyIntegrationPartnerData reachIntegrationPartnerData) { + this.reachIntegrationPartnerData = reachIntegrationPartnerData; + return this; + } + + /** + * If true, then cost data will be shared with this vendor. + * @return value or {@code null} for none + */ + public java.lang.Boolean getShareCost() { + return shareCost; + } + + /** + * If true, then cost data will be shared with this vendor. + * @param shareCost shareCost or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCampaignThirdPartyReachIntegrationPartner setShareCost(java.lang.Boolean shareCost) { + this.shareCost = shareCost; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonCampaignThirdPartyReachIntegrationPartner set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonCampaignThirdPartyReachIntegrationPartner) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonCampaignThirdPartyReachIntegrationPartner clone() { + return (GoogleAdsSearchads360V23CommonCampaignThirdPartyReachIntegrationPartner) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCampaignThirdPartyViewabilityIntegrationPartner.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCampaignThirdPartyViewabilityIntegrationPartner.java new file mode 100644 index 00000000000..d5aa812dccd --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCampaignThirdPartyViewabilityIntegrationPartner.java @@ -0,0 +1,118 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Container for third party viewability integration data for Campaign. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonCampaignThirdPartyViewabilityIntegrationPartner extends com.google.api.client.json.GenericJson { + + /** + * If true, then cost data will be shared with this vendor. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean shareCost; + + /** + * Allowed third party integration partners for YouTube viewability verification. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String viewabilityIntegrationPartner; + + /** + * Third party partner data for YouTube viewability verification. This is optional metadata for + * partners to join or attach data to Ads campaigns. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonThirdPartyIntegrationPartnerData viewabilityIntegrationPartnerData; + + /** + * If true, then cost data will be shared with this vendor. + * @return value or {@code null} for none + */ + public java.lang.Boolean getShareCost() { + return shareCost; + } + + /** + * If true, then cost data will be shared with this vendor. + * @param shareCost shareCost or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCampaignThirdPartyViewabilityIntegrationPartner setShareCost(java.lang.Boolean shareCost) { + this.shareCost = shareCost; + return this; + } + + /** + * Allowed third party integration partners for YouTube viewability verification. + * @return value or {@code null} for none + */ + public java.lang.String getViewabilityIntegrationPartner() { + return viewabilityIntegrationPartner; + } + + /** + * Allowed third party integration partners for YouTube viewability verification. + * @param viewabilityIntegrationPartner viewabilityIntegrationPartner or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCampaignThirdPartyViewabilityIntegrationPartner setViewabilityIntegrationPartner(java.lang.String viewabilityIntegrationPartner) { + this.viewabilityIntegrationPartner = viewabilityIntegrationPartner; + return this; + } + + /** + * Third party partner data for YouTube viewability verification. This is optional metadata for + * partners to join or attach data to Ads campaigns. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonThirdPartyIntegrationPartnerData getViewabilityIntegrationPartnerData() { + return viewabilityIntegrationPartnerData; + } + + /** + * Third party partner data for YouTube viewability verification. This is optional metadata for + * partners to join or attach data to Ads campaigns. + * @param viewabilityIntegrationPartnerData viewabilityIntegrationPartnerData or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCampaignThirdPartyViewabilityIntegrationPartner setViewabilityIntegrationPartnerData(GoogleAdsSearchads360V23CommonThirdPartyIntegrationPartnerData viewabilityIntegrationPartnerData) { + this.viewabilityIntegrationPartnerData = viewabilityIntegrationPartnerData; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonCampaignThirdPartyViewabilityIntegrationPartner set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonCampaignThirdPartyViewabilityIntegrationPartner) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonCampaignThirdPartyViewabilityIntegrationPartner clone() { + return (GoogleAdsSearchads360V23CommonCampaignThirdPartyViewabilityIntegrationPartner) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCarrierInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCarrierInfo.java new file mode 100644 index 00000000000..dd586e46cea --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCarrierInfo.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Represents a Carrier Criterion. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonCarrierInfo extends com.google.api.client.json.GenericJson { + + /** + * The Carrier constant resource name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String carrierConstant; + + /** + * The Carrier constant resource name. + * @return value or {@code null} for none + */ + public java.lang.String getCarrierConstant() { + return carrierConstant; + } + + /** + * The Carrier constant resource name. + * @param carrierConstant carrierConstant or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCarrierInfo setCarrierConstant(java.lang.String carrierConstant) { + this.carrierConstant = carrierConstant; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonCarrierInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonCarrierInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonCarrierInfo clone() { + return (GoogleAdsSearchads360V23CommonCarrierInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonChainFilter.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonChainFilter.java new file mode 100644 index 00000000000..add90eb4713 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonChainFilter.java @@ -0,0 +1,101 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * One chain level filter on location in a feed item set. The filtering logic among all the fields + * is AND. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonChainFilter extends com.google.api.client.json.GenericJson { + + /** + * Required. Used to filter chain locations by chain id. Only chain locations that belong to the + * specified chain will be in the asset set. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long chainId; + + /** + * Used to filter chain locations by location attributes. Only chain locations that belong to all + * of the specified attribute(s) will be in the asset set. If this field is empty, it means no + * filtering on this field. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List locationAttributes; + + /** + * Required. Used to filter chain locations by chain id. Only chain locations that belong to the + * specified chain will be in the asset set. + * @return value or {@code null} for none + */ + public java.lang.Long getChainId() { + return chainId; + } + + /** + * Required. Used to filter chain locations by chain id. Only chain locations that belong to the + * specified chain will be in the asset set. + * @param chainId chainId or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonChainFilter setChainId(java.lang.Long chainId) { + this.chainId = chainId; + return this; + } + + /** + * Used to filter chain locations by location attributes. Only chain locations that belong to all + * of the specified attribute(s) will be in the asset set. If this field is empty, it means no + * filtering on this field. + * @return value or {@code null} for none + */ + public java.util.List getLocationAttributes() { + return locationAttributes; + } + + /** + * Used to filter chain locations by location attributes. Only chain locations that belong to all + * of the specified attribute(s) will be in the asset set. If this field is empty, it means no + * filtering on this field. + * @param locationAttributes locationAttributes or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonChainFilter setLocationAttributes(java.util.List locationAttributes) { + this.locationAttributes = locationAttributes; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonChainFilter set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonChainFilter) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonChainFilter clone() { + return (GoogleAdsSearchads360V23CommonChainFilter) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonChainLocationGroup.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonChainLocationGroup.java new file mode 100644 index 00000000000..aaf8e025183 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonChainLocationGroup.java @@ -0,0 +1,77 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Represents information about a Chain dynamic location group. Only applicable if the sync level + * AssetSet's type is LOCATION_SYNC and sync source is chain. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonChainLocationGroup extends com.google.api.client.json.GenericJson { + + /** + * Used to filter chain locations by chain ids. Only Locations that belong to the specified + * chain(s) will be in the asset set. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List dynamicChainLocationGroupFilters; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonChainFilter used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonChainFilter.class); + } + + /** + * Used to filter chain locations by chain ids. Only Locations that belong to the specified + * chain(s) will be in the asset set. + * @return value or {@code null} for none + */ + public java.util.List getDynamicChainLocationGroupFilters() { + return dynamicChainLocationGroupFilters; + } + + /** + * Used to filter chain locations by chain ids. Only Locations that belong to the specified + * chain(s) will be in the asset set. + * @param dynamicChainLocationGroupFilters dynamicChainLocationGroupFilters or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonChainLocationGroup setDynamicChainLocationGroupFilters(java.util.List dynamicChainLocationGroupFilters) { + this.dynamicChainLocationGroupFilters = dynamicChainLocationGroupFilters; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonChainLocationGroup set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonChainLocationGroup) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonChainLocationGroup clone() { + return (GoogleAdsSearchads360V23CommonChainLocationGroup) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonChainSet.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonChainSet.java new file mode 100644 index 00000000000..7f88f1705e5 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonChainSet.java @@ -0,0 +1,97 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Data used to configure a location set populated with the specified chains. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonChainSet extends com.google.api.client.json.GenericJson { + + /** + * Required. A list of chain level filters, all filters are OR'ed together. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List chains; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonChainFilter used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonChainFilter.class); + } + + /** + * Required. Immutable. Relationship type the specified chains have with this advertiser. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String relationshipType; + + /** + * Required. A list of chain level filters, all filters are OR'ed together. + * @return value or {@code null} for none + */ + public java.util.List getChains() { + return chains; + } + + /** + * Required. A list of chain level filters, all filters are OR'ed together. + * @param chains chains or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonChainSet setChains(java.util.List chains) { + this.chains = chains; + return this; + } + + /** + * Required. Immutable. Relationship type the specified chains have with this advertiser. + * @return value or {@code null} for none + */ + public java.lang.String getRelationshipType() { + return relationshipType; + } + + /** + * Required. Immutable. Relationship type the specified chains have with this advertiser. + * @param relationshipType relationshipType or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonChainSet setRelationshipType(java.lang.String relationshipType) { + this.relationshipType = relationshipType; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonChainSet set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonChainSet) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonChainSet clone() { + return (GoogleAdsSearchads360V23CommonChainSet) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonClickLocation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonClickLocation.java new file mode 100644 index 00000000000..b9d7999eefa --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonClickLocation.java @@ -0,0 +1,163 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Location criteria associated with a click. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonClickLocation extends com.google.api.client.json.GenericJson { + + /** + * The city location criterion associated with the impression. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String city; + + /** + * The country location criterion associated with the impression. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String country; + + /** + * The metro location criterion associated with the impression. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String metro; + + /** + * The most specific location criterion associated with the impression. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String mostSpecific; + + /** + * The region location criterion associated with the impression. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String region; + + /** + * The city location criterion associated with the impression. + * @return value or {@code null} for none + */ + public java.lang.String getCity() { + return city; + } + + /** + * The city location criterion associated with the impression. + * @param city city or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonClickLocation setCity(java.lang.String city) { + this.city = city; + return this; + } + + /** + * The country location criterion associated with the impression. + * @return value or {@code null} for none + */ + public java.lang.String getCountry() { + return country; + } + + /** + * The country location criterion associated with the impression. + * @param country country or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonClickLocation setCountry(java.lang.String country) { + this.country = country; + return this; + } + + /** + * The metro location criterion associated with the impression. + * @return value or {@code null} for none + */ + public java.lang.String getMetro() { + return metro; + } + + /** + * The metro location criterion associated with the impression. + * @param metro metro or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonClickLocation setMetro(java.lang.String metro) { + this.metro = metro; + return this; + } + + /** + * The most specific location criterion associated with the impression. + * @return value or {@code null} for none + */ + public java.lang.String getMostSpecific() { + return mostSpecific; + } + + /** + * The most specific location criterion associated with the impression. + * @param mostSpecific mostSpecific or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonClickLocation setMostSpecific(java.lang.String mostSpecific) { + this.mostSpecific = mostSpecific; + return this; + } + + /** + * The region location criterion associated with the impression. + * @return value or {@code null} for none + */ + public java.lang.String getRegion() { + return region; + } + + /** + * The region location criterion associated with the impression. + * @param region region or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonClickLocation setRegion(java.lang.String region) { + this.region = region; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonClickLocation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonClickLocation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonClickLocation clone() { + return (GoogleAdsSearchads360V23CommonClickLocation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCombinedAudienceInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCombinedAudienceInfo.java new file mode 100644 index 00000000000..5ff5370307d --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCombinedAudienceInfo.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A combined audience criterion. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonCombinedAudienceInfo extends com.google.api.client.json.GenericJson { + + /** + * The CombinedAudience resource name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String combinedAudience; + + /** + * The CombinedAudience resource name. + * @return value or {@code null} for none + */ + public java.lang.String getCombinedAudience() { + return combinedAudience; + } + + /** + * The CombinedAudience resource name. + * @param combinedAudience combinedAudience or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCombinedAudienceInfo setCombinedAudience(java.lang.String combinedAudience) { + this.combinedAudience = combinedAudience; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonCombinedAudienceInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonCombinedAudienceInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonCombinedAudienceInfo clone() { + return (GoogleAdsSearchads360V23CommonCombinedAudienceInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCommission.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCommission.java new file mode 100644 index 00000000000..26f7c09b25e --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCommission.java @@ -0,0 +1,74 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Commission is an automatic bidding strategy in which the advertiser pays a certain portion of the + * conversion value. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonCommission extends com.google.api.client.json.GenericJson { + + /** + * Commission rate defines the portion of the conversion value that the advertiser will be billed. + * A commission rate of x should be passed into this field as (x * 1,000,000). For example, + * 106,000 represents a commission rate of 0.106 (10.6%). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long commissionRateMicros; + + /** + * Commission rate defines the portion of the conversion value that the advertiser will be billed. + * A commission rate of x should be passed into this field as (x * 1,000,000). For example, + * 106,000 represents a commission rate of 0.106 (10.6%). + * @return value or {@code null} for none + */ + public java.lang.Long getCommissionRateMicros() { + return commissionRateMicros; + } + + /** + * Commission rate defines the portion of the conversion value that the advertiser will be billed. + * A commission rate of x should be passed into this field as (x * 1,000,000). For example, + * 106,000 represents a commission rate of 0.106 (10.6%). + * @param commissionRateMicros commissionRateMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCommission setCommissionRateMicros(java.lang.Long commissionRateMicros) { + this.commissionRateMicros = commissionRateMicros; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonCommission set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonCommission) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonCommission clone() { + return (GoogleAdsSearchads360V23CommonCommission) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonConceptGroup.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonConceptGroup.java new file mode 100644 index 00000000000..78d75fb97bf --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonConceptGroup.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The concept group for the keyword concept. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonConceptGroup extends com.google.api.client.json.GenericJson { + + /** + * The concept group name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * The concept group type. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String type; + + /** + * The concept group name. + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * The concept group name. + * @param name name or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonConceptGroup setName(java.lang.String name) { + this.name = name; + return this; + } + + /** + * The concept group type. + * @return value or {@code null} for none + */ + public java.lang.String getType() { + return type; + } + + /** + * The concept group type. + * @param type type or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonConceptGroup setType(java.lang.String type) { + this.type = type; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonConceptGroup set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonConceptGroup) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonConceptGroup clone() { + return (GoogleAdsSearchads360V23CommonConceptGroup) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonConsent.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonConsent.java new file mode 100644 index 00000000000..41e592d5d0e --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonConsent.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Consent + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonConsent extends com.google.api.client.json.GenericJson { + + /** + * This represents consent for ad personalization. This can only be set for + * OfflineUserDataJobService and UserDataService. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String adPersonalization; + + /** + * This represents consent for ad user data. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String adUserData; + + /** + * This represents consent for ad personalization. This can only be set for + * OfflineUserDataJobService and UserDataService. + * @return value or {@code null} for none + */ + public java.lang.String getAdPersonalization() { + return adPersonalization; + } + + /** + * This represents consent for ad personalization. This can only be set for + * OfflineUserDataJobService and UserDataService. + * @param adPersonalization adPersonalization or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonConsent setAdPersonalization(java.lang.String adPersonalization) { + this.adPersonalization = adPersonalization; + return this; + } + + /** + * This represents consent for ad user data. + * @return value or {@code null} for none + */ + public java.lang.String getAdUserData() { + return adUserData; + } + + /** + * This represents consent for ad user data. + * @param adUserData adUserData or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonConsent setAdUserData(java.lang.String adUserData) { + this.adUserData = adUserData; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonConsent set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonConsent) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonConsent clone() { + return (GoogleAdsSearchads360V23CommonConsent) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonContentLabelInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonContentLabelInfo.java new file mode 100644 index 00000000000..2c8cb73250c --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonContentLabelInfo.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Content Label for category exclusion. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonContentLabelInfo extends com.google.api.client.json.GenericJson { + + /** + * Content label type, required for CREATE operations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String type; + + /** + * Content label type, required for CREATE operations. + * @return value or {@code null} for none + */ + public java.lang.String getType() { + return type; + } + + /** + * Content label type, required for CREATE operations. + * @param type type or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonContentLabelInfo setType(java.lang.String type) { + this.type = type; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonContentLabelInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonContentLabelInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonContentLabelInfo clone() { + return (GoogleAdsSearchads360V23CommonContentLabelInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCpcBidSimulationPoint.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCpcBidSimulationPoint.java new file mode 100644 index 00000000000..d3d9304f804 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCpcBidSimulationPoint.java @@ -0,0 +1,268 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Projected metrics for a specific CPC bid amount. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonCpcBidSimulationPoint extends com.google.api.client.json.GenericJson { + + /** + * Projected number of biddable conversions. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double biddableConversions; + + /** + * Projected total value of biddable conversions. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double biddableConversionsValue; + + /** + * Projected number of clicks. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long clicks; + + /** + * Projected cost in micros. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long costMicros; + + /** + * The simulated CPC bid upon which projected metrics are based. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long cpcBidMicros; + + /** + * The simulated scaling modifier upon which projected metrics are based. All CPC bids relevant to + * the simulated entity are scaled by this modifier. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double cpcBidScalingModifier; + + /** + * Projected number of impressions. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long impressions; + + /** + * Projected required daily budget that the advertiser must set in order to receive the estimated + * traffic, in micros of advertiser currency. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long requiredBudgetAmountMicros; + + /** + * Projected number of top slot impressions. Only search advertising channel type supports this + * field. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long topSlotImpressions; + + /** + * Projected number of biddable conversions. + * @return value or {@code null} for none + */ + public java.lang.Double getBiddableConversions() { + return biddableConversions; + } + + /** + * Projected number of biddable conversions. + * @param biddableConversions biddableConversions or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCpcBidSimulationPoint setBiddableConversions(java.lang.Double biddableConversions) { + this.biddableConversions = biddableConversions; + return this; + } + + /** + * Projected total value of biddable conversions. + * @return value or {@code null} for none + */ + public java.lang.Double getBiddableConversionsValue() { + return biddableConversionsValue; + } + + /** + * Projected total value of biddable conversions. + * @param biddableConversionsValue biddableConversionsValue or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCpcBidSimulationPoint setBiddableConversionsValue(java.lang.Double biddableConversionsValue) { + this.biddableConversionsValue = biddableConversionsValue; + return this; + } + + /** + * Projected number of clicks. + * @return value or {@code null} for none + */ + public java.lang.Long getClicks() { + return clicks; + } + + /** + * Projected number of clicks. + * @param clicks clicks or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCpcBidSimulationPoint setClicks(java.lang.Long clicks) { + this.clicks = clicks; + return this; + } + + /** + * Projected cost in micros. + * @return value or {@code null} for none + */ + public java.lang.Long getCostMicros() { + return costMicros; + } + + /** + * Projected cost in micros. + * @param costMicros costMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCpcBidSimulationPoint setCostMicros(java.lang.Long costMicros) { + this.costMicros = costMicros; + return this; + } + + /** + * The simulated CPC bid upon which projected metrics are based. + * @return value or {@code null} for none + */ + public java.lang.Long getCpcBidMicros() { + return cpcBidMicros; + } + + /** + * The simulated CPC bid upon which projected metrics are based. + * @param cpcBidMicros cpcBidMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCpcBidSimulationPoint setCpcBidMicros(java.lang.Long cpcBidMicros) { + this.cpcBidMicros = cpcBidMicros; + return this; + } + + /** + * The simulated scaling modifier upon which projected metrics are based. All CPC bids relevant to + * the simulated entity are scaled by this modifier. + * @return value or {@code null} for none + */ + public java.lang.Double getCpcBidScalingModifier() { + return cpcBidScalingModifier; + } + + /** + * The simulated scaling modifier upon which projected metrics are based. All CPC bids relevant to + * the simulated entity are scaled by this modifier. + * @param cpcBidScalingModifier cpcBidScalingModifier or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCpcBidSimulationPoint setCpcBidScalingModifier(java.lang.Double cpcBidScalingModifier) { + this.cpcBidScalingModifier = cpcBidScalingModifier; + return this; + } + + /** + * Projected number of impressions. + * @return value or {@code null} for none + */ + public java.lang.Long getImpressions() { + return impressions; + } + + /** + * Projected number of impressions. + * @param impressions impressions or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCpcBidSimulationPoint setImpressions(java.lang.Long impressions) { + this.impressions = impressions; + return this; + } + + /** + * Projected required daily budget that the advertiser must set in order to receive the estimated + * traffic, in micros of advertiser currency. + * @return value or {@code null} for none + */ + public java.lang.Long getRequiredBudgetAmountMicros() { + return requiredBudgetAmountMicros; + } + + /** + * Projected required daily budget that the advertiser must set in order to receive the estimated + * traffic, in micros of advertiser currency. + * @param requiredBudgetAmountMicros requiredBudgetAmountMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCpcBidSimulationPoint setRequiredBudgetAmountMicros(java.lang.Long requiredBudgetAmountMicros) { + this.requiredBudgetAmountMicros = requiredBudgetAmountMicros; + return this; + } + + /** + * Projected number of top slot impressions. Only search advertising channel type supports this + * field. + * @return value or {@code null} for none + */ + public java.lang.Long getTopSlotImpressions() { + return topSlotImpressions; + } + + /** + * Projected number of top slot impressions. Only search advertising channel type supports this + * field. + * @param topSlotImpressions topSlotImpressions or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCpcBidSimulationPoint setTopSlotImpressions(java.lang.Long topSlotImpressions) { + this.topSlotImpressions = topSlotImpressions; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonCpcBidSimulationPoint set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonCpcBidSimulationPoint) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonCpcBidSimulationPoint clone() { + return (GoogleAdsSearchads360V23CommonCpcBidSimulationPoint) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCpcBidSimulationPointList.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCpcBidSimulationPointList.java new file mode 100644 index 00000000000..96e2f47a9cf --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCpcBidSimulationPointList.java @@ -0,0 +1,73 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A container for simulation points for simulations of type CPC_BID. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonCpcBidSimulationPointList extends com.google.api.client.json.GenericJson { + + /** + * Projected metrics for a series of CPC bid amounts. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List points; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonCpcBidSimulationPoint used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonCpcBidSimulationPoint.class); + } + + /** + * Projected metrics for a series of CPC bid amounts. + * @return value or {@code null} for none + */ + public java.util.List getPoints() { + return points; + } + + /** + * Projected metrics for a series of CPC bid amounts. + * @param points points or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCpcBidSimulationPointList setPoints(java.util.List points) { + this.points = points; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonCpcBidSimulationPointList set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonCpcBidSimulationPointList) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonCpcBidSimulationPointList clone() { + return (GoogleAdsSearchads360V23CommonCpcBidSimulationPointList) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCpvBidSimulationPoint.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCpvBidSimulationPoint.java new file mode 100644 index 00000000000..fbc4d69ec09 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCpvBidSimulationPoint.java @@ -0,0 +1,139 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Projected metrics for a specific CPV bid amount. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonCpvBidSimulationPoint extends com.google.api.client.json.GenericJson { + + /** + * Projected cost in micros. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long costMicros; + + /** + * The simulated CPV bid upon which projected metrics are based. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long cpvBidMicros; + + /** + * Projected number of impressions. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long impressions; + + /** + * Projected number of views. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long views; + + /** + * Projected cost in micros. + * @return value or {@code null} for none + */ + public java.lang.Long getCostMicros() { + return costMicros; + } + + /** + * Projected cost in micros. + * @param costMicros costMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCpvBidSimulationPoint setCostMicros(java.lang.Long costMicros) { + this.costMicros = costMicros; + return this; + } + + /** + * The simulated CPV bid upon which projected metrics are based. + * @return value or {@code null} for none + */ + public java.lang.Long getCpvBidMicros() { + return cpvBidMicros; + } + + /** + * The simulated CPV bid upon which projected metrics are based. + * @param cpvBidMicros cpvBidMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCpvBidSimulationPoint setCpvBidMicros(java.lang.Long cpvBidMicros) { + this.cpvBidMicros = cpvBidMicros; + return this; + } + + /** + * Projected number of impressions. + * @return value or {@code null} for none + */ + public java.lang.Long getImpressions() { + return impressions; + } + + /** + * Projected number of impressions. + * @param impressions impressions or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCpvBidSimulationPoint setImpressions(java.lang.Long impressions) { + this.impressions = impressions; + return this; + } + + /** + * Projected number of views. + * @return value or {@code null} for none + */ + public java.lang.Long getViews() { + return views; + } + + /** + * Projected number of views. + * @param views views or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCpvBidSimulationPoint setViews(java.lang.Long views) { + this.views = views; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonCpvBidSimulationPoint set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonCpvBidSimulationPoint) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonCpvBidSimulationPoint clone() { + return (GoogleAdsSearchads360V23CommonCpvBidSimulationPoint) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCpvBidSimulationPointList.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCpvBidSimulationPointList.java new file mode 100644 index 00000000000..48f3216f58c --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCpvBidSimulationPointList.java @@ -0,0 +1,73 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A container for simulation points for simulations of type CPV_BID. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonCpvBidSimulationPointList extends com.google.api.client.json.GenericJson { + + /** + * Projected metrics for a series of CPV bid amounts. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List points; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonCpvBidSimulationPoint used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonCpvBidSimulationPoint.class); + } + + /** + * Projected metrics for a series of CPV bid amounts. + * @return value or {@code null} for none + */ + public java.util.List getPoints() { + return points; + } + + /** + * Projected metrics for a series of CPV bid amounts. + * @param points points or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCpvBidSimulationPointList setPoints(java.util.List points) { + this.points = points; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonCpvBidSimulationPointList set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonCpvBidSimulationPointList) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonCpvBidSimulationPointList clone() { + return (GoogleAdsSearchads360V23CommonCpvBidSimulationPointList) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCriterionCategoryAvailability.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCriterionCategoryAvailability.java new file mode 100644 index 00000000000..07314699aa9 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCriterionCategoryAvailability.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Information of category availability, per advertising channel. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonCriterionCategoryAvailability extends com.google.api.client.json.GenericJson { + + /** + * Channel types and subtypes that are available to the category. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonCriterionCategoryChannelAvailability channel; + + /** + * Locales that are available to the category for the channel. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List locale; + + /** + * Channel types and subtypes that are available to the category. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCriterionCategoryChannelAvailability getChannel() { + return channel; + } + + /** + * Channel types and subtypes that are available to the category. + * @param channel channel or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCriterionCategoryAvailability setChannel(GoogleAdsSearchads360V23CommonCriterionCategoryChannelAvailability channel) { + this.channel = channel; + return this; + } + + /** + * Locales that are available to the category for the channel. + * @return value or {@code null} for none + */ + public java.util.List getLocale() { + return locale; + } + + /** + * Locales that are available to the category for the channel. + * @param locale locale or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCriterionCategoryAvailability setLocale(java.util.List locale) { + this.locale = locale; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonCriterionCategoryAvailability set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonCriterionCategoryAvailability) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonCriterionCategoryAvailability clone() { + return (GoogleAdsSearchads360V23CommonCriterionCategoryAvailability) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCriterionCategoryChannelAvailability.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCriterionCategoryChannelAvailability.java new file mode 100644 index 00000000000..164e491732f --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCriterionCategoryChannelAvailability.java @@ -0,0 +1,154 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Information of advertising channel type and subtypes a category is available in. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonCriterionCategoryChannelAvailability extends com.google.api.client.json.GenericJson { + + /** + * Channel subtypes under the channel type the category is available to. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List advertisingChannelSubType; + + /** + * Channel type the category is available to. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String advertisingChannelType; + + /** + * Format of the channel availability. Can be ALL_CHANNELS (the rest of the fields will not be + * set), CHANNEL_TYPE (only advertising_channel_type type will be set, the category is available + * to all sub types under it) or CHANNEL_TYPE_AND_SUBTYPES (advertising_channel_type, + * advertising_channel_sub_type, and include_default_channel_sub_type will all be set). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String availabilityMode; + + /** + * Whether default channel sub type is included. For example, advertising_channel_type being + * DISPLAY and include_default_channel_sub_type being false means that the default display + * campaign where channel sub type is not set is not included in this availability configuration. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean includeDefaultChannelSubType; + + /** + * Channel subtypes under the channel type the category is available to. + * @return value or {@code null} for none + */ + public java.util.List getAdvertisingChannelSubType() { + return advertisingChannelSubType; + } + + /** + * Channel subtypes under the channel type the category is available to. + * @param advertisingChannelSubType advertisingChannelSubType or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCriterionCategoryChannelAvailability setAdvertisingChannelSubType(java.util.List advertisingChannelSubType) { + this.advertisingChannelSubType = advertisingChannelSubType; + return this; + } + + /** + * Channel type the category is available to. + * @return value or {@code null} for none + */ + public java.lang.String getAdvertisingChannelType() { + return advertisingChannelType; + } + + /** + * Channel type the category is available to. + * @param advertisingChannelType advertisingChannelType or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCriterionCategoryChannelAvailability setAdvertisingChannelType(java.lang.String advertisingChannelType) { + this.advertisingChannelType = advertisingChannelType; + return this; + } + + /** + * Format of the channel availability. Can be ALL_CHANNELS (the rest of the fields will not be + * set), CHANNEL_TYPE (only advertising_channel_type type will be set, the category is available + * to all sub types under it) or CHANNEL_TYPE_AND_SUBTYPES (advertising_channel_type, + * advertising_channel_sub_type, and include_default_channel_sub_type will all be set). + * @return value or {@code null} for none + */ + public java.lang.String getAvailabilityMode() { + return availabilityMode; + } + + /** + * Format of the channel availability. Can be ALL_CHANNELS (the rest of the fields will not be + * set), CHANNEL_TYPE (only advertising_channel_type type will be set, the category is available + * to all sub types under it) or CHANNEL_TYPE_AND_SUBTYPES (advertising_channel_type, + * advertising_channel_sub_type, and include_default_channel_sub_type will all be set). + * @param availabilityMode availabilityMode or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCriterionCategoryChannelAvailability setAvailabilityMode(java.lang.String availabilityMode) { + this.availabilityMode = availabilityMode; + return this; + } + + /** + * Whether default channel sub type is included. For example, advertising_channel_type being + * DISPLAY and include_default_channel_sub_type being false means that the default display + * campaign where channel sub type is not set is not included in this availability configuration. + * @return value or {@code null} for none + */ + public java.lang.Boolean getIncludeDefaultChannelSubType() { + return includeDefaultChannelSubType; + } + + /** + * Whether default channel sub type is included. For example, advertising_channel_type being + * DISPLAY and include_default_channel_sub_type being false means that the default display + * campaign where channel sub type is not set is not included in this availability configuration. + * @param includeDefaultChannelSubType includeDefaultChannelSubType or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCriterionCategoryChannelAvailability setIncludeDefaultChannelSubType(java.lang.Boolean includeDefaultChannelSubType) { + this.includeDefaultChannelSubType = includeDefaultChannelSubType; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonCriterionCategoryChannelAvailability set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonCriterionCategoryChannelAvailability) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonCriterionCategoryChannelAvailability clone() { + return (GoogleAdsSearchads360V23CommonCriterionCategoryChannelAvailability) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCriterionCategoryLocaleAvailability.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCriterionCategoryLocaleAvailability.java new file mode 100644 index 00000000000..6196048307b --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCriterionCategoryLocaleAvailability.java @@ -0,0 +1,121 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Information about which locales a category is available in. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonCriterionCategoryLocaleAvailability extends com.google.api.client.json.GenericJson { + + /** + * Format of the locale availability. Can be LAUNCHED_TO_ALL (both country and language will be + * empty), COUNTRY (only country will be set), LANGUAGE (only language wil be set), + * COUNTRY_AND_LANGUAGE (both country and language will be set). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String availabilityMode; + + /** + * The ISO-3166-1 alpha-2 country code associated with the category. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String countryCode; + + /** + * ISO 639-1 code of the language associated with the category. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String languageCode; + + /** + * Format of the locale availability. Can be LAUNCHED_TO_ALL (both country and language will be + * empty), COUNTRY (only country will be set), LANGUAGE (only language wil be set), + * COUNTRY_AND_LANGUAGE (both country and language will be set). + * @return value or {@code null} for none + */ + public java.lang.String getAvailabilityMode() { + return availabilityMode; + } + + /** + * Format of the locale availability. Can be LAUNCHED_TO_ALL (both country and language will be + * empty), COUNTRY (only country will be set), LANGUAGE (only language wil be set), + * COUNTRY_AND_LANGUAGE (both country and language will be set). + * @param availabilityMode availabilityMode or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCriterionCategoryLocaleAvailability setAvailabilityMode(java.lang.String availabilityMode) { + this.availabilityMode = availabilityMode; + return this; + } + + /** + * The ISO-3166-1 alpha-2 country code associated with the category. + * @return value or {@code null} for none + */ + public java.lang.String getCountryCode() { + return countryCode; + } + + /** + * The ISO-3166-1 alpha-2 country code associated with the category. + * @param countryCode countryCode or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCriterionCategoryLocaleAvailability setCountryCode(java.lang.String countryCode) { + this.countryCode = countryCode; + return this; + } + + /** + * ISO 639-1 code of the language associated with the category. + * @return value or {@code null} for none + */ + public java.lang.String getLanguageCode() { + return languageCode; + } + + /** + * ISO 639-1 code of the language associated with the category. + * @param languageCode languageCode or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCriterionCategoryLocaleAvailability setLanguageCode(java.lang.String languageCode) { + this.languageCode = languageCode; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonCriterionCategoryLocaleAvailability set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonCriterionCategoryLocaleAvailability) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonCriterionCategoryLocaleAvailability clone() { + return (GoogleAdsSearchads360V23CommonCriterionCategoryLocaleAvailability) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCrmBasedUserListInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCrmBasedUserListInfo.java new file mode 100644 index 00000000000..6269ff23499 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCrmBasedUserListInfo.java @@ -0,0 +1,139 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * UserList of CRM users provided by the advertiser. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonCrmBasedUserListInfo extends com.google.api.client.json.GenericJson { + + /** + * A string that uniquely identifies a mobile application from which the data was collected. For + * iOS, the ID string is the 9 digit string that appears at the end of an App Store URL (for + * example, "476943146" for "Flood-It! 2" whose App Store link is + * http://itunes.apple.com/us/app/flood-it!-2/id476943146). For Android, the ID string is the + * application's package name (for example, "com.labpixies.colordrips" for "Color Drips" given + * Google Play link https://play.google.com/store/apps/details?id=com.labpixies.colordrips). + * Required when creating CrmBasedUserList for uploading mobile advertising IDs. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String appId; + + /** + * Data source of the list. Default value is FIRST_PARTY. Only customers on the allow-list can + * create third-party sourced CRM lists. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String dataSourceType; + + /** + * Matching key type of the list. Mixed data types are not allowed on the same list. This field is + * required for an ADD operation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String uploadKeyType; + + /** + * A string that uniquely identifies a mobile application from which the data was collected. For + * iOS, the ID string is the 9 digit string that appears at the end of an App Store URL (for + * example, "476943146" for "Flood-It! 2" whose App Store link is + * http://itunes.apple.com/us/app/flood-it!-2/id476943146). For Android, the ID string is the + * application's package name (for example, "com.labpixies.colordrips" for "Color Drips" given + * Google Play link https://play.google.com/store/apps/details?id=com.labpixies.colordrips). + * Required when creating CrmBasedUserList for uploading mobile advertising IDs. + * @return value or {@code null} for none + */ + public java.lang.String getAppId() { + return appId; + } + + /** + * A string that uniquely identifies a mobile application from which the data was collected. For + * iOS, the ID string is the 9 digit string that appears at the end of an App Store URL (for + * example, "476943146" for "Flood-It! 2" whose App Store link is + * http://itunes.apple.com/us/app/flood-it!-2/id476943146). For Android, the ID string is the + * application's package name (for example, "com.labpixies.colordrips" for "Color Drips" given + * Google Play link https://play.google.com/store/apps/details?id=com.labpixies.colordrips). + * Required when creating CrmBasedUserList for uploading mobile advertising IDs. + * @param appId appId or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCrmBasedUserListInfo setAppId(java.lang.String appId) { + this.appId = appId; + return this; + } + + /** + * Data source of the list. Default value is FIRST_PARTY. Only customers on the allow-list can + * create third-party sourced CRM lists. + * @return value or {@code null} for none + */ + public java.lang.String getDataSourceType() { + return dataSourceType; + } + + /** + * Data source of the list. Default value is FIRST_PARTY. Only customers on the allow-list can + * create third-party sourced CRM lists. + * @param dataSourceType dataSourceType or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCrmBasedUserListInfo setDataSourceType(java.lang.String dataSourceType) { + this.dataSourceType = dataSourceType; + return this; + } + + /** + * Matching key type of the list. Mixed data types are not allowed on the same list. This field is + * required for an ADD operation. + * @return value or {@code null} for none + */ + public java.lang.String getUploadKeyType() { + return uploadKeyType; + } + + /** + * Matching key type of the list. Mixed data types are not allowed on the same list. This field is + * required for an ADD operation. + * @param uploadKeyType uploadKeyType or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCrmBasedUserListInfo setUploadKeyType(java.lang.String uploadKeyType) { + this.uploadKeyType = uploadKeyType; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonCrmBasedUserListInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonCrmBasedUserListInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonCrmBasedUserListInfo clone() { + return (GoogleAdsSearchads360V23CommonCrmBasedUserListInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCustomAffinityInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCustomAffinityInfo.java new file mode 100644 index 00000000000..27d26289a70 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCustomAffinityInfo.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A custom affinity criterion. A criterion of this type is only targetable. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonCustomAffinityInfo extends com.google.api.client.json.GenericJson { + + /** + * The CustomInterest resource name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String customAffinity; + + /** + * The CustomInterest resource name. + * @return value or {@code null} for none + */ + public java.lang.String getCustomAffinity() { + return customAffinity; + } + + /** + * The CustomInterest resource name. + * @param customAffinity customAffinity or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCustomAffinityInfo setCustomAffinity(java.lang.String customAffinity) { + this.customAffinity = customAffinity; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonCustomAffinityInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonCustomAffinityInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonCustomAffinityInfo clone() { + return (GoogleAdsSearchads360V23CommonCustomAffinityInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCustomAudienceInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCustomAudienceInfo.java new file mode 100644 index 00000000000..70b5c5420e1 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCustomAudienceInfo.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A custom audience criterion. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonCustomAudienceInfo extends com.google.api.client.json.GenericJson { + + /** + * The CustomAudience resource name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String customAudience; + + /** + * The CustomAudience resource name. + * @return value or {@code null} for none + */ + public java.lang.String getCustomAudience() { + return customAudience; + } + + /** + * The CustomAudience resource name. + * @param customAudience customAudience or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCustomAudienceInfo setCustomAudience(java.lang.String customAudience) { + this.customAudience = customAudience; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonCustomAudienceInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonCustomAudienceInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonCustomAudienceInfo clone() { + return (GoogleAdsSearchads360V23CommonCustomAudienceInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCustomAudienceSegment.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCustomAudienceSegment.java new file mode 100644 index 00000000000..741b69e449f --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCustomAudienceSegment.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Custom audience segment. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonCustomAudienceSegment extends com.google.api.client.json.GenericJson { + + /** + * The custom audience resource. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String customAudience; + + /** + * The custom audience resource. + * @return value or {@code null} for none + */ + public java.lang.String getCustomAudience() { + return customAudience; + } + + /** + * The custom audience resource. + * @param customAudience customAudience or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCustomAudienceSegment setCustomAudience(java.lang.String customAudience) { + this.customAudience = customAudience; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonCustomAudienceSegment set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonCustomAudienceSegment) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonCustomAudienceSegment clone() { + return (GoogleAdsSearchads360V23CommonCustomAudienceSegment) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCustomIntentInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCustomIntentInfo.java new file mode 100644 index 00000000000..1d1be9cd8d5 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCustomIntentInfo.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A custom intent criterion. A criterion of this type is only targetable. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonCustomIntentInfo extends com.google.api.client.json.GenericJson { + + /** + * The CustomInterest resource name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String customIntent; + + /** + * The CustomInterest resource name. + * @return value or {@code null} for none + */ + public java.lang.String getCustomIntent() { + return customIntent; + } + + /** + * The CustomInterest resource name. + * @param customIntent customIntent or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCustomIntentInfo setCustomIntent(java.lang.String customIntent) { + this.customIntent = customIntent; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonCustomIntentInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonCustomIntentInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonCustomIntentInfo clone() { + return (GoogleAdsSearchads360V23CommonCustomIntentInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCustomParameter.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCustomParameter.java new file mode 100644 index 00000000000..e01eb1adf19 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCustomParameter.java @@ -0,0 +1,92 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A mapping that can be used by custom parameter tags in a `tracking_url_template`, `final_urls`, + * or `mobile_final_urls`. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonCustomParameter extends com.google.api.client.json.GenericJson { + + /** + * The key matching the parameter tag name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String key; + + /** + * The value to be substituted. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String value; + + /** + * The key matching the parameter tag name. + * @return value or {@code null} for none + */ + public java.lang.String getKey() { + return key; + } + + /** + * The key matching the parameter tag name. + * @param key key or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCustomParameter setKey(java.lang.String key) { + this.key = key; + return this; + } + + /** + * The value to be substituted. + * @return value or {@code null} for none + */ + public java.lang.String getValue() { + return value; + } + + /** + * The value to be substituted. + * @param value value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCustomParameter setValue(java.lang.String value) { + this.value = value; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonCustomParameter set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonCustomParameter) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonCustomParameter clone() { + return (GoogleAdsSearchads360V23CommonCustomParameter) super.clone(); + } + +} From 7b170d99a2c2906fe59c0fa2ea17a4f698fbe88b Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Wed, 3 Jun 2026 18:43:17 -0700 Subject: [PATCH 02/14] chore: regenerate searchads360 client --- ...merLifecycleOptimizationValueSettings.java | 100 +++ ...23CommonCustomerMatchUserListMetadata.java | 94 +++ ...ThirdPartyBrandLiftIntegrationPartner.java | 91 +++ ...irdPartyBrandSafetyIntegrationPartner.java | 67 ++ ...CustomerThirdPartyIntegrationPartners.java | 151 +++++ ...omerThirdPartyReachIntegrationPartner.java | 91 +++ ...irdPartyViewabilityIntegrationPartner.java | 91 +++ ...sSearchads360V23CommonCustomizerValue.java | 98 +++ ...ogleAdsSearchads360V23CommonDateRange.java | 91 +++ ...ds360V23CommonDemandGenCarouselAdInfo.java | 196 ++++++ ...60V23CommonDemandGenCarouselCardAsset.java | 169 +++++ ...360V23CommonDemandGenMultiAssetAdInfo.java | 337 ++++++++++ ...ads360V23CommonDemandGenProductAdInfo.java | 214 ++++++ ...3CommonDemandGenVideoResponsiveAdInfo.java | 331 ++++++++++ ...60V23CommonDetailedDemographicSegment.java | 67 ++ ...gleAdsSearchads360V23CommonDeviceInfo.java | 67 ++ ...rchads360V23CommonDisplayUploadAdInfo.java | 105 +++ ...micBusinessProfileLocationGroupFilter.java | 119 ++++ ...archads360V23CommonDynamicCustomAsset.java | 484 ++++++++++++++ ...hads360V23CommonDynamicEducationAsset.java | 400 ++++++++++++ ...rchads360V23CommonDynamicFlightsAsset.java | 436 +++++++++++++ ...V23CommonDynamicHotelsAndRentalsAsset.java | 478 ++++++++++++++ ...Searchads360V23CommonDynamicJobsAsset.java | 397 ++++++++++++ ...earchads360V23CommonDynamicLocalAsset.java | 454 +++++++++++++ ...ads360V23CommonDynamicRealEstateAsset.java | 424 ++++++++++++ ...archads360V23CommonDynamicTravelAsset.java | 484 ++++++++++++++ ...leAdsSearchads360V23CommonEnhancedCpc.java | 46 ++ ...dsSearchads360V23CommonEventAttribute.java | 124 ++++ ...archads360V23CommonEventItemAttribute.java | 70 ++ ...Searchads360V23CommonExclusionSegment.java | 67 ++ ...0V23CommonExpandedDynamicSearchAdInfo.java | 91 +++ ...archads360V23CommonExpandedTextAdInfo.java | 211 ++++++ ...ds360V23CommonExtendedDemographicInfo.java | 67 ++ ...nFacebookMessengerBusinessMessageInfo.java | 67 ++ ...leAdsSearchads360V23CommonFinalAppUrl.java | 103 +++ ...ds360V23CommonFlexibleRuleOperandInfo.java | 91 +++ ...s360V23CommonFlexibleRuleUserListInfo.java | 140 ++++ ...earchads360V23CommonFrequencyCapEntry.java | 95 +++ ...sSearchads360V23CommonFrequencyCapKey.java | 143 +++++ ...sSearchads360V23CommonGenderDimension.java | 91 +++ ...gleAdsSearchads360V23CommonGenderInfo.java | 67 ++ ...eAdsSearchads360V23CommonGeoPointInfo.java | 91 +++ ...s360V23CommonGoalSettingRetentionGoal.java | 67 ++ ...s360V23CommonHistoricalMetricsOptions.java | 103 +++ ...leAdsSearchads360V23CommonHotelAdInfo.java | 43 ++ ...23CommonHotelAdvanceBookingWindowInfo.java | 91 +++ ...earchads360V23CommonHotelCalloutAsset.java | 94 +++ ...360V23CommonHotelCheckInDateRangeInfo.java | 91 +++ ...rchads360V23CommonHotelCheckInDayInfo.java | 67 ++ ...AdsSearchads360V23CommonHotelCityInfo.java | 67 ++ ...dsSearchads360V23CommonHotelClassInfo.java | 67 ++ ...ads360V23CommonHotelCountryRegionInfo.java | 67 ++ ...60V23CommonHotelDateSelectionTypeInfo.java | 67 ++ ...leAdsSearchads360V23CommonHotelIdInfo.java | 67 ++ ...hads360V23CommonHotelLengthOfStayInfo.java | 91 +++ ...archads360V23CommonHotelPropertyAsset.java | 118 ++++ ...dsSearchads360V23CommonHotelStateInfo.java | 67 ++ ...s360V23CommonHouseholdIncomeDimension.java | 91 +++ ...leAdsSearchads360V23CommonImageAdInfo.java | 338 ++++++++++ ...gleAdsSearchads360V23CommonImageAsset.java | 167 +++++ ...dsSearchads360V23CommonImageDimension.java | 115 ++++ ...sSearchads360V23CommonIncomeRangeInfo.java | 67 ++ ...rchads360V23CommonInteractionTypeInfo.java | 67 ++ ...leAdsSearchads360V23CommonIpBlockInfo.java | 73 +++ ...AdsSearchads360V23CommonItemAttribute.java | 184 ++++++ ...GoogleAdsSearchads360V23CommonKeyword.java | 91 +++ ...archads360V23CommonKeywordAnnotations.java | 67 ++ ...dsSearchads360V23CommonKeywordConcept.java | 91 +++ ...leAdsSearchads360V23CommonKeywordInfo.java | 91 +++ ...mmonKeywordPlanAggregateMetricResults.java | 76 +++ ...0V23CommonKeywordPlanAggregateMetrics.java | 67 ++ ...360V23CommonKeywordPlanDeviceSearches.java | 91 +++ ...V23CommonKeywordPlanHistoricalMetrics.java | 222 +++++++ ...Searchads360V23CommonKeywordThemeInfo.java | 94 +++ ...CommonKnowledgeGraphAttributeMetadata.java | 97 +++ ...eAdsSearchads360V23CommonLanguageInfo.java | 67 ++ ...AdsSearchads360V23CommonLeadFormAsset.java | 430 +++++++++++++ ...0V23CommonLeadFormCustomQuestionField.java | 127 ++++ ...ads360V23CommonLeadFormDeliveryMethod.java | 67 ++ ...AdsSearchads360V23CommonLeadFormField.java | 130 ++++ ...0V23CommonLeadFormSingleChoiceAnswers.java | 71 ++ ...ads360V23CommonLegacyAppInstallAdInfo.java | 163 +++++ ...23CommonLegacyResponsiveDisplayAdInfo.java | 419 ++++++++++++ ...AdsSearchads360V23CommonLifeEventInfo.java | 67 ++ ...Searchads360V23CommonLifeEventSegment.java | 67 ++ ...60V23CommonLifecycleGoalValueSettings.java | 100 +++ ...ds360V23CommonLineupAttributeMetadata.java | 169 +++++ ...nLineupAttributeMetadataSampleChannel.java | 115 ++++ ...chads360V23CommonListingDimensionInfo.java | 607 ++++++++++++++++++ ...chads360V23CommonListingDimensionPath.java | 76 +++ ...Searchads360V23CommonListingGroupInfo.java | 145 +++++ ...Searchads360V23CommonListingScopeInfo.java | 73 +++ ...leAdsSearchads360V23CommonLocalAdInfo.java | 292 +++++++++ ...archads360V23CommonLocalServiceIdInfo.java | 68 ++ ...23CommonLocalServicesDocumentReadOnly.java | 67 ++ ...AdsSearchads360V23CommonLocationAsset.java | 136 ++++ ...360V23CommonLocationAttributeMetadata.java | 67 ++ ...earchads360V23CommonLocationGroupInfo.java | 223 +++++++ ...eAdsSearchads360V23CommonLocationInfo.java | 67 ++ ...leAdsSearchads360V23CommonLocationSet.java | 140 ++++ 100 files changed, 14809 insertions(+) create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCustomerLifecycleOptimizationValueSettings.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCustomerMatchUserListMetadata.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCustomerThirdPartyBrandLiftIntegrationPartner.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCustomerThirdPartyBrandSafetyIntegrationPartner.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCustomerThirdPartyIntegrationPartners.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCustomerThirdPartyReachIntegrationPartner.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCustomerThirdPartyViewabilityIntegrationPartner.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCustomizerValue.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonDateRange.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonDemandGenCarouselAdInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonDemandGenCarouselCardAsset.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonDemandGenMultiAssetAdInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonDemandGenProductAdInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonDemandGenVideoResponsiveAdInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonDetailedDemographicSegment.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonDeviceInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonDisplayUploadAdInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonDynamicBusinessProfileLocationGroupFilter.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonDynamicCustomAsset.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonDynamicEducationAsset.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonDynamicFlightsAsset.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonDynamicHotelsAndRentalsAsset.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonDynamicJobsAsset.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonDynamicLocalAsset.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonDynamicRealEstateAsset.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonDynamicTravelAsset.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonEnhancedCpc.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonEventAttribute.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonEventItemAttribute.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonExclusionSegment.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonExpandedDynamicSearchAdInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonExpandedTextAdInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonExtendedDemographicInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonFacebookMessengerBusinessMessageInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonFinalAppUrl.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonFlexibleRuleOperandInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonFlexibleRuleUserListInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonFrequencyCapEntry.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonFrequencyCapKey.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonGenderDimension.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonGenderInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonGeoPointInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonGoalSettingRetentionGoal.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonHistoricalMetricsOptions.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonHotelAdInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonHotelAdvanceBookingWindowInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonHotelCalloutAsset.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonHotelCheckInDateRangeInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonHotelCheckInDayInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonHotelCityInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonHotelClassInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonHotelCountryRegionInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonHotelDateSelectionTypeInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonHotelIdInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonHotelLengthOfStayInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonHotelPropertyAsset.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonHotelStateInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonHouseholdIncomeDimension.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonImageAdInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonImageAsset.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonImageDimension.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonIncomeRangeInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonInteractionTypeInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonIpBlockInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonItemAttribute.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonKeyword.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonKeywordAnnotations.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonKeywordConcept.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonKeywordInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonKeywordPlanAggregateMetricResults.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonKeywordPlanAggregateMetrics.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonKeywordPlanDeviceSearches.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonKeywordPlanHistoricalMetrics.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonKeywordThemeInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonKnowledgeGraphAttributeMetadata.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonLanguageInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonLeadFormAsset.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonLeadFormCustomQuestionField.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonLeadFormDeliveryMethod.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonLeadFormField.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonLeadFormSingleChoiceAnswers.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonLegacyAppInstallAdInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonLegacyResponsiveDisplayAdInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonLifeEventInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonLifeEventSegment.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonLifecycleGoalValueSettings.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonLineupAttributeMetadata.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonLineupAttributeMetadataSampleChannel.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonListingDimensionInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonListingDimensionPath.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonListingGroupInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonListingScopeInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonLocalAdInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonLocalServiceIdInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonLocalServicesDocumentReadOnly.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonLocationAsset.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonLocationAttributeMetadata.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonLocationGroupInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonLocationInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonLocationSet.java diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCustomerLifecycleOptimizationValueSettings.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCustomerLifecycleOptimizationValueSettings.java new file mode 100644 index 00000000000..5866414c950 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCustomerLifecycleOptimizationValueSettings.java @@ -0,0 +1,100 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Lifecycle goal optimization value settings. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonCustomerLifecycleOptimizationValueSettings extends com.google.api.client.json.GenericJson { + + /** + * High lifetime value of the lifecycle goal. For example, for customer acquisition goals, high + * lifetime value is the incremental conversion value for lapsed customers who are of high value. + * High lifetime value should be greater than value, if set. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double additionalHighLifetimeValue; + + /** + * Value of the lifecycle goal. For example, for retention goals, value is the incremental + * conversion value for lapsed customers who are not of high value. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double additionalValue; + + /** + * High lifetime value of the lifecycle goal. For example, for customer acquisition goals, high + * lifetime value is the incremental conversion value for lapsed customers who are of high value. + * High lifetime value should be greater than value, if set. + * @return value or {@code null} for none + */ + public java.lang.Double getAdditionalHighLifetimeValue() { + return additionalHighLifetimeValue; + } + + /** + * High lifetime value of the lifecycle goal. For example, for customer acquisition goals, high + * lifetime value is the incremental conversion value for lapsed customers who are of high value. + * High lifetime value should be greater than value, if set. + * @param additionalHighLifetimeValue additionalHighLifetimeValue or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCustomerLifecycleOptimizationValueSettings setAdditionalHighLifetimeValue(java.lang.Double additionalHighLifetimeValue) { + this.additionalHighLifetimeValue = additionalHighLifetimeValue; + return this; + } + + /** + * Value of the lifecycle goal. For example, for retention goals, value is the incremental + * conversion value for lapsed customers who are not of high value. + * @return value or {@code null} for none + */ + public java.lang.Double getAdditionalValue() { + return additionalValue; + } + + /** + * Value of the lifecycle goal. For example, for retention goals, value is the incremental + * conversion value for lapsed customers who are not of high value. + * @param additionalValue additionalValue or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCustomerLifecycleOptimizationValueSettings setAdditionalValue(java.lang.Double additionalValue) { + this.additionalValue = additionalValue; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonCustomerLifecycleOptimizationValueSettings set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonCustomerLifecycleOptimizationValueSettings) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonCustomerLifecycleOptimizationValueSettings clone() { + return (GoogleAdsSearchads360V23CommonCustomerLifecycleOptimizationValueSettings) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCustomerMatchUserListMetadata.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCustomerMatchUserListMetadata.java new file mode 100644 index 00000000000..15cf1168eeb --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCustomerMatchUserListMetadata.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Metadata for customer match user list. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonCustomerMatchUserListMetadata extends com.google.api.client.json.GenericJson { + + /** + * The consent setting for all the users in this job. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonConsent consent; + + /** + * The resource name of remarketing list to update data. Required for job of + * CUSTOMER_MATCH_USER_LIST type. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String userList; + + /** + * The consent setting for all the users in this job. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonConsent getConsent() { + return consent; + } + + /** + * The consent setting for all the users in this job. + * @param consent consent or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCustomerMatchUserListMetadata setConsent(GoogleAdsSearchads360V23CommonConsent consent) { + this.consent = consent; + return this; + } + + /** + * The resource name of remarketing list to update data. Required for job of + * CUSTOMER_MATCH_USER_LIST type. + * @return value or {@code null} for none + */ + public java.lang.String getUserList() { + return userList; + } + + /** + * The resource name of remarketing list to update data. Required for job of + * CUSTOMER_MATCH_USER_LIST type. + * @param userList userList or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCustomerMatchUserListMetadata setUserList(java.lang.String userList) { + this.userList = userList; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonCustomerMatchUserListMetadata set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonCustomerMatchUserListMetadata) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonCustomerMatchUserListMetadata clone() { + return (GoogleAdsSearchads360V23CommonCustomerMatchUserListMetadata) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCustomerThirdPartyBrandLiftIntegrationPartner.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCustomerThirdPartyBrandLiftIntegrationPartner.java new file mode 100644 index 00000000000..7b2ef55d41d --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCustomerThirdPartyBrandLiftIntegrationPartner.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Container for third party Brand Lift integration data for Customer. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonCustomerThirdPartyBrandLiftIntegrationPartner extends com.google.api.client.json.GenericJson { + + /** + * If true, cost data can be shared with this vendor. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean allowShareCost; + + /** + * Allowed Third Party integration partners for Brand Lift verification. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String brandLiftIntegrationPartner; + + /** + * If true, cost data can be shared with this vendor. + * @return value or {@code null} for none + */ + public java.lang.Boolean getAllowShareCost() { + return allowShareCost; + } + + /** + * If true, cost data can be shared with this vendor. + * @param allowShareCost allowShareCost or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCustomerThirdPartyBrandLiftIntegrationPartner setAllowShareCost(java.lang.Boolean allowShareCost) { + this.allowShareCost = allowShareCost; + return this; + } + + /** + * Allowed Third Party integration partners for Brand Lift verification. + * @return value or {@code null} for none + */ + public java.lang.String getBrandLiftIntegrationPartner() { + return brandLiftIntegrationPartner; + } + + /** + * Allowed Third Party integration partners for Brand Lift verification. + * @param brandLiftIntegrationPartner brandLiftIntegrationPartner or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCustomerThirdPartyBrandLiftIntegrationPartner setBrandLiftIntegrationPartner(java.lang.String brandLiftIntegrationPartner) { + this.brandLiftIntegrationPartner = brandLiftIntegrationPartner; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonCustomerThirdPartyBrandLiftIntegrationPartner set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonCustomerThirdPartyBrandLiftIntegrationPartner) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonCustomerThirdPartyBrandLiftIntegrationPartner clone() { + return (GoogleAdsSearchads360V23CommonCustomerThirdPartyBrandLiftIntegrationPartner) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCustomerThirdPartyBrandSafetyIntegrationPartner.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCustomerThirdPartyBrandSafetyIntegrationPartner.java new file mode 100644 index 00000000000..92f38a20c7b --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCustomerThirdPartyBrandSafetyIntegrationPartner.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Container for third party brand safety integration data for Customer. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonCustomerThirdPartyBrandSafetyIntegrationPartner extends com.google.api.client.json.GenericJson { + + /** + * Allowed third party integration partners for brand safety verification. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String brandSafetyIntegrationPartner; + + /** + * Allowed third party integration partners for brand safety verification. + * @return value or {@code null} for none + */ + public java.lang.String getBrandSafetyIntegrationPartner() { + return brandSafetyIntegrationPartner; + } + + /** + * Allowed third party integration partners for brand safety verification. + * @param brandSafetyIntegrationPartner brandSafetyIntegrationPartner or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCustomerThirdPartyBrandSafetyIntegrationPartner setBrandSafetyIntegrationPartner(java.lang.String brandSafetyIntegrationPartner) { + this.brandSafetyIntegrationPartner = brandSafetyIntegrationPartner; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonCustomerThirdPartyBrandSafetyIntegrationPartner set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonCustomerThirdPartyBrandSafetyIntegrationPartner) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonCustomerThirdPartyBrandSafetyIntegrationPartner clone() { + return (GoogleAdsSearchads360V23CommonCustomerThirdPartyBrandSafetyIntegrationPartner) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCustomerThirdPartyIntegrationPartners.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCustomerThirdPartyIntegrationPartners.java new file mode 100644 index 00000000000..6e32019d3a9 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCustomerThirdPartyIntegrationPartners.java @@ -0,0 +1,151 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Container for Customer level third party integration partners. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonCustomerThirdPartyIntegrationPartners extends com.google.api.client.json.GenericJson { + + /** + * Allowed third party integration partners for Brand Lift verification. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List brandLiftIntegrationPartners; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonCustomerThirdPartyBrandLiftIntegrationPartner used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonCustomerThirdPartyBrandLiftIntegrationPartner.class); + } + + /** + * Allowed third party integration partners for brand safety verification. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List brandSafetyIntegrationPartners; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonCustomerThirdPartyBrandSafetyIntegrationPartner used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonCustomerThirdPartyBrandSafetyIntegrationPartner.class); + } + + /** + * Allowed third party integration partners for reach verification. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List reachIntegrationPartners; + + /** + * Allowed third party integration partners for YouTube viewability verification. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List viewabilityIntegrationPartners; + + /** + * Allowed third party integration partners for Brand Lift verification. + * @return value or {@code null} for none + */ + public java.util.List getBrandLiftIntegrationPartners() { + return brandLiftIntegrationPartners; + } + + /** + * Allowed third party integration partners for Brand Lift verification. + * @param brandLiftIntegrationPartners brandLiftIntegrationPartners or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCustomerThirdPartyIntegrationPartners setBrandLiftIntegrationPartners(java.util.List brandLiftIntegrationPartners) { + this.brandLiftIntegrationPartners = brandLiftIntegrationPartners; + return this; + } + + /** + * Allowed third party integration partners for brand safety verification. + * @return value or {@code null} for none + */ + public java.util.List getBrandSafetyIntegrationPartners() { + return brandSafetyIntegrationPartners; + } + + /** + * Allowed third party integration partners for brand safety verification. + * @param brandSafetyIntegrationPartners brandSafetyIntegrationPartners or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCustomerThirdPartyIntegrationPartners setBrandSafetyIntegrationPartners(java.util.List brandSafetyIntegrationPartners) { + this.brandSafetyIntegrationPartners = brandSafetyIntegrationPartners; + return this; + } + + /** + * Allowed third party integration partners for reach verification. + * @return value or {@code null} for none + */ + public java.util.List getReachIntegrationPartners() { + return reachIntegrationPartners; + } + + /** + * Allowed third party integration partners for reach verification. + * @param reachIntegrationPartners reachIntegrationPartners or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCustomerThirdPartyIntegrationPartners setReachIntegrationPartners(java.util.List reachIntegrationPartners) { + this.reachIntegrationPartners = reachIntegrationPartners; + return this; + } + + /** + * Allowed third party integration partners for YouTube viewability verification. + * @return value or {@code null} for none + */ + public java.util.List getViewabilityIntegrationPartners() { + return viewabilityIntegrationPartners; + } + + /** + * Allowed third party integration partners for YouTube viewability verification. + * @param viewabilityIntegrationPartners viewabilityIntegrationPartners or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCustomerThirdPartyIntegrationPartners setViewabilityIntegrationPartners(java.util.List viewabilityIntegrationPartners) { + this.viewabilityIntegrationPartners = viewabilityIntegrationPartners; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonCustomerThirdPartyIntegrationPartners set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonCustomerThirdPartyIntegrationPartners) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonCustomerThirdPartyIntegrationPartners clone() { + return (GoogleAdsSearchads360V23CommonCustomerThirdPartyIntegrationPartners) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCustomerThirdPartyReachIntegrationPartner.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCustomerThirdPartyReachIntegrationPartner.java new file mode 100644 index 00000000000..64027f2523b --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCustomerThirdPartyReachIntegrationPartner.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Container for third party reach integration data for Customer. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonCustomerThirdPartyReachIntegrationPartner extends com.google.api.client.json.GenericJson { + + /** + * If true, cost data can be shared with this vendor. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean allowShareCost; + + /** + * Allowed Third Party integration partners for reach verification. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String reachIntegrationPartner; + + /** + * If true, cost data can be shared with this vendor. + * @return value or {@code null} for none + */ + public java.lang.Boolean getAllowShareCost() { + return allowShareCost; + } + + /** + * If true, cost data can be shared with this vendor. + * @param allowShareCost allowShareCost or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCustomerThirdPartyReachIntegrationPartner setAllowShareCost(java.lang.Boolean allowShareCost) { + this.allowShareCost = allowShareCost; + return this; + } + + /** + * Allowed Third Party integration partners for reach verification. + * @return value or {@code null} for none + */ + public java.lang.String getReachIntegrationPartner() { + return reachIntegrationPartner; + } + + /** + * Allowed Third Party integration partners for reach verification. + * @param reachIntegrationPartner reachIntegrationPartner or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCustomerThirdPartyReachIntegrationPartner setReachIntegrationPartner(java.lang.String reachIntegrationPartner) { + this.reachIntegrationPartner = reachIntegrationPartner; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonCustomerThirdPartyReachIntegrationPartner set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonCustomerThirdPartyReachIntegrationPartner) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonCustomerThirdPartyReachIntegrationPartner clone() { + return (GoogleAdsSearchads360V23CommonCustomerThirdPartyReachIntegrationPartner) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCustomerThirdPartyViewabilityIntegrationPartner.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCustomerThirdPartyViewabilityIntegrationPartner.java new file mode 100644 index 00000000000..48122e8187a --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCustomerThirdPartyViewabilityIntegrationPartner.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Container for third party viewability integration data for Customer. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonCustomerThirdPartyViewabilityIntegrationPartner extends com.google.api.client.json.GenericJson { + + /** + * If true, cost data can be shared with this vendor. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean allowShareCost; + + /** + * Allowed third party integration partners for YouTube viewability verification. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String viewabilityIntegrationPartner; + + /** + * If true, cost data can be shared with this vendor. + * @return value or {@code null} for none + */ + public java.lang.Boolean getAllowShareCost() { + return allowShareCost; + } + + /** + * If true, cost data can be shared with this vendor. + * @param allowShareCost allowShareCost or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCustomerThirdPartyViewabilityIntegrationPartner setAllowShareCost(java.lang.Boolean allowShareCost) { + this.allowShareCost = allowShareCost; + return this; + } + + /** + * Allowed third party integration partners for YouTube viewability verification. + * @return value or {@code null} for none + */ + public java.lang.String getViewabilityIntegrationPartner() { + return viewabilityIntegrationPartner; + } + + /** + * Allowed third party integration partners for YouTube viewability verification. + * @param viewabilityIntegrationPartner viewabilityIntegrationPartner or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCustomerThirdPartyViewabilityIntegrationPartner setViewabilityIntegrationPartner(java.lang.String viewabilityIntegrationPartner) { + this.viewabilityIntegrationPartner = viewabilityIntegrationPartner; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonCustomerThirdPartyViewabilityIntegrationPartner set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonCustomerThirdPartyViewabilityIntegrationPartner) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonCustomerThirdPartyViewabilityIntegrationPartner clone() { + return (GoogleAdsSearchads360V23CommonCustomerThirdPartyViewabilityIntegrationPartner) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCustomizerValue.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCustomizerValue.java new file mode 100644 index 00000000000..a9937601504 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonCustomizerValue.java @@ -0,0 +1,98 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A customizer value that is referenced in customizer linkage entities like CustomerCustomizer, + * CampaignCustomizer, etc. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonCustomizerValue extends com.google.api.client.json.GenericJson { + + /** + * Required. Value to insert in creative text. Customizer values of all types are stored as string + * to make formatting unambiguous. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String stringValue; + + /** + * Required. The data type for the customizer value. It must match the attribute type. The + * string_value content must match the constraints associated with the type. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String type; + + /** + * Required. Value to insert in creative text. Customizer values of all types are stored as string + * to make formatting unambiguous. + * @return value or {@code null} for none + */ + public java.lang.String getStringValue() { + return stringValue; + } + + /** + * Required. Value to insert in creative text. Customizer values of all types are stored as string + * to make formatting unambiguous. + * @param stringValue stringValue or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCustomizerValue setStringValue(java.lang.String stringValue) { + this.stringValue = stringValue; + return this; + } + + /** + * Required. The data type for the customizer value. It must match the attribute type. The + * string_value content must match the constraints associated with the type. + * @return value or {@code null} for none + */ + public java.lang.String getType() { + return type; + } + + /** + * Required. The data type for the customizer value. It must match the attribute type. The + * string_value content must match the constraints associated with the type. + * @param type type or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCustomizerValue setType(java.lang.String type) { + this.type = type; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonCustomizerValue set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonCustomizerValue) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonCustomizerValue clone() { + return (GoogleAdsSearchads360V23CommonCustomizerValue) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonDateRange.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonDateRange.java new file mode 100644 index 00000000000..422532dbfa7 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonDateRange.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A date range. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonDateRange extends com.google.api.client.json.GenericJson { + + /** + * The end date, in yyyy-mm-dd format. This date is inclusive. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String endDate; + + /** + * The start date, in yyyy-mm-dd format. This date is inclusive. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String startDate; + + /** + * The end date, in yyyy-mm-dd format. This date is inclusive. + * @return value or {@code null} for none + */ + public java.lang.String getEndDate() { + return endDate; + } + + /** + * The end date, in yyyy-mm-dd format. This date is inclusive. + * @param endDate endDate or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDateRange setEndDate(java.lang.String endDate) { + this.endDate = endDate; + return this; + } + + /** + * The start date, in yyyy-mm-dd format. This date is inclusive. + * @return value or {@code null} for none + */ + public java.lang.String getStartDate() { + return startDate; + } + + /** + * The start date, in yyyy-mm-dd format. This date is inclusive. + * @param startDate startDate or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDateRange setStartDate(java.lang.String startDate) { + this.startDate = startDate; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonDateRange set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonDateRange) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonDateRange clone() { + return (GoogleAdsSearchads360V23CommonDateRange) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonDemandGenCarouselAdInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonDemandGenCarouselAdInfo.java new file mode 100644 index 00000000000..ba10d19fec1 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonDemandGenCarouselAdInfo.java @@ -0,0 +1,196 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A Demand Gen carousel ad. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonDemandGenCarouselAdInfo extends com.google.api.client.json.GenericJson { + + /** + * Required. The Advertiser/brand name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String businessName; + + /** + * Call to action text. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String callToActionText; + + /** + * Required. Carousel cards that will display with the ad. Min 2 max 10. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List carouselCards; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonAdDemandGenCarouselCardAsset used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonAdDemandGenCarouselCardAsset.class); + } + + /** + * Required. The descriptive text of the ad. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonAdTextAsset description; + + /** + * Required. Headline of the ad. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonAdTextAsset headline; + + /** + * Required. Logo image to be used in the ad. The minimum size is 128x128 and the aspect ratio + * must be 1:1 (+-1%). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonAdImageAsset logoImage; + + /** + * Required. The Advertiser/brand name. + * @return value or {@code null} for none + */ + public java.lang.String getBusinessName() { + return businessName; + } + + /** + * Required. The Advertiser/brand name. + * @param businessName businessName or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDemandGenCarouselAdInfo setBusinessName(java.lang.String businessName) { + this.businessName = businessName; + return this; + } + + /** + * Call to action text. + * @return value or {@code null} for none + */ + public java.lang.String getCallToActionText() { + return callToActionText; + } + + /** + * Call to action text. + * @param callToActionText callToActionText or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDemandGenCarouselAdInfo setCallToActionText(java.lang.String callToActionText) { + this.callToActionText = callToActionText; + return this; + } + + /** + * Required. Carousel cards that will display with the ad. Min 2 max 10. + * @return value or {@code null} for none + */ + public java.util.List getCarouselCards() { + return carouselCards; + } + + /** + * Required. Carousel cards that will display with the ad. Min 2 max 10. + * @param carouselCards carouselCards or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDemandGenCarouselAdInfo setCarouselCards(java.util.List carouselCards) { + this.carouselCards = carouselCards; + return this; + } + + /** + * Required. The descriptive text of the ad. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAdTextAsset getDescription() { + return description; + } + + /** + * Required. The descriptive text of the ad. + * @param description description or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDemandGenCarouselAdInfo setDescription(GoogleAdsSearchads360V23CommonAdTextAsset description) { + this.description = description; + return this; + } + + /** + * Required. Headline of the ad. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAdTextAsset getHeadline() { + return headline; + } + + /** + * Required. Headline of the ad. + * @param headline headline or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDemandGenCarouselAdInfo setHeadline(GoogleAdsSearchads360V23CommonAdTextAsset headline) { + this.headline = headline; + return this; + } + + /** + * Required. Logo image to be used in the ad. The minimum size is 128x128 and the aspect ratio + * must be 1:1 (+-1%). + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAdImageAsset getLogoImage() { + return logoImage; + } + + /** + * Required. Logo image to be used in the ad. The minimum size is 128x128 and the aspect ratio + * must be 1:1 (+-1%). + * @param logoImage logoImage or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDemandGenCarouselAdInfo setLogoImage(GoogleAdsSearchads360V23CommonAdImageAsset logoImage) { + this.logoImage = logoImage; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonDemandGenCarouselAdInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonDemandGenCarouselAdInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonDemandGenCarouselAdInfo clone() { + return (GoogleAdsSearchads360V23CommonDemandGenCarouselAdInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonDemandGenCarouselCardAsset.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonDemandGenCarouselCardAsset.java new file mode 100644 index 00000000000..8050918b7f8 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonDemandGenCarouselCardAsset.java @@ -0,0 +1,169 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A Demand Gen Carousel Card asset. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonDemandGenCarouselCardAsset extends com.google.api.client.json.GenericJson { + + /** + * Call to action text. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String callToActionText; + + /** + * Required. Headline of the carousel card. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String headline; + + /** + * Asset resource name of the associated 1.91:1 marketing image. This and/or square marketing + * image asset is required. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String marketingImageAsset; + + /** + * Asset resource name of the associated 4:5 portrait marketing image. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String portraitMarketingImageAsset; + + /** + * Asset resource name of the associated square marketing image. This and/or a marketing image + * asset is required. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String squareMarketingImageAsset; + + /** + * Call to action text. + * @return value or {@code null} for none + */ + public java.lang.String getCallToActionText() { + return callToActionText; + } + + /** + * Call to action text. + * @param callToActionText callToActionText or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDemandGenCarouselCardAsset setCallToActionText(java.lang.String callToActionText) { + this.callToActionText = callToActionText; + return this; + } + + /** + * Required. Headline of the carousel card. + * @return value or {@code null} for none + */ + public java.lang.String getHeadline() { + return headline; + } + + /** + * Required. Headline of the carousel card. + * @param headline headline or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDemandGenCarouselCardAsset setHeadline(java.lang.String headline) { + this.headline = headline; + return this; + } + + /** + * Asset resource name of the associated 1.91:1 marketing image. This and/or square marketing + * image asset is required. + * @return value or {@code null} for none + */ + public java.lang.String getMarketingImageAsset() { + return marketingImageAsset; + } + + /** + * Asset resource name of the associated 1.91:1 marketing image. This and/or square marketing + * image asset is required. + * @param marketingImageAsset marketingImageAsset or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDemandGenCarouselCardAsset setMarketingImageAsset(java.lang.String marketingImageAsset) { + this.marketingImageAsset = marketingImageAsset; + return this; + } + + /** + * Asset resource name of the associated 4:5 portrait marketing image. + * @return value or {@code null} for none + */ + public java.lang.String getPortraitMarketingImageAsset() { + return portraitMarketingImageAsset; + } + + /** + * Asset resource name of the associated 4:5 portrait marketing image. + * @param portraitMarketingImageAsset portraitMarketingImageAsset or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDemandGenCarouselCardAsset setPortraitMarketingImageAsset(java.lang.String portraitMarketingImageAsset) { + this.portraitMarketingImageAsset = portraitMarketingImageAsset; + return this; + } + + /** + * Asset resource name of the associated square marketing image. This and/or a marketing image + * asset is required. + * @return value or {@code null} for none + */ + public java.lang.String getSquareMarketingImageAsset() { + return squareMarketingImageAsset; + } + + /** + * Asset resource name of the associated square marketing image. This and/or a marketing image + * asset is required. + * @param squareMarketingImageAsset squareMarketingImageAsset or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDemandGenCarouselCardAsset setSquareMarketingImageAsset(java.lang.String squareMarketingImageAsset) { + this.squareMarketingImageAsset = squareMarketingImageAsset; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonDemandGenCarouselCardAsset set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonDemandGenCarouselCardAsset) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonDemandGenCarouselCardAsset clone() { + return (GoogleAdsSearchads360V23CommonDemandGenCarouselCardAsset) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonDemandGenMultiAssetAdInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonDemandGenMultiAssetAdInfo.java new file mode 100644 index 00000000000..16135751365 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonDemandGenMultiAssetAdInfo.java @@ -0,0 +1,337 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A Demand Gen multi asset ad. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonDemandGenMultiAssetAdInfo extends com.google.api.client.json.GenericJson { + + /** + * The Advertiser/brand name. Maximum display width is 25. Required. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String businessName; + + /** + * Call to action text. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String callToActionText; + + /** + * The descriptive text of the ad. Maximum display width is 90. At least 1 and max 5 descriptions + * can be specified. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List descriptions; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonAdTextAsset used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonAdTextAsset.class); + } + + /** + * Headline text asset of the ad. Maximum display width is 30. At least 1 and max 5 headlines can + * be specified. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List headlines; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonAdTextAsset used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonAdTextAsset.class); + } + + /** + * Logo image assets to be used in the ad. Valid image types are GIF, JPEG, and PNG. The minimum + * size is 128x128 and the aspect ratio must be 1:1 (+-1%). At least 1 and max 5 logo images can + * be specified. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List logoImages; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonAdImageAsset used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonAdImageAsset.class); + } + + /** + * Marketing image assets to be used in the ad. Valid image types are GIF, JPEG, and PNG. The + * minimum size is 600x314 and the aspect ratio must be 1.91:1 (+-1%). Required if + * square_marketing_images is not present. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List marketingImages; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonAdImageAsset used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonAdImageAsset.class); + } + + /** + * Portrait marketing image assets to be used in the ad. Valid image types are GIF, JPEG, and PNG. + * The minimum size is 480x600 and the aspect ratio must be 4:5 (+-1%). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List portraitMarketingImages; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonAdImageAsset used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonAdImageAsset.class); + } + + /** + * Square marketing image assets to be used in the ad. Valid image types are GIF, JPEG, and PNG. + * The minimum size is 300x300 and the aspect ratio must be 1:1 (+-1%). Required if + * marketing_images is not present. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List squareMarketingImages; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonAdImageAsset used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonAdImageAsset.class); + } + + /** + * Tall portrait marketing image assets to be used in the ad. Valid image types are GIF, JPEG, and + * PNG. The minimum size is 600x1067 and the aspect ratio must be 9:16 (+-1%). Combined with + * `marketing_images`, `square_marketing_images`, and `portrait_marketing_images`, the maximum is + * 20. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List tallPortraitMarketingImages; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonAdImageAsset used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonAdImageAsset.class); + } + + /** + * The Advertiser/brand name. Maximum display width is 25. Required. + * @return value or {@code null} for none + */ + public java.lang.String getBusinessName() { + return businessName; + } + + /** + * The Advertiser/brand name. Maximum display width is 25. Required. + * @param businessName businessName or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDemandGenMultiAssetAdInfo setBusinessName(java.lang.String businessName) { + this.businessName = businessName; + return this; + } + + /** + * Call to action text. + * @return value or {@code null} for none + */ + public java.lang.String getCallToActionText() { + return callToActionText; + } + + /** + * Call to action text. + * @param callToActionText callToActionText or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDemandGenMultiAssetAdInfo setCallToActionText(java.lang.String callToActionText) { + this.callToActionText = callToActionText; + return this; + } + + /** + * The descriptive text of the ad. Maximum display width is 90. At least 1 and max 5 descriptions + * can be specified. + * @return value or {@code null} for none + */ + public java.util.List getDescriptions() { + return descriptions; + } + + /** + * The descriptive text of the ad. Maximum display width is 90. At least 1 and max 5 descriptions + * can be specified. + * @param descriptions descriptions or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDemandGenMultiAssetAdInfo setDescriptions(java.util.List descriptions) { + this.descriptions = descriptions; + return this; + } + + /** + * Headline text asset of the ad. Maximum display width is 30. At least 1 and max 5 headlines can + * be specified. + * @return value or {@code null} for none + */ + public java.util.List getHeadlines() { + return headlines; + } + + /** + * Headline text asset of the ad. Maximum display width is 30. At least 1 and max 5 headlines can + * be specified. + * @param headlines headlines or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDemandGenMultiAssetAdInfo setHeadlines(java.util.List headlines) { + this.headlines = headlines; + return this; + } + + /** + * Logo image assets to be used in the ad. Valid image types are GIF, JPEG, and PNG. The minimum + * size is 128x128 and the aspect ratio must be 1:1 (+-1%). At least 1 and max 5 logo images can + * be specified. + * @return value or {@code null} for none + */ + public java.util.List getLogoImages() { + return logoImages; + } + + /** + * Logo image assets to be used in the ad. Valid image types are GIF, JPEG, and PNG. The minimum + * size is 128x128 and the aspect ratio must be 1:1 (+-1%). At least 1 and max 5 logo images can + * be specified. + * @param logoImages logoImages or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDemandGenMultiAssetAdInfo setLogoImages(java.util.List logoImages) { + this.logoImages = logoImages; + return this; + } + + /** + * Marketing image assets to be used in the ad. Valid image types are GIF, JPEG, and PNG. The + * minimum size is 600x314 and the aspect ratio must be 1.91:1 (+-1%). Required if + * square_marketing_images is not present. + * @return value or {@code null} for none + */ + public java.util.List getMarketingImages() { + return marketingImages; + } + + /** + * Marketing image assets to be used in the ad. Valid image types are GIF, JPEG, and PNG. The + * minimum size is 600x314 and the aspect ratio must be 1.91:1 (+-1%). Required if + * square_marketing_images is not present. + * @param marketingImages marketingImages or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDemandGenMultiAssetAdInfo setMarketingImages(java.util.List marketingImages) { + this.marketingImages = marketingImages; + return this; + } + + /** + * Portrait marketing image assets to be used in the ad. Valid image types are GIF, JPEG, and PNG. + * The minimum size is 480x600 and the aspect ratio must be 4:5 (+-1%). + * @return value or {@code null} for none + */ + public java.util.List getPortraitMarketingImages() { + return portraitMarketingImages; + } + + /** + * Portrait marketing image assets to be used in the ad. Valid image types are GIF, JPEG, and PNG. + * The minimum size is 480x600 and the aspect ratio must be 4:5 (+-1%). + * @param portraitMarketingImages portraitMarketingImages or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDemandGenMultiAssetAdInfo setPortraitMarketingImages(java.util.List portraitMarketingImages) { + this.portraitMarketingImages = portraitMarketingImages; + return this; + } + + /** + * Square marketing image assets to be used in the ad. Valid image types are GIF, JPEG, and PNG. + * The minimum size is 300x300 and the aspect ratio must be 1:1 (+-1%). Required if + * marketing_images is not present. + * @return value or {@code null} for none + */ + public java.util.List getSquareMarketingImages() { + return squareMarketingImages; + } + + /** + * Square marketing image assets to be used in the ad. Valid image types are GIF, JPEG, and PNG. + * The minimum size is 300x300 and the aspect ratio must be 1:1 (+-1%). Required if + * marketing_images is not present. + * @param squareMarketingImages squareMarketingImages or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDemandGenMultiAssetAdInfo setSquareMarketingImages(java.util.List squareMarketingImages) { + this.squareMarketingImages = squareMarketingImages; + return this; + } + + /** + * Tall portrait marketing image assets to be used in the ad. Valid image types are GIF, JPEG, and + * PNG. The minimum size is 600x1067 and the aspect ratio must be 9:16 (+-1%). Combined with + * `marketing_images`, `square_marketing_images`, and `portrait_marketing_images`, the maximum is + * 20. + * @return value or {@code null} for none + */ + public java.util.List getTallPortraitMarketingImages() { + return tallPortraitMarketingImages; + } + + /** + * Tall portrait marketing image assets to be used in the ad. Valid image types are GIF, JPEG, and + * PNG. The minimum size is 600x1067 and the aspect ratio must be 9:16 (+-1%). Combined with + * `marketing_images`, `square_marketing_images`, and `portrait_marketing_images`, the maximum is + * 20. + * @param tallPortraitMarketingImages tallPortraitMarketingImages or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDemandGenMultiAssetAdInfo setTallPortraitMarketingImages(java.util.List tallPortraitMarketingImages) { + this.tallPortraitMarketingImages = tallPortraitMarketingImages; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonDemandGenMultiAssetAdInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonDemandGenMultiAssetAdInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonDemandGenMultiAssetAdInfo clone() { + return (GoogleAdsSearchads360V23CommonDemandGenMultiAssetAdInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonDemandGenProductAdInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonDemandGenProductAdInfo.java new file mode 100644 index 00000000000..df47626b76e --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonDemandGenProductAdInfo.java @@ -0,0 +1,214 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A Demand Gen product ad. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonDemandGenProductAdInfo extends com.google.api.client.json.GenericJson { + + /** + * First part of text that appears in the ad with the displayed URL. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String breadcrumb1; + + /** + * Second part of text that appears in the ad with the displayed URL. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String breadcrumb2; + + /** + * Required. The advertiser/brand name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonAdTextAsset businessName; + + /** + * Asset of type CallToActionAsset used for the "Call To Action" button. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonAdCallToActionAsset callToAction; + + /** + * Required. Text asset used for the description. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonAdTextAsset description; + + /** + * Required. Text asset used for the short headline. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonAdTextAsset headline; + + /** + * Required. Logo image to be used in the ad. Valid image types are GIF, JPEG, and PNG. The + * minimum size is 128x128 and the aspect ratio must be 1:1 (+-1%). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonAdImageAsset logoImage; + + /** + * First part of text that appears in the ad with the displayed URL. + * @return value or {@code null} for none + */ + public java.lang.String getBreadcrumb1() { + return breadcrumb1; + } + + /** + * First part of text that appears in the ad with the displayed URL. + * @param breadcrumb1 breadcrumb1 or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDemandGenProductAdInfo setBreadcrumb1(java.lang.String breadcrumb1) { + this.breadcrumb1 = breadcrumb1; + return this; + } + + /** + * Second part of text that appears in the ad with the displayed URL. + * @return value or {@code null} for none + */ + public java.lang.String getBreadcrumb2() { + return breadcrumb2; + } + + /** + * Second part of text that appears in the ad with the displayed URL. + * @param breadcrumb2 breadcrumb2 or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDemandGenProductAdInfo setBreadcrumb2(java.lang.String breadcrumb2) { + this.breadcrumb2 = breadcrumb2; + return this; + } + + /** + * Required. The advertiser/brand name. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAdTextAsset getBusinessName() { + return businessName; + } + + /** + * Required. The advertiser/brand name. + * @param businessName businessName or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDemandGenProductAdInfo setBusinessName(GoogleAdsSearchads360V23CommonAdTextAsset businessName) { + this.businessName = businessName; + return this; + } + + /** + * Asset of type CallToActionAsset used for the "Call To Action" button. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAdCallToActionAsset getCallToAction() { + return callToAction; + } + + /** + * Asset of type CallToActionAsset used for the "Call To Action" button. + * @param callToAction callToAction or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDemandGenProductAdInfo setCallToAction(GoogleAdsSearchads360V23CommonAdCallToActionAsset callToAction) { + this.callToAction = callToAction; + return this; + } + + /** + * Required. Text asset used for the description. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAdTextAsset getDescription() { + return description; + } + + /** + * Required. Text asset used for the description. + * @param description description or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDemandGenProductAdInfo setDescription(GoogleAdsSearchads360V23CommonAdTextAsset description) { + this.description = description; + return this; + } + + /** + * Required. Text asset used for the short headline. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAdTextAsset getHeadline() { + return headline; + } + + /** + * Required. Text asset used for the short headline. + * @param headline headline or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDemandGenProductAdInfo setHeadline(GoogleAdsSearchads360V23CommonAdTextAsset headline) { + this.headline = headline; + return this; + } + + /** + * Required. Logo image to be used in the ad. Valid image types are GIF, JPEG, and PNG. The + * minimum size is 128x128 and the aspect ratio must be 1:1 (+-1%). + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAdImageAsset getLogoImage() { + return logoImage; + } + + /** + * Required. Logo image to be used in the ad. Valid image types are GIF, JPEG, and PNG. The + * minimum size is 128x128 and the aspect ratio must be 1:1 (+-1%). + * @param logoImage logoImage or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDemandGenProductAdInfo setLogoImage(GoogleAdsSearchads360V23CommonAdImageAsset logoImage) { + this.logoImage = logoImage; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonDemandGenProductAdInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonDemandGenProductAdInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonDemandGenProductAdInfo clone() { + return (GoogleAdsSearchads360V23CommonDemandGenProductAdInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonDemandGenVideoResponsiveAdInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonDemandGenVideoResponsiveAdInfo.java new file mode 100644 index 00000000000..276a9d6cb87 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonDemandGenVideoResponsiveAdInfo.java @@ -0,0 +1,331 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A Demand Gen video responsive ad. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonDemandGenVideoResponsiveAdInfo extends com.google.api.client.json.GenericJson { + + /** + * First part of text that appears in the ad with the displayed URL. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String breadcrumb1; + + /** + * Second part of text that appears in the ad with the displayed URL. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String breadcrumb2; + + /** + * Required. The advertiser/brand name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonAdTextAsset businessName; + + /** + * Assets of type CallToActionAsset used for the "Call To Action" button. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List callToActions; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonAdCallToActionAsset used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonAdCallToActionAsset.class); + } + + /** + * List of image assets used for the companion banner. Currently, only a single value for the + * companion banner asset is supported. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List companionBanners; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonAdImageAsset used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonAdImageAsset.class); + } + + /** + * List of text assets used for the description. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List descriptions; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonAdTextAsset used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonAdTextAsset.class); + } + + /** + * List of text assets used for the short headline. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List headlines; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonAdTextAsset used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonAdTextAsset.class); + } + + /** + * Logo image to be used in the ad. Valid image types are GIF, JPEG, and PNG. The minimum size is + * 128x128 and the aspect ratio must be 1:1 (+-1%). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List logoImages; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonAdImageAsset used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonAdImageAsset.class); + } + + /** + * List of text assets used for the long headline. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List longHeadlines; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonAdTextAsset used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonAdTextAsset.class); + } + + /** + * List of YouTube video assets used for the ad. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List videos; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonAdVideoAsset used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonAdVideoAsset.class); + } + + /** + * First part of text that appears in the ad with the displayed URL. + * @return value or {@code null} for none + */ + public java.lang.String getBreadcrumb1() { + return breadcrumb1; + } + + /** + * First part of text that appears in the ad with the displayed URL. + * @param breadcrumb1 breadcrumb1 or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDemandGenVideoResponsiveAdInfo setBreadcrumb1(java.lang.String breadcrumb1) { + this.breadcrumb1 = breadcrumb1; + return this; + } + + /** + * Second part of text that appears in the ad with the displayed URL. + * @return value or {@code null} for none + */ + public java.lang.String getBreadcrumb2() { + return breadcrumb2; + } + + /** + * Second part of text that appears in the ad with the displayed URL. + * @param breadcrumb2 breadcrumb2 or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDemandGenVideoResponsiveAdInfo setBreadcrumb2(java.lang.String breadcrumb2) { + this.breadcrumb2 = breadcrumb2; + return this; + } + + /** + * Required. The advertiser/brand name. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAdTextAsset getBusinessName() { + return businessName; + } + + /** + * Required. The advertiser/brand name. + * @param businessName businessName or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDemandGenVideoResponsiveAdInfo setBusinessName(GoogleAdsSearchads360V23CommonAdTextAsset businessName) { + this.businessName = businessName; + return this; + } + + /** + * Assets of type CallToActionAsset used for the "Call To Action" button. + * @return value or {@code null} for none + */ + public java.util.List getCallToActions() { + return callToActions; + } + + /** + * Assets of type CallToActionAsset used for the "Call To Action" button. + * @param callToActions callToActions or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDemandGenVideoResponsiveAdInfo setCallToActions(java.util.List callToActions) { + this.callToActions = callToActions; + return this; + } + + /** + * List of image assets used for the companion banner. Currently, only a single value for the + * companion banner asset is supported. + * @return value or {@code null} for none + */ + public java.util.List getCompanionBanners() { + return companionBanners; + } + + /** + * List of image assets used for the companion banner. Currently, only a single value for the + * companion banner asset is supported. + * @param companionBanners companionBanners or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDemandGenVideoResponsiveAdInfo setCompanionBanners(java.util.List companionBanners) { + this.companionBanners = companionBanners; + return this; + } + + /** + * List of text assets used for the description. + * @return value or {@code null} for none + */ + public java.util.List getDescriptions() { + return descriptions; + } + + /** + * List of text assets used for the description. + * @param descriptions descriptions or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDemandGenVideoResponsiveAdInfo setDescriptions(java.util.List descriptions) { + this.descriptions = descriptions; + return this; + } + + /** + * List of text assets used for the short headline. + * @return value or {@code null} for none + */ + public java.util.List getHeadlines() { + return headlines; + } + + /** + * List of text assets used for the short headline. + * @param headlines headlines or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDemandGenVideoResponsiveAdInfo setHeadlines(java.util.List headlines) { + this.headlines = headlines; + return this; + } + + /** + * Logo image to be used in the ad. Valid image types are GIF, JPEG, and PNG. The minimum size is + * 128x128 and the aspect ratio must be 1:1 (+-1%). + * @return value or {@code null} for none + */ + public java.util.List getLogoImages() { + return logoImages; + } + + /** + * Logo image to be used in the ad. Valid image types are GIF, JPEG, and PNG. The minimum size is + * 128x128 and the aspect ratio must be 1:1 (+-1%). + * @param logoImages logoImages or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDemandGenVideoResponsiveAdInfo setLogoImages(java.util.List logoImages) { + this.logoImages = logoImages; + return this; + } + + /** + * List of text assets used for the long headline. + * @return value or {@code null} for none + */ + public java.util.List getLongHeadlines() { + return longHeadlines; + } + + /** + * List of text assets used for the long headline. + * @param longHeadlines longHeadlines or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDemandGenVideoResponsiveAdInfo setLongHeadlines(java.util.List longHeadlines) { + this.longHeadlines = longHeadlines; + return this; + } + + /** + * List of YouTube video assets used for the ad. + * @return value or {@code null} for none + */ + public java.util.List getVideos() { + return videos; + } + + /** + * List of YouTube video assets used for the ad. + * @param videos videos or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDemandGenVideoResponsiveAdInfo setVideos(java.util.List videos) { + this.videos = videos; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonDemandGenVideoResponsiveAdInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonDemandGenVideoResponsiveAdInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonDemandGenVideoResponsiveAdInfo clone() { + return (GoogleAdsSearchads360V23CommonDemandGenVideoResponsiveAdInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonDetailedDemographicSegment.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonDetailedDemographicSegment.java new file mode 100644 index 00000000000..dcd5c27c3c2 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonDetailedDemographicSegment.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Detailed demographic segment. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonDetailedDemographicSegment extends com.google.api.client.json.GenericJson { + + /** + * The detailed demographic resource. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String detailedDemographic; + + /** + * The detailed demographic resource. + * @return value or {@code null} for none + */ + public java.lang.String getDetailedDemographic() { + return detailedDemographic; + } + + /** + * The detailed demographic resource. + * @param detailedDemographic detailedDemographic or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDetailedDemographicSegment setDetailedDemographic(java.lang.String detailedDemographic) { + this.detailedDemographic = detailedDemographic; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonDetailedDemographicSegment set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonDetailedDemographicSegment) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonDetailedDemographicSegment clone() { + return (GoogleAdsSearchads360V23CommonDetailedDemographicSegment) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonDeviceInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonDeviceInfo.java new file mode 100644 index 00000000000..0194ac4ada3 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonDeviceInfo.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A device criterion. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonDeviceInfo extends com.google.api.client.json.GenericJson { + + /** + * Type of the device. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String type; + + /** + * Type of the device. + * @return value or {@code null} for none + */ + public java.lang.String getType() { + return type; + } + + /** + * Type of the device. + * @param type type or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDeviceInfo setType(java.lang.String type) { + this.type = type; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonDeviceInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonDeviceInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonDeviceInfo clone() { + return (GoogleAdsSearchads360V23CommonDeviceInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonDisplayUploadAdInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonDisplayUploadAdInfo.java new file mode 100644 index 00000000000..d9963d08a5f --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonDisplayUploadAdInfo.java @@ -0,0 +1,105 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A generic type of display ad. The exact ad format is controlled by the + * `display_upload_product_type` field, which determines what kinds of data need to be included with + * the ad. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonDisplayUploadAdInfo extends com.google.api.client.json.GenericJson { + + /** + * The product type of this ad. See comments on the enum for details. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String displayUploadProductType; + + /** + * A media bundle asset to be used in the ad. For information about the media bundle for + * HTML5_UPLOAD_AD, see https://support.google.com/google-ads/answer/1722096 Media bundles that + * are part of dynamic product types use a special format that needs to be created through the + * Google Web Designer. See https://support.google.com/webdesigner/answer/7543898 for more + * information. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonAdMediaBundleAsset mediaBundle; + + /** + * The product type of this ad. See comments on the enum for details. + * @return value or {@code null} for none + */ + public java.lang.String getDisplayUploadProductType() { + return displayUploadProductType; + } + + /** + * The product type of this ad. See comments on the enum for details. + * @param displayUploadProductType displayUploadProductType or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDisplayUploadAdInfo setDisplayUploadProductType(java.lang.String displayUploadProductType) { + this.displayUploadProductType = displayUploadProductType; + return this; + } + + /** + * A media bundle asset to be used in the ad. For information about the media bundle for + * HTML5_UPLOAD_AD, see https://support.google.com/google-ads/answer/1722096 Media bundles that + * are part of dynamic product types use a special format that needs to be created through the + * Google Web Designer. See https://support.google.com/webdesigner/answer/7543898 for more + * information. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAdMediaBundleAsset getMediaBundle() { + return mediaBundle; + } + + /** + * A media bundle asset to be used in the ad. For information about the media bundle for + * HTML5_UPLOAD_AD, see https://support.google.com/google-ads/answer/1722096 Media bundles that + * are part of dynamic product types use a special format that needs to be created through the + * Google Web Designer. See https://support.google.com/webdesigner/answer/7543898 for more + * information. + * @param mediaBundle mediaBundle or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDisplayUploadAdInfo setMediaBundle(GoogleAdsSearchads360V23CommonAdMediaBundleAsset mediaBundle) { + this.mediaBundle = mediaBundle; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonDisplayUploadAdInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonDisplayUploadAdInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonDisplayUploadAdInfo clone() { + return (GoogleAdsSearchads360V23CommonDisplayUploadAdInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonDynamicBusinessProfileLocationGroupFilter.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonDynamicBusinessProfileLocationGroupFilter.java new file mode 100644 index 00000000000..9749f0614de --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonDynamicBusinessProfileLocationGroupFilter.java @@ -0,0 +1,119 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Represents a filter on Business Profile locations in an asset set. If multiple filters are + * provided, they are AND'ed together. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonDynamicBusinessProfileLocationGroupFilter extends com.google.api.client.json.GenericJson { + + /** + * Used to filter Business Profile locations by business name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonBusinessProfileBusinessNameFilter businessNameFilter; + + /** + * Used to filter Business Profile locations by label. Only locations that have any of the listed + * labels will be in the asset set. Label filters are OR'ed together. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List labelFilters; + + /** + * Used to filter Business Profile locations by listing ids. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.util.List listingIdFilters; + + /** + * Used to filter Business Profile locations by business name. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonBusinessProfileBusinessNameFilter getBusinessNameFilter() { + return businessNameFilter; + } + + /** + * Used to filter Business Profile locations by business name. + * @param businessNameFilter businessNameFilter or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicBusinessProfileLocationGroupFilter setBusinessNameFilter(GoogleAdsSearchads360V23CommonBusinessProfileBusinessNameFilter businessNameFilter) { + this.businessNameFilter = businessNameFilter; + return this; + } + + /** + * Used to filter Business Profile locations by label. Only locations that have any of the listed + * labels will be in the asset set. Label filters are OR'ed together. + * @return value or {@code null} for none + */ + public java.util.List getLabelFilters() { + return labelFilters; + } + + /** + * Used to filter Business Profile locations by label. Only locations that have any of the listed + * labels will be in the asset set. Label filters are OR'ed together. + * @param labelFilters labelFilters or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicBusinessProfileLocationGroupFilter setLabelFilters(java.util.List labelFilters) { + this.labelFilters = labelFilters; + return this; + } + + /** + * Used to filter Business Profile locations by listing ids. + * @return value or {@code null} for none + */ + public java.util.List getListingIdFilters() { + return listingIdFilters; + } + + /** + * Used to filter Business Profile locations by listing ids. + * @param listingIdFilters listingIdFilters or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicBusinessProfileLocationGroupFilter setListingIdFilters(java.util.List listingIdFilters) { + this.listingIdFilters = listingIdFilters; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonDynamicBusinessProfileLocationGroupFilter set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonDynamicBusinessProfileLocationGroupFilter) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonDynamicBusinessProfileLocationGroupFilter clone() { + return (GoogleAdsSearchads360V23CommonDynamicBusinessProfileLocationGroupFilter) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonDynamicCustomAsset.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonDynamicCustomAsset.java new file mode 100644 index 00000000000..ad719a240b0 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonDynamicCustomAsset.java @@ -0,0 +1,484 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A dynamic custom asset. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonDynamicCustomAsset extends com.google.api.client.json.GenericJson { + + /** + * Android deep link, for example, android-app://com.example.android/http/example.com/gizmos?1234. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String androidAppLink; + + /** + * Contextual keywords, for example, Sedans, 4 door sedans. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List contextualKeywords; + + /** + * Formatted price which can be any characters. If set, this attribute will be used instead of + * 'price', for example, Starting at $20,000.00. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String formattedPrice; + + /** + * Formatted sale price which can be any characters. If set, this attribute will be used instead + * of 'sale price', for example, On sale for $15,000.00. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String formattedSalePrice; + + /** + * Required. ID which can be any sequence of letters and digits, and must be unique and match the + * values of remarketing tag, for example, sedan. Required. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String id; + + /** + * ID2 which can be any sequence of letters and digits, for example, red. ID sequence (ID + ID2) + * must be unique. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String id2; + + /** + * Image URL, for example, http://www.example.com/image.png. The image will not be uploaded as + * image asset. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String imageUrl; + + /** + * iOS deep link, for example, exampleApp://content/page. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String iosAppLink; + + /** + * iOS app store ID. This is used to check if the user has the app installed on their device + * before deep linking. If this field is set, then the ios_app_link field must also be present. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long iosAppStoreId; + + /** + * Item address which can be specified in one of the following formats. (1) City, state, code, + * country, for example, Mountain View, CA, USA. (2) Full address, for example, 123 Boulevard St, + * Mountain View, CA 94043. (3) Latitude-longitude in the DDD format, for example, 41.40338, + * 2.17403 + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String itemAddress; + + /** + * Item category, for example, Sedans. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String itemCategory; + + /** + * Item description, for example, Best selling mid-size car. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String itemDescription; + + /** + * Item subtitle, for example, At your Mountain View dealership. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String itemSubtitle; + + /** + * Required. Item title, for example, Mid-size sedan. Required. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String itemTitle; + + /** + * Price which can be number followed by the alphabetic currency code, ISO 4217 standard. Use '.' + * as the decimal mark, for example, 20,000.00 USD. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String price; + + /** + * Sale price which can be number followed by the alphabetic currency code, ISO 4217 standard. Use + * '.' as the decimal mark, for example, 15,000.00 USD. Must be less than the 'price' field. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String salePrice; + + /** + * Similar IDs. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List similarIds; + + /** + * Android deep link, for example, android-app://com.example.android/http/example.com/gizmos?1234. + * @return value or {@code null} for none + */ + public java.lang.String getAndroidAppLink() { + return androidAppLink; + } + + /** + * Android deep link, for example, android-app://com.example.android/http/example.com/gizmos?1234. + * @param androidAppLink androidAppLink or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicCustomAsset setAndroidAppLink(java.lang.String androidAppLink) { + this.androidAppLink = androidAppLink; + return this; + } + + /** + * Contextual keywords, for example, Sedans, 4 door sedans. + * @return value or {@code null} for none + */ + public java.util.List getContextualKeywords() { + return contextualKeywords; + } + + /** + * Contextual keywords, for example, Sedans, 4 door sedans. + * @param contextualKeywords contextualKeywords or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicCustomAsset setContextualKeywords(java.util.List contextualKeywords) { + this.contextualKeywords = contextualKeywords; + return this; + } + + /** + * Formatted price which can be any characters. If set, this attribute will be used instead of + * 'price', for example, Starting at $20,000.00. + * @return value or {@code null} for none + */ + public java.lang.String getFormattedPrice() { + return formattedPrice; + } + + /** + * Formatted price which can be any characters. If set, this attribute will be used instead of + * 'price', for example, Starting at $20,000.00. + * @param formattedPrice formattedPrice or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicCustomAsset setFormattedPrice(java.lang.String formattedPrice) { + this.formattedPrice = formattedPrice; + return this; + } + + /** + * Formatted sale price which can be any characters. If set, this attribute will be used instead + * of 'sale price', for example, On sale for $15,000.00. + * @return value or {@code null} for none + */ + public java.lang.String getFormattedSalePrice() { + return formattedSalePrice; + } + + /** + * Formatted sale price which can be any characters. If set, this attribute will be used instead + * of 'sale price', for example, On sale for $15,000.00. + * @param formattedSalePrice formattedSalePrice or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicCustomAsset setFormattedSalePrice(java.lang.String formattedSalePrice) { + this.formattedSalePrice = formattedSalePrice; + return this; + } + + /** + * Required. ID which can be any sequence of letters and digits, and must be unique and match the + * values of remarketing tag, for example, sedan. Required. + * @return value or {@code null} for none + */ + public java.lang.String getId() { + return id; + } + + /** + * Required. ID which can be any sequence of letters and digits, and must be unique and match the + * values of remarketing tag, for example, sedan. Required. + * @param id id or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicCustomAsset setId(java.lang.String id) { + this.id = id; + return this; + } + + /** + * ID2 which can be any sequence of letters and digits, for example, red. ID sequence (ID + ID2) + * must be unique. + * @return value or {@code null} for none + */ + public java.lang.String getId2() { + return id2; + } + + /** + * ID2 which can be any sequence of letters and digits, for example, red. ID sequence (ID + ID2) + * must be unique. + * @param id2 id2 or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicCustomAsset setId2(java.lang.String id2) { + this.id2 = id2; + return this; + } + + /** + * Image URL, for example, http://www.example.com/image.png. The image will not be uploaded as + * image asset. + * @return value or {@code null} for none + */ + public java.lang.String getImageUrl() { + return imageUrl; + } + + /** + * Image URL, for example, http://www.example.com/image.png. The image will not be uploaded as + * image asset. + * @param imageUrl imageUrl or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicCustomAsset setImageUrl(java.lang.String imageUrl) { + this.imageUrl = imageUrl; + return this; + } + + /** + * iOS deep link, for example, exampleApp://content/page. + * @return value or {@code null} for none + */ + public java.lang.String getIosAppLink() { + return iosAppLink; + } + + /** + * iOS deep link, for example, exampleApp://content/page. + * @param iosAppLink iosAppLink or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicCustomAsset setIosAppLink(java.lang.String iosAppLink) { + this.iosAppLink = iosAppLink; + return this; + } + + /** + * iOS app store ID. This is used to check if the user has the app installed on their device + * before deep linking. If this field is set, then the ios_app_link field must also be present. + * @return value or {@code null} for none + */ + public java.lang.Long getIosAppStoreId() { + return iosAppStoreId; + } + + /** + * iOS app store ID. This is used to check if the user has the app installed on their device + * before deep linking. If this field is set, then the ios_app_link field must also be present. + * @param iosAppStoreId iosAppStoreId or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicCustomAsset setIosAppStoreId(java.lang.Long iosAppStoreId) { + this.iosAppStoreId = iosAppStoreId; + return this; + } + + /** + * Item address which can be specified in one of the following formats. (1) City, state, code, + * country, for example, Mountain View, CA, USA. (2) Full address, for example, 123 Boulevard St, + * Mountain View, CA 94043. (3) Latitude-longitude in the DDD format, for example, 41.40338, + * 2.17403 + * @return value or {@code null} for none + */ + public java.lang.String getItemAddress() { + return itemAddress; + } + + /** + * Item address which can be specified in one of the following formats. (1) City, state, code, + * country, for example, Mountain View, CA, USA. (2) Full address, for example, 123 Boulevard St, + * Mountain View, CA 94043. (3) Latitude-longitude in the DDD format, for example, 41.40338, + * 2.17403 + * @param itemAddress itemAddress or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicCustomAsset setItemAddress(java.lang.String itemAddress) { + this.itemAddress = itemAddress; + return this; + } + + /** + * Item category, for example, Sedans. + * @return value or {@code null} for none + */ + public java.lang.String getItemCategory() { + return itemCategory; + } + + /** + * Item category, for example, Sedans. + * @param itemCategory itemCategory or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicCustomAsset setItemCategory(java.lang.String itemCategory) { + this.itemCategory = itemCategory; + return this; + } + + /** + * Item description, for example, Best selling mid-size car. + * @return value or {@code null} for none + */ + public java.lang.String getItemDescription() { + return itemDescription; + } + + /** + * Item description, for example, Best selling mid-size car. + * @param itemDescription itemDescription or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicCustomAsset setItemDescription(java.lang.String itemDescription) { + this.itemDescription = itemDescription; + return this; + } + + /** + * Item subtitle, for example, At your Mountain View dealership. + * @return value or {@code null} for none + */ + public java.lang.String getItemSubtitle() { + return itemSubtitle; + } + + /** + * Item subtitle, for example, At your Mountain View dealership. + * @param itemSubtitle itemSubtitle or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicCustomAsset setItemSubtitle(java.lang.String itemSubtitle) { + this.itemSubtitle = itemSubtitle; + return this; + } + + /** + * Required. Item title, for example, Mid-size sedan. Required. + * @return value or {@code null} for none + */ + public java.lang.String getItemTitle() { + return itemTitle; + } + + /** + * Required. Item title, for example, Mid-size sedan. Required. + * @param itemTitle itemTitle or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicCustomAsset setItemTitle(java.lang.String itemTitle) { + this.itemTitle = itemTitle; + return this; + } + + /** + * Price which can be number followed by the alphabetic currency code, ISO 4217 standard. Use '.' + * as the decimal mark, for example, 20,000.00 USD. + * @return value or {@code null} for none + */ + public java.lang.String getPrice() { + return price; + } + + /** + * Price which can be number followed by the alphabetic currency code, ISO 4217 standard. Use '.' + * as the decimal mark, for example, 20,000.00 USD. + * @param price price or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicCustomAsset setPrice(java.lang.String price) { + this.price = price; + return this; + } + + /** + * Sale price which can be number followed by the alphabetic currency code, ISO 4217 standard. Use + * '.' as the decimal mark, for example, 15,000.00 USD. Must be less than the 'price' field. + * @return value or {@code null} for none + */ + public java.lang.String getSalePrice() { + return salePrice; + } + + /** + * Sale price which can be number followed by the alphabetic currency code, ISO 4217 standard. Use + * '.' as the decimal mark, for example, 15,000.00 USD. Must be less than the 'price' field. + * @param salePrice salePrice or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicCustomAsset setSalePrice(java.lang.String salePrice) { + this.salePrice = salePrice; + return this; + } + + /** + * Similar IDs. + * @return value or {@code null} for none + */ + public java.util.List getSimilarIds() { + return similarIds; + } + + /** + * Similar IDs. + * @param similarIds similarIds or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicCustomAsset setSimilarIds(java.util.List similarIds) { + this.similarIds = similarIds; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonDynamicCustomAsset set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonDynamicCustomAsset) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonDynamicCustomAsset clone() { + return (GoogleAdsSearchads360V23CommonDynamicCustomAsset) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonDynamicEducationAsset.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonDynamicEducationAsset.java new file mode 100644 index 00000000000..2d905d12c56 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonDynamicEducationAsset.java @@ -0,0 +1,400 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A Dynamic Education asset. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonDynamicEducationAsset extends com.google.api.client.json.GenericJson { + + /** + * School address which can be specified in one of the following formats. (1) City, state, code, + * country, for example, Mountain View, CA, USA. (2) Full address, for example, 123 Boulevard St, + * Mountain View, CA 94043. (3) Latitude-longitude in the DDD format, for example, 41.40338, + * 2.17403 + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String address; + + /** + * Android deep link, for example, android-app://com.example.android/http/example.com/gizmos?1234. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String androidAppLink; + + /** + * Contextual keywords, for example, Nursing certification, Health, Mountain View. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List contextualKeywords; + + /** + * Image url, for example, http://www.example.com/image.png. The image will not be uploaded as + * image asset. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String imageUrl; + + /** + * iOS deep link, for example, exampleApp://content/page. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String iosAppLink; + + /** + * iOS app store ID. This is used to check if the user has the app installed on their device + * before deep linking. If this field is set, then the ios_app_link field must also be present. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long iosAppStoreId; + + /** + * Location ID which can be any sequence of letters and digits and must be unique. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String locationId; + + /** + * Program description, for example, Nursing Certification. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String programDescription; + + /** + * Required. Program ID which can be any sequence of letters and digits, and must be unique and + * match the values of remarketing tag. Required. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String programId; + + /** + * Required. Program name, for example, Nursing. Required. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String programName; + + /** + * School name, for example, Mountain View School of Nursing. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String schoolName; + + /** + * Similar program IDs. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List similarProgramIds; + + /** + * Subject of study, for example, Health. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String subject; + + /** + * Thumbnail image url, for example, http://www.example.com/thumbnail.png. The thumbnail image + * will not be uploaded as image asset. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String thumbnailImageUrl; + + /** + * School address which can be specified in one of the following formats. (1) City, state, code, + * country, for example, Mountain View, CA, USA. (2) Full address, for example, 123 Boulevard St, + * Mountain View, CA 94043. (3) Latitude-longitude in the DDD format, for example, 41.40338, + * 2.17403 + * @return value or {@code null} for none + */ + public java.lang.String getAddress() { + return address; + } + + /** + * School address which can be specified in one of the following formats. (1) City, state, code, + * country, for example, Mountain View, CA, USA. (2) Full address, for example, 123 Boulevard St, + * Mountain View, CA 94043. (3) Latitude-longitude in the DDD format, for example, 41.40338, + * 2.17403 + * @param address address or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicEducationAsset setAddress(java.lang.String address) { + this.address = address; + return this; + } + + /** + * Android deep link, for example, android-app://com.example.android/http/example.com/gizmos?1234. + * @return value or {@code null} for none + */ + public java.lang.String getAndroidAppLink() { + return androidAppLink; + } + + /** + * Android deep link, for example, android-app://com.example.android/http/example.com/gizmos?1234. + * @param androidAppLink androidAppLink or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicEducationAsset setAndroidAppLink(java.lang.String androidAppLink) { + this.androidAppLink = androidAppLink; + return this; + } + + /** + * Contextual keywords, for example, Nursing certification, Health, Mountain View. + * @return value or {@code null} for none + */ + public java.util.List getContextualKeywords() { + return contextualKeywords; + } + + /** + * Contextual keywords, for example, Nursing certification, Health, Mountain View. + * @param contextualKeywords contextualKeywords or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicEducationAsset setContextualKeywords(java.util.List contextualKeywords) { + this.contextualKeywords = contextualKeywords; + return this; + } + + /** + * Image url, for example, http://www.example.com/image.png. The image will not be uploaded as + * image asset. + * @return value or {@code null} for none + */ + public java.lang.String getImageUrl() { + return imageUrl; + } + + /** + * Image url, for example, http://www.example.com/image.png. The image will not be uploaded as + * image asset. + * @param imageUrl imageUrl or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicEducationAsset setImageUrl(java.lang.String imageUrl) { + this.imageUrl = imageUrl; + return this; + } + + /** + * iOS deep link, for example, exampleApp://content/page. + * @return value or {@code null} for none + */ + public java.lang.String getIosAppLink() { + return iosAppLink; + } + + /** + * iOS deep link, for example, exampleApp://content/page. + * @param iosAppLink iosAppLink or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicEducationAsset setIosAppLink(java.lang.String iosAppLink) { + this.iosAppLink = iosAppLink; + return this; + } + + /** + * iOS app store ID. This is used to check if the user has the app installed on their device + * before deep linking. If this field is set, then the ios_app_link field must also be present. + * @return value or {@code null} for none + */ + public java.lang.Long getIosAppStoreId() { + return iosAppStoreId; + } + + /** + * iOS app store ID. This is used to check if the user has the app installed on their device + * before deep linking. If this field is set, then the ios_app_link field must also be present. + * @param iosAppStoreId iosAppStoreId or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicEducationAsset setIosAppStoreId(java.lang.Long iosAppStoreId) { + this.iosAppStoreId = iosAppStoreId; + return this; + } + + /** + * Location ID which can be any sequence of letters and digits and must be unique. + * @return value or {@code null} for none + */ + public java.lang.String getLocationId() { + return locationId; + } + + /** + * Location ID which can be any sequence of letters and digits and must be unique. + * @param locationId locationId or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicEducationAsset setLocationId(java.lang.String locationId) { + this.locationId = locationId; + return this; + } + + /** + * Program description, for example, Nursing Certification. + * @return value or {@code null} for none + */ + public java.lang.String getProgramDescription() { + return programDescription; + } + + /** + * Program description, for example, Nursing Certification. + * @param programDescription programDescription or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicEducationAsset setProgramDescription(java.lang.String programDescription) { + this.programDescription = programDescription; + return this; + } + + /** + * Required. Program ID which can be any sequence of letters and digits, and must be unique and + * match the values of remarketing tag. Required. + * @return value or {@code null} for none + */ + public java.lang.String getProgramId() { + return programId; + } + + /** + * Required. Program ID which can be any sequence of letters and digits, and must be unique and + * match the values of remarketing tag. Required. + * @param programId programId or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicEducationAsset setProgramId(java.lang.String programId) { + this.programId = programId; + return this; + } + + /** + * Required. Program name, for example, Nursing. Required. + * @return value or {@code null} for none + */ + public java.lang.String getProgramName() { + return programName; + } + + /** + * Required. Program name, for example, Nursing. Required. + * @param programName programName or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicEducationAsset setProgramName(java.lang.String programName) { + this.programName = programName; + return this; + } + + /** + * School name, for example, Mountain View School of Nursing. + * @return value or {@code null} for none + */ + public java.lang.String getSchoolName() { + return schoolName; + } + + /** + * School name, for example, Mountain View School of Nursing. + * @param schoolName schoolName or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicEducationAsset setSchoolName(java.lang.String schoolName) { + this.schoolName = schoolName; + return this; + } + + /** + * Similar program IDs. + * @return value or {@code null} for none + */ + public java.util.List getSimilarProgramIds() { + return similarProgramIds; + } + + /** + * Similar program IDs. + * @param similarProgramIds similarProgramIds or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicEducationAsset setSimilarProgramIds(java.util.List similarProgramIds) { + this.similarProgramIds = similarProgramIds; + return this; + } + + /** + * Subject of study, for example, Health. + * @return value or {@code null} for none + */ + public java.lang.String getSubject() { + return subject; + } + + /** + * Subject of study, for example, Health. + * @param subject subject or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicEducationAsset setSubject(java.lang.String subject) { + this.subject = subject; + return this; + } + + /** + * Thumbnail image url, for example, http://www.example.com/thumbnail.png. The thumbnail image + * will not be uploaded as image asset. + * @return value or {@code null} for none + */ + public java.lang.String getThumbnailImageUrl() { + return thumbnailImageUrl; + } + + /** + * Thumbnail image url, for example, http://www.example.com/thumbnail.png. The thumbnail image + * will not be uploaded as image asset. + * @param thumbnailImageUrl thumbnailImageUrl or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicEducationAsset setThumbnailImageUrl(java.lang.String thumbnailImageUrl) { + this.thumbnailImageUrl = thumbnailImageUrl; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonDynamicEducationAsset set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonDynamicEducationAsset) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonDynamicEducationAsset clone() { + return (GoogleAdsSearchads360V23CommonDynamicEducationAsset) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonDynamicFlightsAsset.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonDynamicFlightsAsset.java new file mode 100644 index 00000000000..c252c524c26 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonDynamicFlightsAsset.java @@ -0,0 +1,436 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A dynamic flights asset. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonDynamicFlightsAsset extends com.google.api.client.json.GenericJson { + + /** + * Android deep link, for example, android-app://com.example.android/http/example.com/gizmos?1234. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String androidAppLink; + + /** + * A custom field which can be multiple key to values mapping separated by delimiters (",", "|" + * and ":"), in the forms of ": , , ... , | : , ... , | ... | : , ... ," for example, wifi: most | + * aircraft: 320, 77W | flights: 42 | legroom: 32". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String customMapping; + + /** + * Required. Destination ID which can be any sequence of letters and digits, and must be unique + * and match the values of remarketing tag. Required. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String destinationId; + + /** + * Destination name, for example, Paris. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String destinationName; + + /** + * Required. Flight description, for example, Book your ticket. Required. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String flightDescription; + + /** + * Flight price which can be number followed by the alphabetic currency code, ISO 4217 standard. + * Use '.' as the decimal mark, for example, 100.00 USD. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String flightPrice; + + /** + * Flight sale price which can be number followed by the alphabetic currency code, ISO 4217 + * standard. Use '.' as the decimal mark, for example, 80.00 USD. Must be less than the + * 'flight_price' field. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String flightSalePrice; + + /** + * Formatted price which can be any characters. If set, this attribute will be used instead of + * 'price', for example, Starting at $100.00. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String formattedPrice; + + /** + * Formatted sale price which can be any characters. If set, this attribute will be used instead + * of 'sale price', for example, On sale for $80.00. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String formattedSalePrice; + + /** + * Image URL, for example, http://www.example.com/image.png. The image will not be uploaded as + * image asset. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String imageUrl; + + /** + * iOS deep link, for example, exampleApp://content/page. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String iosAppLink; + + /** + * iOS app store ID. This is used to check if the user has the app installed on their device + * before deep linking. If this field is set, then the ios_app_link field must also be present. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long iosAppStoreId; + + /** + * Origin ID which can be any sequence of letters and digits. The ID sequence (destination ID + + * origin ID) must be unique. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String originId; + + /** + * Origin name, for example, London. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String originName; + + /** + * Similar destination IDs, for example, PAR,LON. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List similarDestinationIds; + + /** + * Android deep link, for example, android-app://com.example.android/http/example.com/gizmos?1234. + * @return value or {@code null} for none + */ + public java.lang.String getAndroidAppLink() { + return androidAppLink; + } + + /** + * Android deep link, for example, android-app://com.example.android/http/example.com/gizmos?1234. + * @param androidAppLink androidAppLink or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicFlightsAsset setAndroidAppLink(java.lang.String androidAppLink) { + this.androidAppLink = androidAppLink; + return this; + } + + /** + * A custom field which can be multiple key to values mapping separated by delimiters (",", "|" + * and ":"), in the forms of ": , , ... , | : , ... , | ... | : , ... ," for example, wifi: most | + * aircraft: 320, 77W | flights: 42 | legroom: 32". + * @return value or {@code null} for none + */ + public java.lang.String getCustomMapping() { + return customMapping; + } + + /** + * A custom field which can be multiple key to values mapping separated by delimiters (",", "|" + * and ":"), in the forms of ": , , ... , | : , ... , | ... | : , ... ," for example, wifi: most | + * aircraft: 320, 77W | flights: 42 | legroom: 32". + * @param customMapping customMapping or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicFlightsAsset setCustomMapping(java.lang.String customMapping) { + this.customMapping = customMapping; + return this; + } + + /** + * Required. Destination ID which can be any sequence of letters and digits, and must be unique + * and match the values of remarketing tag. Required. + * @return value or {@code null} for none + */ + public java.lang.String getDestinationId() { + return destinationId; + } + + /** + * Required. Destination ID which can be any sequence of letters and digits, and must be unique + * and match the values of remarketing tag. Required. + * @param destinationId destinationId or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicFlightsAsset setDestinationId(java.lang.String destinationId) { + this.destinationId = destinationId; + return this; + } + + /** + * Destination name, for example, Paris. + * @return value or {@code null} for none + */ + public java.lang.String getDestinationName() { + return destinationName; + } + + /** + * Destination name, for example, Paris. + * @param destinationName destinationName or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicFlightsAsset setDestinationName(java.lang.String destinationName) { + this.destinationName = destinationName; + return this; + } + + /** + * Required. Flight description, for example, Book your ticket. Required. + * @return value or {@code null} for none + */ + public java.lang.String getFlightDescription() { + return flightDescription; + } + + /** + * Required. Flight description, for example, Book your ticket. Required. + * @param flightDescription flightDescription or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicFlightsAsset setFlightDescription(java.lang.String flightDescription) { + this.flightDescription = flightDescription; + return this; + } + + /** + * Flight price which can be number followed by the alphabetic currency code, ISO 4217 standard. + * Use '.' as the decimal mark, for example, 100.00 USD. + * @return value or {@code null} for none + */ + public java.lang.String getFlightPrice() { + return flightPrice; + } + + /** + * Flight price which can be number followed by the alphabetic currency code, ISO 4217 standard. + * Use '.' as the decimal mark, for example, 100.00 USD. + * @param flightPrice flightPrice or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicFlightsAsset setFlightPrice(java.lang.String flightPrice) { + this.flightPrice = flightPrice; + return this; + } + + /** + * Flight sale price which can be number followed by the alphabetic currency code, ISO 4217 + * standard. Use '.' as the decimal mark, for example, 80.00 USD. Must be less than the + * 'flight_price' field. + * @return value or {@code null} for none + */ + public java.lang.String getFlightSalePrice() { + return flightSalePrice; + } + + /** + * Flight sale price which can be number followed by the alphabetic currency code, ISO 4217 + * standard. Use '.' as the decimal mark, for example, 80.00 USD. Must be less than the + * 'flight_price' field. + * @param flightSalePrice flightSalePrice or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicFlightsAsset setFlightSalePrice(java.lang.String flightSalePrice) { + this.flightSalePrice = flightSalePrice; + return this; + } + + /** + * Formatted price which can be any characters. If set, this attribute will be used instead of + * 'price', for example, Starting at $100.00. + * @return value or {@code null} for none + */ + public java.lang.String getFormattedPrice() { + return formattedPrice; + } + + /** + * Formatted price which can be any characters. If set, this attribute will be used instead of + * 'price', for example, Starting at $100.00. + * @param formattedPrice formattedPrice or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicFlightsAsset setFormattedPrice(java.lang.String formattedPrice) { + this.formattedPrice = formattedPrice; + return this; + } + + /** + * Formatted sale price which can be any characters. If set, this attribute will be used instead + * of 'sale price', for example, On sale for $80.00. + * @return value or {@code null} for none + */ + public java.lang.String getFormattedSalePrice() { + return formattedSalePrice; + } + + /** + * Formatted sale price which can be any characters. If set, this attribute will be used instead + * of 'sale price', for example, On sale for $80.00. + * @param formattedSalePrice formattedSalePrice or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicFlightsAsset setFormattedSalePrice(java.lang.String formattedSalePrice) { + this.formattedSalePrice = formattedSalePrice; + return this; + } + + /** + * Image URL, for example, http://www.example.com/image.png. The image will not be uploaded as + * image asset. + * @return value or {@code null} for none + */ + public java.lang.String getImageUrl() { + return imageUrl; + } + + /** + * Image URL, for example, http://www.example.com/image.png. The image will not be uploaded as + * image asset. + * @param imageUrl imageUrl or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicFlightsAsset setImageUrl(java.lang.String imageUrl) { + this.imageUrl = imageUrl; + return this; + } + + /** + * iOS deep link, for example, exampleApp://content/page. + * @return value or {@code null} for none + */ + public java.lang.String getIosAppLink() { + return iosAppLink; + } + + /** + * iOS deep link, for example, exampleApp://content/page. + * @param iosAppLink iosAppLink or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicFlightsAsset setIosAppLink(java.lang.String iosAppLink) { + this.iosAppLink = iosAppLink; + return this; + } + + /** + * iOS app store ID. This is used to check if the user has the app installed on their device + * before deep linking. If this field is set, then the ios_app_link field must also be present. + * @return value or {@code null} for none + */ + public java.lang.Long getIosAppStoreId() { + return iosAppStoreId; + } + + /** + * iOS app store ID. This is used to check if the user has the app installed on their device + * before deep linking. If this field is set, then the ios_app_link field must also be present. + * @param iosAppStoreId iosAppStoreId or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicFlightsAsset setIosAppStoreId(java.lang.Long iosAppStoreId) { + this.iosAppStoreId = iosAppStoreId; + return this; + } + + /** + * Origin ID which can be any sequence of letters and digits. The ID sequence (destination ID + + * origin ID) must be unique. + * @return value or {@code null} for none + */ + public java.lang.String getOriginId() { + return originId; + } + + /** + * Origin ID which can be any sequence of letters and digits. The ID sequence (destination ID + + * origin ID) must be unique. + * @param originId originId or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicFlightsAsset setOriginId(java.lang.String originId) { + this.originId = originId; + return this; + } + + /** + * Origin name, for example, London. + * @return value or {@code null} for none + */ + public java.lang.String getOriginName() { + return originName; + } + + /** + * Origin name, for example, London. + * @param originName originName or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicFlightsAsset setOriginName(java.lang.String originName) { + this.originName = originName; + return this; + } + + /** + * Similar destination IDs, for example, PAR,LON. + * @return value or {@code null} for none + */ + public java.util.List getSimilarDestinationIds() { + return similarDestinationIds; + } + + /** + * Similar destination IDs, for example, PAR,LON. + * @param similarDestinationIds similarDestinationIds or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicFlightsAsset setSimilarDestinationIds(java.util.List similarDestinationIds) { + this.similarDestinationIds = similarDestinationIds; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonDynamicFlightsAsset set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonDynamicFlightsAsset) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonDynamicFlightsAsset clone() { + return (GoogleAdsSearchads360V23CommonDynamicFlightsAsset) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonDynamicHotelsAndRentalsAsset.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonDynamicHotelsAndRentalsAsset.java new file mode 100644 index 00000000000..1c40511c10c --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonDynamicHotelsAndRentalsAsset.java @@ -0,0 +1,478 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A dynamic hotels and rentals asset. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonDynamicHotelsAndRentalsAsset extends com.google.api.client.json.GenericJson { + + /** + * Address which can be specified in one of the following formats. (1) City, state, code, country, + * for example, Mountain View, CA, USA. (2) Full address, for example, 123 Boulevard St, Mountain + * View, CA 94043. (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403 + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String address; + + /** + * Android deep link, for example, android-app://com.example.android/http/example.com/gizmos?1234. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String androidAppLink; + + /** + * Category, for example, Hotel suite. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String category; + + /** + * Contextual keywords, for example, Mountain View "Hotels", South Bay hotels. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List contextualKeywords; + + /** + * Description, for example, Close to SJC Airport. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String description; + + /** + * Destination name, for example, Downtown Mountain View. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String destinationName; + + /** + * Formatted price which can be any characters. If set, this attribute will be used instead of + * 'price', for example, Starting at $100.00. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String formattedPrice; + + /** + * Formatted sale price which can be any characters. If set, this attribute will be used instead + * of 'sale price', for example, On sale for $80.00. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String formattedSalePrice; + + /** + * Image URL, for example, http://www.example.com/image.png. The image will not be uploaded as + * image asset. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String imageUrl; + + /** + * iOS deep link, for example, exampleApp://content/page. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String iosAppLink; + + /** + * iOS app store ID. This is used to check if the user has the app installed on their device + * before deep linking. If this field is set, then the ios_app_link field must also be present. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long iosAppStoreId; + + /** + * Price which can be number followed by the alphabetic currency code, ISO 4217 standard. Use '.' + * as the decimal mark, for example, 100.00 USD. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String price; + + /** + * Required. Property ID which can be any sequence of letters and digits, and must be unique and + * match the values of remarketing tag. Required. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String propertyId; + + /** + * Required. Property name, for example, Mountain View Hotel. Required. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String propertyName; + + /** + * ISO 4217 standard. Use '.' as the decimal mark, for example, 80.00 USD. Must be less than the + * 'price' field. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String salePrice; + + /** + * Similar property IDs. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List similarPropertyIds; + + /** + * Star rating. Must be a number between 1 to 5, inclusive. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long starRating; + + /** + * Address which can be specified in one of the following formats. (1) City, state, code, country, + * for example, Mountain View, CA, USA. (2) Full address, for example, 123 Boulevard St, Mountain + * View, CA 94043. (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403 + * @return value or {@code null} for none + */ + public java.lang.String getAddress() { + return address; + } + + /** + * Address which can be specified in one of the following formats. (1) City, state, code, country, + * for example, Mountain View, CA, USA. (2) Full address, for example, 123 Boulevard St, Mountain + * View, CA 94043. (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403 + * @param address address or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicHotelsAndRentalsAsset setAddress(java.lang.String address) { + this.address = address; + return this; + } + + /** + * Android deep link, for example, android-app://com.example.android/http/example.com/gizmos?1234. + * @return value or {@code null} for none + */ + public java.lang.String getAndroidAppLink() { + return androidAppLink; + } + + /** + * Android deep link, for example, android-app://com.example.android/http/example.com/gizmos?1234. + * @param androidAppLink androidAppLink or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicHotelsAndRentalsAsset setAndroidAppLink(java.lang.String androidAppLink) { + this.androidAppLink = androidAppLink; + return this; + } + + /** + * Category, for example, Hotel suite. + * @return value or {@code null} for none + */ + public java.lang.String getCategory() { + return category; + } + + /** + * Category, for example, Hotel suite. + * @param category category or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicHotelsAndRentalsAsset setCategory(java.lang.String category) { + this.category = category; + return this; + } + + /** + * Contextual keywords, for example, Mountain View "Hotels", South Bay hotels. + * @return value or {@code null} for none + */ + public java.util.List getContextualKeywords() { + return contextualKeywords; + } + + /** + * Contextual keywords, for example, Mountain View "Hotels", South Bay hotels. + * @param contextualKeywords contextualKeywords or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicHotelsAndRentalsAsset setContextualKeywords(java.util.List contextualKeywords) { + this.contextualKeywords = contextualKeywords; + return this; + } + + /** + * Description, for example, Close to SJC Airport. + * @return value or {@code null} for none + */ + public java.lang.String getDescription() { + return description; + } + + /** + * Description, for example, Close to SJC Airport. + * @param description description or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicHotelsAndRentalsAsset setDescription(java.lang.String description) { + this.description = description; + return this; + } + + /** + * Destination name, for example, Downtown Mountain View. + * @return value or {@code null} for none + */ + public java.lang.String getDestinationName() { + return destinationName; + } + + /** + * Destination name, for example, Downtown Mountain View. + * @param destinationName destinationName or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicHotelsAndRentalsAsset setDestinationName(java.lang.String destinationName) { + this.destinationName = destinationName; + return this; + } + + /** + * Formatted price which can be any characters. If set, this attribute will be used instead of + * 'price', for example, Starting at $100.00. + * @return value or {@code null} for none + */ + public java.lang.String getFormattedPrice() { + return formattedPrice; + } + + /** + * Formatted price which can be any characters. If set, this attribute will be used instead of + * 'price', for example, Starting at $100.00. + * @param formattedPrice formattedPrice or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicHotelsAndRentalsAsset setFormattedPrice(java.lang.String formattedPrice) { + this.formattedPrice = formattedPrice; + return this; + } + + /** + * Formatted sale price which can be any characters. If set, this attribute will be used instead + * of 'sale price', for example, On sale for $80.00. + * @return value or {@code null} for none + */ + public java.lang.String getFormattedSalePrice() { + return formattedSalePrice; + } + + /** + * Formatted sale price which can be any characters. If set, this attribute will be used instead + * of 'sale price', for example, On sale for $80.00. + * @param formattedSalePrice formattedSalePrice or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicHotelsAndRentalsAsset setFormattedSalePrice(java.lang.String formattedSalePrice) { + this.formattedSalePrice = formattedSalePrice; + return this; + } + + /** + * Image URL, for example, http://www.example.com/image.png. The image will not be uploaded as + * image asset. + * @return value or {@code null} for none + */ + public java.lang.String getImageUrl() { + return imageUrl; + } + + /** + * Image URL, for example, http://www.example.com/image.png. The image will not be uploaded as + * image asset. + * @param imageUrl imageUrl or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicHotelsAndRentalsAsset setImageUrl(java.lang.String imageUrl) { + this.imageUrl = imageUrl; + return this; + } + + /** + * iOS deep link, for example, exampleApp://content/page. + * @return value or {@code null} for none + */ + public java.lang.String getIosAppLink() { + return iosAppLink; + } + + /** + * iOS deep link, for example, exampleApp://content/page. + * @param iosAppLink iosAppLink or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicHotelsAndRentalsAsset setIosAppLink(java.lang.String iosAppLink) { + this.iosAppLink = iosAppLink; + return this; + } + + /** + * iOS app store ID. This is used to check if the user has the app installed on their device + * before deep linking. If this field is set, then the ios_app_link field must also be present. + * @return value or {@code null} for none + */ + public java.lang.Long getIosAppStoreId() { + return iosAppStoreId; + } + + /** + * iOS app store ID. This is used to check if the user has the app installed on their device + * before deep linking. If this field is set, then the ios_app_link field must also be present. + * @param iosAppStoreId iosAppStoreId or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicHotelsAndRentalsAsset setIosAppStoreId(java.lang.Long iosAppStoreId) { + this.iosAppStoreId = iosAppStoreId; + return this; + } + + /** + * Price which can be number followed by the alphabetic currency code, ISO 4217 standard. Use '.' + * as the decimal mark, for example, 100.00 USD. + * @return value or {@code null} for none + */ + public java.lang.String getPrice() { + return price; + } + + /** + * Price which can be number followed by the alphabetic currency code, ISO 4217 standard. Use '.' + * as the decimal mark, for example, 100.00 USD. + * @param price price or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicHotelsAndRentalsAsset setPrice(java.lang.String price) { + this.price = price; + return this; + } + + /** + * Required. Property ID which can be any sequence of letters and digits, and must be unique and + * match the values of remarketing tag. Required. + * @return value or {@code null} for none + */ + public java.lang.String getPropertyId() { + return propertyId; + } + + /** + * Required. Property ID which can be any sequence of letters and digits, and must be unique and + * match the values of remarketing tag. Required. + * @param propertyId propertyId or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicHotelsAndRentalsAsset setPropertyId(java.lang.String propertyId) { + this.propertyId = propertyId; + return this; + } + + /** + * Required. Property name, for example, Mountain View Hotel. Required. + * @return value or {@code null} for none + */ + public java.lang.String getPropertyName() { + return propertyName; + } + + /** + * Required. Property name, for example, Mountain View Hotel. Required. + * @param propertyName propertyName or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicHotelsAndRentalsAsset setPropertyName(java.lang.String propertyName) { + this.propertyName = propertyName; + return this; + } + + /** + * ISO 4217 standard. Use '.' as the decimal mark, for example, 80.00 USD. Must be less than the + * 'price' field. + * @return value or {@code null} for none + */ + public java.lang.String getSalePrice() { + return salePrice; + } + + /** + * ISO 4217 standard. Use '.' as the decimal mark, for example, 80.00 USD. Must be less than the + * 'price' field. + * @param salePrice salePrice or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicHotelsAndRentalsAsset setSalePrice(java.lang.String salePrice) { + this.salePrice = salePrice; + return this; + } + + /** + * Similar property IDs. + * @return value or {@code null} for none + */ + public java.util.List getSimilarPropertyIds() { + return similarPropertyIds; + } + + /** + * Similar property IDs. + * @param similarPropertyIds similarPropertyIds or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicHotelsAndRentalsAsset setSimilarPropertyIds(java.util.List similarPropertyIds) { + this.similarPropertyIds = similarPropertyIds; + return this; + } + + /** + * Star rating. Must be a number between 1 to 5, inclusive. + * @return value or {@code null} for none + */ + public java.lang.Long getStarRating() { + return starRating; + } + + /** + * Star rating. Must be a number between 1 to 5, inclusive. + * @param starRating starRating or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicHotelsAndRentalsAsset setStarRating(java.lang.Long starRating) { + this.starRating = starRating; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonDynamicHotelsAndRentalsAsset set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonDynamicHotelsAndRentalsAsset) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonDynamicHotelsAndRentalsAsset clone() { + return (GoogleAdsSearchads360V23CommonDynamicHotelsAndRentalsAsset) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonDynamicJobsAsset.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonDynamicJobsAsset.java new file mode 100644 index 00000000000..3b3809999df --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonDynamicJobsAsset.java @@ -0,0 +1,397 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A dynamic jobs asset. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonDynamicJobsAsset extends com.google.api.client.json.GenericJson { + + /** + * Address which can be specified in one of the following formats. (1) City, state, code, country, + * for example, Mountain View, CA, USA. (2) Full address, for example, 123 Boulevard St, Mountain + * View, CA 94043. (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String address; + + /** + * Android deep link, for example, android-app://com.example.android/http/example.com/gizmos?1234. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String androidAppLink; + + /** + * Contextual keywords, for example, Software engineering job. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List contextualKeywords; + + /** + * Description, for example, Apply your technical skills. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String description; + + /** + * Image URL, for example, http://www.example.com/image.png. The image will not be uploaded as + * image asset. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String imageUrl; + + /** + * iOS deep link, for example, exampleApp://content/page. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String iosAppLink; + + /** + * iOS app store ID. This is used to check if the user has the app installed on their device + * before deep linking. If this field is set, then the ios_app_link field must also be present. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long iosAppStoreId; + + /** + * Job category, for example, Technical. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String jobCategory; + + /** + * Required. Job ID which can be any sequence of letters and digits, and must be unique and match + * the values of remarketing tag. Required. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String jobId; + + /** + * Job subtitle, for example, Level II. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String jobSubtitle; + + /** + * Required. Job title, for example, Software engineer. Required. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String jobTitle; + + /** + * Location ID which can be any sequence of letters and digits. The ID sequence (job ID + location + * ID) must be unique. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String locationId; + + /** + * Salary, for example, $100,000. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String salary; + + /** + * Similar job IDs, for example, 1275. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List similarJobIds; + + /** + * Address which can be specified in one of the following formats. (1) City, state, code, country, + * for example, Mountain View, CA, USA. (2) Full address, for example, 123 Boulevard St, Mountain + * View, CA 94043. (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403. + * @return value or {@code null} for none + */ + public java.lang.String getAddress() { + return address; + } + + /** + * Address which can be specified in one of the following formats. (1) City, state, code, country, + * for example, Mountain View, CA, USA. (2) Full address, for example, 123 Boulevard St, Mountain + * View, CA 94043. (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403. + * @param address address or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicJobsAsset setAddress(java.lang.String address) { + this.address = address; + return this; + } + + /** + * Android deep link, for example, android-app://com.example.android/http/example.com/gizmos?1234. + * @return value or {@code null} for none + */ + public java.lang.String getAndroidAppLink() { + return androidAppLink; + } + + /** + * Android deep link, for example, android-app://com.example.android/http/example.com/gizmos?1234. + * @param androidAppLink androidAppLink or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicJobsAsset setAndroidAppLink(java.lang.String androidAppLink) { + this.androidAppLink = androidAppLink; + return this; + } + + /** + * Contextual keywords, for example, Software engineering job. + * @return value or {@code null} for none + */ + public java.util.List getContextualKeywords() { + return contextualKeywords; + } + + /** + * Contextual keywords, for example, Software engineering job. + * @param contextualKeywords contextualKeywords or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicJobsAsset setContextualKeywords(java.util.List contextualKeywords) { + this.contextualKeywords = contextualKeywords; + return this; + } + + /** + * Description, for example, Apply your technical skills. + * @return value or {@code null} for none + */ + public java.lang.String getDescription() { + return description; + } + + /** + * Description, for example, Apply your technical skills. + * @param description description or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicJobsAsset setDescription(java.lang.String description) { + this.description = description; + return this; + } + + /** + * Image URL, for example, http://www.example.com/image.png. The image will not be uploaded as + * image asset. + * @return value or {@code null} for none + */ + public java.lang.String getImageUrl() { + return imageUrl; + } + + /** + * Image URL, for example, http://www.example.com/image.png. The image will not be uploaded as + * image asset. + * @param imageUrl imageUrl or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicJobsAsset setImageUrl(java.lang.String imageUrl) { + this.imageUrl = imageUrl; + return this; + } + + /** + * iOS deep link, for example, exampleApp://content/page. + * @return value or {@code null} for none + */ + public java.lang.String getIosAppLink() { + return iosAppLink; + } + + /** + * iOS deep link, for example, exampleApp://content/page. + * @param iosAppLink iosAppLink or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicJobsAsset setIosAppLink(java.lang.String iosAppLink) { + this.iosAppLink = iosAppLink; + return this; + } + + /** + * iOS app store ID. This is used to check if the user has the app installed on their device + * before deep linking. If this field is set, then the ios_app_link field must also be present. + * @return value or {@code null} for none + */ + public java.lang.Long getIosAppStoreId() { + return iosAppStoreId; + } + + /** + * iOS app store ID. This is used to check if the user has the app installed on their device + * before deep linking. If this field is set, then the ios_app_link field must also be present. + * @param iosAppStoreId iosAppStoreId or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicJobsAsset setIosAppStoreId(java.lang.Long iosAppStoreId) { + this.iosAppStoreId = iosAppStoreId; + return this; + } + + /** + * Job category, for example, Technical. + * @return value or {@code null} for none + */ + public java.lang.String getJobCategory() { + return jobCategory; + } + + /** + * Job category, for example, Technical. + * @param jobCategory jobCategory or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicJobsAsset setJobCategory(java.lang.String jobCategory) { + this.jobCategory = jobCategory; + return this; + } + + /** + * Required. Job ID which can be any sequence of letters and digits, and must be unique and match + * the values of remarketing tag. Required. + * @return value or {@code null} for none + */ + public java.lang.String getJobId() { + return jobId; + } + + /** + * Required. Job ID which can be any sequence of letters and digits, and must be unique and match + * the values of remarketing tag. Required. + * @param jobId jobId or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicJobsAsset setJobId(java.lang.String jobId) { + this.jobId = jobId; + return this; + } + + /** + * Job subtitle, for example, Level II. + * @return value or {@code null} for none + */ + public java.lang.String getJobSubtitle() { + return jobSubtitle; + } + + /** + * Job subtitle, for example, Level II. + * @param jobSubtitle jobSubtitle or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicJobsAsset setJobSubtitle(java.lang.String jobSubtitle) { + this.jobSubtitle = jobSubtitle; + return this; + } + + /** + * Required. Job title, for example, Software engineer. Required. + * @return value or {@code null} for none + */ + public java.lang.String getJobTitle() { + return jobTitle; + } + + /** + * Required. Job title, for example, Software engineer. Required. + * @param jobTitle jobTitle or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicJobsAsset setJobTitle(java.lang.String jobTitle) { + this.jobTitle = jobTitle; + return this; + } + + /** + * Location ID which can be any sequence of letters and digits. The ID sequence (job ID + location + * ID) must be unique. + * @return value or {@code null} for none + */ + public java.lang.String getLocationId() { + return locationId; + } + + /** + * Location ID which can be any sequence of letters and digits. The ID sequence (job ID + location + * ID) must be unique. + * @param locationId locationId or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicJobsAsset setLocationId(java.lang.String locationId) { + this.locationId = locationId; + return this; + } + + /** + * Salary, for example, $100,000. + * @return value or {@code null} for none + */ + public java.lang.String getSalary() { + return salary; + } + + /** + * Salary, for example, $100,000. + * @param salary salary or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicJobsAsset setSalary(java.lang.String salary) { + this.salary = salary; + return this; + } + + /** + * Similar job IDs, for example, 1275. + * @return value or {@code null} for none + */ + public java.util.List getSimilarJobIds() { + return similarJobIds; + } + + /** + * Similar job IDs, for example, 1275. + * @param similarJobIds similarJobIds or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicJobsAsset setSimilarJobIds(java.util.List similarJobIds) { + this.similarJobIds = similarJobIds; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonDynamicJobsAsset set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonDynamicJobsAsset) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonDynamicJobsAsset clone() { + return (GoogleAdsSearchads360V23CommonDynamicJobsAsset) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonDynamicLocalAsset.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonDynamicLocalAsset.java new file mode 100644 index 00000000000..c72ca6e7438 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonDynamicLocalAsset.java @@ -0,0 +1,454 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A dynamic local asset. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonDynamicLocalAsset extends com.google.api.client.json.GenericJson { + + /** + * Address which can be specified in one of the following formats. (1) City, state, code, country, + * for example, Mountain View, CA, USA. (2) Full address, for example, 123 Boulevard St, Mountain + * View, CA 94043. (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String address; + + /** + * Android deep link, for example, android-app://com.example.android/http/example.com/gizmos?1234. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String androidAppLink; + + /** + * Category, for example, Food. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String category; + + /** + * Contextual keywords, for example, Save groceries coupons. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List contextualKeywords; + + /** + * Required. Deal ID which can be any sequence of letters and digits, and must be unique and match + * the values of remarketing tag. Required. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String dealId; + + /** + * Required. Deal name, for example, 50% off at Mountain View Grocers. Required. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String dealName; + + /** + * Description, for example, Save on your weekly bill. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String description; + + /** + * Formatted price which can be any characters. If set, this attribute will be used instead of + * 'price', for example, Starting at $100.00. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String formattedPrice; + + /** + * Formatted sale price which can be any characters. If set, this attribute will be used instead + * of 'sale price', for example, On sale for $80.00. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String formattedSalePrice; + + /** + * Image URL, for example, http://www.example.com/image.png. The image will not be uploaded as + * image asset. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String imageUrl; + + /** + * iOS deep link, for example, exampleApp://content/page. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String iosAppLink; + + /** + * iOS app store ID. This is used to check if the user has the app installed on their device + * before deep linking. If this field is set, then the ios_app_link field must also be present. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long iosAppStoreId; + + /** + * Price which can be a number followed by the alphabetic currency code, ISO 4217 standard. Use + * '.' as the decimal mark, for example, 100.00 USD. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String price; + + /** + * Sale price which can be number followed by the alphabetic currency code, ISO 4217 standard. Use + * '.' as the decimal mark, for example, 80.00 USD. Must be less than the 'price' field. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String salePrice; + + /** + * Similar deal IDs, for example, 1275. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List similarDealIds; + + /** + * Subtitle, for example, Groceries. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String subtitle; + + /** + * Address which can be specified in one of the following formats. (1) City, state, code, country, + * for example, Mountain View, CA, USA. (2) Full address, for example, 123 Boulevard St, Mountain + * View, CA 94043. (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403. + * @return value or {@code null} for none + */ + public java.lang.String getAddress() { + return address; + } + + /** + * Address which can be specified in one of the following formats. (1) City, state, code, country, + * for example, Mountain View, CA, USA. (2) Full address, for example, 123 Boulevard St, Mountain + * View, CA 94043. (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403. + * @param address address or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicLocalAsset setAddress(java.lang.String address) { + this.address = address; + return this; + } + + /** + * Android deep link, for example, android-app://com.example.android/http/example.com/gizmos?1234. + * @return value or {@code null} for none + */ + public java.lang.String getAndroidAppLink() { + return androidAppLink; + } + + /** + * Android deep link, for example, android-app://com.example.android/http/example.com/gizmos?1234. + * @param androidAppLink androidAppLink or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicLocalAsset setAndroidAppLink(java.lang.String androidAppLink) { + this.androidAppLink = androidAppLink; + return this; + } + + /** + * Category, for example, Food. + * @return value or {@code null} for none + */ + public java.lang.String getCategory() { + return category; + } + + /** + * Category, for example, Food. + * @param category category or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicLocalAsset setCategory(java.lang.String category) { + this.category = category; + return this; + } + + /** + * Contextual keywords, for example, Save groceries coupons. + * @return value or {@code null} for none + */ + public java.util.List getContextualKeywords() { + return contextualKeywords; + } + + /** + * Contextual keywords, for example, Save groceries coupons. + * @param contextualKeywords contextualKeywords or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicLocalAsset setContextualKeywords(java.util.List contextualKeywords) { + this.contextualKeywords = contextualKeywords; + return this; + } + + /** + * Required. Deal ID which can be any sequence of letters and digits, and must be unique and match + * the values of remarketing tag. Required. + * @return value or {@code null} for none + */ + public java.lang.String getDealId() { + return dealId; + } + + /** + * Required. Deal ID which can be any sequence of letters and digits, and must be unique and match + * the values of remarketing tag. Required. + * @param dealId dealId or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicLocalAsset setDealId(java.lang.String dealId) { + this.dealId = dealId; + return this; + } + + /** + * Required. Deal name, for example, 50% off at Mountain View Grocers. Required. + * @return value or {@code null} for none + */ + public java.lang.String getDealName() { + return dealName; + } + + /** + * Required. Deal name, for example, 50% off at Mountain View Grocers. Required. + * @param dealName dealName or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicLocalAsset setDealName(java.lang.String dealName) { + this.dealName = dealName; + return this; + } + + /** + * Description, for example, Save on your weekly bill. + * @return value or {@code null} for none + */ + public java.lang.String getDescription() { + return description; + } + + /** + * Description, for example, Save on your weekly bill. + * @param description description or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicLocalAsset setDescription(java.lang.String description) { + this.description = description; + return this; + } + + /** + * Formatted price which can be any characters. If set, this attribute will be used instead of + * 'price', for example, Starting at $100.00. + * @return value or {@code null} for none + */ + public java.lang.String getFormattedPrice() { + return formattedPrice; + } + + /** + * Formatted price which can be any characters. If set, this attribute will be used instead of + * 'price', for example, Starting at $100.00. + * @param formattedPrice formattedPrice or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicLocalAsset setFormattedPrice(java.lang.String formattedPrice) { + this.formattedPrice = formattedPrice; + return this; + } + + /** + * Formatted sale price which can be any characters. If set, this attribute will be used instead + * of 'sale price', for example, On sale for $80.00. + * @return value or {@code null} for none + */ + public java.lang.String getFormattedSalePrice() { + return formattedSalePrice; + } + + /** + * Formatted sale price which can be any characters. If set, this attribute will be used instead + * of 'sale price', for example, On sale for $80.00. + * @param formattedSalePrice formattedSalePrice or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicLocalAsset setFormattedSalePrice(java.lang.String formattedSalePrice) { + this.formattedSalePrice = formattedSalePrice; + return this; + } + + /** + * Image URL, for example, http://www.example.com/image.png. The image will not be uploaded as + * image asset. + * @return value or {@code null} for none + */ + public java.lang.String getImageUrl() { + return imageUrl; + } + + /** + * Image URL, for example, http://www.example.com/image.png. The image will not be uploaded as + * image asset. + * @param imageUrl imageUrl or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicLocalAsset setImageUrl(java.lang.String imageUrl) { + this.imageUrl = imageUrl; + return this; + } + + /** + * iOS deep link, for example, exampleApp://content/page. + * @return value or {@code null} for none + */ + public java.lang.String getIosAppLink() { + return iosAppLink; + } + + /** + * iOS deep link, for example, exampleApp://content/page. + * @param iosAppLink iosAppLink or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicLocalAsset setIosAppLink(java.lang.String iosAppLink) { + this.iosAppLink = iosAppLink; + return this; + } + + /** + * iOS app store ID. This is used to check if the user has the app installed on their device + * before deep linking. If this field is set, then the ios_app_link field must also be present. + * @return value or {@code null} for none + */ + public java.lang.Long getIosAppStoreId() { + return iosAppStoreId; + } + + /** + * iOS app store ID. This is used to check if the user has the app installed on their device + * before deep linking. If this field is set, then the ios_app_link field must also be present. + * @param iosAppStoreId iosAppStoreId or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicLocalAsset setIosAppStoreId(java.lang.Long iosAppStoreId) { + this.iosAppStoreId = iosAppStoreId; + return this; + } + + /** + * Price which can be a number followed by the alphabetic currency code, ISO 4217 standard. Use + * '.' as the decimal mark, for example, 100.00 USD. + * @return value or {@code null} for none + */ + public java.lang.String getPrice() { + return price; + } + + /** + * Price which can be a number followed by the alphabetic currency code, ISO 4217 standard. Use + * '.' as the decimal mark, for example, 100.00 USD. + * @param price price or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicLocalAsset setPrice(java.lang.String price) { + this.price = price; + return this; + } + + /** + * Sale price which can be number followed by the alphabetic currency code, ISO 4217 standard. Use + * '.' as the decimal mark, for example, 80.00 USD. Must be less than the 'price' field. + * @return value or {@code null} for none + */ + public java.lang.String getSalePrice() { + return salePrice; + } + + /** + * Sale price which can be number followed by the alphabetic currency code, ISO 4217 standard. Use + * '.' as the decimal mark, for example, 80.00 USD. Must be less than the 'price' field. + * @param salePrice salePrice or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicLocalAsset setSalePrice(java.lang.String salePrice) { + this.salePrice = salePrice; + return this; + } + + /** + * Similar deal IDs, for example, 1275. + * @return value or {@code null} for none + */ + public java.util.List getSimilarDealIds() { + return similarDealIds; + } + + /** + * Similar deal IDs, for example, 1275. + * @param similarDealIds similarDealIds or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicLocalAsset setSimilarDealIds(java.util.List similarDealIds) { + this.similarDealIds = similarDealIds; + return this; + } + + /** + * Subtitle, for example, Groceries. + * @return value or {@code null} for none + */ + public java.lang.String getSubtitle() { + return subtitle; + } + + /** + * Subtitle, for example, Groceries. + * @param subtitle subtitle or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicLocalAsset setSubtitle(java.lang.String subtitle) { + this.subtitle = subtitle; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonDynamicLocalAsset set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonDynamicLocalAsset) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonDynamicLocalAsset clone() { + return (GoogleAdsSearchads360V23CommonDynamicLocalAsset) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonDynamicRealEstateAsset.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonDynamicRealEstateAsset.java new file mode 100644 index 00000000000..e08bba14d50 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonDynamicRealEstateAsset.java @@ -0,0 +1,424 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A dynamic real estate asset. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonDynamicRealEstateAsset extends com.google.api.client.json.GenericJson { + + /** + * Address which can be specified in one of the following formats. (1) City, state, code, country, + * for example, Mountain View, CA, USA. (2) Full address, for example, 123 Boulevard St, Mountain + * View, CA 94043. (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403 + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String address; + + /** + * Android deep link, for example, android-app://com.example.android/http/example.com/gizmos?1234. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String androidAppLink; + + /** + * City name, for example, Mountain View, California. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String cityName; + + /** + * Contextual keywords, for example, For sale; Houses for sale. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List contextualKeywords; + + /** + * Description, for example, 3 beds, 2 baths, 1568 sq. ft. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String description; + + /** + * Formatted price which can be any characters. If set, this attribute will be used instead of + * 'price', for example, Starting at $200,000.00. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String formattedPrice; + + /** + * Image URL, for example, http://www.example.com/image.png. The image will not be uploaded as + * image asset. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String imageUrl; + + /** + * iOS deep link, for example, exampleApp://content/page. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String iosAppLink; + + /** + * iOS app store ID. This is used to check if the user has the app installed on their device + * before deep linking. If this field is set, then the ios_app_link field must also be present. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long iosAppStoreId; + + /** + * Required. Listing ID which can be any sequence of letters and digits, and must be unique and + * match the values of remarketing tag. Required. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String listingId; + + /** + * Required. Listing name, for example, Boulevard Bungalow. Required. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String listingName; + + /** + * Listing type, for example, For sale. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String listingType; + + /** + * Price which can be number followed by the alphabetic currency code, ISO 4217 standard. Use '.' + * as the decimal mark, for example, 200,000.00 USD. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String price; + + /** + * Property type, for example, House. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String propertyType; + + /** + * Similar listing IDs. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List similarListingIds; + + /** + * Address which can be specified in one of the following formats. (1) City, state, code, country, + * for example, Mountain View, CA, USA. (2) Full address, for example, 123 Boulevard St, Mountain + * View, CA 94043. (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403 + * @return value or {@code null} for none + */ + public java.lang.String getAddress() { + return address; + } + + /** + * Address which can be specified in one of the following formats. (1) City, state, code, country, + * for example, Mountain View, CA, USA. (2) Full address, for example, 123 Boulevard St, Mountain + * View, CA 94043. (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403 + * @param address address or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicRealEstateAsset setAddress(java.lang.String address) { + this.address = address; + return this; + } + + /** + * Android deep link, for example, android-app://com.example.android/http/example.com/gizmos?1234. + * @return value or {@code null} for none + */ + public java.lang.String getAndroidAppLink() { + return androidAppLink; + } + + /** + * Android deep link, for example, android-app://com.example.android/http/example.com/gizmos?1234. + * @param androidAppLink androidAppLink or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicRealEstateAsset setAndroidAppLink(java.lang.String androidAppLink) { + this.androidAppLink = androidAppLink; + return this; + } + + /** + * City name, for example, Mountain View, California. + * @return value or {@code null} for none + */ + public java.lang.String getCityName() { + return cityName; + } + + /** + * City name, for example, Mountain View, California. + * @param cityName cityName or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicRealEstateAsset setCityName(java.lang.String cityName) { + this.cityName = cityName; + return this; + } + + /** + * Contextual keywords, for example, For sale; Houses for sale. + * @return value or {@code null} for none + */ + public java.util.List getContextualKeywords() { + return contextualKeywords; + } + + /** + * Contextual keywords, for example, For sale; Houses for sale. + * @param contextualKeywords contextualKeywords or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicRealEstateAsset setContextualKeywords(java.util.List contextualKeywords) { + this.contextualKeywords = contextualKeywords; + return this; + } + + /** + * Description, for example, 3 beds, 2 baths, 1568 sq. ft. + * @return value or {@code null} for none + */ + public java.lang.String getDescription() { + return description; + } + + /** + * Description, for example, 3 beds, 2 baths, 1568 sq. ft. + * @param description description or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicRealEstateAsset setDescription(java.lang.String description) { + this.description = description; + return this; + } + + /** + * Formatted price which can be any characters. If set, this attribute will be used instead of + * 'price', for example, Starting at $200,000.00. + * @return value or {@code null} for none + */ + public java.lang.String getFormattedPrice() { + return formattedPrice; + } + + /** + * Formatted price which can be any characters. If set, this attribute will be used instead of + * 'price', for example, Starting at $200,000.00. + * @param formattedPrice formattedPrice or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicRealEstateAsset setFormattedPrice(java.lang.String formattedPrice) { + this.formattedPrice = formattedPrice; + return this; + } + + /** + * Image URL, for example, http://www.example.com/image.png. The image will not be uploaded as + * image asset. + * @return value or {@code null} for none + */ + public java.lang.String getImageUrl() { + return imageUrl; + } + + /** + * Image URL, for example, http://www.example.com/image.png. The image will not be uploaded as + * image asset. + * @param imageUrl imageUrl or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicRealEstateAsset setImageUrl(java.lang.String imageUrl) { + this.imageUrl = imageUrl; + return this; + } + + /** + * iOS deep link, for example, exampleApp://content/page. + * @return value or {@code null} for none + */ + public java.lang.String getIosAppLink() { + return iosAppLink; + } + + /** + * iOS deep link, for example, exampleApp://content/page. + * @param iosAppLink iosAppLink or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicRealEstateAsset setIosAppLink(java.lang.String iosAppLink) { + this.iosAppLink = iosAppLink; + return this; + } + + /** + * iOS app store ID. This is used to check if the user has the app installed on their device + * before deep linking. If this field is set, then the ios_app_link field must also be present. + * @return value or {@code null} for none + */ + public java.lang.Long getIosAppStoreId() { + return iosAppStoreId; + } + + /** + * iOS app store ID. This is used to check if the user has the app installed on their device + * before deep linking. If this field is set, then the ios_app_link field must also be present. + * @param iosAppStoreId iosAppStoreId or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicRealEstateAsset setIosAppStoreId(java.lang.Long iosAppStoreId) { + this.iosAppStoreId = iosAppStoreId; + return this; + } + + /** + * Required. Listing ID which can be any sequence of letters and digits, and must be unique and + * match the values of remarketing tag. Required. + * @return value or {@code null} for none + */ + public java.lang.String getListingId() { + return listingId; + } + + /** + * Required. Listing ID which can be any sequence of letters and digits, and must be unique and + * match the values of remarketing tag. Required. + * @param listingId listingId or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicRealEstateAsset setListingId(java.lang.String listingId) { + this.listingId = listingId; + return this; + } + + /** + * Required. Listing name, for example, Boulevard Bungalow. Required. + * @return value or {@code null} for none + */ + public java.lang.String getListingName() { + return listingName; + } + + /** + * Required. Listing name, for example, Boulevard Bungalow. Required. + * @param listingName listingName or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicRealEstateAsset setListingName(java.lang.String listingName) { + this.listingName = listingName; + return this; + } + + /** + * Listing type, for example, For sale. + * @return value or {@code null} for none + */ + public java.lang.String getListingType() { + return listingType; + } + + /** + * Listing type, for example, For sale. + * @param listingType listingType or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicRealEstateAsset setListingType(java.lang.String listingType) { + this.listingType = listingType; + return this; + } + + /** + * Price which can be number followed by the alphabetic currency code, ISO 4217 standard. Use '.' + * as the decimal mark, for example, 200,000.00 USD. + * @return value or {@code null} for none + */ + public java.lang.String getPrice() { + return price; + } + + /** + * Price which can be number followed by the alphabetic currency code, ISO 4217 standard. Use '.' + * as the decimal mark, for example, 200,000.00 USD. + * @param price price or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicRealEstateAsset setPrice(java.lang.String price) { + this.price = price; + return this; + } + + /** + * Property type, for example, House. + * @return value or {@code null} for none + */ + public java.lang.String getPropertyType() { + return propertyType; + } + + /** + * Property type, for example, House. + * @param propertyType propertyType or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicRealEstateAsset setPropertyType(java.lang.String propertyType) { + this.propertyType = propertyType; + return this; + } + + /** + * Similar listing IDs. + * @return value or {@code null} for none + */ + public java.util.List getSimilarListingIds() { + return similarListingIds; + } + + /** + * Similar listing IDs. + * @param similarListingIds similarListingIds or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicRealEstateAsset setSimilarListingIds(java.util.List similarListingIds) { + this.similarListingIds = similarListingIds; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonDynamicRealEstateAsset set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonDynamicRealEstateAsset) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonDynamicRealEstateAsset clone() { + return (GoogleAdsSearchads360V23CommonDynamicRealEstateAsset) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonDynamicTravelAsset.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonDynamicTravelAsset.java new file mode 100644 index 00000000000..c96b15beb76 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonDynamicTravelAsset.java @@ -0,0 +1,484 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A dynamic travel asset. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonDynamicTravelAsset extends com.google.api.client.json.GenericJson { + + /** + * Android deep link, for example, android-app://com.example.android/http/example.com/gizmos?1234. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String androidAppLink; + + /** + * Category, for example, Express. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String category; + + /** + * Contextual keywords, for example, Paris trains. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List contextualKeywords; + + /** + * Destination address which can be specified in one of the following formats. (1) City, state, + * code, country, for example, Mountain View, CA, USA. (2) Full address, for example, 123 + * Boulevard St, Mountain View, CA 94043. (3) Latitude-longitude in the DDD format, for example, + * 41.40338, 2.17403. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String destinationAddress; + + /** + * Required. Destination ID which can be any sequence of letters and digits, and must be unique + * and match the values of remarketing tag. Required. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String destinationId; + + /** + * Destination name, for example, Paris. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String destinationName; + + /** + * Formatted price which can be any characters. If set, this attribute will be used instead of + * 'price', for example, Starting at $100.00. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String formattedPrice; + + /** + * Formatted sale price which can be any characters. If set, this attribute will be used instead + * of 'sale price', for example, On sale for $80.00. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String formattedSalePrice; + + /** + * Image URL, for example, http://www.example.com/image.png. The image will not be uploaded as + * image asset. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String imageUrl; + + /** + * iOS deep link, for example, exampleApp://content/page. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String iosAppLink; + + /** + * iOS app store ID. This is used to check if the user has the app installed on their device + * before deep linking. If this field is set, then the ios_app_link field must also be present. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long iosAppStoreId; + + /** + * Origin ID which can be any sequence of letters and digits. The ID sequence (destination ID + + * origin ID) must be unique. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String originId; + + /** + * Origin name, for example, London. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String originName; + + /** + * Price which can be a number followed by the alphabetic currency code, ISO 4217 standard. Use + * '.' as the decimal mark, for example, 100.00 USD. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String price; + + /** + * Sale price which can be a number followed by the alphabetic currency code, ISO 4217 standard. + * Use '.' as the decimal mark, for example, 80.00 USD. Must be less than the 'price' field. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String salePrice; + + /** + * Similar destination IDs, for example, NYC. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List similarDestinationIds; + + /** + * Required. Title, for example, Book your train ticket. Required. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String title; + + /** + * Android deep link, for example, android-app://com.example.android/http/example.com/gizmos?1234. + * @return value or {@code null} for none + */ + public java.lang.String getAndroidAppLink() { + return androidAppLink; + } + + /** + * Android deep link, for example, android-app://com.example.android/http/example.com/gizmos?1234. + * @param androidAppLink androidAppLink or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicTravelAsset setAndroidAppLink(java.lang.String androidAppLink) { + this.androidAppLink = androidAppLink; + return this; + } + + /** + * Category, for example, Express. + * @return value or {@code null} for none + */ + public java.lang.String getCategory() { + return category; + } + + /** + * Category, for example, Express. + * @param category category or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicTravelAsset setCategory(java.lang.String category) { + this.category = category; + return this; + } + + /** + * Contextual keywords, for example, Paris trains. + * @return value or {@code null} for none + */ + public java.util.List getContextualKeywords() { + return contextualKeywords; + } + + /** + * Contextual keywords, for example, Paris trains. + * @param contextualKeywords contextualKeywords or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicTravelAsset setContextualKeywords(java.util.List contextualKeywords) { + this.contextualKeywords = contextualKeywords; + return this; + } + + /** + * Destination address which can be specified in one of the following formats. (1) City, state, + * code, country, for example, Mountain View, CA, USA. (2) Full address, for example, 123 + * Boulevard St, Mountain View, CA 94043. (3) Latitude-longitude in the DDD format, for example, + * 41.40338, 2.17403. + * @return value or {@code null} for none + */ + public java.lang.String getDestinationAddress() { + return destinationAddress; + } + + /** + * Destination address which can be specified in one of the following formats. (1) City, state, + * code, country, for example, Mountain View, CA, USA. (2) Full address, for example, 123 + * Boulevard St, Mountain View, CA 94043. (3) Latitude-longitude in the DDD format, for example, + * 41.40338, 2.17403. + * @param destinationAddress destinationAddress or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicTravelAsset setDestinationAddress(java.lang.String destinationAddress) { + this.destinationAddress = destinationAddress; + return this; + } + + /** + * Required. Destination ID which can be any sequence of letters and digits, and must be unique + * and match the values of remarketing tag. Required. + * @return value or {@code null} for none + */ + public java.lang.String getDestinationId() { + return destinationId; + } + + /** + * Required. Destination ID which can be any sequence of letters and digits, and must be unique + * and match the values of remarketing tag. Required. + * @param destinationId destinationId or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicTravelAsset setDestinationId(java.lang.String destinationId) { + this.destinationId = destinationId; + return this; + } + + /** + * Destination name, for example, Paris. + * @return value or {@code null} for none + */ + public java.lang.String getDestinationName() { + return destinationName; + } + + /** + * Destination name, for example, Paris. + * @param destinationName destinationName or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicTravelAsset setDestinationName(java.lang.String destinationName) { + this.destinationName = destinationName; + return this; + } + + /** + * Formatted price which can be any characters. If set, this attribute will be used instead of + * 'price', for example, Starting at $100.00. + * @return value or {@code null} for none + */ + public java.lang.String getFormattedPrice() { + return formattedPrice; + } + + /** + * Formatted price which can be any characters. If set, this attribute will be used instead of + * 'price', for example, Starting at $100.00. + * @param formattedPrice formattedPrice or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicTravelAsset setFormattedPrice(java.lang.String formattedPrice) { + this.formattedPrice = formattedPrice; + return this; + } + + /** + * Formatted sale price which can be any characters. If set, this attribute will be used instead + * of 'sale price', for example, On sale for $80.00. + * @return value or {@code null} for none + */ + public java.lang.String getFormattedSalePrice() { + return formattedSalePrice; + } + + /** + * Formatted sale price which can be any characters. If set, this attribute will be used instead + * of 'sale price', for example, On sale for $80.00. + * @param formattedSalePrice formattedSalePrice or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicTravelAsset setFormattedSalePrice(java.lang.String formattedSalePrice) { + this.formattedSalePrice = formattedSalePrice; + return this; + } + + /** + * Image URL, for example, http://www.example.com/image.png. The image will not be uploaded as + * image asset. + * @return value or {@code null} for none + */ + public java.lang.String getImageUrl() { + return imageUrl; + } + + /** + * Image URL, for example, http://www.example.com/image.png. The image will not be uploaded as + * image asset. + * @param imageUrl imageUrl or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicTravelAsset setImageUrl(java.lang.String imageUrl) { + this.imageUrl = imageUrl; + return this; + } + + /** + * iOS deep link, for example, exampleApp://content/page. + * @return value or {@code null} for none + */ + public java.lang.String getIosAppLink() { + return iosAppLink; + } + + /** + * iOS deep link, for example, exampleApp://content/page. + * @param iosAppLink iosAppLink or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicTravelAsset setIosAppLink(java.lang.String iosAppLink) { + this.iosAppLink = iosAppLink; + return this; + } + + /** + * iOS app store ID. This is used to check if the user has the app installed on their device + * before deep linking. If this field is set, then the ios_app_link field must also be present. + * @return value or {@code null} for none + */ + public java.lang.Long getIosAppStoreId() { + return iosAppStoreId; + } + + /** + * iOS app store ID. This is used to check if the user has the app installed on their device + * before deep linking. If this field is set, then the ios_app_link field must also be present. + * @param iosAppStoreId iosAppStoreId or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicTravelAsset setIosAppStoreId(java.lang.Long iosAppStoreId) { + this.iosAppStoreId = iosAppStoreId; + return this; + } + + /** + * Origin ID which can be any sequence of letters and digits. The ID sequence (destination ID + + * origin ID) must be unique. + * @return value or {@code null} for none + */ + public java.lang.String getOriginId() { + return originId; + } + + /** + * Origin ID which can be any sequence of letters and digits. The ID sequence (destination ID + + * origin ID) must be unique. + * @param originId originId or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicTravelAsset setOriginId(java.lang.String originId) { + this.originId = originId; + return this; + } + + /** + * Origin name, for example, London. + * @return value or {@code null} for none + */ + public java.lang.String getOriginName() { + return originName; + } + + /** + * Origin name, for example, London. + * @param originName originName or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicTravelAsset setOriginName(java.lang.String originName) { + this.originName = originName; + return this; + } + + /** + * Price which can be a number followed by the alphabetic currency code, ISO 4217 standard. Use + * '.' as the decimal mark, for example, 100.00 USD. + * @return value or {@code null} for none + */ + public java.lang.String getPrice() { + return price; + } + + /** + * Price which can be a number followed by the alphabetic currency code, ISO 4217 standard. Use + * '.' as the decimal mark, for example, 100.00 USD. + * @param price price or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicTravelAsset setPrice(java.lang.String price) { + this.price = price; + return this; + } + + /** + * Sale price which can be a number followed by the alphabetic currency code, ISO 4217 standard. + * Use '.' as the decimal mark, for example, 80.00 USD. Must be less than the 'price' field. + * @return value or {@code null} for none + */ + public java.lang.String getSalePrice() { + return salePrice; + } + + /** + * Sale price which can be a number followed by the alphabetic currency code, ISO 4217 standard. + * Use '.' as the decimal mark, for example, 80.00 USD. Must be less than the 'price' field. + * @param salePrice salePrice or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicTravelAsset setSalePrice(java.lang.String salePrice) { + this.salePrice = salePrice; + return this; + } + + /** + * Similar destination IDs, for example, NYC. + * @return value or {@code null} for none + */ + public java.util.List getSimilarDestinationIds() { + return similarDestinationIds; + } + + /** + * Similar destination IDs, for example, NYC. + * @param similarDestinationIds similarDestinationIds or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicTravelAsset setSimilarDestinationIds(java.util.List similarDestinationIds) { + this.similarDestinationIds = similarDestinationIds; + return this; + } + + /** + * Required. Title, for example, Book your train ticket. Required. + * @return value or {@code null} for none + */ + public java.lang.String getTitle() { + return title; + } + + /** + * Required. Title, for example, Book your train ticket. Required. + * @param title title or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicTravelAsset setTitle(java.lang.String title) { + this.title = title; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonDynamicTravelAsset set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonDynamicTravelAsset) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonDynamicTravelAsset clone() { + return (GoogleAdsSearchads360V23CommonDynamicTravelAsset) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonEnhancedCpc.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonEnhancedCpc.java new file mode 100644 index 00000000000..e668b8c8560 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonEnhancedCpc.java @@ -0,0 +1,46 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * An automated bidding strategy that raises bids for clicks that seem more likely to lead to a + * conversion and lowers them for clicks where they seem less likely. This bidding strategy is + * deprecated and cannot be created anymore. Use ManualCpc with enhanced_cpc_enabled set to true for + * equivalent functionality. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonEnhancedCpc extends com.google.api.client.json.GenericJson { + + @Override + public GoogleAdsSearchads360V23CommonEnhancedCpc set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonEnhancedCpc) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonEnhancedCpc clone() { + return (GoogleAdsSearchads360V23CommonEnhancedCpc) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonEventAttribute.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonEventAttribute.java new file mode 100644 index 00000000000..7b853a8c0ad --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonEventAttribute.java @@ -0,0 +1,124 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Advertiser defined events and their attributes. All the values in the nested fields are required. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonEventAttribute extends com.google.api.client.json.GenericJson { + + /** + * Required. Advertiser defined event to be used for remarketing. The accepted values are + * "Viewed", "Cart", "Purchased" and "Recommended". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String event; + + /** + * Required. Timestamp at which the event happened. The format is YYYY-MM-DD HH:MM:SS[+/-HH:MM], + * where [+/-HH:MM] is an optional timezone offset from UTC. If the offset is absent, the API will + * use the account's timezone as default. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String eventDateTime; + + /** + * Required. Item attributes of the event. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List itemAttribute; + + /** + * Required. Advertiser defined event to be used for remarketing. The accepted values are + * "Viewed", "Cart", "Purchased" and "Recommended". + * @return value or {@code null} for none + */ + public java.lang.String getEvent() { + return event; + } + + /** + * Required. Advertiser defined event to be used for remarketing. The accepted values are + * "Viewed", "Cart", "Purchased" and "Recommended". + * @param event event or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonEventAttribute setEvent(java.lang.String event) { + this.event = event; + return this; + } + + /** + * Required. Timestamp at which the event happened. The format is YYYY-MM-DD HH:MM:SS[+/-HH:MM], + * where [+/-HH:MM] is an optional timezone offset from UTC. If the offset is absent, the API will + * use the account's timezone as default. + * @return value or {@code null} for none + */ + public java.lang.String getEventDateTime() { + return eventDateTime; + } + + /** + * Required. Timestamp at which the event happened. The format is YYYY-MM-DD HH:MM:SS[+/-HH:MM], + * where [+/-HH:MM] is an optional timezone offset from UTC. If the offset is absent, the API will + * use the account's timezone as default. + * @param eventDateTime eventDateTime or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonEventAttribute setEventDateTime(java.lang.String eventDateTime) { + this.eventDateTime = eventDateTime; + return this; + } + + /** + * Required. Item attributes of the event. + * @return value or {@code null} for none + */ + public java.util.List getItemAttribute() { + return itemAttribute; + } + + /** + * Required. Item attributes of the event. + * @param itemAttribute itemAttribute or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonEventAttribute setItemAttribute(java.util.List itemAttribute) { + this.itemAttribute = itemAttribute; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonEventAttribute set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonEventAttribute) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonEventAttribute clone() { + return (GoogleAdsSearchads360V23CommonEventAttribute) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonEventItemAttribute.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonEventItemAttribute.java new file mode 100644 index 00000000000..eeec303bf8a --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonEventItemAttribute.java @@ -0,0 +1,70 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Event Item attributes of the Customer Match. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonEventItemAttribute extends com.google.api.client.json.GenericJson { + + /** + * Optional. A unique identifier of a product. It can be either the Merchant Center Item ID or + * GTIN (Global Trade Item Number). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String itemId; + + /** + * Optional. A unique identifier of a product. It can be either the Merchant Center Item ID or + * GTIN (Global Trade Item Number). + * @return value or {@code null} for none + */ + public java.lang.String getItemId() { + return itemId; + } + + /** + * Optional. A unique identifier of a product. It can be either the Merchant Center Item ID or + * GTIN (Global Trade Item Number). + * @param itemId itemId or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonEventItemAttribute setItemId(java.lang.String itemId) { + this.itemId = itemId; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonEventItemAttribute set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonEventItemAttribute) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonEventItemAttribute clone() { + return (GoogleAdsSearchads360V23CommonEventItemAttribute) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonExclusionSegment.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonExclusionSegment.java new file mode 100644 index 00000000000..1fb0d4344ea --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonExclusionSegment.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * An audience segment to be excluded from an audience. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonExclusionSegment extends com.google.api.client.json.GenericJson { + + /** + * User list segment to be excluded. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonUserListSegment userList; + + /** + * User list segment to be excluded. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUserListSegment getUserList() { + return userList; + } + + /** + * User list segment to be excluded. + * @param userList userList or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonExclusionSegment setUserList(GoogleAdsSearchads360V23CommonUserListSegment userList) { + this.userList = userList; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonExclusionSegment set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonExclusionSegment) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonExclusionSegment clone() { + return (GoogleAdsSearchads360V23CommonExclusionSegment) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonExpandedDynamicSearchAdInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonExpandedDynamicSearchAdInfo.java new file mode 100644 index 00000000000..7daab65155d --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonExpandedDynamicSearchAdInfo.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * An expanded dynamic search ad. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonExpandedDynamicSearchAdInfo extends com.google.api.client.json.GenericJson { + + /** + * The description of the ad. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String description; + + /** + * The second description of the ad. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String description2; + + /** + * The description of the ad. + * @return value or {@code null} for none + */ + public java.lang.String getDescription() { + return description; + } + + /** + * The description of the ad. + * @param description description or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonExpandedDynamicSearchAdInfo setDescription(java.lang.String description) { + this.description = description; + return this; + } + + /** + * The second description of the ad. + * @return value or {@code null} for none + */ + public java.lang.String getDescription2() { + return description2; + } + + /** + * The second description of the ad. + * @param description2 description2 or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonExpandedDynamicSearchAdInfo setDescription2(java.lang.String description2) { + this.description2 = description2; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonExpandedDynamicSearchAdInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonExpandedDynamicSearchAdInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonExpandedDynamicSearchAdInfo clone() { + return (GoogleAdsSearchads360V23CommonExpandedDynamicSearchAdInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonExpandedTextAdInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonExpandedTextAdInfo.java new file mode 100644 index 00000000000..a5012556266 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonExpandedTextAdInfo.java @@ -0,0 +1,211 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * An expanded text ad. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonExpandedTextAdInfo extends com.google.api.client.json.GenericJson { + + /** + * The description of the ad. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String description; + + /** + * The second description of the ad. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String description2; + + /** + * The first part of the ad's headline. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String headlinePart1; + + /** + * The second part of the ad's headline. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String headlinePart2; + + /** + * The third part of the ad's headline. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String headlinePart3; + + /** + * The text that can appear alongside the ad's displayed URL. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String path1; + + /** + * Additional text that can appear alongside the ad's displayed URL. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String path2; + + /** + * The description of the ad. + * @return value or {@code null} for none + */ + public java.lang.String getDescription() { + return description; + } + + /** + * The description of the ad. + * @param description description or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonExpandedTextAdInfo setDescription(java.lang.String description) { + this.description = description; + return this; + } + + /** + * The second description of the ad. + * @return value or {@code null} for none + */ + public java.lang.String getDescription2() { + return description2; + } + + /** + * The second description of the ad. + * @param description2 description2 or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonExpandedTextAdInfo setDescription2(java.lang.String description2) { + this.description2 = description2; + return this; + } + + /** + * The first part of the ad's headline. + * @return value or {@code null} for none + */ + public java.lang.String getHeadlinePart1() { + return headlinePart1; + } + + /** + * The first part of the ad's headline. + * @param headlinePart1 headlinePart1 or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonExpandedTextAdInfo setHeadlinePart1(java.lang.String headlinePart1) { + this.headlinePart1 = headlinePart1; + return this; + } + + /** + * The second part of the ad's headline. + * @return value or {@code null} for none + */ + public java.lang.String getHeadlinePart2() { + return headlinePart2; + } + + /** + * The second part of the ad's headline. + * @param headlinePart2 headlinePart2 or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonExpandedTextAdInfo setHeadlinePart2(java.lang.String headlinePart2) { + this.headlinePart2 = headlinePart2; + return this; + } + + /** + * The third part of the ad's headline. + * @return value or {@code null} for none + */ + public java.lang.String getHeadlinePart3() { + return headlinePart3; + } + + /** + * The third part of the ad's headline. + * @param headlinePart3 headlinePart3 or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonExpandedTextAdInfo setHeadlinePart3(java.lang.String headlinePart3) { + this.headlinePart3 = headlinePart3; + return this; + } + + /** + * The text that can appear alongside the ad's displayed URL. + * @return value or {@code null} for none + */ + public java.lang.String getPath1() { + return path1; + } + + /** + * The text that can appear alongside the ad's displayed URL. + * @param path1 path1 or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonExpandedTextAdInfo setPath1(java.lang.String path1) { + this.path1 = path1; + return this; + } + + /** + * Additional text that can appear alongside the ad's displayed URL. + * @return value or {@code null} for none + */ + public java.lang.String getPath2() { + return path2; + } + + /** + * Additional text that can appear alongside the ad's displayed URL. + * @param path2 path2 or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonExpandedTextAdInfo setPath2(java.lang.String path2) { + this.path2 = path2; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonExpandedTextAdInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonExpandedTextAdInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonExpandedTextAdInfo clone() { + return (GoogleAdsSearchads360V23CommonExpandedTextAdInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonExtendedDemographicInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonExtendedDemographicInfo.java new file mode 100644 index 00000000000..8051c2b68cc --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonExtendedDemographicInfo.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Represents an extended demographic criterion. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonExtendedDemographicInfo extends com.google.api.client.json.GenericJson { + + /** + * Taxonomy id of the extended demographic group. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long extendedDemographicId; + + /** + * Taxonomy id of the extended demographic group. + * @return value or {@code null} for none + */ + public java.lang.Long getExtendedDemographicId() { + return extendedDemographicId; + } + + /** + * Taxonomy id of the extended demographic group. + * @param extendedDemographicId extendedDemographicId or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonExtendedDemographicInfo setExtendedDemographicId(java.lang.Long extendedDemographicId) { + this.extendedDemographicId = extendedDemographicId; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonExtendedDemographicInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonExtendedDemographicInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonExtendedDemographicInfo clone() { + return (GoogleAdsSearchads360V23CommonExtendedDemographicInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonFacebookMessengerBusinessMessageInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonFacebookMessengerBusinessMessageInfo.java new file mode 100644 index 00000000000..bdf4a6c0b4a --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonFacebookMessengerBusinessMessageInfo.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Facebook Messenger information to use for messaging. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonFacebookMessengerBusinessMessageInfo extends com.google.api.client.json.GenericJson { + + /** + * Required. Facebook page name used for starting a chat on Facebook Messenger. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String pageName; + + /** + * Required. Facebook page name used for starting a chat on Facebook Messenger. + * @return value or {@code null} for none + */ + public java.lang.String getPageName() { + return pageName; + } + + /** + * Required. Facebook page name used for starting a chat on Facebook Messenger. + * @param pageName pageName or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonFacebookMessengerBusinessMessageInfo setPageName(java.lang.String pageName) { + this.pageName = pageName; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonFacebookMessengerBusinessMessageInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonFacebookMessengerBusinessMessageInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonFacebookMessengerBusinessMessageInfo clone() { + return (GoogleAdsSearchads360V23CommonFacebookMessengerBusinessMessageInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonFinalAppUrl.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonFinalAppUrl.java new file mode 100644 index 00000000000..7357455f203 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonFinalAppUrl.java @@ -0,0 +1,103 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A URL for deep linking into an app for the given operating system. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonFinalAppUrl extends com.google.api.client.json.GenericJson { + + /** + * The operating system targeted by this URL. Required. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String osType; + + /** + * The app deep link URL. Deep links specify a location in an app that corresponds to the content + * you'd like to show, and should be of the form {scheme}://{host_path} The scheme identifies + * which app to open. For your app, you can use a custom scheme that starts with the app's name. + * The host and path specify the unique location in the app where your content exists. Example: + * "exampleapp://productid_1234". Required. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String url; + + /** + * The operating system targeted by this URL. Required. + * @return value or {@code null} for none + */ + public java.lang.String getOsType() { + return osType; + } + + /** + * The operating system targeted by this URL. Required. + * @param osType osType or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonFinalAppUrl setOsType(java.lang.String osType) { + this.osType = osType; + return this; + } + + /** + * The app deep link URL. Deep links specify a location in an app that corresponds to the content + * you'd like to show, and should be of the form {scheme}://{host_path} The scheme identifies + * which app to open. For your app, you can use a custom scheme that starts with the app's name. + * The host and path specify the unique location in the app where your content exists. Example: + * "exampleapp://productid_1234". Required. + * @return value or {@code null} for none + */ + public java.lang.String getUrl() { + return url; + } + + /** + * The app deep link URL. Deep links specify a location in an app that corresponds to the content + * you'd like to show, and should be of the form {scheme}://{host_path} The scheme identifies + * which app to open. For your app, you can use a custom scheme that starts with the app's name. + * The host and path specify the unique location in the app where your content exists. Example: + * "exampleapp://productid_1234". Required. + * @param url url or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonFinalAppUrl setUrl(java.lang.String url) { + this.url = url; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonFinalAppUrl set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonFinalAppUrl) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonFinalAppUrl clone() { + return (GoogleAdsSearchads360V23CommonFinalAppUrl) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonFlexibleRuleOperandInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonFlexibleRuleOperandInfo.java new file mode 100644 index 00000000000..3d200bdbbf0 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonFlexibleRuleOperandInfo.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Flexible rule that wraps the common rule and a lookback window. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonFlexibleRuleOperandInfo extends com.google.api.client.json.GenericJson { + + /** + * Lookback window for this rule in days. From now until X days ago. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long lookbackWindowDays; + + /** + * List of rule item groups that defines this rule. Rule item groups are grouped together. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonUserListRuleInfo rule; + + /** + * Lookback window for this rule in days. From now until X days ago. + * @return value or {@code null} for none + */ + public java.lang.Long getLookbackWindowDays() { + return lookbackWindowDays; + } + + /** + * Lookback window for this rule in days. From now until X days ago. + * @param lookbackWindowDays lookbackWindowDays or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonFlexibleRuleOperandInfo setLookbackWindowDays(java.lang.Long lookbackWindowDays) { + this.lookbackWindowDays = lookbackWindowDays; + return this; + } + + /** + * List of rule item groups that defines this rule. Rule item groups are grouped together. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUserListRuleInfo getRule() { + return rule; + } + + /** + * List of rule item groups that defines this rule. Rule item groups are grouped together. + * @param rule rule or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonFlexibleRuleOperandInfo setRule(GoogleAdsSearchads360V23CommonUserListRuleInfo rule) { + this.rule = rule; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonFlexibleRuleOperandInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonFlexibleRuleOperandInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonFlexibleRuleOperandInfo clone() { + return (GoogleAdsSearchads360V23CommonFlexibleRuleOperandInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonFlexibleRuleUserListInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonFlexibleRuleUserListInfo.java new file mode 100644 index 00000000000..eb0ef4df672 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonFlexibleRuleUserListInfo.java @@ -0,0 +1,140 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Flexible rule representation of visitors with one or multiple actions. The flexible user list is + * defined by two lists of operands – inclusive_operands and exclusive_operands; each operand + * represents a set of users based on actions they took in a given timeframe. These lists of + * operands are combined with the AND_NOT operator, so that users represented by the inclusive + * operands are included in the user list, minus the users represented by the exclusive operands. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonFlexibleRuleUserListInfo extends com.google.api.client.json.GenericJson { + + /** + * Rules representing users that should be excluded from the user list. These are located on the + * right side of the AND_NOT operator, and joined together by OR. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List exclusiveOperands; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonFlexibleRuleOperandInfo used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonFlexibleRuleOperandInfo.class); + } + + /** + * Rules representing users that should be included in the user list. These are located on the + * left side of the AND_NOT operator, and joined together by either AND/OR as specified by the + * inclusive_rule_operator. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List inclusiveOperands; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonFlexibleRuleOperandInfo used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonFlexibleRuleOperandInfo.class); + } + + /** + * Operator that defines how the inclusive operands are combined. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String inclusiveRuleOperator; + + /** + * Rules representing users that should be excluded from the user list. These are located on the + * right side of the AND_NOT operator, and joined together by OR. + * @return value or {@code null} for none + */ + public java.util.List getExclusiveOperands() { + return exclusiveOperands; + } + + /** + * Rules representing users that should be excluded from the user list. These are located on the + * right side of the AND_NOT operator, and joined together by OR. + * @param exclusiveOperands exclusiveOperands or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonFlexibleRuleUserListInfo setExclusiveOperands(java.util.List exclusiveOperands) { + this.exclusiveOperands = exclusiveOperands; + return this; + } + + /** + * Rules representing users that should be included in the user list. These are located on the + * left side of the AND_NOT operator, and joined together by either AND/OR as specified by the + * inclusive_rule_operator. + * @return value or {@code null} for none + */ + public java.util.List getInclusiveOperands() { + return inclusiveOperands; + } + + /** + * Rules representing users that should be included in the user list. These are located on the + * left side of the AND_NOT operator, and joined together by either AND/OR as specified by the + * inclusive_rule_operator. + * @param inclusiveOperands inclusiveOperands or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonFlexibleRuleUserListInfo setInclusiveOperands(java.util.List inclusiveOperands) { + this.inclusiveOperands = inclusiveOperands; + return this; + } + + /** + * Operator that defines how the inclusive operands are combined. + * @return value or {@code null} for none + */ + public java.lang.String getInclusiveRuleOperator() { + return inclusiveRuleOperator; + } + + /** + * Operator that defines how the inclusive operands are combined. + * @param inclusiveRuleOperator inclusiveRuleOperator or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonFlexibleRuleUserListInfo setInclusiveRuleOperator(java.lang.String inclusiveRuleOperator) { + this.inclusiveRuleOperator = inclusiveRuleOperator; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonFlexibleRuleUserListInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonFlexibleRuleUserListInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonFlexibleRuleUserListInfo clone() { + return (GoogleAdsSearchads360V23CommonFlexibleRuleUserListInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonFrequencyCapEntry.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonFrequencyCapEntry.java new file mode 100644 index 00000000000..68589de50e2 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonFrequencyCapEntry.java @@ -0,0 +1,95 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A rule specifying the maximum number of times an ad (or some set of ads) can be shown to a user + * over a particular time period. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonFrequencyCapEntry extends com.google.api.client.json.GenericJson { + + /** + * Maximum number of events allowed during the time range by this cap. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer cap; + + /** + * The key of a particular frequency cap. There can be no more than one frequency cap with the + * same key. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonFrequencyCapKey key; + + /** + * Maximum number of events allowed during the time range by this cap. + * @return value or {@code null} for none + */ + public java.lang.Integer getCap() { + return cap; + } + + /** + * Maximum number of events allowed during the time range by this cap. + * @param cap cap or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonFrequencyCapEntry setCap(java.lang.Integer cap) { + this.cap = cap; + return this; + } + + /** + * The key of a particular frequency cap. There can be no more than one frequency cap with the + * same key. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonFrequencyCapKey getKey() { + return key; + } + + /** + * The key of a particular frequency cap. There can be no more than one frequency cap with the + * same key. + * @param key key or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonFrequencyCapEntry setKey(GoogleAdsSearchads360V23CommonFrequencyCapKey key) { + this.key = key; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonFrequencyCapEntry set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonFrequencyCapEntry) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonFrequencyCapEntry clone() { + return (GoogleAdsSearchads360V23CommonFrequencyCapEntry) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonFrequencyCapKey.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonFrequencyCapKey.java new file mode 100644 index 00000000000..62e3b3108b1 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonFrequencyCapKey.java @@ -0,0 +1,143 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A group of fields used as keys for a frequency cap. There can be no more than one frequency cap + * with the same key. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonFrequencyCapKey extends com.google.api.client.json.GenericJson { + + /** + * The type of event that the cap applies to (for example, impression). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String eventType; + + /** + * The level on which the cap is to be applied (for example, ad group ad, ad group). The cap is + * applied to all the entities of this level. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String level; + + /** + * Number of time units the cap lasts. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer timeLength; + + /** + * Unit of time the cap is defined at (for example, day, week). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String timeUnit; + + /** + * The type of event that the cap applies to (for example, impression). + * @return value or {@code null} for none + */ + public java.lang.String getEventType() { + return eventType; + } + + /** + * The type of event that the cap applies to (for example, impression). + * @param eventType eventType or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonFrequencyCapKey setEventType(java.lang.String eventType) { + this.eventType = eventType; + return this; + } + + /** + * The level on which the cap is to be applied (for example, ad group ad, ad group). The cap is + * applied to all the entities of this level. + * @return value or {@code null} for none + */ + public java.lang.String getLevel() { + return level; + } + + /** + * The level on which the cap is to be applied (for example, ad group ad, ad group). The cap is + * applied to all the entities of this level. + * @param level level or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonFrequencyCapKey setLevel(java.lang.String level) { + this.level = level; + return this; + } + + /** + * Number of time units the cap lasts. + * @return value or {@code null} for none + */ + public java.lang.Integer getTimeLength() { + return timeLength; + } + + /** + * Number of time units the cap lasts. + * @param timeLength timeLength or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonFrequencyCapKey setTimeLength(java.lang.Integer timeLength) { + this.timeLength = timeLength; + return this; + } + + /** + * Unit of time the cap is defined at (for example, day, week). + * @return value or {@code null} for none + */ + public java.lang.String getTimeUnit() { + return timeUnit; + } + + /** + * Unit of time the cap is defined at (for example, day, week). + * @param timeUnit timeUnit or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonFrequencyCapKey setTimeUnit(java.lang.String timeUnit) { + this.timeUnit = timeUnit; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonFrequencyCapKey set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonFrequencyCapKey) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonFrequencyCapKey clone() { + return (GoogleAdsSearchads360V23CommonFrequencyCapKey) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonGenderDimension.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonGenderDimension.java new file mode 100644 index 00000000000..14d443975e5 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonGenderDimension.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Dimension specifying users by their gender. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonGenderDimension extends com.google.api.client.json.GenericJson { + + /** + * Included gender demographic segments. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List genders; + + /** + * Include users whose gender is not determined. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean includeUndetermined; + + /** + * Included gender demographic segments. + * @return value or {@code null} for none + */ + public java.util.List getGenders() { + return genders; + } + + /** + * Included gender demographic segments. + * @param genders genders or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonGenderDimension setGenders(java.util.List genders) { + this.genders = genders; + return this; + } + + /** + * Include users whose gender is not determined. + * @return value or {@code null} for none + */ + public java.lang.Boolean getIncludeUndetermined() { + return includeUndetermined; + } + + /** + * Include users whose gender is not determined. + * @param includeUndetermined includeUndetermined or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonGenderDimension setIncludeUndetermined(java.lang.Boolean includeUndetermined) { + this.includeUndetermined = includeUndetermined; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonGenderDimension set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonGenderDimension) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonGenderDimension clone() { + return (GoogleAdsSearchads360V23CommonGenderDimension) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonGenderInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonGenderInfo.java new file mode 100644 index 00000000000..27ec012498e --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonGenderInfo.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A gender criterion. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonGenderInfo extends com.google.api.client.json.GenericJson { + + /** + * Type of the gender. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String type; + + /** + * Type of the gender. + * @return value or {@code null} for none + */ + public java.lang.String getType() { + return type; + } + + /** + * Type of the gender. + * @param type type or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonGenderInfo setType(java.lang.String type) { + this.type = type; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonGenderInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonGenderInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonGenderInfo clone() { + return (GoogleAdsSearchads360V23CommonGenderInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonGeoPointInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonGeoPointInfo.java new file mode 100644 index 00000000000..bd58eb93774 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonGeoPointInfo.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Geo point for proximity criterion. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonGeoPointInfo extends com.google.api.client.json.GenericJson { + + /** + * Micro degrees for the latitude. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer latitudeInMicroDegrees; + + /** + * Micro degrees for the longitude. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer longitudeInMicroDegrees; + + /** + * Micro degrees for the latitude. + * @return value or {@code null} for none + */ + public java.lang.Integer getLatitudeInMicroDegrees() { + return latitudeInMicroDegrees; + } + + /** + * Micro degrees for the latitude. + * @param latitudeInMicroDegrees latitudeInMicroDegrees or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonGeoPointInfo setLatitudeInMicroDegrees(java.lang.Integer latitudeInMicroDegrees) { + this.latitudeInMicroDegrees = latitudeInMicroDegrees; + return this; + } + + /** + * Micro degrees for the longitude. + * @return value or {@code null} for none + */ + public java.lang.Integer getLongitudeInMicroDegrees() { + return longitudeInMicroDegrees; + } + + /** + * Micro degrees for the longitude. + * @param longitudeInMicroDegrees longitudeInMicroDegrees or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonGeoPointInfo setLongitudeInMicroDegrees(java.lang.Integer longitudeInMicroDegrees) { + this.longitudeInMicroDegrees = longitudeInMicroDegrees; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonGeoPointInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonGeoPointInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonGeoPointInfo clone() { + return (GoogleAdsSearchads360V23CommonGeoPointInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonGoalSettingRetentionGoal.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonGoalSettingRetentionGoal.java new file mode 100644 index 00000000000..80bc13160c1 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonGoalSettingRetentionGoal.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Retention goal settings. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonGoalSettingRetentionGoal extends com.google.api.client.json.GenericJson { + + /** + * Retention goal value settings. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonCustomerLifecycleOptimizationValueSettings valueSettings; + + /** + * Retention goal value settings. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCustomerLifecycleOptimizationValueSettings getValueSettings() { + return valueSettings; + } + + /** + * Retention goal value settings. + * @param valueSettings valueSettings or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonGoalSettingRetentionGoal setValueSettings(GoogleAdsSearchads360V23CommonCustomerLifecycleOptimizationValueSettings valueSettings) { + this.valueSettings = valueSettings; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonGoalSettingRetentionGoal set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonGoalSettingRetentionGoal) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonGoalSettingRetentionGoal clone() { + return (GoogleAdsSearchads360V23CommonGoalSettingRetentionGoal) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonHistoricalMetricsOptions.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonHistoricalMetricsOptions.java new file mode 100644 index 00000000000..ba01507a440 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonHistoricalMetricsOptions.java @@ -0,0 +1,103 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Historical metrics options. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonHistoricalMetricsOptions extends com.google.api.client.json.GenericJson { + + /** + * Indicates whether to include average cost per click value. Average CPC is provided only for + * legacy support. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean includeAverageCpc; + + /** + * The year month range for historical metrics. If not specified, metrics for the past 12 months + * are returned. Search metrics are available for the past 4 years. If the search volume is not + * available for the entire year_month_range provided, the subset of the year month range for + * which search volume is available are returned. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonYearMonthRange yearMonthRange; + + /** + * Indicates whether to include average cost per click value. Average CPC is provided only for + * legacy support. + * @return value or {@code null} for none + */ + public java.lang.Boolean getIncludeAverageCpc() { + return includeAverageCpc; + } + + /** + * Indicates whether to include average cost per click value. Average CPC is provided only for + * legacy support. + * @param includeAverageCpc includeAverageCpc or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonHistoricalMetricsOptions setIncludeAverageCpc(java.lang.Boolean includeAverageCpc) { + this.includeAverageCpc = includeAverageCpc; + return this; + } + + /** + * The year month range for historical metrics. If not specified, metrics for the past 12 months + * are returned. Search metrics are available for the past 4 years. If the search volume is not + * available for the entire year_month_range provided, the subset of the year month range for + * which search volume is available are returned. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonYearMonthRange getYearMonthRange() { + return yearMonthRange; + } + + /** + * The year month range for historical metrics. If not specified, metrics for the past 12 months + * are returned. Search metrics are available for the past 4 years. If the search volume is not + * available for the entire year_month_range provided, the subset of the year month range for + * which search volume is available are returned. + * @param yearMonthRange yearMonthRange or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonHistoricalMetricsOptions setYearMonthRange(GoogleAdsSearchads360V23CommonYearMonthRange yearMonthRange) { + this.yearMonthRange = yearMonthRange; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonHistoricalMetricsOptions set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonHistoricalMetricsOptions) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonHistoricalMetricsOptions clone() { + return (GoogleAdsSearchads360V23CommonHistoricalMetricsOptions) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonHotelAdInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonHotelAdInfo.java new file mode 100644 index 00000000000..04ba4a43a5f --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonHotelAdInfo.java @@ -0,0 +1,43 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A hotel ad. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonHotelAdInfo extends com.google.api.client.json.GenericJson { + + @Override + public GoogleAdsSearchads360V23CommonHotelAdInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonHotelAdInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonHotelAdInfo clone() { + return (GoogleAdsSearchads360V23CommonHotelAdInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonHotelAdvanceBookingWindowInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonHotelAdvanceBookingWindowInfo.java new file mode 100644 index 00000000000..bec9e17eed5 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonHotelAdvanceBookingWindowInfo.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Criterion for number of days prior to the stay the booking is being made. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonHotelAdvanceBookingWindowInfo extends com.google.api.client.json.GenericJson { + + /** + * High end of the number of days prior to the stay. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long maxDays; + + /** + * Low end of the number of days prior to the stay. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long minDays; + + /** + * High end of the number of days prior to the stay. + * @return value or {@code null} for none + */ + public java.lang.Long getMaxDays() { + return maxDays; + } + + /** + * High end of the number of days prior to the stay. + * @param maxDays maxDays or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonHotelAdvanceBookingWindowInfo setMaxDays(java.lang.Long maxDays) { + this.maxDays = maxDays; + return this; + } + + /** + * Low end of the number of days prior to the stay. + * @return value or {@code null} for none + */ + public java.lang.Long getMinDays() { + return minDays; + } + + /** + * Low end of the number of days prior to the stay. + * @param minDays minDays or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonHotelAdvanceBookingWindowInfo setMinDays(java.lang.Long minDays) { + this.minDays = minDays; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonHotelAdvanceBookingWindowInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonHotelAdvanceBookingWindowInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonHotelAdvanceBookingWindowInfo clone() { + return (GoogleAdsSearchads360V23CommonHotelAdvanceBookingWindowInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonHotelCalloutAsset.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonHotelCalloutAsset.java new file mode 100644 index 00000000000..54d0bc7611f --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonHotelCalloutAsset.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * An asset representing a hotel callout. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonHotelCalloutAsset extends com.google.api.client.json.GenericJson { + + /** + * Required. The language of the hotel callout. Represented as BCP 47 language tag. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String languageCode; + + /** + * Required. The text of the hotel callout asset. The length of this string should be between 1 + * and 25, inclusive. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String text; + + /** + * Required. The language of the hotel callout. Represented as BCP 47 language tag. + * @return value or {@code null} for none + */ + public java.lang.String getLanguageCode() { + return languageCode; + } + + /** + * Required. The language of the hotel callout. Represented as BCP 47 language tag. + * @param languageCode languageCode or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonHotelCalloutAsset setLanguageCode(java.lang.String languageCode) { + this.languageCode = languageCode; + return this; + } + + /** + * Required. The text of the hotel callout asset. The length of this string should be between 1 + * and 25, inclusive. + * @return value or {@code null} for none + */ + public java.lang.String getText() { + return text; + } + + /** + * Required. The text of the hotel callout asset. The length of this string should be between 1 + * and 25, inclusive. + * @param text text or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonHotelCalloutAsset setText(java.lang.String text) { + this.text = text; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonHotelCalloutAsset set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonHotelCalloutAsset) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonHotelCalloutAsset clone() { + return (GoogleAdsSearchads360V23CommonHotelCalloutAsset) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonHotelCheckInDateRangeInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonHotelCheckInDateRangeInfo.java new file mode 100644 index 00000000000..9ef28030576 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonHotelCheckInDateRangeInfo.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Criterion for a check-in date range. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonHotelCheckInDateRangeInfo extends com.google.api.client.json.GenericJson { + + /** + * End date in the YYYY-MM-DD format. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String endDate; + + /** + * Start date in the YYYY-MM-DD format. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String startDate; + + /** + * End date in the YYYY-MM-DD format. + * @return value or {@code null} for none + */ + public java.lang.String getEndDate() { + return endDate; + } + + /** + * End date in the YYYY-MM-DD format. + * @param endDate endDate or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonHotelCheckInDateRangeInfo setEndDate(java.lang.String endDate) { + this.endDate = endDate; + return this; + } + + /** + * Start date in the YYYY-MM-DD format. + * @return value or {@code null} for none + */ + public java.lang.String getStartDate() { + return startDate; + } + + /** + * Start date in the YYYY-MM-DD format. + * @param startDate startDate or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonHotelCheckInDateRangeInfo setStartDate(java.lang.String startDate) { + this.startDate = startDate; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonHotelCheckInDateRangeInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonHotelCheckInDateRangeInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonHotelCheckInDateRangeInfo clone() { + return (GoogleAdsSearchads360V23CommonHotelCheckInDateRangeInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonHotelCheckInDayInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonHotelCheckInDayInfo.java new file mode 100644 index 00000000000..f3046f1f991 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonHotelCheckInDayInfo.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Criterion for day of the week the booking is for. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonHotelCheckInDayInfo extends com.google.api.client.json.GenericJson { + + /** + * The day of the week. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String dayOfWeek; + + /** + * The day of the week. + * @return value or {@code null} for none + */ + public java.lang.String getDayOfWeek() { + return dayOfWeek; + } + + /** + * The day of the week. + * @param dayOfWeek dayOfWeek or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonHotelCheckInDayInfo setDayOfWeek(java.lang.String dayOfWeek) { + this.dayOfWeek = dayOfWeek; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonHotelCheckInDayInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonHotelCheckInDayInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonHotelCheckInDayInfo clone() { + return (GoogleAdsSearchads360V23CommonHotelCheckInDayInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonHotelCityInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonHotelCityInfo.java new file mode 100644 index 00000000000..bd7359bdfa3 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonHotelCityInfo.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * City the hotel is located in. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonHotelCityInfo extends com.google.api.client.json.GenericJson { + + /** + * The Geo Target Constant resource name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String cityCriterion; + + /** + * The Geo Target Constant resource name. + * @return value or {@code null} for none + */ + public java.lang.String getCityCriterion() { + return cityCriterion; + } + + /** + * The Geo Target Constant resource name. + * @param cityCriterion cityCriterion or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonHotelCityInfo setCityCriterion(java.lang.String cityCriterion) { + this.cityCriterion = cityCriterion; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonHotelCityInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonHotelCityInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonHotelCityInfo clone() { + return (GoogleAdsSearchads360V23CommonHotelCityInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonHotelClassInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonHotelClassInfo.java new file mode 100644 index 00000000000..2fba9713977 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonHotelClassInfo.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Class of the hotel as a number of stars 1 to 5. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonHotelClassInfo extends com.google.api.client.json.GenericJson { + + /** + * Long value of the hotel class. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long value; + + /** + * Long value of the hotel class. + * @return value or {@code null} for none + */ + public java.lang.Long getValue() { + return value; + } + + /** + * Long value of the hotel class. + * @param value value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonHotelClassInfo setValue(java.lang.Long value) { + this.value = value; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonHotelClassInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonHotelClassInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonHotelClassInfo clone() { + return (GoogleAdsSearchads360V23CommonHotelClassInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonHotelCountryRegionInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonHotelCountryRegionInfo.java new file mode 100644 index 00000000000..63a252bf593 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonHotelCountryRegionInfo.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Country or Region the hotel is located in. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonHotelCountryRegionInfo extends com.google.api.client.json.GenericJson { + + /** + * The Geo Target Constant resource name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String countryRegionCriterion; + + /** + * The Geo Target Constant resource name. + * @return value or {@code null} for none + */ + public java.lang.String getCountryRegionCriterion() { + return countryRegionCriterion; + } + + /** + * The Geo Target Constant resource name. + * @param countryRegionCriterion countryRegionCriterion or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonHotelCountryRegionInfo setCountryRegionCriterion(java.lang.String countryRegionCriterion) { + this.countryRegionCriterion = countryRegionCriterion; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonHotelCountryRegionInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonHotelCountryRegionInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonHotelCountryRegionInfo clone() { + return (GoogleAdsSearchads360V23CommonHotelCountryRegionInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonHotelDateSelectionTypeInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonHotelDateSelectionTypeInfo.java new file mode 100644 index 00000000000..83950f5fdbe --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonHotelDateSelectionTypeInfo.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Criterion for hotel date selection (default dates versus user selected). + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonHotelDateSelectionTypeInfo extends com.google.api.client.json.GenericJson { + + /** + * Type of the hotel date selection + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String type; + + /** + * Type of the hotel date selection + * @return value or {@code null} for none + */ + public java.lang.String getType() { + return type; + } + + /** + * Type of the hotel date selection + * @param type type or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonHotelDateSelectionTypeInfo setType(java.lang.String type) { + this.type = type; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonHotelDateSelectionTypeInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonHotelDateSelectionTypeInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonHotelDateSelectionTypeInfo clone() { + return (GoogleAdsSearchads360V23CommonHotelDateSelectionTypeInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonHotelIdInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonHotelIdInfo.java new file mode 100644 index 00000000000..ac3305330b8 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonHotelIdInfo.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Advertiser-specific hotel ID. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonHotelIdInfo extends com.google.api.client.json.GenericJson { + + /** + * String value of the hotel ID. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String value; + + /** + * String value of the hotel ID. + * @return value or {@code null} for none + */ + public java.lang.String getValue() { + return value; + } + + /** + * String value of the hotel ID. + * @param value value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonHotelIdInfo setValue(java.lang.String value) { + this.value = value; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonHotelIdInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonHotelIdInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonHotelIdInfo clone() { + return (GoogleAdsSearchads360V23CommonHotelIdInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonHotelLengthOfStayInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonHotelLengthOfStayInfo.java new file mode 100644 index 00000000000..5abd1f34c4d --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonHotelLengthOfStayInfo.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Criterion for length of hotel stay in nights. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonHotelLengthOfStayInfo extends com.google.api.client.json.GenericJson { + + /** + * High end of the number of nights in the stay. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long maxNights; + + /** + * Low end of the number of nights in the stay. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long minNights; + + /** + * High end of the number of nights in the stay. + * @return value or {@code null} for none + */ + public java.lang.Long getMaxNights() { + return maxNights; + } + + /** + * High end of the number of nights in the stay. + * @param maxNights maxNights or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonHotelLengthOfStayInfo setMaxNights(java.lang.Long maxNights) { + this.maxNights = maxNights; + return this; + } + + /** + * Low end of the number of nights in the stay. + * @return value or {@code null} for none + */ + public java.lang.Long getMinNights() { + return minNights; + } + + /** + * Low end of the number of nights in the stay. + * @param minNights minNights or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonHotelLengthOfStayInfo setMinNights(java.lang.Long minNights) { + this.minNights = minNights; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonHotelLengthOfStayInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonHotelLengthOfStayInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonHotelLengthOfStayInfo clone() { + return (GoogleAdsSearchads360V23CommonHotelLengthOfStayInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonHotelPropertyAsset.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonHotelPropertyAsset.java new file mode 100644 index 00000000000..8a956599638 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonHotelPropertyAsset.java @@ -0,0 +1,118 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A hotel property asset. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonHotelPropertyAsset extends com.google.api.client.json.GenericJson { + + /** + * Address of the hotel. Read-only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String hotelAddress; + + /** + * Name of the hotel. Read-only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String hotelName; + + /** + * Place IDs uniquely identify a place in the Google Places database and on Google Maps. See + * https://developers.google.com/places/web-service/place-id to learn more. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String placeId; + + /** + * Address of the hotel. Read-only. + * @return value or {@code null} for none + */ + public java.lang.String getHotelAddress() { + return hotelAddress; + } + + /** + * Address of the hotel. Read-only. + * @param hotelAddress hotelAddress or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonHotelPropertyAsset setHotelAddress(java.lang.String hotelAddress) { + this.hotelAddress = hotelAddress; + return this; + } + + /** + * Name of the hotel. Read-only. + * @return value or {@code null} for none + */ + public java.lang.String getHotelName() { + return hotelName; + } + + /** + * Name of the hotel. Read-only. + * @param hotelName hotelName or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonHotelPropertyAsset setHotelName(java.lang.String hotelName) { + this.hotelName = hotelName; + return this; + } + + /** + * Place IDs uniquely identify a place in the Google Places database and on Google Maps. See + * https://developers.google.com/places/web-service/place-id to learn more. + * @return value or {@code null} for none + */ + public java.lang.String getPlaceId() { + return placeId; + } + + /** + * Place IDs uniquely identify a place in the Google Places database and on Google Maps. See + * https://developers.google.com/places/web-service/place-id to learn more. + * @param placeId placeId or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonHotelPropertyAsset setPlaceId(java.lang.String placeId) { + this.placeId = placeId; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonHotelPropertyAsset set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonHotelPropertyAsset) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonHotelPropertyAsset clone() { + return (GoogleAdsSearchads360V23CommonHotelPropertyAsset) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonHotelStateInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonHotelStateInfo.java new file mode 100644 index 00000000000..bc924771ca0 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonHotelStateInfo.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * State the hotel is located in. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonHotelStateInfo extends com.google.api.client.json.GenericJson { + + /** + * The Geo Target Constant resource name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String stateCriterion; + + /** + * The Geo Target Constant resource name. + * @return value or {@code null} for none + */ + public java.lang.String getStateCriterion() { + return stateCriterion; + } + + /** + * The Geo Target Constant resource name. + * @param stateCriterion stateCriterion or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonHotelStateInfo setStateCriterion(java.lang.String stateCriterion) { + this.stateCriterion = stateCriterion; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonHotelStateInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonHotelStateInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonHotelStateInfo clone() { + return (GoogleAdsSearchads360V23CommonHotelStateInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonHouseholdIncomeDimension.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonHouseholdIncomeDimension.java new file mode 100644 index 00000000000..a4bfa31d384 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonHouseholdIncomeDimension.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Dimension specifying users by their household income. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonHouseholdIncomeDimension extends com.google.api.client.json.GenericJson { + + /** + * Include users whose household income is not determined. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean includeUndetermined; + + /** + * Included household income demographic segments. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List incomeRanges; + + /** + * Include users whose household income is not determined. + * @return value or {@code null} for none + */ + public java.lang.Boolean getIncludeUndetermined() { + return includeUndetermined; + } + + /** + * Include users whose household income is not determined. + * @param includeUndetermined includeUndetermined or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonHouseholdIncomeDimension setIncludeUndetermined(java.lang.Boolean includeUndetermined) { + this.includeUndetermined = includeUndetermined; + return this; + } + + /** + * Included household income demographic segments. + * @return value or {@code null} for none + */ + public java.util.List getIncomeRanges() { + return incomeRanges; + } + + /** + * Included household income demographic segments. + * @param incomeRanges incomeRanges or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonHouseholdIncomeDimension setIncomeRanges(java.util.List incomeRanges) { + this.incomeRanges = incomeRanges; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonHouseholdIncomeDimension set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonHouseholdIncomeDimension) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonHouseholdIncomeDimension clone() { + return (GoogleAdsSearchads360V23CommonHouseholdIncomeDimension) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonImageAdInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonImageAdInfo.java new file mode 100644 index 00000000000..4f9ed09b823 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonImageAdInfo.java @@ -0,0 +1,338 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * An image ad. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonImageAdInfo extends com.google.api.client.json.GenericJson { + + /** + * An ad ID to copy the image from. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long adIdToCopyImageFrom; + + /** + * Raw image data as bytes. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String data; + + /** + * The image assets used for the ad. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonAdImageAsset imageAsset; + + /** + * URL of the full size image. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String imageUrl; + + /** + * The mime type of the image. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String mimeType; + + /** + * The name of the image. If the image was created from a MediaFile, this is the MediaFile's name. + * If the image was created from bytes, this is empty. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * Height in pixels of the full size image. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long pixelHeight; + + /** + * Width in pixels of the full size image. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long pixelWidth; + + /** + * URL of the preview size image. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String previewImageUrl; + + /** + * Height in pixels of the preview size image. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long previewPixelHeight; + + /** + * Width in pixels of the preview size image. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long previewPixelWidth; + + /** + * An ad ID to copy the image from. + * @return value or {@code null} for none + */ + public java.lang.Long getAdIdToCopyImageFrom() { + return adIdToCopyImageFrom; + } + + /** + * An ad ID to copy the image from. + * @param adIdToCopyImageFrom adIdToCopyImageFrom or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonImageAdInfo setAdIdToCopyImageFrom(java.lang.Long adIdToCopyImageFrom) { + this.adIdToCopyImageFrom = adIdToCopyImageFrom; + return this; + } + + /** + * Raw image data as bytes. + * @see #decodeData() + * @return value or {@code null} for none + */ + public java.lang.String getData() { + return data; + } + + /** + * Raw image data as bytes. + * @see #getData() + * @return Base64 decoded value or {@code null} for none + * + * @since 1.14 + */ + public byte[] decodeData() { + return com.google.api.client.util.Base64.decodeBase64(data); + } + + /** + * Raw image data as bytes. + * @see #encodeData() + * @param data data or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonImageAdInfo setData(java.lang.String data) { + this.data = data; + return this; + } + + /** + * Raw image data as bytes. + * @see #setData() + * + *

+ * The value is encoded Base64 or {@code null} for none. + *

+ * + * @since 1.14 + */ + public GoogleAdsSearchads360V23CommonImageAdInfo encodeData(byte[] data) { + this.data = com.google.api.client.util.Base64.encodeBase64URLSafeString(data); + return this; + } + + /** + * The image assets used for the ad. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAdImageAsset getImageAsset() { + return imageAsset; + } + + /** + * The image assets used for the ad. + * @param imageAsset imageAsset or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonImageAdInfo setImageAsset(GoogleAdsSearchads360V23CommonAdImageAsset imageAsset) { + this.imageAsset = imageAsset; + return this; + } + + /** + * URL of the full size image. + * @return value or {@code null} for none + */ + public java.lang.String getImageUrl() { + return imageUrl; + } + + /** + * URL of the full size image. + * @param imageUrl imageUrl or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonImageAdInfo setImageUrl(java.lang.String imageUrl) { + this.imageUrl = imageUrl; + return this; + } + + /** + * The mime type of the image. + * @return value or {@code null} for none + */ + public java.lang.String getMimeType() { + return mimeType; + } + + /** + * The mime type of the image. + * @param mimeType mimeType or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonImageAdInfo setMimeType(java.lang.String mimeType) { + this.mimeType = mimeType; + return this; + } + + /** + * The name of the image. If the image was created from a MediaFile, this is the MediaFile's name. + * If the image was created from bytes, this is empty. + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * The name of the image. If the image was created from a MediaFile, this is the MediaFile's name. + * If the image was created from bytes, this is empty. + * @param name name or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonImageAdInfo setName(java.lang.String name) { + this.name = name; + return this; + } + + /** + * Height in pixels of the full size image. + * @return value or {@code null} for none + */ + public java.lang.Long getPixelHeight() { + return pixelHeight; + } + + /** + * Height in pixels of the full size image. + * @param pixelHeight pixelHeight or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonImageAdInfo setPixelHeight(java.lang.Long pixelHeight) { + this.pixelHeight = pixelHeight; + return this; + } + + /** + * Width in pixels of the full size image. + * @return value or {@code null} for none + */ + public java.lang.Long getPixelWidth() { + return pixelWidth; + } + + /** + * Width in pixels of the full size image. + * @param pixelWidth pixelWidth or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonImageAdInfo setPixelWidth(java.lang.Long pixelWidth) { + this.pixelWidth = pixelWidth; + return this; + } + + /** + * URL of the preview size image. + * @return value or {@code null} for none + */ + public java.lang.String getPreviewImageUrl() { + return previewImageUrl; + } + + /** + * URL of the preview size image. + * @param previewImageUrl previewImageUrl or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonImageAdInfo setPreviewImageUrl(java.lang.String previewImageUrl) { + this.previewImageUrl = previewImageUrl; + return this; + } + + /** + * Height in pixels of the preview size image. + * @return value or {@code null} for none + */ + public java.lang.Long getPreviewPixelHeight() { + return previewPixelHeight; + } + + /** + * Height in pixels of the preview size image. + * @param previewPixelHeight previewPixelHeight or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonImageAdInfo setPreviewPixelHeight(java.lang.Long previewPixelHeight) { + this.previewPixelHeight = previewPixelHeight; + return this; + } + + /** + * Width in pixels of the preview size image. + * @return value or {@code null} for none + */ + public java.lang.Long getPreviewPixelWidth() { + return previewPixelWidth; + } + + /** + * Width in pixels of the preview size image. + * @param previewPixelWidth previewPixelWidth or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonImageAdInfo setPreviewPixelWidth(java.lang.Long previewPixelWidth) { + this.previewPixelWidth = previewPixelWidth; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonImageAdInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonImageAdInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonImageAdInfo clone() { + return (GoogleAdsSearchads360V23CommonImageAdInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonImageAsset.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonImageAsset.java new file mode 100644 index 00000000000..f9b4be562dc --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonImageAsset.java @@ -0,0 +1,167 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * An Image asset. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonImageAsset extends com.google.api.client.json.GenericJson { + + /** + * The raw bytes data of an image. This field is mutate only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String data; + + /** + * File size of the image asset in bytes. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long fileSize; + + /** + * Metadata for this image at its original size. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonImageDimension fullSize; + + /** + * MIME type of the image asset. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String mimeType; + + /** + * The raw bytes data of an image. This field is mutate only. + * @see #decodeData() + * @return value or {@code null} for none + */ + public java.lang.String getData() { + return data; + } + + /** + * The raw bytes data of an image. This field is mutate only. + * @see #getData() + * @return Base64 decoded value or {@code null} for none + * + * @since 1.14 + */ + public byte[] decodeData() { + return com.google.api.client.util.Base64.decodeBase64(data); + } + + /** + * The raw bytes data of an image. This field is mutate only. + * @see #encodeData() + * @param data data or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonImageAsset setData(java.lang.String data) { + this.data = data; + return this; + } + + /** + * The raw bytes data of an image. This field is mutate only. + * @see #setData() + * + *

+ * The value is encoded Base64 or {@code null} for none. + *

+ * + * @since 1.14 + */ + public GoogleAdsSearchads360V23CommonImageAsset encodeData(byte[] data) { + this.data = com.google.api.client.util.Base64.encodeBase64URLSafeString(data); + return this; + } + + /** + * File size of the image asset in bytes. + * @return value or {@code null} for none + */ + public java.lang.Long getFileSize() { + return fileSize; + } + + /** + * File size of the image asset in bytes. + * @param fileSize fileSize or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonImageAsset setFileSize(java.lang.Long fileSize) { + this.fileSize = fileSize; + return this; + } + + /** + * Metadata for this image at its original size. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonImageDimension getFullSize() { + return fullSize; + } + + /** + * Metadata for this image at its original size. + * @param fullSize fullSize or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonImageAsset setFullSize(GoogleAdsSearchads360V23CommonImageDimension fullSize) { + this.fullSize = fullSize; + return this; + } + + /** + * MIME type of the image asset. + * @return value or {@code null} for none + */ + public java.lang.String getMimeType() { + return mimeType; + } + + /** + * MIME type of the image asset. + * @param mimeType mimeType or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonImageAsset setMimeType(java.lang.String mimeType) { + this.mimeType = mimeType; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonImageAsset set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonImageAsset) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonImageAsset clone() { + return (GoogleAdsSearchads360V23CommonImageAsset) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonImageDimension.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonImageDimension.java new file mode 100644 index 00000000000..b4f6b7dda41 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonImageDimension.java @@ -0,0 +1,115 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Metadata for an image at a certain size, either original or resized. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonImageDimension extends com.google.api.client.json.GenericJson { + + /** + * Height of the image. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long heightPixels; + + /** + * A URL that returns the image with this height and width. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String url; + + /** + * Width of the image. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long widthPixels; + + /** + * Height of the image. + * @return value or {@code null} for none + */ + public java.lang.Long getHeightPixels() { + return heightPixels; + } + + /** + * Height of the image. + * @param heightPixels heightPixels or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonImageDimension setHeightPixels(java.lang.Long heightPixels) { + this.heightPixels = heightPixels; + return this; + } + + /** + * A URL that returns the image with this height and width. + * @return value or {@code null} for none + */ + public java.lang.String getUrl() { + return url; + } + + /** + * A URL that returns the image with this height and width. + * @param url url or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonImageDimension setUrl(java.lang.String url) { + this.url = url; + return this; + } + + /** + * Width of the image. + * @return value or {@code null} for none + */ + public java.lang.Long getWidthPixels() { + return widthPixels; + } + + /** + * Width of the image. + * @param widthPixels widthPixels or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonImageDimension setWidthPixels(java.lang.Long widthPixels) { + this.widthPixels = widthPixels; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonImageDimension set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonImageDimension) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonImageDimension clone() { + return (GoogleAdsSearchads360V23CommonImageDimension) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonIncomeRangeInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonIncomeRangeInfo.java new file mode 100644 index 00000000000..c90dd4422c8 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonIncomeRangeInfo.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * An income range criterion. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonIncomeRangeInfo extends com.google.api.client.json.GenericJson { + + /** + * Type of the income range. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String type; + + /** + * Type of the income range. + * @return value or {@code null} for none + */ + public java.lang.String getType() { + return type; + } + + /** + * Type of the income range. + * @param type type or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonIncomeRangeInfo setType(java.lang.String type) { + this.type = type; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonIncomeRangeInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonIncomeRangeInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonIncomeRangeInfo clone() { + return (GoogleAdsSearchads360V23CommonIncomeRangeInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonInteractionTypeInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonInteractionTypeInfo.java new file mode 100644 index 00000000000..b11587cc1b4 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonInteractionTypeInfo.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Criterion for Interaction Type. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonInteractionTypeInfo extends com.google.api.client.json.GenericJson { + + /** + * The interaction type. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String type; + + /** + * The interaction type. + * @return value or {@code null} for none + */ + public java.lang.String getType() { + return type; + } + + /** + * The interaction type. + * @param type type or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonInteractionTypeInfo setType(java.lang.String type) { + this.type = type; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonInteractionTypeInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonInteractionTypeInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonInteractionTypeInfo clone() { + return (GoogleAdsSearchads360V23CommonInteractionTypeInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonIpBlockInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonIpBlockInfo.java new file mode 100644 index 00000000000..d2e705a116e --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonIpBlockInfo.java @@ -0,0 +1,73 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * An IpBlock criterion used for excluding IP addresses. We support excluding individual IP + * addresses or CIDR blocks. Create one IpBlockInfo criterion for each individual IP address or CIDR + * block you want to exclude. You can exclude up to 500 IP addresses per campaign. For more details, + * see [Exclude IP addresses](//support.google.com/google-ads/answer/2456098). IPv4 examples: * + * Individual address: 192.168.0.1 * Individual address as CIDR block: 192.168.0.1/32 * CIDR block: + * 192.168.0.0/24 IPv6 examples: * Individual address: 2001:db8:a0b:12f0::1 * Individual address as + * CIDR block: 2001:db8:a0b:12f0::1/128 * CIDR block: 2001:db8::/48 + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonIpBlockInfo extends com.google.api.client.json.GenericJson { + + /** + * The IP address or the CIDR block to be excluded. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String ipAddress; + + /** + * The IP address or the CIDR block to be excluded. + * @return value or {@code null} for none + */ + public java.lang.String getIpAddress() { + return ipAddress; + } + + /** + * The IP address or the CIDR block to be excluded. + * @param ipAddress ipAddress or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonIpBlockInfo setIpAddress(java.lang.String ipAddress) { + this.ipAddress = ipAddress; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonIpBlockInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonIpBlockInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonIpBlockInfo clone() { + return (GoogleAdsSearchads360V23CommonIpBlockInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonItemAttribute.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonItemAttribute.java new file mode 100644 index 00000000000..254615ce1ba --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonItemAttribute.java @@ -0,0 +1,184 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Item attributes of the transaction. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonItemAttribute extends com.google.api.client.json.GenericJson { + + /** + * Common Locale Data Repository (CLDR) territory code of the country associated with the feed + * where your items are uploaded. See https://developers.google.com/google- + * ads/api/reference/data/codes-formats#country-codes for more information. This information is + * useful to differentiate product information in cases where a product (identified by item_id) is + * associated with multiple countries. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String countryCode; + + /** + * A unique identifier of a product. It must be the exact same Merchant Center Item ID you use in + * your Google Merchant Center for this product. Required. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String itemId; + + /** + * ISO 639-1 code of the language associated with the feed where your items are uploaded. This + * information is useful to differentiate product information in cases where a product (identified + * by item_id) is associated with multiple languages. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String languageCode; + + /** + * ID of the Merchant Center Account. Required. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long merchantId; + + /** + * The number of items sold. Defaults to 1 if not set. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long quantity; + + /** + * Common Locale Data Repository (CLDR) territory code of the country associated with the feed + * where your items are uploaded. See https://developers.google.com/google- + * ads/api/reference/data/codes-formats#country-codes for more information. This information is + * useful to differentiate product information in cases where a product (identified by item_id) is + * associated with multiple countries. + * @return value or {@code null} for none + */ + public java.lang.String getCountryCode() { + return countryCode; + } + + /** + * Common Locale Data Repository (CLDR) territory code of the country associated with the feed + * where your items are uploaded. See https://developers.google.com/google- + * ads/api/reference/data/codes-formats#country-codes for more information. This information is + * useful to differentiate product information in cases where a product (identified by item_id) is + * associated with multiple countries. + * @param countryCode countryCode or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonItemAttribute setCountryCode(java.lang.String countryCode) { + this.countryCode = countryCode; + return this; + } + + /** + * A unique identifier of a product. It must be the exact same Merchant Center Item ID you use in + * your Google Merchant Center for this product. Required. + * @return value or {@code null} for none + */ + public java.lang.String getItemId() { + return itemId; + } + + /** + * A unique identifier of a product. It must be the exact same Merchant Center Item ID you use in + * your Google Merchant Center for this product. Required. + * @param itemId itemId or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonItemAttribute setItemId(java.lang.String itemId) { + this.itemId = itemId; + return this; + } + + /** + * ISO 639-1 code of the language associated with the feed where your items are uploaded. This + * information is useful to differentiate product information in cases where a product (identified + * by item_id) is associated with multiple languages. + * @return value or {@code null} for none + */ + public java.lang.String getLanguageCode() { + return languageCode; + } + + /** + * ISO 639-1 code of the language associated with the feed where your items are uploaded. This + * information is useful to differentiate product information in cases where a product (identified + * by item_id) is associated with multiple languages. + * @param languageCode languageCode or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonItemAttribute setLanguageCode(java.lang.String languageCode) { + this.languageCode = languageCode; + return this; + } + + /** + * ID of the Merchant Center Account. Required. + * @return value or {@code null} for none + */ + public java.lang.Long getMerchantId() { + return merchantId; + } + + /** + * ID of the Merchant Center Account. Required. + * @param merchantId merchantId or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonItemAttribute setMerchantId(java.lang.Long merchantId) { + this.merchantId = merchantId; + return this; + } + + /** + * The number of items sold. Defaults to 1 if not set. + * @return value or {@code null} for none + */ + public java.lang.Long getQuantity() { + return quantity; + } + + /** + * The number of items sold. Defaults to 1 if not set. + * @param quantity quantity or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonItemAttribute setQuantity(java.lang.Long quantity) { + this.quantity = quantity; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonItemAttribute set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonItemAttribute) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonItemAttribute clone() { + return (GoogleAdsSearchads360V23CommonItemAttribute) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonKeyword.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonKeyword.java new file mode 100644 index 00000000000..2e7034b3c20 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonKeyword.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A Keyword criterion segment. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonKeyword extends com.google.api.client.json.GenericJson { + + /** + * The AdGroupCriterion resource name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String adGroupCriterion; + + /** + * Keyword info. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonKeywordInfo info; + + /** + * The AdGroupCriterion resource name. + * @return value or {@code null} for none + */ + public java.lang.String getAdGroupCriterion() { + return adGroupCriterion; + } + + /** + * The AdGroupCriterion resource name. + * @param adGroupCriterion adGroupCriterion or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonKeyword setAdGroupCriterion(java.lang.String adGroupCriterion) { + this.adGroupCriterion = adGroupCriterion; + return this; + } + + /** + * Keyword info. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonKeywordInfo getInfo() { + return info; + } + + /** + * Keyword info. + * @param info info or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonKeyword setInfo(GoogleAdsSearchads360V23CommonKeywordInfo info) { + this.info = info; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonKeyword set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonKeyword) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonKeyword clone() { + return (GoogleAdsSearchads360V23CommonKeyword) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonKeywordAnnotations.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonKeywordAnnotations.java new file mode 100644 index 00000000000..94fb5887787 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonKeywordAnnotations.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The annotations for the keyword plan keywords. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonKeywordAnnotations extends com.google.api.client.json.GenericJson { + + /** + * The list of concepts for the keyword. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List concepts; + + /** + * The list of concepts for the keyword. + * @return value or {@code null} for none + */ + public java.util.List getConcepts() { + return concepts; + } + + /** + * The list of concepts for the keyword. + * @param concepts concepts or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonKeywordAnnotations setConcepts(java.util.List concepts) { + this.concepts = concepts; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonKeywordAnnotations set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonKeywordAnnotations) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonKeywordAnnotations clone() { + return (GoogleAdsSearchads360V23CommonKeywordAnnotations) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonKeywordConcept.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonKeywordConcept.java new file mode 100644 index 00000000000..3badcfa35c1 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonKeywordConcept.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The concept for the keyword. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonKeywordConcept extends com.google.api.client.json.GenericJson { + + /** + * The concept group of the concept details. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonConceptGroup conceptGroup; + + /** + * The concept name for the keyword in the concept_group. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * The concept group of the concept details. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonConceptGroup getConceptGroup() { + return conceptGroup; + } + + /** + * The concept group of the concept details. + * @param conceptGroup conceptGroup or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonKeywordConcept setConceptGroup(GoogleAdsSearchads360V23CommonConceptGroup conceptGroup) { + this.conceptGroup = conceptGroup; + return this; + } + + /** + * The concept name for the keyword in the concept_group. + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * The concept name for the keyword in the concept_group. + * @param name name or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonKeywordConcept setName(java.lang.String name) { + this.name = name; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonKeywordConcept set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonKeywordConcept) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonKeywordConcept clone() { + return (GoogleAdsSearchads360V23CommonKeywordConcept) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonKeywordInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonKeywordInfo.java new file mode 100644 index 00000000000..6f095ca12e2 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonKeywordInfo.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A keyword criterion. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonKeywordInfo extends com.google.api.client.json.GenericJson { + + /** + * The match type of the keyword. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String matchType; + + /** + * The text of the keyword (at most 80 characters and 10 words). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String text; + + /** + * The match type of the keyword. + * @return value or {@code null} for none + */ + public java.lang.String getMatchType() { + return matchType; + } + + /** + * The match type of the keyword. + * @param matchType matchType or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonKeywordInfo setMatchType(java.lang.String matchType) { + this.matchType = matchType; + return this; + } + + /** + * The text of the keyword (at most 80 characters and 10 words). + * @return value or {@code null} for none + */ + public java.lang.String getText() { + return text; + } + + /** + * The text of the keyword (at most 80 characters and 10 words). + * @param text text or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonKeywordInfo setText(java.lang.String text) { + this.text = text; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonKeywordInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonKeywordInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonKeywordInfo clone() { + return (GoogleAdsSearchads360V23CommonKeywordInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonKeywordPlanAggregateMetricResults.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonKeywordPlanAggregateMetricResults.java new file mode 100644 index 00000000000..73bec4a45aa --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonKeywordPlanAggregateMetricResults.java @@ -0,0 +1,76 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The aggregated historical metrics for keyword plan keywords. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonKeywordPlanAggregateMetricResults extends com.google.api.client.json.GenericJson { + + /** + * The aggregate searches for all the keywords segmented by device for the specified time. + * Supports the following device types: MOBILE, TABLET, DESKTOP. This is only set when + * KeywordPlanAggregateMetricTypeEnum.DEVICE is set in the KeywordPlanAggregateMetrics field in + * the request. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List deviceSearches; + + /** + * The aggregate searches for all the keywords segmented by device for the specified time. + * Supports the following device types: MOBILE, TABLET, DESKTOP. This is only set when + * KeywordPlanAggregateMetricTypeEnum.DEVICE is set in the KeywordPlanAggregateMetrics field in + * the request. + * @return value or {@code null} for none + */ + public java.util.List getDeviceSearches() { + return deviceSearches; + } + + /** + * The aggregate searches for all the keywords segmented by device for the specified time. + * Supports the following device types: MOBILE, TABLET, DESKTOP. This is only set when + * KeywordPlanAggregateMetricTypeEnum.DEVICE is set in the KeywordPlanAggregateMetrics field in + * the request. + * @param deviceSearches deviceSearches or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonKeywordPlanAggregateMetricResults setDeviceSearches(java.util.List deviceSearches) { + this.deviceSearches = deviceSearches; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonKeywordPlanAggregateMetricResults set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonKeywordPlanAggregateMetricResults) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonKeywordPlanAggregateMetricResults clone() { + return (GoogleAdsSearchads360V23CommonKeywordPlanAggregateMetricResults) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonKeywordPlanAggregateMetrics.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonKeywordPlanAggregateMetrics.java new file mode 100644 index 00000000000..caf463b3082 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonKeywordPlanAggregateMetrics.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The aggregate metrics specification of the request. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonKeywordPlanAggregateMetrics extends com.google.api.client.json.GenericJson { + + /** + * The list of aggregate metrics to fetch data. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List aggregateMetricTypes; + + /** + * The list of aggregate metrics to fetch data. + * @return value or {@code null} for none + */ + public java.util.List getAggregateMetricTypes() { + return aggregateMetricTypes; + } + + /** + * The list of aggregate metrics to fetch data. + * @param aggregateMetricTypes aggregateMetricTypes or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonKeywordPlanAggregateMetrics setAggregateMetricTypes(java.util.List aggregateMetricTypes) { + this.aggregateMetricTypes = aggregateMetricTypes; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonKeywordPlanAggregateMetrics set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonKeywordPlanAggregateMetrics) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonKeywordPlanAggregateMetrics clone() { + return (GoogleAdsSearchads360V23CommonKeywordPlanAggregateMetrics) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonKeywordPlanDeviceSearches.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonKeywordPlanDeviceSearches.java new file mode 100644 index 00000000000..9807c8362b0 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonKeywordPlanDeviceSearches.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The total searches for the device type during the specified time period. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonKeywordPlanDeviceSearches extends com.google.api.client.json.GenericJson { + + /** + * The device type. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String device; + + /** + * The total searches for the device. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long searchCount; + + /** + * The device type. + * @return value or {@code null} for none + */ + public java.lang.String getDevice() { + return device; + } + + /** + * The device type. + * @param device device or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonKeywordPlanDeviceSearches setDevice(java.lang.String device) { + this.device = device; + return this; + } + + /** + * The total searches for the device. + * @return value or {@code null} for none + */ + public java.lang.Long getSearchCount() { + return searchCount; + } + + /** + * The total searches for the device. + * @param searchCount searchCount or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonKeywordPlanDeviceSearches setSearchCount(java.lang.Long searchCount) { + this.searchCount = searchCount; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonKeywordPlanDeviceSearches set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonKeywordPlanDeviceSearches) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonKeywordPlanDeviceSearches clone() { + return (GoogleAdsSearchads360V23CommonKeywordPlanDeviceSearches) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonKeywordPlanHistoricalMetrics.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonKeywordPlanHistoricalMetrics.java new file mode 100644 index 00000000000..0a7d54a197a --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonKeywordPlanHistoricalMetrics.java @@ -0,0 +1,222 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Historical metrics specific to the targeting options selected. Targeting options include + * geographies, network, and so on. Refer to https://support.google.com/google-ads/answer/3022575 + * for more details. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonKeywordPlanHistoricalMetrics extends com.google.api.client.json.GenericJson { + + /** + * Average Cost Per Click in micros for the keyword. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long averageCpcMicros; + + /** + * Approximate number of monthly searches on this query, averaged for the past 12 months. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long avgMonthlySearches; + + /** + * The competition level for the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String competition; + + /** + * The competition index for the query in the range [0, 100]. Shows how competitive ad placement + * is for a keyword. The level of competition from 0-100 is determined by the number of ad slots + * filled divided by the total number of ad slots available. If not enough data is available, null + * is returned. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long competitionIndex; + + /** + * Top of page bid high range (80th percentile) in micros for the keyword. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long highTopOfPageBidMicros; + + /** + * Top of page bid low range (20th percentile) in micros for the keyword. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long lowTopOfPageBidMicros; + + /** + * Approximate number of searches on this query for the past twelve months. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List monthlySearchVolumes; + + /** + * Average Cost Per Click in micros for the keyword. + * @return value or {@code null} for none + */ + public java.lang.Long getAverageCpcMicros() { + return averageCpcMicros; + } + + /** + * Average Cost Per Click in micros for the keyword. + * @param averageCpcMicros averageCpcMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonKeywordPlanHistoricalMetrics setAverageCpcMicros(java.lang.Long averageCpcMicros) { + this.averageCpcMicros = averageCpcMicros; + return this; + } + + /** + * Approximate number of monthly searches on this query, averaged for the past 12 months. + * @return value or {@code null} for none + */ + public java.lang.Long getAvgMonthlySearches() { + return avgMonthlySearches; + } + + /** + * Approximate number of monthly searches on this query, averaged for the past 12 months. + * @param avgMonthlySearches avgMonthlySearches or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonKeywordPlanHistoricalMetrics setAvgMonthlySearches(java.lang.Long avgMonthlySearches) { + this.avgMonthlySearches = avgMonthlySearches; + return this; + } + + /** + * The competition level for the query. + * @return value or {@code null} for none + */ + public java.lang.String getCompetition() { + return competition; + } + + /** + * The competition level for the query. + * @param competition competition or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonKeywordPlanHistoricalMetrics setCompetition(java.lang.String competition) { + this.competition = competition; + return this; + } + + /** + * The competition index for the query in the range [0, 100]. Shows how competitive ad placement + * is for a keyword. The level of competition from 0-100 is determined by the number of ad slots + * filled divided by the total number of ad slots available. If not enough data is available, null + * is returned. + * @return value or {@code null} for none + */ + public java.lang.Long getCompetitionIndex() { + return competitionIndex; + } + + /** + * The competition index for the query in the range [0, 100]. Shows how competitive ad placement + * is for a keyword. The level of competition from 0-100 is determined by the number of ad slots + * filled divided by the total number of ad slots available. If not enough data is available, null + * is returned. + * @param competitionIndex competitionIndex or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonKeywordPlanHistoricalMetrics setCompetitionIndex(java.lang.Long competitionIndex) { + this.competitionIndex = competitionIndex; + return this; + } + + /** + * Top of page bid high range (80th percentile) in micros for the keyword. + * @return value or {@code null} for none + */ + public java.lang.Long getHighTopOfPageBidMicros() { + return highTopOfPageBidMicros; + } + + /** + * Top of page bid high range (80th percentile) in micros for the keyword. + * @param highTopOfPageBidMicros highTopOfPageBidMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonKeywordPlanHistoricalMetrics setHighTopOfPageBidMicros(java.lang.Long highTopOfPageBidMicros) { + this.highTopOfPageBidMicros = highTopOfPageBidMicros; + return this; + } + + /** + * Top of page bid low range (20th percentile) in micros for the keyword. + * @return value or {@code null} for none + */ + public java.lang.Long getLowTopOfPageBidMicros() { + return lowTopOfPageBidMicros; + } + + /** + * Top of page bid low range (20th percentile) in micros for the keyword. + * @param lowTopOfPageBidMicros lowTopOfPageBidMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonKeywordPlanHistoricalMetrics setLowTopOfPageBidMicros(java.lang.Long lowTopOfPageBidMicros) { + this.lowTopOfPageBidMicros = lowTopOfPageBidMicros; + return this; + } + + /** + * Approximate number of searches on this query for the past twelve months. + * @return value or {@code null} for none + */ + public java.util.List getMonthlySearchVolumes() { + return monthlySearchVolumes; + } + + /** + * Approximate number of searches on this query for the past twelve months. + * @param monthlySearchVolumes monthlySearchVolumes or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonKeywordPlanHistoricalMetrics setMonthlySearchVolumes(java.util.List monthlySearchVolumes) { + this.monthlySearchVolumes = monthlySearchVolumes; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonKeywordPlanHistoricalMetrics set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonKeywordPlanHistoricalMetrics) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonKeywordPlanHistoricalMetrics clone() { + return (GoogleAdsSearchads360V23CommonKeywordPlanHistoricalMetrics) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonKeywordThemeInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonKeywordThemeInfo.java new file mode 100644 index 00000000000..29065289f13 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonKeywordThemeInfo.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A Smart Campaign keyword theme. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonKeywordThemeInfo extends com.google.api.client.json.GenericJson { + + /** + * Free-form text to be matched to a Smart Campaign keyword theme constant on a best-effort basis. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String freeFormKeywordTheme; + + /** + * The resource name of a Smart Campaign keyword theme constant. + * `keywordThemeConstants/{keyword_theme_id}~{sub_keyword_theme_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String keywordThemeConstant; + + /** + * Free-form text to be matched to a Smart Campaign keyword theme constant on a best-effort basis. + * @return value or {@code null} for none + */ + public java.lang.String getFreeFormKeywordTheme() { + return freeFormKeywordTheme; + } + + /** + * Free-form text to be matched to a Smart Campaign keyword theme constant on a best-effort basis. + * @param freeFormKeywordTheme freeFormKeywordTheme or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonKeywordThemeInfo setFreeFormKeywordTheme(java.lang.String freeFormKeywordTheme) { + this.freeFormKeywordTheme = freeFormKeywordTheme; + return this; + } + + /** + * The resource name of a Smart Campaign keyword theme constant. + * `keywordThemeConstants/{keyword_theme_id}~{sub_keyword_theme_id}` + * @return value or {@code null} for none + */ + public java.lang.String getKeywordThemeConstant() { + return keywordThemeConstant; + } + + /** + * The resource name of a Smart Campaign keyword theme constant. + * `keywordThemeConstants/{keyword_theme_id}~{sub_keyword_theme_id}` + * @param keywordThemeConstant keywordThemeConstant or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonKeywordThemeInfo setKeywordThemeConstant(java.lang.String keywordThemeConstant) { + this.keywordThemeConstant = keywordThemeConstant; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonKeywordThemeInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonKeywordThemeInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonKeywordThemeInfo clone() { + return (GoogleAdsSearchads360V23CommonKeywordThemeInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonKnowledgeGraphAttributeMetadata.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonKnowledgeGraphAttributeMetadata.java new file mode 100644 index 00000000000..708210e72fa --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonKnowledgeGraphAttributeMetadata.java @@ -0,0 +1,97 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Metadata associated with a Knowledge Graph Entity attribute. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonKnowledgeGraphAttributeMetadata extends com.google.api.client.json.GenericJson { + + /** + * The capabilities of the entity used in ContentCreatorInsightsService. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List entityCapabilities; + + /** + * A list of CATEGORY attributes related to this entity. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List relatedCategories; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonAudienceInsightsAttributeMetadata used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonAudienceInsightsAttributeMetadata.class); + } + + /** + * The capabilities of the entity used in ContentCreatorInsightsService. + * @return value or {@code null} for none + */ + public java.util.List getEntityCapabilities() { + return entityCapabilities; + } + + /** + * The capabilities of the entity used in ContentCreatorInsightsService. + * @param entityCapabilities entityCapabilities or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonKnowledgeGraphAttributeMetadata setEntityCapabilities(java.util.List entityCapabilities) { + this.entityCapabilities = entityCapabilities; + return this; + } + + /** + * A list of CATEGORY attributes related to this entity. + * @return value or {@code null} for none + */ + public java.util.List getRelatedCategories() { + return relatedCategories; + } + + /** + * A list of CATEGORY attributes related to this entity. + * @param relatedCategories relatedCategories or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonKnowledgeGraphAttributeMetadata setRelatedCategories(java.util.List relatedCategories) { + this.relatedCategories = relatedCategories; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonKnowledgeGraphAttributeMetadata set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonKnowledgeGraphAttributeMetadata) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonKnowledgeGraphAttributeMetadata clone() { + return (GoogleAdsSearchads360V23CommonKnowledgeGraphAttributeMetadata) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonLanguageInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonLanguageInfo.java new file mode 100644 index 00000000000..08ac1e2c231 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonLanguageInfo.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A language criterion. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonLanguageInfo extends com.google.api.client.json.GenericJson { + + /** + * The language constant resource name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String languageConstant; + + /** + * The language constant resource name. + * @return value or {@code null} for none + */ + public java.lang.String getLanguageConstant() { + return languageConstant; + } + + /** + * The language constant resource name. + * @param languageConstant languageConstant or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLanguageInfo setLanguageConstant(java.lang.String languageConstant) { + this.languageConstant = languageConstant; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonLanguageInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonLanguageInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonLanguageInfo clone() { + return (GoogleAdsSearchads360V23CommonLanguageInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonLeadFormAsset.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonLeadFormAsset.java new file mode 100644 index 00000000000..8b456f6eade --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonLeadFormAsset.java @@ -0,0 +1,430 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A Lead Form asset. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonLeadFormAsset extends com.google.api.client.json.GenericJson { + + /** + * Asset resource name of the background image. The image dimensions must be exactly 1200x628. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String backgroundImageAsset; + + /** + * Required. The name of the business being advertised. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String businessName; + + /** + * Required. Text giving a clear value proposition of what users expect once they expand the form. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String callToActionDescription; + + /** + * Required. Pre-defined display text that encourages user to expand the form. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String callToActionType; + + /** + * Custom disclosure shown along with Google disclaimer on the lead form. Accessible to allowed + * customers only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String customDisclosure; + + /** + * Ordered list of custom question fields. This field is subject to a limit of 5 qualifying + * questions per form. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List customQuestionFields; + + /** + * Configured methods for collected lead data to be delivered to advertiser. Only one method typed + * as WebhookDelivery can be configured. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List deliveryMethods; + + /** + * Required. Detailed description of the expanded form to describe what the form is asking for or + * facilitating. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String description; + + /** + * Chosen intent for the lead form, for example, more volume or more qualified. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String desiredIntent; + + /** + * Ordered list of input fields. This field can be updated by reordering questions, but not by + * adding or removing questions. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List fields; + + /** + * Required. Headline of the expanded form to describe what the form is asking for or + * facilitating. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String headline; + + /** + * Pre-defined display text that encourages user action after the form is submitted. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String postSubmitCallToActionType; + + /** + * Detailed description shown after form submission that describes how the advertiser will follow + * up with the user. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String postSubmitDescription; + + /** + * Headline of text shown after form submission that describes how the advertiser will follow up + * with the user. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String postSubmitHeadline; + + /** + * Required. Link to a page describing the policy on how the collected data is handled by the + * advertiser/business. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String privacyPolicyUrl; + + /** + * Asset resource name of the background image. The image dimensions must be exactly 1200x628. + * @return value or {@code null} for none + */ + public java.lang.String getBackgroundImageAsset() { + return backgroundImageAsset; + } + + /** + * Asset resource name of the background image. The image dimensions must be exactly 1200x628. + * @param backgroundImageAsset backgroundImageAsset or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLeadFormAsset setBackgroundImageAsset(java.lang.String backgroundImageAsset) { + this.backgroundImageAsset = backgroundImageAsset; + return this; + } + + /** + * Required. The name of the business being advertised. + * @return value or {@code null} for none + */ + public java.lang.String getBusinessName() { + return businessName; + } + + /** + * Required. The name of the business being advertised. + * @param businessName businessName or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLeadFormAsset setBusinessName(java.lang.String businessName) { + this.businessName = businessName; + return this; + } + + /** + * Required. Text giving a clear value proposition of what users expect once they expand the form. + * @return value or {@code null} for none + */ + public java.lang.String getCallToActionDescription() { + return callToActionDescription; + } + + /** + * Required. Text giving a clear value proposition of what users expect once they expand the form. + * @param callToActionDescription callToActionDescription or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLeadFormAsset setCallToActionDescription(java.lang.String callToActionDescription) { + this.callToActionDescription = callToActionDescription; + return this; + } + + /** + * Required. Pre-defined display text that encourages user to expand the form. + * @return value or {@code null} for none + */ + public java.lang.String getCallToActionType() { + return callToActionType; + } + + /** + * Required. Pre-defined display text that encourages user to expand the form. + * @param callToActionType callToActionType or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLeadFormAsset setCallToActionType(java.lang.String callToActionType) { + this.callToActionType = callToActionType; + return this; + } + + /** + * Custom disclosure shown along with Google disclaimer on the lead form. Accessible to allowed + * customers only. + * @return value or {@code null} for none + */ + public java.lang.String getCustomDisclosure() { + return customDisclosure; + } + + /** + * Custom disclosure shown along with Google disclaimer on the lead form. Accessible to allowed + * customers only. + * @param customDisclosure customDisclosure or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLeadFormAsset setCustomDisclosure(java.lang.String customDisclosure) { + this.customDisclosure = customDisclosure; + return this; + } + + /** + * Ordered list of custom question fields. This field is subject to a limit of 5 qualifying + * questions per form. + * @return value or {@code null} for none + */ + public java.util.List getCustomQuestionFields() { + return customQuestionFields; + } + + /** + * Ordered list of custom question fields. This field is subject to a limit of 5 qualifying + * questions per form. + * @param customQuestionFields customQuestionFields or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLeadFormAsset setCustomQuestionFields(java.util.List customQuestionFields) { + this.customQuestionFields = customQuestionFields; + return this; + } + + /** + * Configured methods for collected lead data to be delivered to advertiser. Only one method typed + * as WebhookDelivery can be configured. + * @return value or {@code null} for none + */ + public java.util.List getDeliveryMethods() { + return deliveryMethods; + } + + /** + * Configured methods for collected lead data to be delivered to advertiser. Only one method typed + * as WebhookDelivery can be configured. + * @param deliveryMethods deliveryMethods or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLeadFormAsset setDeliveryMethods(java.util.List deliveryMethods) { + this.deliveryMethods = deliveryMethods; + return this; + } + + /** + * Required. Detailed description of the expanded form to describe what the form is asking for or + * facilitating. + * @return value or {@code null} for none + */ + public java.lang.String getDescription() { + return description; + } + + /** + * Required. Detailed description of the expanded form to describe what the form is asking for or + * facilitating. + * @param description description or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLeadFormAsset setDescription(java.lang.String description) { + this.description = description; + return this; + } + + /** + * Chosen intent for the lead form, for example, more volume or more qualified. + * @return value or {@code null} for none + */ + public java.lang.String getDesiredIntent() { + return desiredIntent; + } + + /** + * Chosen intent for the lead form, for example, more volume or more qualified. + * @param desiredIntent desiredIntent or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLeadFormAsset setDesiredIntent(java.lang.String desiredIntent) { + this.desiredIntent = desiredIntent; + return this; + } + + /** + * Ordered list of input fields. This field can be updated by reordering questions, but not by + * adding or removing questions. + * @return value or {@code null} for none + */ + public java.util.List getFields() { + return fields; + } + + /** + * Ordered list of input fields. This field can be updated by reordering questions, but not by + * adding or removing questions. + * @param fields fields or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLeadFormAsset setFields(java.util.List fields) { + this.fields = fields; + return this; + } + + /** + * Required. Headline of the expanded form to describe what the form is asking for or + * facilitating. + * @return value or {@code null} for none + */ + public java.lang.String getHeadline() { + return headline; + } + + /** + * Required. Headline of the expanded form to describe what the form is asking for or + * facilitating. + * @param headline headline or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLeadFormAsset setHeadline(java.lang.String headline) { + this.headline = headline; + return this; + } + + /** + * Pre-defined display text that encourages user action after the form is submitted. + * @return value or {@code null} for none + */ + public java.lang.String getPostSubmitCallToActionType() { + return postSubmitCallToActionType; + } + + /** + * Pre-defined display text that encourages user action after the form is submitted. + * @param postSubmitCallToActionType postSubmitCallToActionType or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLeadFormAsset setPostSubmitCallToActionType(java.lang.String postSubmitCallToActionType) { + this.postSubmitCallToActionType = postSubmitCallToActionType; + return this; + } + + /** + * Detailed description shown after form submission that describes how the advertiser will follow + * up with the user. + * @return value or {@code null} for none + */ + public java.lang.String getPostSubmitDescription() { + return postSubmitDescription; + } + + /** + * Detailed description shown after form submission that describes how the advertiser will follow + * up with the user. + * @param postSubmitDescription postSubmitDescription or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLeadFormAsset setPostSubmitDescription(java.lang.String postSubmitDescription) { + this.postSubmitDescription = postSubmitDescription; + return this; + } + + /** + * Headline of text shown after form submission that describes how the advertiser will follow up + * with the user. + * @return value or {@code null} for none + */ + public java.lang.String getPostSubmitHeadline() { + return postSubmitHeadline; + } + + /** + * Headline of text shown after form submission that describes how the advertiser will follow up + * with the user. + * @param postSubmitHeadline postSubmitHeadline or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLeadFormAsset setPostSubmitHeadline(java.lang.String postSubmitHeadline) { + this.postSubmitHeadline = postSubmitHeadline; + return this; + } + + /** + * Required. Link to a page describing the policy on how the collected data is handled by the + * advertiser/business. + * @return value or {@code null} for none + */ + public java.lang.String getPrivacyPolicyUrl() { + return privacyPolicyUrl; + } + + /** + * Required. Link to a page describing the policy on how the collected data is handled by the + * advertiser/business. + * @param privacyPolicyUrl privacyPolicyUrl or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLeadFormAsset setPrivacyPolicyUrl(java.lang.String privacyPolicyUrl) { + this.privacyPolicyUrl = privacyPolicyUrl; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonLeadFormAsset set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonLeadFormAsset) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonLeadFormAsset clone() { + return (GoogleAdsSearchads360V23CommonLeadFormAsset) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonLeadFormCustomQuestionField.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonLeadFormCustomQuestionField.java new file mode 100644 index 00000000000..d1ff0379801 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonLeadFormCustomQuestionField.java @@ -0,0 +1,127 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * One custom question input field instance within a form. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonLeadFormCustomQuestionField extends com.google.api.client.json.GenericJson { + + /** + * The exact custom question field text (for example, "What kind of vehicle do you have?"). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String customQuestionText; + + /** + * Answer configuration for location question. If true, campaign/account level location data + * (state, city, business name etc) will be rendered on the Lead Form. Starting V13.1, + * has_location_answer can only be set for "What is your preferred dealership?" question, for + * advertisers with Location Assets setup at campaign/account level. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean hasLocationAnswer; + + /** + * Answer configuration for a single choice question. Minimum of 2 answers and maximum of 12 + * allowed. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonLeadFormSingleChoiceAnswers singleChoiceAnswers; + + /** + * The exact custom question field text (for example, "What kind of vehicle do you have?"). + * @return value or {@code null} for none + */ + public java.lang.String getCustomQuestionText() { + return customQuestionText; + } + + /** + * The exact custom question field text (for example, "What kind of vehicle do you have?"). + * @param customQuestionText customQuestionText or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLeadFormCustomQuestionField setCustomQuestionText(java.lang.String customQuestionText) { + this.customQuestionText = customQuestionText; + return this; + } + + /** + * Answer configuration for location question. If true, campaign/account level location data + * (state, city, business name etc) will be rendered on the Lead Form. Starting V13.1, + * has_location_answer can only be set for "What is your preferred dealership?" question, for + * advertisers with Location Assets setup at campaign/account level. + * @return value or {@code null} for none + */ + public java.lang.Boolean getHasLocationAnswer() { + return hasLocationAnswer; + } + + /** + * Answer configuration for location question. If true, campaign/account level location data + * (state, city, business name etc) will be rendered on the Lead Form. Starting V13.1, + * has_location_answer can only be set for "What is your preferred dealership?" question, for + * advertisers with Location Assets setup at campaign/account level. + * @param hasLocationAnswer hasLocationAnswer or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLeadFormCustomQuestionField setHasLocationAnswer(java.lang.Boolean hasLocationAnswer) { + this.hasLocationAnswer = hasLocationAnswer; + return this; + } + + /** + * Answer configuration for a single choice question. Minimum of 2 answers and maximum of 12 + * allowed. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLeadFormSingleChoiceAnswers getSingleChoiceAnswers() { + return singleChoiceAnswers; + } + + /** + * Answer configuration for a single choice question. Minimum of 2 answers and maximum of 12 + * allowed. + * @param singleChoiceAnswers singleChoiceAnswers or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLeadFormCustomQuestionField setSingleChoiceAnswers(GoogleAdsSearchads360V23CommonLeadFormSingleChoiceAnswers singleChoiceAnswers) { + this.singleChoiceAnswers = singleChoiceAnswers; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonLeadFormCustomQuestionField set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonLeadFormCustomQuestionField) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonLeadFormCustomQuestionField clone() { + return (GoogleAdsSearchads360V23CommonLeadFormCustomQuestionField) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonLeadFormDeliveryMethod.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonLeadFormDeliveryMethod.java new file mode 100644 index 00000000000..0c21a194fc9 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonLeadFormDeliveryMethod.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A configuration of how leads are delivered to the advertiser. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonLeadFormDeliveryMethod extends com.google.api.client.json.GenericJson { + + /** + * Webhook method of delivery. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonWebhookDelivery webhook; + + /** + * Webhook method of delivery. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonWebhookDelivery getWebhook() { + return webhook; + } + + /** + * Webhook method of delivery. + * @param webhook webhook or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLeadFormDeliveryMethod setWebhook(GoogleAdsSearchads360V23CommonWebhookDelivery webhook) { + this.webhook = webhook; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonLeadFormDeliveryMethod set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonLeadFormDeliveryMethod) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonLeadFormDeliveryMethod clone() { + return (GoogleAdsSearchads360V23CommonLeadFormDeliveryMethod) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonLeadFormField.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonLeadFormField.java new file mode 100644 index 00000000000..5c47e84cbcd --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonLeadFormField.java @@ -0,0 +1,130 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * One input field instance within a form. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonLeadFormField extends com.google.api.client.json.GenericJson { + + /** + * Answer configuration for location question. If true, campaign/account level location data + * (state, city, business name etc) will be rendered on the Lead Form. Starting V13.1, + * has_location_answer can only be set for "What is your preferred dealership?" question, for + * advertisers with Location Assets setup at campaign/account level. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean hasLocationAnswer; + + /** + * Describes the input type, which may be a predefined type such as "full name" or a pre-vetted + * question like "What kind of vehicle do you have?". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String inputType; + + /** + * Answer configuration for a single choice question. Can be set only for pre-vetted question + * fields. Minimum of 2 answers required and maximum of 12 allowed. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonLeadFormSingleChoiceAnswers singleChoiceAnswers; + + /** + * Answer configuration for location question. If true, campaign/account level location data + * (state, city, business name etc) will be rendered on the Lead Form. Starting V13.1, + * has_location_answer can only be set for "What is your preferred dealership?" question, for + * advertisers with Location Assets setup at campaign/account level. + * @return value or {@code null} for none + */ + public java.lang.Boolean getHasLocationAnswer() { + return hasLocationAnswer; + } + + /** + * Answer configuration for location question. If true, campaign/account level location data + * (state, city, business name etc) will be rendered on the Lead Form. Starting V13.1, + * has_location_answer can only be set for "What is your preferred dealership?" question, for + * advertisers with Location Assets setup at campaign/account level. + * @param hasLocationAnswer hasLocationAnswer or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLeadFormField setHasLocationAnswer(java.lang.Boolean hasLocationAnswer) { + this.hasLocationAnswer = hasLocationAnswer; + return this; + } + + /** + * Describes the input type, which may be a predefined type such as "full name" or a pre-vetted + * question like "What kind of vehicle do you have?". + * @return value or {@code null} for none + */ + public java.lang.String getInputType() { + return inputType; + } + + /** + * Describes the input type, which may be a predefined type such as "full name" or a pre-vetted + * question like "What kind of vehicle do you have?". + * @param inputType inputType or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLeadFormField setInputType(java.lang.String inputType) { + this.inputType = inputType; + return this; + } + + /** + * Answer configuration for a single choice question. Can be set only for pre-vetted question + * fields. Minimum of 2 answers required and maximum of 12 allowed. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLeadFormSingleChoiceAnswers getSingleChoiceAnswers() { + return singleChoiceAnswers; + } + + /** + * Answer configuration for a single choice question. Can be set only for pre-vetted question + * fields. Minimum of 2 answers required and maximum of 12 allowed. + * @param singleChoiceAnswers singleChoiceAnswers or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLeadFormField setSingleChoiceAnswers(GoogleAdsSearchads360V23CommonLeadFormSingleChoiceAnswers singleChoiceAnswers) { + this.singleChoiceAnswers = singleChoiceAnswers; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonLeadFormField set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonLeadFormField) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonLeadFormField clone() { + return (GoogleAdsSearchads360V23CommonLeadFormField) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonLeadFormSingleChoiceAnswers.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonLeadFormSingleChoiceAnswers.java new file mode 100644 index 00000000000..0fdf2a4f37c --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonLeadFormSingleChoiceAnswers.java @@ -0,0 +1,71 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Defines possible answers for a single choice question, usually presented as a single-choice drop- + * down list. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonLeadFormSingleChoiceAnswers extends com.google.api.client.json.GenericJson { + + /** + * List of choices for a single question field. The order of entries defines UI order. Minimum of + * 2 answers required and maximum of 12 allowed. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List answers; + + /** + * List of choices for a single question field. The order of entries defines UI order. Minimum of + * 2 answers required and maximum of 12 allowed. + * @return value or {@code null} for none + */ + public java.util.List getAnswers() { + return answers; + } + + /** + * List of choices for a single question field. The order of entries defines UI order. Minimum of + * 2 answers required and maximum of 12 allowed. + * @param answers answers or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLeadFormSingleChoiceAnswers setAnswers(java.util.List answers) { + this.answers = answers; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonLeadFormSingleChoiceAnswers set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonLeadFormSingleChoiceAnswers) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonLeadFormSingleChoiceAnswers clone() { + return (GoogleAdsSearchads360V23CommonLeadFormSingleChoiceAnswers) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonLegacyAppInstallAdInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonLegacyAppInstallAdInfo.java new file mode 100644 index 00000000000..1bf19bb8176 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonLegacyAppInstallAdInfo.java @@ -0,0 +1,163 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A legacy app install ad that only can be used by a few select customers. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonLegacyAppInstallAdInfo extends com.google.api.client.json.GenericJson { + + /** + * The ID of the mobile app. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String appId; + + /** + * The app store the mobile app is available in. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String appStore; + + /** + * The first description line of the ad. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String description1; + + /** + * The second description line of the ad. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String description2; + + /** + * The headline of the ad. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String headline; + + /** + * The ID of the mobile app. + * @return value or {@code null} for none + */ + public java.lang.String getAppId() { + return appId; + } + + /** + * The ID of the mobile app. + * @param appId appId or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLegacyAppInstallAdInfo setAppId(java.lang.String appId) { + this.appId = appId; + return this; + } + + /** + * The app store the mobile app is available in. + * @return value or {@code null} for none + */ + public java.lang.String getAppStore() { + return appStore; + } + + /** + * The app store the mobile app is available in. + * @param appStore appStore or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLegacyAppInstallAdInfo setAppStore(java.lang.String appStore) { + this.appStore = appStore; + return this; + } + + /** + * The first description line of the ad. + * @return value or {@code null} for none + */ + public java.lang.String getDescription1() { + return description1; + } + + /** + * The first description line of the ad. + * @param description1 description1 or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLegacyAppInstallAdInfo setDescription1(java.lang.String description1) { + this.description1 = description1; + return this; + } + + /** + * The second description line of the ad. + * @return value or {@code null} for none + */ + public java.lang.String getDescription2() { + return description2; + } + + /** + * The second description line of the ad. + * @param description2 description2 or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLegacyAppInstallAdInfo setDescription2(java.lang.String description2) { + this.description2 = description2; + return this; + } + + /** + * The headline of the ad. + * @return value or {@code null} for none + */ + public java.lang.String getHeadline() { + return headline; + } + + /** + * The headline of the ad. + * @param headline headline or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLegacyAppInstallAdInfo setHeadline(java.lang.String headline) { + this.headline = headline; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonLegacyAppInstallAdInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonLegacyAppInstallAdInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonLegacyAppInstallAdInfo clone() { + return (GoogleAdsSearchads360V23CommonLegacyAppInstallAdInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonLegacyResponsiveDisplayAdInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonLegacyResponsiveDisplayAdInfo.java new file mode 100644 index 00000000000..98da38b1582 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonLegacyResponsiveDisplayAdInfo.java @@ -0,0 +1,419 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A legacy responsive display ad. Ads of this type are labeled 'Responsive ads' in the Google Ads + * UI. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonLegacyResponsiveDisplayAdInfo extends com.google.api.client.json.GenericJson { + + /** + * The accent color of the ad in hexadecimal, for example, #ffffff for white. If one of + * `main_color` and `accent_color` is set, the other is required as well. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String accentColor; + + /** + * Advertiser's consent to allow flexible color. When true, the ad may be served with different + * color if necessary. When false, the ad will be served with the specified colors or a neutral + * color. The default value is `true`. Must be true if `main_color` and `accent_color` are not + * set. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean allowFlexibleColor; + + /** + * The business name in the ad. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String businessName; + + /** + * The call-to-action text for the ad. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String callToActionText; + + /** + * The description of the ad. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String description; + + /** + * Specifies which format the ad will be served in. Default is ALL_FORMATS. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String formatSetting; + + /** + * The MediaFile resource name of the logo image used in the ad. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String logoImage; + + /** + * The long version of the ad's headline. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String longHeadline; + + /** + * The main color of the ad in hexadecimal, for example, #ffffff for white. If one of `main_color` + * and `accent_color` is set, the other is required as well. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String mainColor; + + /** + * The MediaFile resource name of the marketing image used in the ad. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String marketingImage; + + /** + * Prefix before price. For example, 'as low as'. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String pricePrefix; + + /** + * Promotion text used for dynamic formats of responsive ads. For example 'Free two-day shipping'. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String promoText; + + /** + * The short version of the ad's headline. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String shortHeadline; + + /** + * The MediaFile resource name of the square logo image used in the ad. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String squareLogoImage; + + /** + * The MediaFile resource name of the square marketing image used in the ad. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String squareMarketingImage; + + /** + * The accent color of the ad in hexadecimal, for example, #ffffff for white. If one of + * `main_color` and `accent_color` is set, the other is required as well. + * @return value or {@code null} for none + */ + public java.lang.String getAccentColor() { + return accentColor; + } + + /** + * The accent color of the ad in hexadecimal, for example, #ffffff for white. If one of + * `main_color` and `accent_color` is set, the other is required as well. + * @param accentColor accentColor or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLegacyResponsiveDisplayAdInfo setAccentColor(java.lang.String accentColor) { + this.accentColor = accentColor; + return this; + } + + /** + * Advertiser's consent to allow flexible color. When true, the ad may be served with different + * color if necessary. When false, the ad will be served with the specified colors or a neutral + * color. The default value is `true`. Must be true if `main_color` and `accent_color` are not + * set. + * @return value or {@code null} for none + */ + public java.lang.Boolean getAllowFlexibleColor() { + return allowFlexibleColor; + } + + /** + * Advertiser's consent to allow flexible color. When true, the ad may be served with different + * color if necessary. When false, the ad will be served with the specified colors or a neutral + * color. The default value is `true`. Must be true if `main_color` and `accent_color` are not + * set. + * @param allowFlexibleColor allowFlexibleColor or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLegacyResponsiveDisplayAdInfo setAllowFlexibleColor(java.lang.Boolean allowFlexibleColor) { + this.allowFlexibleColor = allowFlexibleColor; + return this; + } + + /** + * The business name in the ad. + * @return value or {@code null} for none + */ + public java.lang.String getBusinessName() { + return businessName; + } + + /** + * The business name in the ad. + * @param businessName businessName or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLegacyResponsiveDisplayAdInfo setBusinessName(java.lang.String businessName) { + this.businessName = businessName; + return this; + } + + /** + * The call-to-action text for the ad. + * @return value or {@code null} for none + */ + public java.lang.String getCallToActionText() { + return callToActionText; + } + + /** + * The call-to-action text for the ad. + * @param callToActionText callToActionText or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLegacyResponsiveDisplayAdInfo setCallToActionText(java.lang.String callToActionText) { + this.callToActionText = callToActionText; + return this; + } + + /** + * The description of the ad. + * @return value or {@code null} for none + */ + public java.lang.String getDescription() { + return description; + } + + /** + * The description of the ad. + * @param description description or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLegacyResponsiveDisplayAdInfo setDescription(java.lang.String description) { + this.description = description; + return this; + } + + /** + * Specifies which format the ad will be served in. Default is ALL_FORMATS. + * @return value or {@code null} for none + */ + public java.lang.String getFormatSetting() { + return formatSetting; + } + + /** + * Specifies which format the ad will be served in. Default is ALL_FORMATS. + * @param formatSetting formatSetting or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLegacyResponsiveDisplayAdInfo setFormatSetting(java.lang.String formatSetting) { + this.formatSetting = formatSetting; + return this; + } + + /** + * The MediaFile resource name of the logo image used in the ad. + * @return value or {@code null} for none + */ + public java.lang.String getLogoImage() { + return logoImage; + } + + /** + * The MediaFile resource name of the logo image used in the ad. + * @param logoImage logoImage or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLegacyResponsiveDisplayAdInfo setLogoImage(java.lang.String logoImage) { + this.logoImage = logoImage; + return this; + } + + /** + * The long version of the ad's headline. + * @return value or {@code null} for none + */ + public java.lang.String getLongHeadline() { + return longHeadline; + } + + /** + * The long version of the ad's headline. + * @param longHeadline longHeadline or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLegacyResponsiveDisplayAdInfo setLongHeadline(java.lang.String longHeadline) { + this.longHeadline = longHeadline; + return this; + } + + /** + * The main color of the ad in hexadecimal, for example, #ffffff for white. If one of `main_color` + * and `accent_color` is set, the other is required as well. + * @return value or {@code null} for none + */ + public java.lang.String getMainColor() { + return mainColor; + } + + /** + * The main color of the ad in hexadecimal, for example, #ffffff for white. If one of `main_color` + * and `accent_color` is set, the other is required as well. + * @param mainColor mainColor or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLegacyResponsiveDisplayAdInfo setMainColor(java.lang.String mainColor) { + this.mainColor = mainColor; + return this; + } + + /** + * The MediaFile resource name of the marketing image used in the ad. + * @return value or {@code null} for none + */ + public java.lang.String getMarketingImage() { + return marketingImage; + } + + /** + * The MediaFile resource name of the marketing image used in the ad. + * @param marketingImage marketingImage or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLegacyResponsiveDisplayAdInfo setMarketingImage(java.lang.String marketingImage) { + this.marketingImage = marketingImage; + return this; + } + + /** + * Prefix before price. For example, 'as low as'. + * @return value or {@code null} for none + */ + public java.lang.String getPricePrefix() { + return pricePrefix; + } + + /** + * Prefix before price. For example, 'as low as'. + * @param pricePrefix pricePrefix or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLegacyResponsiveDisplayAdInfo setPricePrefix(java.lang.String pricePrefix) { + this.pricePrefix = pricePrefix; + return this; + } + + /** + * Promotion text used for dynamic formats of responsive ads. For example 'Free two-day shipping'. + * @return value or {@code null} for none + */ + public java.lang.String getPromoText() { + return promoText; + } + + /** + * Promotion text used for dynamic formats of responsive ads. For example 'Free two-day shipping'. + * @param promoText promoText or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLegacyResponsiveDisplayAdInfo setPromoText(java.lang.String promoText) { + this.promoText = promoText; + return this; + } + + /** + * The short version of the ad's headline. + * @return value or {@code null} for none + */ + public java.lang.String getShortHeadline() { + return shortHeadline; + } + + /** + * The short version of the ad's headline. + * @param shortHeadline shortHeadline or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLegacyResponsiveDisplayAdInfo setShortHeadline(java.lang.String shortHeadline) { + this.shortHeadline = shortHeadline; + return this; + } + + /** + * The MediaFile resource name of the square logo image used in the ad. + * @return value or {@code null} for none + */ + public java.lang.String getSquareLogoImage() { + return squareLogoImage; + } + + /** + * The MediaFile resource name of the square logo image used in the ad. + * @param squareLogoImage squareLogoImage or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLegacyResponsiveDisplayAdInfo setSquareLogoImage(java.lang.String squareLogoImage) { + this.squareLogoImage = squareLogoImage; + return this; + } + + /** + * The MediaFile resource name of the square marketing image used in the ad. + * @return value or {@code null} for none + */ + public java.lang.String getSquareMarketingImage() { + return squareMarketingImage; + } + + /** + * The MediaFile resource name of the square marketing image used in the ad. + * @param squareMarketingImage squareMarketingImage or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLegacyResponsiveDisplayAdInfo setSquareMarketingImage(java.lang.String squareMarketingImage) { + this.squareMarketingImage = squareMarketingImage; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonLegacyResponsiveDisplayAdInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonLegacyResponsiveDisplayAdInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonLegacyResponsiveDisplayAdInfo clone() { + return (GoogleAdsSearchads360V23CommonLegacyResponsiveDisplayAdInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonLifeEventInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonLifeEventInfo.java new file mode 100644 index 00000000000..9ebb3014bc8 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonLifeEventInfo.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Represents a life event criterion. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonLifeEventInfo extends com.google.api.client.json.GenericJson { + + /** + * Taxonomy id of the life event. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long lifeEventId; + + /** + * Taxonomy id of the life event. + * @return value or {@code null} for none + */ + public java.lang.Long getLifeEventId() { + return lifeEventId; + } + + /** + * Taxonomy id of the life event. + * @param lifeEventId lifeEventId or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLifeEventInfo setLifeEventId(java.lang.Long lifeEventId) { + this.lifeEventId = lifeEventId; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonLifeEventInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonLifeEventInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonLifeEventInfo clone() { + return (GoogleAdsSearchads360V23CommonLifeEventInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonLifeEventSegment.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonLifeEventSegment.java new file mode 100644 index 00000000000..6e631f83138 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonLifeEventSegment.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Live event segment. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonLifeEventSegment extends com.google.api.client.json.GenericJson { + + /** + * The life event resource. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String lifeEvent; + + /** + * The life event resource. + * @return value or {@code null} for none + */ + public java.lang.String getLifeEvent() { + return lifeEvent; + } + + /** + * The life event resource. + * @param lifeEvent lifeEvent or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLifeEventSegment setLifeEvent(java.lang.String lifeEvent) { + this.lifeEvent = lifeEvent; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonLifeEventSegment set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonLifeEventSegment) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonLifeEventSegment clone() { + return (GoogleAdsSearchads360V23CommonLifeEventSegment) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonLifecycleGoalValueSettings.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonLifecycleGoalValueSettings.java new file mode 100644 index 00000000000..79a2b80b96c --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonLifecycleGoalValueSettings.java @@ -0,0 +1,100 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Lifecycle goal value settings. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonLifecycleGoalValueSettings extends com.google.api.client.json.GenericJson { + + /** + * High lifetime value of the lifecycle goal. For example, for customer acquisition goal, high + * lifetime value is the incremental conversion value for new customers who are of high value. + * High lifetime value should be greater than value, if set. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double highLifetimeValue; + + /** + * Value of the lifecycle goal. For example, for customer acquisition goal, value is the + * incremental conversion value for new customers who are not of high value. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double value; + + /** + * High lifetime value of the lifecycle goal. For example, for customer acquisition goal, high + * lifetime value is the incremental conversion value for new customers who are of high value. + * High lifetime value should be greater than value, if set. + * @return value or {@code null} for none + */ + public java.lang.Double getHighLifetimeValue() { + return highLifetimeValue; + } + + /** + * High lifetime value of the lifecycle goal. For example, for customer acquisition goal, high + * lifetime value is the incremental conversion value for new customers who are of high value. + * High lifetime value should be greater than value, if set. + * @param highLifetimeValue highLifetimeValue or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLifecycleGoalValueSettings setHighLifetimeValue(java.lang.Double highLifetimeValue) { + this.highLifetimeValue = highLifetimeValue; + return this; + } + + /** + * Value of the lifecycle goal. For example, for customer acquisition goal, value is the + * incremental conversion value for new customers who are not of high value. + * @return value or {@code null} for none + */ + public java.lang.Double getValue() { + return value; + } + + /** + * Value of the lifecycle goal. For example, for customer acquisition goal, value is the + * incremental conversion value for new customers who are not of high value. + * @param value value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLifecycleGoalValueSettings setValue(java.lang.Double value) { + this.value = value; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonLifecycleGoalValueSettings set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonLifecycleGoalValueSettings) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonLifecycleGoalValueSettings clone() { + return (GoogleAdsSearchads360V23CommonLifecycleGoalValueSettings) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonLineupAttributeMetadata.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonLineupAttributeMetadata.java new file mode 100644 index 00000000000..c9d916f4342 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonLineupAttributeMetadata.java @@ -0,0 +1,169 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Metadata associated with a Lineup attribute. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonLineupAttributeMetadata extends com.google.api.client.json.GenericJson { + + /** + * The lower end of a range containing the number of channels in the lineup. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long channelCountLowerBound; + + /** + * The upper end of a range containing the number of channels in the lineup. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long channelCountUpperBound; + + /** + * The national market associated with the lineup. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonLocationInfo inventoryCountry; + + /** + * The median number of impressions per month on this lineup. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long medianMonthlyInventory; + + /** + * Examples of channels that are included in the lineup. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List sampleChannels; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonLineupAttributeMetadataSampleChannel used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonLineupAttributeMetadataSampleChannel.class); + } + + /** + * The lower end of a range containing the number of channels in the lineup. + * @return value or {@code null} for none + */ + public java.lang.Long getChannelCountLowerBound() { + return channelCountLowerBound; + } + + /** + * The lower end of a range containing the number of channels in the lineup. + * @param channelCountLowerBound channelCountLowerBound or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLineupAttributeMetadata setChannelCountLowerBound(java.lang.Long channelCountLowerBound) { + this.channelCountLowerBound = channelCountLowerBound; + return this; + } + + /** + * The upper end of a range containing the number of channels in the lineup. + * @return value or {@code null} for none + */ + public java.lang.Long getChannelCountUpperBound() { + return channelCountUpperBound; + } + + /** + * The upper end of a range containing the number of channels in the lineup. + * @param channelCountUpperBound channelCountUpperBound or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLineupAttributeMetadata setChannelCountUpperBound(java.lang.Long channelCountUpperBound) { + this.channelCountUpperBound = channelCountUpperBound; + return this; + } + + /** + * The national market associated with the lineup. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLocationInfo getInventoryCountry() { + return inventoryCountry; + } + + /** + * The national market associated with the lineup. + * @param inventoryCountry inventoryCountry or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLineupAttributeMetadata setInventoryCountry(GoogleAdsSearchads360V23CommonLocationInfo inventoryCountry) { + this.inventoryCountry = inventoryCountry; + return this; + } + + /** + * The median number of impressions per month on this lineup. + * @return value or {@code null} for none + */ + public java.lang.Long getMedianMonthlyInventory() { + return medianMonthlyInventory; + } + + /** + * The median number of impressions per month on this lineup. + * @param medianMonthlyInventory medianMonthlyInventory or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLineupAttributeMetadata setMedianMonthlyInventory(java.lang.Long medianMonthlyInventory) { + this.medianMonthlyInventory = medianMonthlyInventory; + return this; + } + + /** + * Examples of channels that are included in the lineup. + * @return value or {@code null} for none + */ + public java.util.List getSampleChannels() { + return sampleChannels; + } + + /** + * Examples of channels that are included in the lineup. + * @param sampleChannels sampleChannels or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLineupAttributeMetadata setSampleChannels(java.util.List sampleChannels) { + this.sampleChannels = sampleChannels; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonLineupAttributeMetadata set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonLineupAttributeMetadata) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonLineupAttributeMetadata clone() { + return (GoogleAdsSearchads360V23CommonLineupAttributeMetadata) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonLineupAttributeMetadataSampleChannel.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonLineupAttributeMetadataSampleChannel.java new file mode 100644 index 00000000000..a3a945c4c54 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonLineupAttributeMetadataSampleChannel.java @@ -0,0 +1,115 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A YouTube channel returned as an example of the content in a lineup. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonLineupAttributeMetadataSampleChannel extends com.google.api.client.json.GenericJson { + + /** + * The name of the sample channel. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String displayName; + + /** + * A YouTube channel. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonYouTubeChannelInfo youtubeChannel; + + /** + * Metadata for the sample channel. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonYouTubeChannelAttributeMetadata youtubeChannelMetadata; + + /** + * The name of the sample channel. + * @return value or {@code null} for none + */ + public java.lang.String getDisplayName() { + return displayName; + } + + /** + * The name of the sample channel. + * @param displayName displayName or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLineupAttributeMetadataSampleChannel setDisplayName(java.lang.String displayName) { + this.displayName = displayName; + return this; + } + + /** + * A YouTube channel. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonYouTubeChannelInfo getYoutubeChannel() { + return youtubeChannel; + } + + /** + * A YouTube channel. + * @param youtubeChannel youtubeChannel or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLineupAttributeMetadataSampleChannel setYoutubeChannel(GoogleAdsSearchads360V23CommonYouTubeChannelInfo youtubeChannel) { + this.youtubeChannel = youtubeChannel; + return this; + } + + /** + * Metadata for the sample channel. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonYouTubeChannelAttributeMetadata getYoutubeChannelMetadata() { + return youtubeChannelMetadata; + } + + /** + * Metadata for the sample channel. + * @param youtubeChannelMetadata youtubeChannelMetadata or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLineupAttributeMetadataSampleChannel setYoutubeChannelMetadata(GoogleAdsSearchads360V23CommonYouTubeChannelAttributeMetadata youtubeChannelMetadata) { + this.youtubeChannelMetadata = youtubeChannelMetadata; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonLineupAttributeMetadataSampleChannel set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonLineupAttributeMetadataSampleChannel) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonLineupAttributeMetadataSampleChannel clone() { + return (GoogleAdsSearchads360V23CommonLineupAttributeMetadataSampleChannel) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonListingDimensionInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonListingDimensionInfo.java new file mode 100644 index 00000000000..1be6704b640 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonListingDimensionInfo.java @@ -0,0 +1,607 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Listing dimensions for listing group criterion. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonListingDimensionInfo extends com.google.api.client.json.GenericJson { + + /** + * The city where the travel activity is available. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonActivityCityInfo activityCity; + + /** + * The country where the travel activity is available. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonActivityCountryInfo activityCountry; + + /** + * Advertiser-specific activity ID. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonActivityIdInfo activityId; + + /** + * Rating of the activity as a number 1 to 5, where 5 is the best. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonActivityRatingInfo activityRating; + + /** + * The state where the travel activity is available. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonActivityStateInfo activityState; + + /** + * City the hotel is located in. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonHotelCityInfo hotelCity; + + /** + * Class of the hotel as a number of stars 1 to 5. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonHotelClassInfo hotelClass; + + /** + * Country or Region the hotel is located in. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonHotelCountryRegionInfo hotelCountryRegion; + + /** + * Advertiser-specific hotel ID. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonHotelIdInfo hotelId; + + /** + * State the hotel is located in. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonHotelStateInfo hotelState; + + /** + * Brand of a product offer. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonProductBrandInfo productBrand; + + /** + * Category of a product offer. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonProductCategoryInfo productCategory; + + /** + * Locality of a product offer. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonProductChannelInfo productChannel; + + /** + * Availability of a product offer. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonProductChannelExclusivityInfo productChannelExclusivity; + + /** + * Condition of a product offer. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonProductConditionInfo productCondition; + + /** + * Custom attribute of a product offer. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonProductCustomAttributeInfo productCustomAttribute; + + /** + * Grouping of a product offer. This listing dimension is deprecated and it is supported only in + * Display campaigns. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonProductGroupingInfo productGrouping; + + /** + * Item id of a product offer. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonProductItemIdInfo productItemId; + + /** + * Labels of a product offer. This listing dimension is deprecated and it is supported only in + * Display campaigns. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonProductLabelsInfo productLabels; + + /** + * Legacy condition of a product offer. This listing dimension is deprecated and it is supported + * only in Display campaigns. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonProductLegacyConditionInfo productLegacyCondition; + + /** + * Type of a product offer. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonProductTypeInfo productType; + + /** + * Full type of a product offer. This listing dimension is deprecated and it is supported only in + * Display campaigns. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonProductTypeFullInfo productTypeFull; + + /** + * Unknown dimension. Set when no other listing dimension is set. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonUnknownListingDimensionInfo unknownListingDimension; + + /** + * The city where the travel activity is available. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonActivityCityInfo getActivityCity() { + return activityCity; + } + + /** + * The city where the travel activity is available. + * @param activityCity activityCity or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonListingDimensionInfo setActivityCity(GoogleAdsSearchads360V23CommonActivityCityInfo activityCity) { + this.activityCity = activityCity; + return this; + } + + /** + * The country where the travel activity is available. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonActivityCountryInfo getActivityCountry() { + return activityCountry; + } + + /** + * The country where the travel activity is available. + * @param activityCountry activityCountry or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonListingDimensionInfo setActivityCountry(GoogleAdsSearchads360V23CommonActivityCountryInfo activityCountry) { + this.activityCountry = activityCountry; + return this; + } + + /** + * Advertiser-specific activity ID. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonActivityIdInfo getActivityId() { + return activityId; + } + + /** + * Advertiser-specific activity ID. + * @param activityId activityId or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonListingDimensionInfo setActivityId(GoogleAdsSearchads360V23CommonActivityIdInfo activityId) { + this.activityId = activityId; + return this; + } + + /** + * Rating of the activity as a number 1 to 5, where 5 is the best. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonActivityRatingInfo getActivityRating() { + return activityRating; + } + + /** + * Rating of the activity as a number 1 to 5, where 5 is the best. + * @param activityRating activityRating or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonListingDimensionInfo setActivityRating(GoogleAdsSearchads360V23CommonActivityRatingInfo activityRating) { + this.activityRating = activityRating; + return this; + } + + /** + * The state where the travel activity is available. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonActivityStateInfo getActivityState() { + return activityState; + } + + /** + * The state where the travel activity is available. + * @param activityState activityState or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonListingDimensionInfo setActivityState(GoogleAdsSearchads360V23CommonActivityStateInfo activityState) { + this.activityState = activityState; + return this; + } + + /** + * City the hotel is located in. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonHotelCityInfo getHotelCity() { + return hotelCity; + } + + /** + * City the hotel is located in. + * @param hotelCity hotelCity or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonListingDimensionInfo setHotelCity(GoogleAdsSearchads360V23CommonHotelCityInfo hotelCity) { + this.hotelCity = hotelCity; + return this; + } + + /** + * Class of the hotel as a number of stars 1 to 5. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonHotelClassInfo getHotelClass() { + return hotelClass; + } + + /** + * Class of the hotel as a number of stars 1 to 5. + * @param hotelClass hotelClass or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonListingDimensionInfo setHotelClass(GoogleAdsSearchads360V23CommonHotelClassInfo hotelClass) { + this.hotelClass = hotelClass; + return this; + } + + /** + * Country or Region the hotel is located in. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonHotelCountryRegionInfo getHotelCountryRegion() { + return hotelCountryRegion; + } + + /** + * Country or Region the hotel is located in. + * @param hotelCountryRegion hotelCountryRegion or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonListingDimensionInfo setHotelCountryRegion(GoogleAdsSearchads360V23CommonHotelCountryRegionInfo hotelCountryRegion) { + this.hotelCountryRegion = hotelCountryRegion; + return this; + } + + /** + * Advertiser-specific hotel ID. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonHotelIdInfo getHotelId() { + return hotelId; + } + + /** + * Advertiser-specific hotel ID. + * @param hotelId hotelId or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonListingDimensionInfo setHotelId(GoogleAdsSearchads360V23CommonHotelIdInfo hotelId) { + this.hotelId = hotelId; + return this; + } + + /** + * State the hotel is located in. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonHotelStateInfo getHotelState() { + return hotelState; + } + + /** + * State the hotel is located in. + * @param hotelState hotelState or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonListingDimensionInfo setHotelState(GoogleAdsSearchads360V23CommonHotelStateInfo hotelState) { + this.hotelState = hotelState; + return this; + } + + /** + * Brand of a product offer. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonProductBrandInfo getProductBrand() { + return productBrand; + } + + /** + * Brand of a product offer. + * @param productBrand productBrand or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonListingDimensionInfo setProductBrand(GoogleAdsSearchads360V23CommonProductBrandInfo productBrand) { + this.productBrand = productBrand; + return this; + } + + /** + * Category of a product offer. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonProductCategoryInfo getProductCategory() { + return productCategory; + } + + /** + * Category of a product offer. + * @param productCategory productCategory or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonListingDimensionInfo setProductCategory(GoogleAdsSearchads360V23CommonProductCategoryInfo productCategory) { + this.productCategory = productCategory; + return this; + } + + /** + * Locality of a product offer. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonProductChannelInfo getProductChannel() { + return productChannel; + } + + /** + * Locality of a product offer. + * @param productChannel productChannel or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonListingDimensionInfo setProductChannel(GoogleAdsSearchads360V23CommonProductChannelInfo productChannel) { + this.productChannel = productChannel; + return this; + } + + /** + * Availability of a product offer. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonProductChannelExclusivityInfo getProductChannelExclusivity() { + return productChannelExclusivity; + } + + /** + * Availability of a product offer. + * @param productChannelExclusivity productChannelExclusivity or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonListingDimensionInfo setProductChannelExclusivity(GoogleAdsSearchads360V23CommonProductChannelExclusivityInfo productChannelExclusivity) { + this.productChannelExclusivity = productChannelExclusivity; + return this; + } + + /** + * Condition of a product offer. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonProductConditionInfo getProductCondition() { + return productCondition; + } + + /** + * Condition of a product offer. + * @param productCondition productCondition or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonListingDimensionInfo setProductCondition(GoogleAdsSearchads360V23CommonProductConditionInfo productCondition) { + this.productCondition = productCondition; + return this; + } + + /** + * Custom attribute of a product offer. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonProductCustomAttributeInfo getProductCustomAttribute() { + return productCustomAttribute; + } + + /** + * Custom attribute of a product offer. + * @param productCustomAttribute productCustomAttribute or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonListingDimensionInfo setProductCustomAttribute(GoogleAdsSearchads360V23CommonProductCustomAttributeInfo productCustomAttribute) { + this.productCustomAttribute = productCustomAttribute; + return this; + } + + /** + * Grouping of a product offer. This listing dimension is deprecated and it is supported only in + * Display campaigns. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonProductGroupingInfo getProductGrouping() { + return productGrouping; + } + + /** + * Grouping of a product offer. This listing dimension is deprecated and it is supported only in + * Display campaigns. + * @param productGrouping productGrouping or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonListingDimensionInfo setProductGrouping(GoogleAdsSearchads360V23CommonProductGroupingInfo productGrouping) { + this.productGrouping = productGrouping; + return this; + } + + /** + * Item id of a product offer. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonProductItemIdInfo getProductItemId() { + return productItemId; + } + + /** + * Item id of a product offer. + * @param productItemId productItemId or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonListingDimensionInfo setProductItemId(GoogleAdsSearchads360V23CommonProductItemIdInfo productItemId) { + this.productItemId = productItemId; + return this; + } + + /** + * Labels of a product offer. This listing dimension is deprecated and it is supported only in + * Display campaigns. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonProductLabelsInfo getProductLabels() { + return productLabels; + } + + /** + * Labels of a product offer. This listing dimension is deprecated and it is supported only in + * Display campaigns. + * @param productLabels productLabels or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonListingDimensionInfo setProductLabels(GoogleAdsSearchads360V23CommonProductLabelsInfo productLabels) { + this.productLabels = productLabels; + return this; + } + + /** + * Legacy condition of a product offer. This listing dimension is deprecated and it is supported + * only in Display campaigns. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonProductLegacyConditionInfo getProductLegacyCondition() { + return productLegacyCondition; + } + + /** + * Legacy condition of a product offer. This listing dimension is deprecated and it is supported + * only in Display campaigns. + * @param productLegacyCondition productLegacyCondition or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonListingDimensionInfo setProductLegacyCondition(GoogleAdsSearchads360V23CommonProductLegacyConditionInfo productLegacyCondition) { + this.productLegacyCondition = productLegacyCondition; + return this; + } + + /** + * Type of a product offer. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonProductTypeInfo getProductType() { + return productType; + } + + /** + * Type of a product offer. + * @param productType productType or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonListingDimensionInfo setProductType(GoogleAdsSearchads360V23CommonProductTypeInfo productType) { + this.productType = productType; + return this; + } + + /** + * Full type of a product offer. This listing dimension is deprecated and it is supported only in + * Display campaigns. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonProductTypeFullInfo getProductTypeFull() { + return productTypeFull; + } + + /** + * Full type of a product offer. This listing dimension is deprecated and it is supported only in + * Display campaigns. + * @param productTypeFull productTypeFull or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonListingDimensionInfo setProductTypeFull(GoogleAdsSearchads360V23CommonProductTypeFullInfo productTypeFull) { + this.productTypeFull = productTypeFull; + return this; + } + + /** + * Unknown dimension. Set when no other listing dimension is set. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUnknownListingDimensionInfo getUnknownListingDimension() { + return unknownListingDimension; + } + + /** + * Unknown dimension. Set when no other listing dimension is set. + * @param unknownListingDimension unknownListingDimension or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonListingDimensionInfo setUnknownListingDimension(GoogleAdsSearchads360V23CommonUnknownListingDimensionInfo unknownListingDimension) { + this.unknownListingDimension = unknownListingDimension; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonListingDimensionInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonListingDimensionInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonListingDimensionInfo clone() { + return (GoogleAdsSearchads360V23CommonListingDimensionInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonListingDimensionPath.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonListingDimensionPath.java new file mode 100644 index 00000000000..821070e1a31 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonListingDimensionPath.java @@ -0,0 +1,76 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The path of dimensions defining a listing group. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonListingDimensionPath extends com.google.api.client.json.GenericJson { + + /** + * The complete path of dimensions through the listing group hierarchy, from the root (excluding + * the root itself) to this listing group. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List dimensions; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonListingDimensionInfo used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonListingDimensionInfo.class); + } + + /** + * The complete path of dimensions through the listing group hierarchy, from the root (excluding + * the root itself) to this listing group. + * @return value or {@code null} for none + */ + public java.util.List getDimensions() { + return dimensions; + } + + /** + * The complete path of dimensions through the listing group hierarchy, from the root (excluding + * the root itself) to this listing group. + * @param dimensions dimensions or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonListingDimensionPath setDimensions(java.util.List dimensions) { + this.dimensions = dimensions; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonListingDimensionPath set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonListingDimensionPath) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonListingDimensionPath clone() { + return (GoogleAdsSearchads360V23CommonListingDimensionPath) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonListingGroupInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonListingGroupInfo.java new file mode 100644 index 00000000000..3398bdcf9be --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonListingGroupInfo.java @@ -0,0 +1,145 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A listing group criterion. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonListingGroupInfo extends com.google.api.client.json.GenericJson { + + /** + * Dimension value with which this listing group is refining its parent. Undefined for the root + * group. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonListingDimensionInfo caseValue; + + /** + * Resource name of ad group criterion which is the parent listing group subdivision. Null for the + * root group. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String parentAdGroupCriterion; + + /** + * The path of dimensions defining this listing group. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonListingDimensionPath path; + + /** + * Type of the listing group. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String type; + + /** + * Dimension value with which this listing group is refining its parent. Undefined for the root + * group. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonListingDimensionInfo getCaseValue() { + return caseValue; + } + + /** + * Dimension value with which this listing group is refining its parent. Undefined for the root + * group. + * @param caseValue caseValue or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonListingGroupInfo setCaseValue(GoogleAdsSearchads360V23CommonListingDimensionInfo caseValue) { + this.caseValue = caseValue; + return this; + } + + /** + * Resource name of ad group criterion which is the parent listing group subdivision. Null for the + * root group. + * @return value or {@code null} for none + */ + public java.lang.String getParentAdGroupCriterion() { + return parentAdGroupCriterion; + } + + /** + * Resource name of ad group criterion which is the parent listing group subdivision. Null for the + * root group. + * @param parentAdGroupCriterion parentAdGroupCriterion or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonListingGroupInfo setParentAdGroupCriterion(java.lang.String parentAdGroupCriterion) { + this.parentAdGroupCriterion = parentAdGroupCriterion; + return this; + } + + /** + * The path of dimensions defining this listing group. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonListingDimensionPath getPath() { + return path; + } + + /** + * The path of dimensions defining this listing group. + * @param path path or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonListingGroupInfo setPath(GoogleAdsSearchads360V23CommonListingDimensionPath path) { + this.path = path; + return this; + } + + /** + * Type of the listing group. + * @return value or {@code null} for none + */ + public java.lang.String getType() { + return type; + } + + /** + * Type of the listing group. + * @param type type or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonListingGroupInfo setType(java.lang.String type) { + this.type = type; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonListingGroupInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonListingGroupInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonListingGroupInfo clone() { + return (GoogleAdsSearchads360V23CommonListingGroupInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonListingScopeInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonListingScopeInfo.java new file mode 100644 index 00000000000..57afef446de --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonListingScopeInfo.java @@ -0,0 +1,73 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A listing scope criterion. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonListingScopeInfo extends com.google.api.client.json.GenericJson { + + /** + * Scope of the campaign criterion. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List dimensions; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonListingDimensionInfo used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonListingDimensionInfo.class); + } + + /** + * Scope of the campaign criterion. + * @return value or {@code null} for none + */ + public java.util.List getDimensions() { + return dimensions; + } + + /** + * Scope of the campaign criterion. + * @param dimensions dimensions or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonListingScopeInfo setDimensions(java.util.List dimensions) { + this.dimensions = dimensions; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonListingScopeInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonListingScopeInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonListingScopeInfo clone() { + return (GoogleAdsSearchads360V23CommonListingScopeInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonLocalAdInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonLocalAdInfo.java new file mode 100644 index 00000000000..f0630704b81 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonLocalAdInfo.java @@ -0,0 +1,292 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A local ad. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonLocalAdInfo extends com.google.api.client.json.GenericJson { + + /** + * List of text assets for call-to-actions. When the ad serves the call-to-actions will be + * selected from this list. At least 1 and at most 5 call-to-actions must be specified. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List callToActions; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonAdTextAsset used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonAdTextAsset.class); + } + + /** + * List of text assets for descriptions. When the ad serves the descriptions will be selected from + * this list. At least 1 and at most 5 descriptions must be specified. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List descriptions; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonAdTextAsset used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonAdTextAsset.class); + } + + /** + * List of text assets for headlines. When the ad serves the headlines will be selected from this + * list. At least 1 and at most 5 headlines must be specified. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List headlines; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonAdTextAsset used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonAdTextAsset.class); + } + + /** + * List of logo image assets that may be displayed with the ad. The images must be 128x128 pixels + * and not larger than 120KB. At least 1 and at most 5 image assets must be specified. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List logoImages; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonAdImageAsset used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonAdImageAsset.class); + } + + /** + * List of marketing image assets that may be displayed with the ad. The images must be 314x600 + * pixels or 320x320 pixels. At least 1 and at most 20 image assets must be specified. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List marketingImages; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonAdImageAsset used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonAdImageAsset.class); + } + + /** + * First part of optional text that can be appended to the URL in the ad. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String path1; + + /** + * Second part of optional text that can be appended to the URL in the ad. This field can only be + * set when `path1` is also set. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String path2; + + /** + * List of YouTube video assets that may be displayed with the ad. At least 1 and at most 20 video + * assets must be specified. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List videos; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonAdVideoAsset used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonAdVideoAsset.class); + } + + /** + * List of text assets for call-to-actions. When the ad serves the call-to-actions will be + * selected from this list. At least 1 and at most 5 call-to-actions must be specified. + * @return value or {@code null} for none + */ + public java.util.List getCallToActions() { + return callToActions; + } + + /** + * List of text assets for call-to-actions. When the ad serves the call-to-actions will be + * selected from this list. At least 1 and at most 5 call-to-actions must be specified. + * @param callToActions callToActions or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLocalAdInfo setCallToActions(java.util.List callToActions) { + this.callToActions = callToActions; + return this; + } + + /** + * List of text assets for descriptions. When the ad serves the descriptions will be selected from + * this list. At least 1 and at most 5 descriptions must be specified. + * @return value or {@code null} for none + */ + public java.util.List getDescriptions() { + return descriptions; + } + + /** + * List of text assets for descriptions. When the ad serves the descriptions will be selected from + * this list. At least 1 and at most 5 descriptions must be specified. + * @param descriptions descriptions or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLocalAdInfo setDescriptions(java.util.List descriptions) { + this.descriptions = descriptions; + return this; + } + + /** + * List of text assets for headlines. When the ad serves the headlines will be selected from this + * list. At least 1 and at most 5 headlines must be specified. + * @return value or {@code null} for none + */ + public java.util.List getHeadlines() { + return headlines; + } + + /** + * List of text assets for headlines. When the ad serves the headlines will be selected from this + * list. At least 1 and at most 5 headlines must be specified. + * @param headlines headlines or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLocalAdInfo setHeadlines(java.util.List headlines) { + this.headlines = headlines; + return this; + } + + /** + * List of logo image assets that may be displayed with the ad. The images must be 128x128 pixels + * and not larger than 120KB. At least 1 and at most 5 image assets must be specified. + * @return value or {@code null} for none + */ + public java.util.List getLogoImages() { + return logoImages; + } + + /** + * List of logo image assets that may be displayed with the ad. The images must be 128x128 pixels + * and not larger than 120KB. At least 1 and at most 5 image assets must be specified. + * @param logoImages logoImages or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLocalAdInfo setLogoImages(java.util.List logoImages) { + this.logoImages = logoImages; + return this; + } + + /** + * List of marketing image assets that may be displayed with the ad. The images must be 314x600 + * pixels or 320x320 pixels. At least 1 and at most 20 image assets must be specified. + * @return value or {@code null} for none + */ + public java.util.List getMarketingImages() { + return marketingImages; + } + + /** + * List of marketing image assets that may be displayed with the ad. The images must be 314x600 + * pixels or 320x320 pixels. At least 1 and at most 20 image assets must be specified. + * @param marketingImages marketingImages or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLocalAdInfo setMarketingImages(java.util.List marketingImages) { + this.marketingImages = marketingImages; + return this; + } + + /** + * First part of optional text that can be appended to the URL in the ad. + * @return value or {@code null} for none + */ + public java.lang.String getPath1() { + return path1; + } + + /** + * First part of optional text that can be appended to the URL in the ad. + * @param path1 path1 or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLocalAdInfo setPath1(java.lang.String path1) { + this.path1 = path1; + return this; + } + + /** + * Second part of optional text that can be appended to the URL in the ad. This field can only be + * set when `path1` is also set. + * @return value or {@code null} for none + */ + public java.lang.String getPath2() { + return path2; + } + + /** + * Second part of optional text that can be appended to the URL in the ad. This field can only be + * set when `path1` is also set. + * @param path2 path2 or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLocalAdInfo setPath2(java.lang.String path2) { + this.path2 = path2; + return this; + } + + /** + * List of YouTube video assets that may be displayed with the ad. At least 1 and at most 20 video + * assets must be specified. + * @return value or {@code null} for none + */ + public java.util.List getVideos() { + return videos; + } + + /** + * List of YouTube video assets that may be displayed with the ad. At least 1 and at most 20 video + * assets must be specified. + * @param videos videos or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLocalAdInfo setVideos(java.util.List videos) { + this.videos = videos; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonLocalAdInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonLocalAdInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonLocalAdInfo clone() { + return (GoogleAdsSearchads360V23CommonLocalAdInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonLocalServiceIdInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonLocalServiceIdInfo.java new file mode 100644 index 00000000000..b524301a882 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonLocalServiceIdInfo.java @@ -0,0 +1,68 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A Local Services Ads service ID. Represents a service type (such as install_faucet) that a Local + * Services Campaign can target. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonLocalServiceIdInfo extends com.google.api.client.json.GenericJson { + + /** + * The criterion resource name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String serviceId; + + /** + * The criterion resource name. + * @return value or {@code null} for none + */ + public java.lang.String getServiceId() { + return serviceId; + } + + /** + * The criterion resource name. + * @param serviceId serviceId or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLocalServiceIdInfo setServiceId(java.lang.String serviceId) { + this.serviceId = serviceId; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonLocalServiceIdInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonLocalServiceIdInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonLocalServiceIdInfo clone() { + return (GoogleAdsSearchads360V23CommonLocalServiceIdInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonLocalServicesDocumentReadOnly.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonLocalServicesDocumentReadOnly.java new file mode 100644 index 00000000000..344cd9a2ac3 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonLocalServicesDocumentReadOnly.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A Local Services Document with read only accessible data. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonLocalServicesDocumentReadOnly extends com.google.api.client.json.GenericJson { + + /** + * URL to access an already uploaded Local Services document. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String documentUrl; + + /** + * URL to access an already uploaded Local Services document. + * @return value or {@code null} for none + */ + public java.lang.String getDocumentUrl() { + return documentUrl; + } + + /** + * URL to access an already uploaded Local Services document. + * @param documentUrl documentUrl or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLocalServicesDocumentReadOnly setDocumentUrl(java.lang.String documentUrl) { + this.documentUrl = documentUrl; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonLocalServicesDocumentReadOnly set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonLocalServicesDocumentReadOnly) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonLocalServicesDocumentReadOnly clone() { + return (GoogleAdsSearchads360V23CommonLocalServicesDocumentReadOnly) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonLocationAsset.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonLocationAsset.java new file mode 100644 index 00000000000..aba2ced421a --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonLocationAsset.java @@ -0,0 +1,136 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A location asset. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonLocationAsset extends com.google.api.client.json.GenericJson { + + /** + * The list of business locations for the customer. This will only be returned if the Location + * Asset is syncing from the Business Profile account. It is possible to have multiple Business + * Profile listings under the same account that point to the same Place ID. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List businessProfileLocations; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonBusinessProfileLocation used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonBusinessProfileLocation.class); + } + + /** + * The type of location ownership. If the type is BUSINESS_OWNER, it will be served as a location + * extension. If the type is AFFILIATE, it will be served as an affiliate location. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String locationOwnershipType; + + /** + * Place IDs uniquely identify a place in the Google Places database and on Google Maps. This + * field is unique for a given customer ID and asset type. See + * https://developers.google.com/places/web-service/place-id to learn more about Place ID. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String placeId; + + /** + * The list of business locations for the customer. This will only be returned if the Location + * Asset is syncing from the Business Profile account. It is possible to have multiple Business + * Profile listings under the same account that point to the same Place ID. + * @return value or {@code null} for none + */ + public java.util.List getBusinessProfileLocations() { + return businessProfileLocations; + } + + /** + * The list of business locations for the customer. This will only be returned if the Location + * Asset is syncing from the Business Profile account. It is possible to have multiple Business + * Profile listings under the same account that point to the same Place ID. + * @param businessProfileLocations businessProfileLocations or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLocationAsset setBusinessProfileLocations(java.util.List businessProfileLocations) { + this.businessProfileLocations = businessProfileLocations; + return this; + } + + /** + * The type of location ownership. If the type is BUSINESS_OWNER, it will be served as a location + * extension. If the type is AFFILIATE, it will be served as an affiliate location. + * @return value or {@code null} for none + */ + public java.lang.String getLocationOwnershipType() { + return locationOwnershipType; + } + + /** + * The type of location ownership. If the type is BUSINESS_OWNER, it will be served as a location + * extension. If the type is AFFILIATE, it will be served as an affiliate location. + * @param locationOwnershipType locationOwnershipType or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLocationAsset setLocationOwnershipType(java.lang.String locationOwnershipType) { + this.locationOwnershipType = locationOwnershipType; + return this; + } + + /** + * Place IDs uniquely identify a place in the Google Places database and on Google Maps. This + * field is unique for a given customer ID and asset type. See + * https://developers.google.com/places/web-service/place-id to learn more about Place ID. + * @return value or {@code null} for none + */ + public java.lang.String getPlaceId() { + return placeId; + } + + /** + * Place IDs uniquely identify a place in the Google Places database and on Google Maps. This + * field is unique for a given customer ID and asset type. See + * https://developers.google.com/places/web-service/place-id to learn more about Place ID. + * @param placeId placeId or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLocationAsset setPlaceId(java.lang.String placeId) { + this.placeId = placeId; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonLocationAsset set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonLocationAsset) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonLocationAsset clone() { + return (GoogleAdsSearchads360V23CommonLocationAsset) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonLocationAttributeMetadata.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonLocationAttributeMetadata.java new file mode 100644 index 00000000000..9fb2ea90b3f --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonLocationAttributeMetadata.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Metadata associated with a Location attribute. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonLocationAttributeMetadata extends com.google.api.client.json.GenericJson { + + /** + * The country location that this attribute’s sub country location is located in. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonLocationInfo countryLocation; + + /** + * The country location that this attribute’s sub country location is located in. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLocationInfo getCountryLocation() { + return countryLocation; + } + + /** + * The country location that this attribute’s sub country location is located in. + * @param countryLocation countryLocation or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLocationAttributeMetadata setCountryLocation(GoogleAdsSearchads360V23CommonLocationInfo countryLocation) { + this.countryLocation = countryLocation; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonLocationAttributeMetadata set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonLocationAttributeMetadata) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonLocationAttributeMetadata clone() { + return (GoogleAdsSearchads360V23CommonLocationAttributeMetadata) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonLocationGroupInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonLocationGroupInfo.java new file mode 100644 index 00000000000..de5bb45a992 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonLocationGroupInfo.java @@ -0,0 +1,223 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A radius around a list of locations specified through a feed. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonLocationGroupInfo extends com.google.api.client.json.GenericJson { + + /** + * Denotes that the latest customer level asset set is used for targeting. Used with radius and + * radius_units. Cannot be used with feed, geo target constants or feed item sets. When using + * asset sets, either this field or location_group_asset_sets should be specified. Both cannot be + * used at the same time. This can only be set in CREATE operations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean enableCustomerLevelLocationAssetSet; + + /** + * FeedItemSets whose FeedItems are targeted. If multiple IDs are specified, then all items that + * appear in at least one set are targeted. This field cannot be used with geo_target_constants. + * This is optional and can only be set in CREATE operations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List feedItemSets; + + /** + * Geo target constant(s) restricting the scope of the geographic area within the feed. Currently + * only one geo target constant is allowed. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List geoTargetConstants; + + /** + * AssetSets whose Assets are targeted. If multiple IDs are specified, then all items that appear + * in at least one set are targeted. This field cannot be used with feed, geo target constants or + * feed item sets. When using asset sets, either this field or + * enable_customer_level_location_asset_set should be specified. Both cannot be used at the same + * time. This can only be set in CREATE operations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List locationGroupAssetSets; + + /** + * Distance in units specifying the radius around targeted locations. This is required and must be + * set in CREATE operations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long radius; + + /** + * Unit of the radius. Miles and meters are supported for geo target constants. Milli miles and + * meters are supported for feed item sets. This is required and must be set in CREATE operations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String radiusUnits; + + /** + * Denotes that the latest customer level asset set is used for targeting. Used with radius and + * radius_units. Cannot be used with feed, geo target constants or feed item sets. When using + * asset sets, either this field or location_group_asset_sets should be specified. Both cannot be + * used at the same time. This can only be set in CREATE operations. + * @return value or {@code null} for none + */ + public java.lang.Boolean getEnableCustomerLevelLocationAssetSet() { + return enableCustomerLevelLocationAssetSet; + } + + /** + * Denotes that the latest customer level asset set is used for targeting. Used with radius and + * radius_units. Cannot be used with feed, geo target constants or feed item sets. When using + * asset sets, either this field or location_group_asset_sets should be specified. Both cannot be + * used at the same time. This can only be set in CREATE operations. + * @param enableCustomerLevelLocationAssetSet enableCustomerLevelLocationAssetSet or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLocationGroupInfo setEnableCustomerLevelLocationAssetSet(java.lang.Boolean enableCustomerLevelLocationAssetSet) { + this.enableCustomerLevelLocationAssetSet = enableCustomerLevelLocationAssetSet; + return this; + } + + /** + * FeedItemSets whose FeedItems are targeted. If multiple IDs are specified, then all items that + * appear in at least one set are targeted. This field cannot be used with geo_target_constants. + * This is optional and can only be set in CREATE operations. + * @return value or {@code null} for none + */ + public java.util.List getFeedItemSets() { + return feedItemSets; + } + + /** + * FeedItemSets whose FeedItems are targeted. If multiple IDs are specified, then all items that + * appear in at least one set are targeted. This field cannot be used with geo_target_constants. + * This is optional and can only be set in CREATE operations. + * @param feedItemSets feedItemSets or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLocationGroupInfo setFeedItemSets(java.util.List feedItemSets) { + this.feedItemSets = feedItemSets; + return this; + } + + /** + * Geo target constant(s) restricting the scope of the geographic area within the feed. Currently + * only one geo target constant is allowed. + * @return value or {@code null} for none + */ + public java.util.List getGeoTargetConstants() { + return geoTargetConstants; + } + + /** + * Geo target constant(s) restricting the scope of the geographic area within the feed. Currently + * only one geo target constant is allowed. + * @param geoTargetConstants geoTargetConstants or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLocationGroupInfo setGeoTargetConstants(java.util.List geoTargetConstants) { + this.geoTargetConstants = geoTargetConstants; + return this; + } + + /** + * AssetSets whose Assets are targeted. If multiple IDs are specified, then all items that appear + * in at least one set are targeted. This field cannot be used with feed, geo target constants or + * feed item sets. When using asset sets, either this field or + * enable_customer_level_location_asset_set should be specified. Both cannot be used at the same + * time. This can only be set in CREATE operations. + * @return value or {@code null} for none + */ + public java.util.List getLocationGroupAssetSets() { + return locationGroupAssetSets; + } + + /** + * AssetSets whose Assets are targeted. If multiple IDs are specified, then all items that appear + * in at least one set are targeted. This field cannot be used with feed, geo target constants or + * feed item sets. When using asset sets, either this field or + * enable_customer_level_location_asset_set should be specified. Both cannot be used at the same + * time. This can only be set in CREATE operations. + * @param locationGroupAssetSets locationGroupAssetSets or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLocationGroupInfo setLocationGroupAssetSets(java.util.List locationGroupAssetSets) { + this.locationGroupAssetSets = locationGroupAssetSets; + return this; + } + + /** + * Distance in units specifying the radius around targeted locations. This is required and must be + * set in CREATE operations. + * @return value or {@code null} for none + */ + public java.lang.Long getRadius() { + return radius; + } + + /** + * Distance in units specifying the radius around targeted locations. This is required and must be + * set in CREATE operations. + * @param radius radius or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLocationGroupInfo setRadius(java.lang.Long radius) { + this.radius = radius; + return this; + } + + /** + * Unit of the radius. Miles and meters are supported for geo target constants. Milli miles and + * meters are supported for feed item sets. This is required and must be set in CREATE operations. + * @return value or {@code null} for none + */ + public java.lang.String getRadiusUnits() { + return radiusUnits; + } + + /** + * Unit of the radius. Miles and meters are supported for geo target constants. Milli miles and + * meters are supported for feed item sets. This is required and must be set in CREATE operations. + * @param radiusUnits radiusUnits or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLocationGroupInfo setRadiusUnits(java.lang.String radiusUnits) { + this.radiusUnits = radiusUnits; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonLocationGroupInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonLocationGroupInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonLocationGroupInfo clone() { + return (GoogleAdsSearchads360V23CommonLocationGroupInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonLocationInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonLocationInfo.java new file mode 100644 index 00000000000..d513da32ab7 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonLocationInfo.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A location criterion. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonLocationInfo extends com.google.api.client.json.GenericJson { + + /** + * The geo target constant resource name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String geoTargetConstant; + + /** + * The geo target constant resource name. + * @return value or {@code null} for none + */ + public java.lang.String getGeoTargetConstant() { + return geoTargetConstant; + } + + /** + * The geo target constant resource name. + * @param geoTargetConstant geoTargetConstant or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLocationInfo setGeoTargetConstant(java.lang.String geoTargetConstant) { + this.geoTargetConstant = geoTargetConstant; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonLocationInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonLocationInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonLocationInfo clone() { + return (GoogleAdsSearchads360V23CommonLocationInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonLocationSet.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonLocationSet.java new file mode 100644 index 00000000000..fe1039d913a --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonLocationSet.java @@ -0,0 +1,140 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Data related to location set. One of the Google Business Profile (previously known as Google My + * Business) data, Chain data, and map location data need to be specified. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonLocationSet extends com.google.api.client.json.GenericJson { + + /** + * Data used to configure a location set populated from Google Business Profile locations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonBusinessProfileLocationSet businessProfileLocationSet; + + /** + * Data used to configure a location on chain set populated with the specified chains. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonChainSet chainLocationSet; + + /** + * Required. Immutable. Location Ownership Type (owned location or affiliate location). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String locationOwnershipType; + + /** + * Only set if locations are synced based on selected maps locations + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonMapsLocationSet mapsLocationSet; + + /** + * Data used to configure a location set populated from Google Business Profile locations. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonBusinessProfileLocationSet getBusinessProfileLocationSet() { + return businessProfileLocationSet; + } + + /** + * Data used to configure a location set populated from Google Business Profile locations. + * @param businessProfileLocationSet businessProfileLocationSet or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLocationSet setBusinessProfileLocationSet(GoogleAdsSearchads360V23CommonBusinessProfileLocationSet businessProfileLocationSet) { + this.businessProfileLocationSet = businessProfileLocationSet; + return this; + } + + /** + * Data used to configure a location on chain set populated with the specified chains. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonChainSet getChainLocationSet() { + return chainLocationSet; + } + + /** + * Data used to configure a location on chain set populated with the specified chains. + * @param chainLocationSet chainLocationSet or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLocationSet setChainLocationSet(GoogleAdsSearchads360V23CommonChainSet chainLocationSet) { + this.chainLocationSet = chainLocationSet; + return this; + } + + /** + * Required. Immutable. Location Ownership Type (owned location or affiliate location). + * @return value or {@code null} for none + */ + public java.lang.String getLocationOwnershipType() { + return locationOwnershipType; + } + + /** + * Required. Immutable. Location Ownership Type (owned location or affiliate location). + * @param locationOwnershipType locationOwnershipType or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLocationSet setLocationOwnershipType(java.lang.String locationOwnershipType) { + this.locationOwnershipType = locationOwnershipType; + return this; + } + + /** + * Only set if locations are synced based on selected maps locations + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMapsLocationSet getMapsLocationSet() { + return mapsLocationSet; + } + + /** + * Only set if locations are synced based on selected maps locations + * @param mapsLocationSet mapsLocationSet or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLocationSet setMapsLocationSet(GoogleAdsSearchads360V23CommonMapsLocationSet mapsLocationSet) { + this.mapsLocationSet = mapsLocationSet; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonLocationSet set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonLocationSet) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonLocationSet clone() { + return (GoogleAdsSearchads360V23CommonLocationSet) super.clone(); + } + +} From c25403a058f5d13c053440e4a8365e09ca8cdd9e Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Wed, 3 Jun 2026 18:43:20 -0700 Subject: [PATCH 03/14] chore: regenerate searchads360 client --- ...rchads360V23CommonLogicalUserListInfo.java | 73 + ...60V23CommonLogicalUserListOperandInfo.java | 67 + ...hads360V23CommonLookalikeUserListInfo.java | 115 + ...ogleAdsSearchads360V23CommonManualCpa.java | 43 + ...ogleAdsSearchads360V23CommonManualCpc.java | 67 + ...ogleAdsSearchads360V23CommonManualCpm.java | 43 + ...ogleAdsSearchads360V23CommonManualCpv.java | 43 + ...Searchads360V23CommonMapsLocationInfo.java | 67 + ...sSearchads360V23CommonMapsLocationSet.java | 73 + ...ds360V23CommonMaximizeConversionValue.java | 164 + ...rchads360V23CommonMaximizeConversions.java | 134 + ...Searchads360V23CommonMediaBundleAsset.java | 105 + ...gleAdsSearchads360V23CommonMetricGoal.java | 91 + ...GoogleAdsSearchads360V23CommonMetrics.java | 3409 +++++++++++++++++ ...dsSearchads360V23CommonMobileAppAsset.java | 169 + ...hads360V23CommonMobileAppCategoryInfo.java | 67 + ...hads360V23CommonMobileApplicationInfo.java | 121 + ...Searchads360V23CommonMobileDeviceInfo.java | 67 + .../GoogleAdsSearchads360V23CommonMoney.java | 91 + ...rchads360V23CommonMonthlySearchVolume.java | 118 + ...ds360V23CommonNegativeKeywordListInfo.java | 69 + ...ads360V23CommonOfflineUserAddressInfo.java | 220 ++ ...60V23CommonOperatingSystemVersionInfo.java | 67 + ...AdsSearchads360V23CommonPageFeedAsset.java | 91 + ...ds360V23CommonParentalStatusDimension.java | 91 + ...archads360V23CommonParentalStatusInfo.java | 67 + ...gleAdsSearchads360V23CommonPercentCpc.java | 103 + ...V23CommonPercentCpcBidSimulationPoint.java | 218 ++ ...ommonPercentCpcBidSimulationPointList.java | 73 + ...AdsSearchads360V23CommonPlacementInfo.java | 68 + ...earchads360V23CommonPlacementListInfo.java | 68 + ...AdsSearchads360V23CommonPolicySummary.java | 118 + ...hads360V23CommonPolicyTopicConstraint.java | 139 + ...olicyTopicConstraintCountryConstraint.java | 67 + ...yTopicConstraintCountryConstraintList.java | 97 + ...licyTopicConstraintResellerConstraint.java | 44 + ...Searchads360V23CommonPolicyTopicEntry.java | 158 + ...rchads360V23CommonPolicyTopicEvidence.java | 193 + ...olicyTopicEvidenceDestinationMismatch.java | 67 + ...icyTopicEvidenceDestinationNotWorking.java | 167 + ...olicyTopicEvidenceDestinationTextList.java | 67 + ...0V23CommonPolicyTopicEvidenceTextList.java | 67 + ...3CommonPolicyTopicEvidenceWebsiteList.java | 69 + ...360V23CommonPolicyValidationParameter.java | 124 + ...archads360V23CommonPolicyViolationKey.java | 98 + ...gleAdsSearchads360V23CommonPriceAsset.java | 142 + ...AdsSearchads360V23CommonPriceOffering.java | 193 + ...Searchads360V23CommonProductBrandInfo.java | 67 + ...rchads360V23CommonProductCategoryInfo.java | 94 + ...23CommonProductChannelExclusivityInfo.java | 67 + ...archads360V23CommonProductChannelInfo.java | 67 + ...chads360V23CommonProductConditionInfo.java | 67 + ...60V23CommonProductCustomAttributeInfo.java | 91 + ...rchads360V23CommonProductGroupingInfo.java | 68 + ...earchads360V23CommonProductItemIdInfo.java | 67 + ...earchads360V23CommonProductLabelsInfo.java | 68 + ...60V23CommonProductLegacyConditionInfo.java | 68 + ...rchads360V23CommonProductTypeFullInfo.java | 68 + ...sSearchads360V23CommonProductTypeInfo.java | 91 + ...dsSearchads360V23CommonPromotionAsset.java | 466 +++ ...chads360V23CommonPromotionBarcodeInfo.java | 91 + ...rchads360V23CommonPromotionQrCodeInfo.java | 67 + ...AdsSearchads360V23CommonProximityInfo.java | 143 + ...ads360V23CommonRealTimeBiddingSetting.java | 68 + ...3CommonResponsiveDisplayAdControlSpec.java | 91 + ...ds360V23CommonResponsiveDisplayAdInfo.java | 538 +++ ...ads360V23CommonResponsiveSearchAdInfo.java | 165 + ...hads360V23CommonRuleBasedUserListInfo.java | 118 + ...archAds360ExpandedDynamicSearchAdInfo.java | 115 + ...3CommonSearchAds360ExpandedTextAdInfo.java | 235 ++ ...360V23CommonSearchAds360ProductAdInfo.java | 43 + ...monSearchAds360ResponsiveSearchAdInfo.java | 181 + ...ads360V23CommonSearchAds360TextAdInfo.java | 187 + ...sSearchads360V23CommonSearchThemeInfo.java | 71 + ...oogleAdsSearchads360V23CommonSegments.java | 1858 +++++++++ ...CommonShoppingComparisonListingAdInfo.java | 67 + ...sSearchads360V23CommonShoppingLoyalty.java | 74 + ...hads360V23CommonShoppingProductAdInfo.java | 43 + ...rchads360V23CommonShoppingSmartAdInfo.java | 43 + ...rchads360V23CommonSimilarUserListInfo.java | 68 + ...AdsSearchads360V23CommonSitelinkAsset.java | 205 + ...Searchads360V23CommonSitelinkFeedItem.java | 253 ++ ...rchads360V23CommonSmartCampaignAdInfo.java | 109 + ...dsSearchads360V23CommonStoreAttribute.java | 67 + ...archads360V23CommonStoreSalesMetadata.java | 157 + ...V23CommonStoreSalesThirdPartyMetadata.java | 200 + ...ads360V23CommonStructuredSnippetAsset.java | 97 + ...gleAdsSearchads360V23CommonTagSnippet.java | 148 + ...ogleAdsSearchads360V23CommonTargetCpa.java | 125 + ...s360V23CommonTargetCpaSimulationPoint.java | 340 ++ ...V23CommonTargetCpaSimulationPointList.java | 73 + ...ogleAdsSearchads360V23CommonTargetCpc.java | 71 + ...ogleAdsSearchads360V23CommonTargetCpm.java | 44 + ...hads360V23CommonTargetImpressionShare.java | 122 + ...nTargetImpressionShareSimulationPoint.java | 301 ++ ...getImpressionShareSimulationPointList.java | 73 + ...earchads360V23CommonTargetRestriction.java | 103 + ...60V23CommonTargetRestrictionOperation.java | 91 + ...gleAdsSearchads360V23CommonTargetRoas.java | 158 + ...360V23CommonTargetRoasSimulationPoint.java | 241 ++ 100 files changed, 16665 insertions(+) create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonLogicalUserListInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonLogicalUserListOperandInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonLookalikeUserListInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonManualCpa.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonManualCpc.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonManualCpm.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonManualCpv.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonMapsLocationInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonMapsLocationSet.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonMaximizeConversionValue.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonMaximizeConversions.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonMediaBundleAsset.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonMetricGoal.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonMetrics.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonMobileAppAsset.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonMobileAppCategoryInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonMobileApplicationInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonMobileDeviceInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonMoney.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonMonthlySearchVolume.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonNegativeKeywordListInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonOfflineUserAddressInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonOperatingSystemVersionInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPageFeedAsset.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonParentalStatusDimension.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonParentalStatusInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPercentCpc.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPercentCpcBidSimulationPoint.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPercentCpcBidSimulationPointList.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPlacementInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPlacementListInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPolicySummary.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPolicyTopicConstraint.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPolicyTopicConstraintCountryConstraint.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPolicyTopicConstraintCountryConstraintList.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPolicyTopicConstraintResellerConstraint.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPolicyTopicEntry.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPolicyTopicEvidence.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPolicyTopicEvidenceDestinationMismatch.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPolicyTopicEvidenceDestinationNotWorking.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPolicyTopicEvidenceDestinationTextList.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPolicyTopicEvidenceTextList.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPolicyTopicEvidenceWebsiteList.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPolicyValidationParameter.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPolicyViolationKey.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPriceAsset.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPriceOffering.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonProductBrandInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonProductCategoryInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonProductChannelExclusivityInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonProductChannelInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonProductConditionInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonProductCustomAttributeInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonProductGroupingInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonProductItemIdInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonProductLabelsInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonProductLegacyConditionInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonProductTypeFullInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonProductTypeInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPromotionAsset.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPromotionBarcodeInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPromotionQrCodeInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonProximityInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonRealTimeBiddingSetting.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonResponsiveDisplayAdControlSpec.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonResponsiveDisplayAdInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonResponsiveSearchAdInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonRuleBasedUserListInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonSearchAds360ExpandedDynamicSearchAdInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonSearchAds360ExpandedTextAdInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonSearchAds360ProductAdInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonSearchAds360ResponsiveSearchAdInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonSearchAds360TextAdInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonSearchThemeInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonSegments.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonShoppingComparisonListingAdInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonShoppingLoyalty.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonShoppingProductAdInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonShoppingSmartAdInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonSimilarUserListInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonSitelinkAsset.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonSitelinkFeedItem.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonSmartCampaignAdInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonStoreAttribute.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonStoreSalesMetadata.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonStoreSalesThirdPartyMetadata.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonStructuredSnippetAsset.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonTagSnippet.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonTargetCpa.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonTargetCpaSimulationPoint.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonTargetCpaSimulationPointList.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonTargetCpc.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonTargetCpm.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonTargetImpressionShare.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonTargetImpressionShareSimulationPoint.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonTargetImpressionShareSimulationPointList.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonTargetRestriction.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonTargetRestrictionOperation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonTargetRoas.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonTargetRoasSimulationPoint.java diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonLogicalUserListInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonLogicalUserListInfo.java new file mode 100644 index 00000000000..73907202168 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonLogicalUserListInfo.java @@ -0,0 +1,73 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Represents a user list that is a custom combination of user lists. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonLogicalUserListInfo extends com.google.api.client.json.GenericJson { + + /** + * Logical list rules that define this user list. The rules are defined as a logical operator + * (ALL/ANY/NONE) and a list of user lists. All the rules are ANDed when they are evaluated. + * Required for creating a logical user list. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List rules; + + /** + * Logical list rules that define this user list. The rules are defined as a logical operator + * (ALL/ANY/NONE) and a list of user lists. All the rules are ANDed when they are evaluated. + * Required for creating a logical user list. + * @return value or {@code null} for none + */ + public java.util.List getRules() { + return rules; + } + + /** + * Logical list rules that define this user list. The rules are defined as a logical operator + * (ALL/ANY/NONE) and a list of user lists. All the rules are ANDed when they are evaluated. + * Required for creating a logical user list. + * @param rules rules or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLogicalUserListInfo setRules(java.util.List rules) { + this.rules = rules; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonLogicalUserListInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonLogicalUserListInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonLogicalUserListInfo clone() { + return (GoogleAdsSearchads360V23CommonLogicalUserListInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonLogicalUserListOperandInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonLogicalUserListOperandInfo.java new file mode 100644 index 00000000000..ff0f0565115 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonLogicalUserListOperandInfo.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Operand of logical user list that consists of a user list. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonLogicalUserListOperandInfo extends com.google.api.client.json.GenericJson { + + /** + * Resource name of a user list as an operand. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String userList; + + /** + * Resource name of a user list as an operand. + * @return value or {@code null} for none + */ + public java.lang.String getUserList() { + return userList; + } + + /** + * Resource name of a user list as an operand. + * @param userList userList or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLogicalUserListOperandInfo setUserList(java.lang.String userList) { + this.userList = userList; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonLogicalUserListOperandInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonLogicalUserListOperandInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonLogicalUserListOperandInfo clone() { + return (GoogleAdsSearchads360V23CommonLogicalUserListOperandInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonLookalikeUserListInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonLookalikeUserListInfo.java new file mode 100644 index 00000000000..46047b59308 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonLookalikeUserListInfo.java @@ -0,0 +1,115 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * LookalikeUserlist, composed of users similar to those of a configurable seed (set of UserLists) + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonLookalikeUserListInfo extends com.google.api.client.json.GenericJson { + + /** + * Countries targeted by the Lookalike. Two-letter country code as defined by ISO-3166 + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List countryCodes; + + /** + * Expansion level, reflecting the size of the lookalike audience + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String expansionLevel; + + /** + * Seed UserList ID from which this list is derived, provided by user. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.util.List seedUserListIds; + + /** + * Countries targeted by the Lookalike. Two-letter country code as defined by ISO-3166 + * @return value or {@code null} for none + */ + public java.util.List getCountryCodes() { + return countryCodes; + } + + /** + * Countries targeted by the Lookalike. Two-letter country code as defined by ISO-3166 + * @param countryCodes countryCodes or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLookalikeUserListInfo setCountryCodes(java.util.List countryCodes) { + this.countryCodes = countryCodes; + return this; + } + + /** + * Expansion level, reflecting the size of the lookalike audience + * @return value or {@code null} for none + */ + public java.lang.String getExpansionLevel() { + return expansionLevel; + } + + /** + * Expansion level, reflecting the size of the lookalike audience + * @param expansionLevel expansionLevel or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLookalikeUserListInfo setExpansionLevel(java.lang.String expansionLevel) { + this.expansionLevel = expansionLevel; + return this; + } + + /** + * Seed UserList ID from which this list is derived, provided by user. + * @return value or {@code null} for none + */ + public java.util.List getSeedUserListIds() { + return seedUserListIds; + } + + /** + * Seed UserList ID from which this list is derived, provided by user. + * @param seedUserListIds seedUserListIds or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLookalikeUserListInfo setSeedUserListIds(java.util.List seedUserListIds) { + this.seedUserListIds = seedUserListIds; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonLookalikeUserListInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonLookalikeUserListInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonLookalikeUserListInfo clone() { + return (GoogleAdsSearchads360V23CommonLookalikeUserListInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonManualCpa.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonManualCpa.java new file mode 100644 index 00000000000..abda89258eb --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonManualCpa.java @@ -0,0 +1,43 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Manual bidding strategy that allows advertiser to set the bid per advertiser-specified action. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonManualCpa extends com.google.api.client.json.GenericJson { + + @Override + public GoogleAdsSearchads360V23CommonManualCpa set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonManualCpa) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonManualCpa clone() { + return (GoogleAdsSearchads360V23CommonManualCpa) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonManualCpc.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonManualCpc.java new file mode 100644 index 00000000000..3d4a916122b --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonManualCpc.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Manual click-based bidding where user pays per click. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonManualCpc extends com.google.api.client.json.GenericJson { + + /** + * Whether bids are to be enhanced based on conversion optimizer data. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean enhancedCpcEnabled; + + /** + * Whether bids are to be enhanced based on conversion optimizer data. + * @return value or {@code null} for none + */ + public java.lang.Boolean getEnhancedCpcEnabled() { + return enhancedCpcEnabled; + } + + /** + * Whether bids are to be enhanced based on conversion optimizer data. + * @param enhancedCpcEnabled enhancedCpcEnabled or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonManualCpc setEnhancedCpcEnabled(java.lang.Boolean enhancedCpcEnabled) { + this.enhancedCpcEnabled = enhancedCpcEnabled; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonManualCpc set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonManualCpc) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonManualCpc clone() { + return (GoogleAdsSearchads360V23CommonManualCpc) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonManualCpm.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonManualCpm.java new file mode 100644 index 00000000000..ca4522c85c0 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonManualCpm.java @@ -0,0 +1,43 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Manual impression-based bidding where user pays per thousand impressions. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonManualCpm extends com.google.api.client.json.GenericJson { + + @Override + public GoogleAdsSearchads360V23CommonManualCpm set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonManualCpm) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonManualCpm clone() { + return (GoogleAdsSearchads360V23CommonManualCpm) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonManualCpv.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonManualCpv.java new file mode 100644 index 00000000000..c96e9c42577 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonManualCpv.java @@ -0,0 +1,43 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * View based bidding where user pays per video view. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonManualCpv extends com.google.api.client.json.GenericJson { + + @Override + public GoogleAdsSearchads360V23CommonManualCpv set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonManualCpv) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonManualCpv clone() { + return (GoogleAdsSearchads360V23CommonManualCpv) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonMapsLocationInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonMapsLocationInfo.java new file mode 100644 index 00000000000..287ce21aca8 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonMapsLocationInfo.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Wrapper for place ids + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonMapsLocationInfo extends com.google.api.client.json.GenericJson { + + /** + * Place ID of the Maps location. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String placeId; + + /** + * Place ID of the Maps location. + * @return value or {@code null} for none + */ + public java.lang.String getPlaceId() { + return placeId; + } + + /** + * Place ID of the Maps location. + * @param placeId placeId or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMapsLocationInfo setPlaceId(java.lang.String placeId) { + this.placeId = placeId; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonMapsLocationInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonMapsLocationInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonMapsLocationInfo clone() { + return (GoogleAdsSearchads360V23CommonMapsLocationInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonMapsLocationSet.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonMapsLocationSet.java new file mode 100644 index 00000000000..27397434ce0 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonMapsLocationSet.java @@ -0,0 +1,73 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Wrapper for multiple maps location sync data + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonMapsLocationSet extends com.google.api.client.json.GenericJson { + + /** + * Required. A list of maps location info that user manually synced in. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List mapsLocations; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonMapsLocationInfo used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonMapsLocationInfo.class); + } + + /** + * Required. A list of maps location info that user manually synced in. + * @return value or {@code null} for none + */ + public java.util.List getMapsLocations() { + return mapsLocations; + } + + /** + * Required. A list of maps location info that user manually synced in. + * @param mapsLocations mapsLocations or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMapsLocationSet setMapsLocations(java.util.List mapsLocations) { + this.mapsLocations = mapsLocations; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonMapsLocationSet set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonMapsLocationSet) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonMapsLocationSet clone() { + return (GoogleAdsSearchads360V23CommonMapsLocationSet) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonMaximizeConversionValue.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonMaximizeConversionValue.java new file mode 100644 index 00000000000..d23ef829c2a --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonMaximizeConversionValue.java @@ -0,0 +1,164 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * An automated bidding strategy to help get the most conversion value for your campaigns while + * spending your budget. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonMaximizeConversionValue extends com.google.api.client.json.GenericJson { + + /** + * Maximum bid limit that can be set by the bid strategy. The limit applies to all keywords + * managed by the strategy. Mutable for portfolio bidding strategies only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long cpcBidCeilingMicros; + + /** + * Minimum bid limit that can be set by the bid strategy. The limit applies to all keywords + * managed by the strategy. Mutable for portfolio bidding strategies only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long cpcBidFloorMicros; + + /** + * The target return on ad spend (ROAS) option. If set, the bid strategy will maximize revenue + * while averaging the target return on ad spend. If the target ROAS is high, the bid strategy may + * not be able to spend the full budget. If the target ROAS is not set, the bid strategy will aim + * to achieve the highest possible ROAS for the budget. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double targetRoas; + + /** + * The percent of ROAS(return on advertising spend) degradation tolerance allowed to increase + * traffic diversity and conversion volume, specified in millis (for example, 10,000 = 10%). A + * value of 10,000 means that the advertiser can expect ROAS degradation of up to 10% of the + * specified target ROAS. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long targetRoasTolerancePercentMillis; + + /** + * Maximum bid limit that can be set by the bid strategy. The limit applies to all keywords + * managed by the strategy. Mutable for portfolio bidding strategies only. + * @return value or {@code null} for none + */ + public java.lang.Long getCpcBidCeilingMicros() { + return cpcBidCeilingMicros; + } + + /** + * Maximum bid limit that can be set by the bid strategy. The limit applies to all keywords + * managed by the strategy. Mutable for portfolio bidding strategies only. + * @param cpcBidCeilingMicros cpcBidCeilingMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMaximizeConversionValue setCpcBidCeilingMicros(java.lang.Long cpcBidCeilingMicros) { + this.cpcBidCeilingMicros = cpcBidCeilingMicros; + return this; + } + + /** + * Minimum bid limit that can be set by the bid strategy. The limit applies to all keywords + * managed by the strategy. Mutable for portfolio bidding strategies only. + * @return value or {@code null} for none + */ + public java.lang.Long getCpcBidFloorMicros() { + return cpcBidFloorMicros; + } + + /** + * Minimum bid limit that can be set by the bid strategy. The limit applies to all keywords + * managed by the strategy. Mutable for portfolio bidding strategies only. + * @param cpcBidFloorMicros cpcBidFloorMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMaximizeConversionValue setCpcBidFloorMicros(java.lang.Long cpcBidFloorMicros) { + this.cpcBidFloorMicros = cpcBidFloorMicros; + return this; + } + + /** + * The target return on ad spend (ROAS) option. If set, the bid strategy will maximize revenue + * while averaging the target return on ad spend. If the target ROAS is high, the bid strategy may + * not be able to spend the full budget. If the target ROAS is not set, the bid strategy will aim + * to achieve the highest possible ROAS for the budget. + * @return value or {@code null} for none + */ + public java.lang.Double getTargetRoas() { + return targetRoas; + } + + /** + * The target return on ad spend (ROAS) option. If set, the bid strategy will maximize revenue + * while averaging the target return on ad spend. If the target ROAS is high, the bid strategy may + * not be able to spend the full budget. If the target ROAS is not set, the bid strategy will aim + * to achieve the highest possible ROAS for the budget. + * @param targetRoas targetRoas or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMaximizeConversionValue setTargetRoas(java.lang.Double targetRoas) { + this.targetRoas = targetRoas; + return this; + } + + /** + * The percent of ROAS(return on advertising spend) degradation tolerance allowed to increase + * traffic diversity and conversion volume, specified in millis (for example, 10,000 = 10%). A + * value of 10,000 means that the advertiser can expect ROAS degradation of up to 10% of the + * specified target ROAS. + * @return value or {@code null} for none + */ + public java.lang.Long getTargetRoasTolerancePercentMillis() { + return targetRoasTolerancePercentMillis; + } + + /** + * The percent of ROAS(return on advertising spend) degradation tolerance allowed to increase + * traffic diversity and conversion volume, specified in millis (for example, 10,000 = 10%). A + * value of 10,000 means that the advertiser can expect ROAS degradation of up to 10% of the + * specified target ROAS. + * @param targetRoasTolerancePercentMillis targetRoasTolerancePercentMillis or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMaximizeConversionValue setTargetRoasTolerancePercentMillis(java.lang.Long targetRoasTolerancePercentMillis) { + this.targetRoasTolerancePercentMillis = targetRoasTolerancePercentMillis; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonMaximizeConversionValue set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonMaximizeConversionValue) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonMaximizeConversionValue clone() { + return (GoogleAdsSearchads360V23CommonMaximizeConversionValue) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonMaximizeConversions.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonMaximizeConversions.java new file mode 100644 index 00000000000..02539e164e4 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonMaximizeConversions.java @@ -0,0 +1,134 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * An automated bidding strategy to help get the most conversions for your campaigns while spending + * your budget. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonMaximizeConversions extends com.google.api.client.json.GenericJson { + + /** + * Maximum bid limit that can be set by the bid strategy. The limit applies to all keywords + * managed by the strategy. Mutable for portfolio bidding strategies only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long cpcBidCeilingMicros; + + /** + * Minimum bid limit that can be set by the bid strategy. The limit applies to all keywords + * managed by the strategy. Mutable for portfolio bidding strategies only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long cpcBidFloorMicros; + + /** + * The target cost-per-action (CPA) option. This is the average amount that you would like to + * spend per conversion action specified in micro units of the bidding strategy's currency. If + * set, the bid strategy will get as many conversions as possible at or below the target cost-per- + * action. If the target CPA is not set, the bid strategy will aim to achieve the lowest possible + * CPA given the budget. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long targetCpaMicros; + + /** + * Maximum bid limit that can be set by the bid strategy. The limit applies to all keywords + * managed by the strategy. Mutable for portfolio bidding strategies only. + * @return value or {@code null} for none + */ + public java.lang.Long getCpcBidCeilingMicros() { + return cpcBidCeilingMicros; + } + + /** + * Maximum bid limit that can be set by the bid strategy. The limit applies to all keywords + * managed by the strategy. Mutable for portfolio bidding strategies only. + * @param cpcBidCeilingMicros cpcBidCeilingMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMaximizeConversions setCpcBidCeilingMicros(java.lang.Long cpcBidCeilingMicros) { + this.cpcBidCeilingMicros = cpcBidCeilingMicros; + return this; + } + + /** + * Minimum bid limit that can be set by the bid strategy. The limit applies to all keywords + * managed by the strategy. Mutable for portfolio bidding strategies only. + * @return value or {@code null} for none + */ + public java.lang.Long getCpcBidFloorMicros() { + return cpcBidFloorMicros; + } + + /** + * Minimum bid limit that can be set by the bid strategy. The limit applies to all keywords + * managed by the strategy. Mutable for portfolio bidding strategies only. + * @param cpcBidFloorMicros cpcBidFloorMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMaximizeConversions setCpcBidFloorMicros(java.lang.Long cpcBidFloorMicros) { + this.cpcBidFloorMicros = cpcBidFloorMicros; + return this; + } + + /** + * The target cost-per-action (CPA) option. This is the average amount that you would like to + * spend per conversion action specified in micro units of the bidding strategy's currency. If + * set, the bid strategy will get as many conversions as possible at or below the target cost-per- + * action. If the target CPA is not set, the bid strategy will aim to achieve the lowest possible + * CPA given the budget. + * @return value or {@code null} for none + */ + public java.lang.Long getTargetCpaMicros() { + return targetCpaMicros; + } + + /** + * The target cost-per-action (CPA) option. This is the average amount that you would like to + * spend per conversion action specified in micro units of the bidding strategy's currency. If + * set, the bid strategy will get as many conversions as possible at or below the target cost-per- + * action. If the target CPA is not set, the bid strategy will aim to achieve the lowest possible + * CPA given the budget. + * @param targetCpaMicros targetCpaMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMaximizeConversions setTargetCpaMicros(java.lang.Long targetCpaMicros) { + this.targetCpaMicros = targetCpaMicros; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonMaximizeConversions set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonMaximizeConversions) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonMaximizeConversions clone() { + return (GoogleAdsSearchads360V23CommonMaximizeConversions) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonMediaBundleAsset.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonMediaBundleAsset.java new file mode 100644 index 00000000000..f136db8f868 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonMediaBundleAsset.java @@ -0,0 +1,105 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A MediaBundle asset. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonMediaBundleAsset extends com.google.api.client.json.GenericJson { + + /** + * Media bundle (ZIP file) asset data. The format of the uploaded ZIP file depends on the ad field + * where it will be used. For more information on the format, see the documentation of the ad + * field where you plan on using the MediaBundleAsset. This field is mutate only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String data; + + /** + * Media bundle (ZIP file) asset data. The format of the uploaded ZIP file depends on the ad field + * where it will be used. For more information on the format, see the documentation of the ad + * field where you plan on using the MediaBundleAsset. This field is mutate only. + * @see #decodeData() + * @return value or {@code null} for none + */ + public java.lang.String getData() { + return data; + } + + /** + * Media bundle (ZIP file) asset data. The format of the uploaded ZIP file depends on the ad field + * where it will be used. For more information on the format, see the documentation of the ad + * field where you plan on using the MediaBundleAsset. This field is mutate only. + * @see #getData() + * @return Base64 decoded value or {@code null} for none + * + * @since 1.14 + */ + public byte[] decodeData() { + return com.google.api.client.util.Base64.decodeBase64(data); + } + + /** + * Media bundle (ZIP file) asset data. The format of the uploaded ZIP file depends on the ad field + * where it will be used. For more information on the format, see the documentation of the ad + * field where you plan on using the MediaBundleAsset. This field is mutate only. + * @see #encodeData() + * @param data data or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMediaBundleAsset setData(java.lang.String data) { + this.data = data; + return this; + } + + /** + * Media bundle (ZIP file) asset data. The format of the uploaded ZIP file depends on the ad field + * where it will be used. For more information on the format, see the documentation of the ad + * field where you plan on using the MediaBundleAsset. This field is mutate only. + * @see #setData() + * + *

+ * The value is encoded Base64 or {@code null} for none. + *

+ * + * @since 1.14 + */ + public GoogleAdsSearchads360V23CommonMediaBundleAsset encodeData(byte[] data) { + this.data = com.google.api.client.util.Base64.encodeBase64URLSafeString(data); + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonMediaBundleAsset set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonMediaBundleAsset) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonMediaBundleAsset clone() { + return (GoogleAdsSearchads360V23CommonMediaBundleAsset) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonMetricGoal.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonMetricGoal.java new file mode 100644 index 00000000000..c99d4613a31 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonMetricGoal.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A metric goal for an experiment. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonMetricGoal extends com.google.api.client.json.GenericJson { + + /** + * The metric direction of the goal. For example, increase, decrease, no change. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String direction; + + /** + * The metric of the goal. For example, clicks, impressions, cost, conversions, etc. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String metric; + + /** + * The metric direction of the goal. For example, increase, decrease, no change. + * @return value or {@code null} for none + */ + public java.lang.String getDirection() { + return direction; + } + + /** + * The metric direction of the goal. For example, increase, decrease, no change. + * @param direction direction or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetricGoal setDirection(java.lang.String direction) { + this.direction = direction; + return this; + } + + /** + * The metric of the goal. For example, clicks, impressions, cost, conversions, etc. + * @return value or {@code null} for none + */ + public java.lang.String getMetric() { + return metric; + } + + /** + * The metric of the goal. For example, clicks, impressions, cost, conversions, etc. + * @param metric metric or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetricGoal setMetric(java.lang.String metric) { + this.metric = metric; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonMetricGoal set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonMetricGoal) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonMetricGoal clone() { + return (GoogleAdsSearchads360V23CommonMetricGoal) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonMetrics.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonMetrics.java new file mode 100644 index 00000000000..2b29df630f3 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonMetrics.java @@ -0,0 +1,3409 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Metrics data. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonMetrics extends com.google.api.client.json.GenericJson { + + /** + * Search absolute top impression share is the percentage of your Search ad impressions that are + * shown in the most prominent Search position. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double absoluteTopImpressionPercentage; + + /** + * The total number of conversions. This includes all conversions regardless of the value of + * include_in_conversions_metric. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double allConversions; + + /** + * The total number of conversions. This includes all conversions regardless of the value of + * include_in_conversions_metric. When this column is selected with date, the values in date + * column means the conversion date. Details for the by_conversion_date columns are available at + * https://support.google.com/sa360/answer/9250611. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double allConversionsByConversionDate; + + /** + * The number of times people clicked the "Call" button to call a business during or after + * clicking an ad. This number doesn't include whether or not calls were connected, or the + * duration of any calls. This metric applies to feed items only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double allConversionsFromClickToCall; + + /** + * The number of times people clicked a "Get directions" button to navigate to a business after + * clicking an ad. This metric applies to feed items only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double allConversionsFromDirections; + + /** + * All conversions from interactions (as oppose to view through conversions) divided by the number + * of ad interactions. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double allConversionsFromInteractionsRate; + + /** + * The value of all conversions from interactions divided by the total number of interactions. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double allConversionsFromInteractionsValuePerInteraction; + + /** + * The number of times people clicked a link to view a business's menu after clicking an ad. This + * metric applies to feed items only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double allConversionsFromMenu; + + /** + * The number of times people placed an order at a business after clicking an ad. This metric + * applies to feed items only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double allConversionsFromOrder; + + /** + * The number of other conversions (for example, posting a review or saving a location for a + * business) that occurred after people clicked an ad. This metric applies to feed items only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double allConversionsFromOtherEngagement; + + /** + * Estimated number of times people visited a business after clicking an ad. This metric applies + * to feed items only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double allConversionsFromStoreVisit; + + /** + * The number of times that people were taken to a business's URL after clicking an ad. This + * metric applies to feed items only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double allConversionsFromStoreWebsite; + + /** + * The value of all conversions. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double allConversionsValue; + + /** + * The value of all conversions. When this column is selected with date, the values in date column + * means the conversion date. Details for the by_conversion_date columns are available at + * https://support.google.com/sa360/answer/9250611. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double allConversionsValueByConversionDate; + + /** + * The value of all conversions divided by the total cost of ad interactions (such as clicks for + * text ads or views for video ads). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double allConversionsValuePerCost; + + /** + * Average cart size is the average number of products in each order attributed to your ads. How + * it works: You report conversions with cart data for completed purchases on your website. + * Average cart size is the total number of products sold divided by the total number of orders + * you received. Example: You received 2 orders, the first included 3 products and the second + * included 2. The average cart size is 2.5 products = (3+2)/2. This metric is only available if + * you report conversions with cart data. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double averageCartSize; + + /** + * The average amount you pay per interaction. This amount is the total cost of your ads divided + * by the total number of interactions. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double averageCost; + + /** + * The total cost of all clicks divided by the total number of clicks received. This metric is a + * monetary value and returned in the customer's currency by default. See the metrics_currency + * parameter at https://developers.google.com/search-ads/reporting/query/query- + * structure#parameters_clause + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double averageCpc; + + /** + * Average cost-per-thousand impressions (CPM). This metric is a monetary value and returned in + * the customer's currency by default. See the metrics_currency parameter at + * https://developers.google.com/search-ads/reporting/query/query-structure#parameters_clause + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double averageCpm; + + /** + * The average number of times a unique user saw your ad during the requested time period. This + * metric cannot be aggregated, and can only be requested for date ranges of 92 days or less. This + * metric is available for following campaign types - Display, Video, Discovery and App. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double averageImpressionFrequencyPerUser; + + /** + * Average order value is the average revenue you made per order attributed to your ads. How it + * works: You report conversions with cart data for completed purchases on your website. Average + * order value is the total revenue from your orders divided by the total number of orders. + * Example: You received 3 orders which made $10, $15 and $20 worth of revenue. The average order + * value is $15 = ($10 + $15 + $20)/3. This metric is only available if you report conversions + * with cart data. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long averageOrderValueMicros; + + /** + * The average quality score. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double averageQualityScore; + + /** + * The number of clicks. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long clicks; + + /** + * The number of client account conversions. This only includes conversion actions which + * include_in_client_account_conversions_metric attribute is set to true. If you use conversion- + * based bidding, your bid strategies will optimize for these conversions. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double clientAccountConversions; + + /** + * The value of client account conversions. This only includes conversion actions which + * include_in_client_account_conversions_metric attribute is set to true. If you use conversion- + * based bidding, your bid strategies will optimize for these conversions. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double clientAccountConversionsValue; + + /** + * Client account cross-sell cost of goods sold (COGS) is the total cost of products sold as a + * result of advertising a different product. How it works: You report conversions with cart data + * for completed purchases on your website. If the ad that was interacted with before the purchase + * has an associated product (see Shopping Ads) then this product is considered the advertised + * product. Any product included in the order the customer places is a sold product. If these + * products don't match then this is considered cross-sell. Cross-sell cost of goods sold is the + * total cost of the products sold that weren't advertised. Example: Someone clicked on a Shopping + * ad for a hat then bought the same hat and a shirt. The hat has a cost of goods sold value of + * $3, the shirt has a cost of goods sold value of $5. The cross-sell cost of goods sold for this + * order is $5. This metric is only available if you report conversions with cart data. This + * metric is a monetary value and returned in the customer's currency by default. See the + * metrics_currency parameter at https://developers.google.com/search-ads/reporting/query/query- + * structure#parameters_clause + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long clientAccountCrossSellCostOfGoodsSoldMicros; + + /** + * Client account cross-sell gross profit is the profit you made from products sold as a result of + * advertising a different product, minus cost of goods sold (COGS). How it works: You report + * conversions with cart data for completed purchases on your website. If the ad that was + * interacted with before the purchase has an associated product (see Shopping Ads) then this + * product is considered the advertised product. Any product included in the purchase is a sold + * product. If these products don't match then this is considered cross-sell. Cross-sell gross + * profit is the revenue you made from cross-sell attributed to your ads minus the cost of the + * goods sold. Example: Someone clicked on a Shopping ad for a hat then bought the same hat and a + * shirt. The shirt is priced $20 and has a cost of goods sold value of $5. The cross-sell gross + * profit of this order is $15 = $20 - $5. This metric is only available if you report conversions + * with cart data. This metric is a monetary value and returned in the customer's currency by + * default. See the metrics_currency parameter at https://developers.google.com/search- + * ads/reporting/query/query-structure#parameters_clause + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long clientAccountCrossSellGrossProfitMicros; + + /** + * Client account cross-sell revenue is the total amount you made from products sold as a result + * of advertising a different product. How it works: You report conversions with cart data for + * completed purchases on your website. If the ad that was interacted with before the purchase has + * an associated product (see Shopping Ads) then this product is considered the advertised + * product. Any product included in the order the customer places is a sold product. If these + * products don't match then this is considered cross-sell. Cross-sell revenue is the total value + * you made from cross-sell attributed to your ads. Example: Someone clicked on a Shopping ad for + * a hat then bought the same hat and a shirt. The hat is priced $10 and the shirt is priced $20. + * The cross-sell revenue of this order is $20. This metric is only available if you report + * conversions with cart data. This metric is a monetary value and returned in the customer's + * currency by default. See the metrics_currency parameter at + * https://developers.google.com/search-ads/reporting/query/query-structure#parameters_clause + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long clientAccountCrossSellRevenueMicros; + + /** + * Client account cross-sell units sold is the total number of products sold as a result of + * advertising a different product. How it works: You report conversions with cart data for + * completed purchases on your website. If the ad that was interacted with before the purchase has + * an associated product (see Shopping Ads) then this product is considered the advertised + * product. Any product included in the order the customer places is a sold product. If these + * products don't match then this is considered cross-sell. Cross-sell units sold is the total + * number of cross-sold products from all orders attributed to your ads. Example: Someone clicked + * on a Shopping ad for a hat then bought the same hat, a shirt and a jacket. The cross-sell units + * sold in this order is 2. This metric is only available if you report conversions with cart + * data. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double clientAccountCrossSellUnitsSold; + + /** + * Client account lead cost of goods sold (COGS) is the total cost of products sold as a result of + * advertising the same product. How it works: You report conversions with cart data for completed + * purchases on your website. If the ad that was interacted with has an associated product (see + * Shopping Ads) then this product is considered the advertised product. Any product included in + * the order the customer places is a sold product. If the advertised and sold products match, + * then the cost of these goods is counted under lead cost of goods sold. Example: Someone clicked + * on a Shopping ad for a hat then bought the same hat and a shirt. The hat has a cost of goods + * sold value of $3, the shirt has a cost of goods sold value of $5. The lead cost of goods sold + * for this order is $3. This metric is only available if you report conversions with cart data. + * This metric is a monetary value and returned in the customer's currency by default. See the + * metrics_currency parameter at https://developers.google.com/search-ads/reporting/query/query- + * structure#parameters_clause + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long clientAccountLeadCostOfGoodsSoldMicros; + + /** + * Client account lead gross profit is the profit you made from products sold as a result of + * advertising the same product, minus cost of goods sold (COGS). How it works: You report + * conversions with cart data for completed purchases on your website. If the ad that was + * interacted with before the purchase has an associated product (see Shopping Ads) then this + * product is considered the advertised product. Any product included in the order the customer + * places is a sold product. If the advertised and sold products match, then the revenue you made + * from these sales minus the cost of goods sold is your lead gross profit. Example: Someone + * clicked on a Shopping ad for a hat then bought the same hat and a shirt. The hat is priced $10 + * and has a cost of goods sold value of $3. The lead gross profit of this order is $7 = $10 - $3. + * This metric is only available if you report conversions with cart data. This metric is a + * monetary value and returned in the customer's currency by default. See the metrics_currency + * parameter at https://developers.google.com/search-ads/reporting/query/query- + * structure#parameters_clause + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long clientAccountLeadGrossProfitMicros; + + /** + * Client account lead revenue is the total amount you made from products sold as a result of + * advertising the same product. How it works: You report conversions with cart data for completed + * purchases on your website. If the ad that was interacted with before the purchase has an + * associated product (see Shopping Ads) then this product is considered the advertised product. + * Any product included in the order the customer places is a sold product. If the advertised and + * sold products match, then the total value you made from the sales of these products is shown + * under lead revenue. Example: Someone clicked on a Shopping ad for a hat then bought the same + * hat and a shirt. The hat is priced $10 and the shirt is priced $20. The lead revenue of this + * order is $10. This metric is only available if you report conversions with cart data. This + * metric is a monetary value and returned in the customer's currency by default. See the + * metrics_currency parameter at https://developers.google.com/search-ads/reporting/query/query- + * structure#parameters_clause + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long clientAccountLeadRevenueMicros; + + /** + * Client account lead units sold is the total number of products sold as a result of advertising + * the same product. How it works: You report conversions with cart data for completed purchases + * on your website. If the ad that was interacted with before the purchase has an associated + * product (see Shopping Ads) then this product is considered the advertised product. Any product + * included in the order the customer places is a sold product. If the advertised and sold + * products match, then the total number of these products sold is shown under lead units sold. + * Example: Someone clicked on a Shopping ad for a hat then bought the same hat, a shirt and a + * jacket. The lead units sold in this order is 1. This metric is only available if you report + * conversions with cart data. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double clientAccountLeadUnitsSold; + + /** + * The total number of view-through conversions. These happen when a customer sees an image or + * rich media ad, then later completes a conversion on your site without interacting with (for + * example, clicking on) another ad. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long clientAccountViewThroughConversions; + + /** + * The estimated percent of times that your ad was eligible to show on the Display Network but + * didn't because your budget was too low. Note: Content budget lost impression share is reported + * in the range of 0 to 0.9. Any value above 0.9 is reported as 0.9001. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double contentBudgetLostImpressionShare; + + /** + * The impressions you've received on the Display Network divided by the estimated number of + * impressions you were eligible to receive. Note: Content impression share is reported in the + * range of 0.1 to 1. Any value below 0.1 is reported as 0.0999. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double contentImpressionShare; + + /** + * The estimated percentage of impressions on the Display Network that your ads didn't receive due + * to poor Ad Rank. Note: Content rank lost impression share is reported in the range of 0 to 0.9. + * Any value above 0.9 is reported as 0.9001. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double contentRankLostImpressionShare; + + /** + * The conversion custom metrics. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List conversionCustomMetrics; + + /** + * The number of conversions. This only includes conversion actions which + * include_in_conversions_metric attribute is set to true. If you use conversion-based bidding, + * your bid strategies will optimize for these conversions. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double conversions; + + /** + * The sum of conversions by conversion date for biddable conversion types. Can be fractional due + * to attribution modeling. When this column is selected with date, the values in date column + * means the conversion date. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double conversionsByConversionDate; + + /** + * Average biddable conversions (from interaction) per conversion eligible interaction. Shows how + * often, on average, an ad interaction leads to a biddable conversion. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double conversionsFromInteractionsRate; + + /** + * The value of conversions from interactions divided by the number of ad interactions. This only + * includes conversion actions which include_in_conversions_metric attribute is set to true. If + * you use conversion-based bidding, your bid strategies will optimize for these conversions. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double conversionsFromInteractionsValuePerInteraction; + + /** + * The sum of conversion values for the conversions included in the "conversions" field. This + * metric is useful only if you entered a value for your conversion actions. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double conversionsValue; + + /** + * The sum of biddable conversions value by conversion date. When this column is selected with + * date, the values in date column means the conversion date. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double conversionsValueByConversionDate; + + /** + * The value of biddable conversion divided by the total cost of conversion eligible interactions. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double conversionsValuePerCost; + + /** + * The sum of your cost-per-click (CPC) and cost-per-thousand impressions (CPM) costs during this + * period. This metric is a monetary value and returned in the customer's currency by default. See + * the metrics_currency parameter at https://developers.google.com/search- + * ads/reporting/query/query-structure#parameters_clause + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long costMicros; + + /** + * Cost of goods sold (COGS) is the total cost of the products you sold in orders attributed to + * your ads. How it works: You can add a cost of goods sold value to every product in Merchant + * Center. If you report conversions with cart data, the products you sold are matched with their + * cost of goods sold value and this can be used to calculate the gross profit you made on each + * order. Example: Someone clicked on a Shopping ad for a hat then bought the same hat and a + * shirt. The hat has a cost of goods sold value of $3, the shirt has a cost of goods sold value + * of $5. The cost of goods sold for this order is $8 = $3 + $5. This metric is only available if + * you report conversions with cart data. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long costOfGoodsSoldMicros; + + /** + * The cost of ad interactions divided by all conversions. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double costPerAllConversions; + + /** + * Average conversion eligible cost per biddable conversion. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double costPerConversion; + + /** + * The cost of ad interactions divided by current model attributed conversions. This only includes + * conversion actions which include_in_conversions_metric attribute is set to true. If you use + * conversion-based bidding, your bid strategies will optimize for these conversions. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double costPerCurrentModelAttributedConversion; + + /** + * Conversions from when a customer clicks on an ad on one device, then converts on a different + * device or browser. Cross-device conversions are already included in all_conversions. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double crossDeviceConversions; + + /** + * The number of cross-device conversions by conversion date. Details for the by_conversion_date + * columns are available at https://support.google.com/sa360/answer/9250611. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double crossDeviceConversionsByConversionDate; + + /** + * The sum of the value of cross-device conversions. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double crossDeviceConversionsValue; + + /** + * The sum of cross-device conversions value by conversion date. Details for the + * by_conversion_date columns are available at https://support.google.com/sa360/answer/9250611. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double crossDeviceConversionsValueByConversionDate; + + /** + * Cross-sell cost of goods sold (COGS) is the total cost of products sold as a result of + * advertising a different product. How it works: You report conversions with cart data for + * completed purchases on your website. If the ad that was interacted with before the purchase has + * an associated product (see Shopping Ads) then this product is considered the advertised + * product. Any product included in the order the customer places is a sold product. If these + * products don't match then this is considered cross-sell. Cross-sell cost of goods sold is the + * total cost of the products sold that weren't advertised. Example: Someone clicked on a Shopping + * ad for a hat then bought the same hat and a shirt. The hat has a cost of goods sold value of + * $3, the shirt has a cost of goods sold value of $5. The cross-sell cost of goods sold for this + * order is $5. This metric is only available if you report conversions with cart data. This + * metric is a monetary value and returned in the customer's currency by default. See the + * metrics_currency parameter at https://developers.google.com/search-ads/reporting/query/query- + * structure#parameters_clause + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long crossSellCostOfGoodsSoldMicros; + + /** + * Cross-sell gross profit is the profit you made from products sold as a result of advertising a + * different product, minus cost of goods sold (COGS). How it works: You report conversions with + * cart data for completed purchases on your website. If the ad that was interacted with before + * the purchase has an associated product (see Shopping Ads) then this product is considered the + * advertised product. Any product included in the purchase is a sold product. If these products + * don't match then this is considered cross-sell. Cross-sell gross profit is the revenue you made + * from cross-sell attributed to your ads minus the cost of the goods sold. Example: Someone + * clicked on a Shopping ad for a hat then bought the same hat and a shirt. The shirt is priced + * $20 and has a cost of goods sold value of $5. The cross-sell gross profit of this order is $15 + * = $20 - $5. This metric is only available if you report conversions with cart data. This metric + * is a monetary value and returned in the customer's currency by default. See the + * metrics_currency parameter at https://developers.google.com/search-ads/reporting/query/query- + * structure#parameters_clause + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long crossSellGrossProfitMicros; + + /** + * Cross-sell revenue is the total amount you made from products sold as a result of advertising a + * different product. How it works: You report conversions with cart data for completed purchases + * on your website. If the ad that was interacted with before the purchase has an associated + * product (see Shopping Ads) then this product is considered the advertised product. Any product + * included in the order the customer places is a sold product. If these products don't match then + * this is considered cross-sell. Cross-sell revenue is the total value you made from cross-sell + * attributed to your ads. Example: Someone clicked on a Shopping ad for a hat then bought the + * same hat and a shirt. The hat is priced $10 and the shirt is priced $20. The cross-sell revenue + * of this order is $20. This metric is only available if you report conversions with cart data. + * This metric is a monetary value and returned in the customer's currency by default. See the + * metrics_currency parameter at https://developers.google.com/search-ads/reporting/query/query- + * structure#parameters_clause + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long crossSellRevenueMicros; + + /** + * Cross-sell units sold is the total number of products sold as a result of advertising a + * different product. How it works: You report conversions with cart data for completed purchases + * on your website. If the ad that was interacted with before the purchase has an associated + * product (see Shopping Ads) then this product is considered the advertised product. Any product + * included in the order the customer places is a sold product. If these products don't match then + * this is considered cross-sell. Cross-sell units sold is the total number of cross-sold products + * from all orders attributed to your ads. Example: Someone clicked on a Shopping ad for a hat + * then bought the same hat, a shirt and a jacket. The cross-sell units sold in this order is 2. + * This metric is only available if you report conversions with cart data. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double crossSellUnitsSold; + + /** + * The number of clicks your ad receives (Clicks) divided by the number of times your ad is shown + * (Impressions). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double ctr; + + /** + * The percentage of clicks that have been filtered out of your total number of clicks (filtered + + * non-filtered clicks) due to being general invalid clicks. These are clicks Google considers + * illegitimate that are detected through routine means of filtration (that is, known invalid + * data-center traffic, bots and spiders or other crawlers, irregular patterns, etc). You're not + * charged for them, and they don't affect your account statistics. See the help page at + * https://support.google.com/campaignmanager/answer/6076504 for details. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double generalInvalidClickRate; + + /** + * Number of general invalid clicks. These are a subset of your invalid clicks that are detected + * through routine means of filtration (such as known invalid data-center traffic, bots and + * spiders or other crawlers, irregular patterns, etc.). You're not charged for them, and they + * don't affect your account statistics. See the help page at + * https://support.google.com/campaignmanager/answer/6076504 for details. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long generalInvalidClicks; + + /** + * Gross profit margin is the percentage gross profit you made from orders attributed to your ads, + * after taking out the cost of goods sold (COGS). How it works: You report conversions with cart + * data for completed purchases on your website. Gross profit margin is the gross profit you made + * divided by your total revenue and multiplied by 100%. Gross profit margin calculations only + * include products that have a cost of goods sold value in Merchant Center. Example: Someone + * bought a hat and a shirt in an order on your website. The hat is priced $10 and has a cost of + * goods sold value of $3. The shirt is priced $20 but has no cost of goods sold value. Gross + * profit margin for this order will only take into account the hat because it has a cost of goods + * sold value, so it's 70% = ($10 - $3)/$10 x 100%. This metric is only available if you report + * conversions with cart data. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double grossProfitMargin; + + /** + * Gross profit is the profit you made from orders attributed to your ads minus the cost of goods + * sold (COGS). How it works: Gross profit is the revenue you made from sales attributed to your + * ads minus cost of goods sold. Gross profit calculations only include products that have a cost + * of goods sold value in Merchant Center. Example: Someone clicked on a Shopping ad for a hat + * then bought the same hat and a shirt in an order from your website. The hat is priced $10 and + * the shirt is priced $20. The hat has a cost of goods sold value of $3, but the shirt has no + * cost of goods sold value. Gross profit for this order will only take into account the hat, so + * it's $7 = $10 - $3. This metric is only available if you report conversions with cart data. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long grossProfitMicros; + + /** + * The creative historical quality score. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String historicalCreativeQualityScore; + + /** + * The quality of historical landing page experience. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String historicalLandingPageQualityScore; + + /** + * The historical quality score. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long historicalQualityScore; + + /** + * The historical search predicted click through rate (CTR). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String historicalSearchPredictedCtr; + + /** + * Count of how often your ad has appeared on a search results page or website on the Google + * Network. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long impressions; + + /** + * The types of payable and free interactions. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List interactionEventTypes; + + /** + * How often people interact with your ad after it is shown to them. This is the number of + * interactions divided by the number of times your ad is shown. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double interactionRate; + + /** + * The number of interactions. An interaction is the main user action associated with an ad + * format-clicks for text and shopping ads, views for video ads, and so on. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long interactions; + + /** + * The percentage of clicks filtered out of your total number of clicks (filtered + non-filtered + * clicks) during the reporting period. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double invalidClickRate; + + /** + * Number of clicks Google considers illegitimate and doesn't charge you for. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long invalidClicks; + + /** + * Lead cost of goods sold (COGS) is the total cost of products sold as a result of advertising + * the same product. How it works: You report conversions with cart data for completed purchases + * on your website. If the ad that was interacted with has an associated product (see Shopping + * Ads) then this product is considered the advertised product. Any product included in the order + * the customer places is a sold product. If the advertised and sold products match, then the cost + * of these goods is counted under lead cost of goods sold. Example: Someone clicked on a Shopping + * ad for a hat then bought the same hat and a shirt. The hat has a cost of goods sold value of + * $3, the shirt has a cost of goods sold value of $5. The lead cost of goods sold for this order + * is $3. This metric is only available if you report conversions with cart data. This metric is a + * monetary value and returned in the customer's currency by default. See the metrics_currency + * parameter at https://developers.google.com/search-ads/reporting/query/query- + * structure#parameters_clause + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long leadCostOfGoodsSoldMicros; + + /** + * Lead gross profit is the profit you made from products sold as a result of advertising the same + * product, minus cost of goods sold (COGS). How it works: You report conversions with cart data + * for completed purchases on your website. If the ad that was interacted with before the purchase + * has an associated product (see Shopping Ads) then this product is considered the advertised + * product. Any product included in the order the customer places is a sold product. If the + * advertised and sold products match, then the revenue you made from these sales minus the cost + * of goods sold is your lead gross profit. Example: Someone clicked on a Shopping ad for a hat + * then bought the same hat and a shirt. The hat is priced $10 and has a cost of goods sold value + * of $3. The lead gross profit of this order is $7 = $10 - $3. This metric is only available if + * you report conversions with cart data. This metric is a monetary value and returned in the + * customer's currency by default. See the metrics_currency parameter at + * https://developers.google.com/search-ads/reporting/query/query-structure#parameters_clause + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long leadGrossProfitMicros; + + /** + * Lead revenue is the total amount you made from products sold as a result of advertising the + * same product. How it works: You report conversions with cart data for completed purchases on + * your website. If the ad that was interacted with before the purchase has an associated product + * (see Shopping Ads) then this product is considered the advertised product. Any product included + * in the order the customer places is a sold product. If the advertised and sold products match, + * then the total value you made from the sales of these products is shown under lead revenue. + * Example: Someone clicked on a Shopping ad for a hat then bought the same hat and a shirt. The + * hat is priced $10 and the shirt is priced $20. The lead revenue of this order is $10. This + * metric is only available if you report conversions with cart data. This metric is a monetary + * value and returned in the customer's currency by default. See the metrics_currency parameter at + * https://developers.google.com/search-ads/reporting/query/query-structure#parameters_clause + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long leadRevenueMicros; + + /** + * Lead units sold is the total number of products sold as a result of advertising the same + * product. How it works: You report conversions with cart data for completed purchases on your + * website. If the ad that was interacted with before the purchase has an associated product (see + * Shopping Ads) then this product is considered the advertised product. Any product included in + * the order the customer places is a sold product. If the advertised and sold products match, + * then the total number of these products sold is shown under lead units sold. Example: Someone + * clicked on a Shopping ad for a hat then bought the same hat, a shirt and a jacket. The lead + * units sold in this order is 1. This metric is only available if you report conversions with + * cart data. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double leadUnitsSold; + + /** + * The percentage of mobile clicks that go to a mobile-friendly page. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double mobileFriendlyClicksPercentage; + + /** + * Orders is the total number of purchase conversions you received attributed to your ads. How it + * works: You report conversions with cart data for completed purchases on your website. If a + * conversion is attributed to previous interactions with your ads (clicks for text or Shopping + * ads, views for video ads etc.) it's counted as an order. Example: Someone clicked on a Shopping + * ad for a hat then bought the same hat and a shirt in an order on your website. Even though they + * bought 2 products, this would count as 1 order. This metric is only available if you report + * conversions with cart data. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double orders; + + /** + * The raw event conversion metrics. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List rawEventConversionMetrics; + + /** + * Revenue is the total amount you made from orders attributed to your ads. How it works: You + * report conversions with cart data for completed purchases on your website. Revenue is the total + * value of all the orders you received attributed to your ads, minus any discount. Example: + * Someone clicked on a Shopping ad for a hat then bought the same hat and a shirt in an order + * from your website. The hat is priced $10 and the shirt is priced $20. The entire order has a $5 + * discount. The revenue from this order is $25 = ($10 + $20) - $5. This metric is only available + * if you report conversions with cart data. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long revenueMicros; + + /** + * The percentage of the customer's Shopping or Search ad impressions that are shown in the most + * prominent Shopping position. See https://support.google.com/sa360/answer/9566729 for details. + * Any value below 0.1 is reported as 0.0999. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double searchAbsoluteTopImpressionShare; + + /** + * The number estimating how often your ad wasn't the very first ad among the top ads in the + * search results due to a low budget. Note: Search budget lost absolute top impression share is + * reported in the range of 0 to 0.9. Any value above 0.9 is reported as 0.9001. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double searchBudgetLostAbsoluteTopImpressionShare; + + /** + * The estimated percent of times that your ad was eligible to show on the Search Network but + * didn't because your budget was too low. Note: Search budget lost impression share is reported + * in the range of 0 to 0.9. Any value above 0.9 is reported as 0.9001. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double searchBudgetLostImpressionShare; + + /** + * The number estimating how often your ad didn't show adjacent to the top organic search results + * due to a low budget. Note: Search budget lost top impression share is reported in the range of + * 0 to 0.9. Any value above 0.9 is reported as 0.9001. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double searchBudgetLostTopImpressionShare; + + /** + * The number of clicks you've received on the Search Network divided by the estimated number of + * clicks you were eligible to receive. Note: Search click share is reported in the range of 0.1 + * to 1. Any value below 0.1 is reported as 0.0999. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double searchClickShare; + + /** + * The impressions you've received divided by the estimated number of impressions you were + * eligible to receive on the Search Network for search terms that matched your keywords exactly + * (or were close variants of your keyword), regardless of your keyword match types. Note: Search + * exact match impression share is reported in the range of 0.1 to 1. Any value below 0.1 is + * reported as 0.0999. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double searchExactMatchImpressionShare; + + /** + * The impressions you've received on the Search Network divided by the estimated number of + * impressions you were eligible to receive. Note: Search impression share is reported in the + * range of 0.1 to 1. Any value below 0.1 is reported as 0.0999. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double searchImpressionShare; + + /** + * The number estimating how often your ad wasn't the very first ad among the top ads in the + * search results due to poor Ad Rank. Note: Search rank lost absolute top impression share is + * reported in the range of 0 to 0.9. Any value above 0.9 is reported as 0.9001. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double searchRankLostAbsoluteTopImpressionShare; + + /** + * The estimated percentage of impressions on the Search Network that your ads didn't receive due + * to poor Ad Rank. Note: Search rank lost impression share is reported in the range of 0 to 0.9. + * Any value above 0.9 is reported as 0.9001. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double searchRankLostImpressionShare; + + /** + * The number estimating how often your ad didn't show adjacent to the top organic search results + * due to poor Ad Rank. Note: Search rank lost top impression share is reported in the range of 0 + * to 0.9. Any value above 0.9 is reported as 0.9001. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double searchRankLostTopImpressionShare; + + /** + * The impressions you've received among the top ads compared to the estimated number of + * impressions you were eligible to receive among the top ads. Note: Search top impression share + * is reported in the range of 0.1 to 1. Any value below 0.1 is reported as 0.0999. Top ads are + * generally above the top organic results, although they may show below the top organic results + * on certain queries. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double searchTopImpressionShare; + + /** + * The percent of your ad impressions that are shown adjacent to the top organic search results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double topImpressionPercentage; + + /** + * The number of unique users who saw your ad during the requested time period. This metric cannot + * be aggregated, and can only be requested for date ranges of 92 days or less. This metric is + * available for following campaign types - Display, Video, Discovery and App. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long uniqueUsers; + + /** + * Units sold is the total number of products sold from orders attributed to your ads. How it + * works: You report conversions with cart data for completed purchases on your website. Units + * sold is the total number of products sold from all orders attributed to your ads. Example: + * Someone clicked on a Shopping ad for a hat then bought the same hat, a shirt and a jacket. The + * units sold in this order is 3. This metric is only available if you report conversions with + * cart data. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double unitsSold; + + /** + * The value of all conversions divided by the number of all conversions. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double valuePerAllConversions; + + /** + * The value of all conversions divided by the number of all conversions. When this column is + * selected with date, the values in date column means the conversion date. Details for the + * by_conversion_date columns are available at https://support.google.com/sa360/answer/9250611. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double valuePerAllConversionsByConversionDate; + + /** + * The value of biddable conversion divided by the number of biddable conversions. Shows how much, + * on average, each of the biddable conversions is worth. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double valuePerConversion; + + /** + * Biddable conversions value by conversion date divided by biddable conversions by conversion + * date. Shows how much, on average, each of the biddable conversions is worth (by conversion + * date). When this column is selected with date, the values in date column means the conversion + * date. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double valuePerConversionsByConversionDate; + + /** + * Clicks that Search Ads 360 has successfully recorded and forwarded to an advertiser's landing + * page. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double visits; + + /** + * Search absolute top impression share is the percentage of your Search ad impressions that are + * shown in the most prominent Search position. + * @return value or {@code null} for none + */ + public java.lang.Double getAbsoluteTopImpressionPercentage() { + return absoluteTopImpressionPercentage; + } + + /** + * Search absolute top impression share is the percentage of your Search ad impressions that are + * shown in the most prominent Search position. + * @param absoluteTopImpressionPercentage absoluteTopImpressionPercentage or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setAbsoluteTopImpressionPercentage(java.lang.Double absoluteTopImpressionPercentage) { + this.absoluteTopImpressionPercentage = absoluteTopImpressionPercentage; + return this; + } + + /** + * The total number of conversions. This includes all conversions regardless of the value of + * include_in_conversions_metric. + * @return value or {@code null} for none + */ + public java.lang.Double getAllConversions() { + return allConversions; + } + + /** + * The total number of conversions. This includes all conversions regardless of the value of + * include_in_conversions_metric. + * @param allConversions allConversions or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setAllConversions(java.lang.Double allConversions) { + this.allConversions = allConversions; + return this; + } + + /** + * The total number of conversions. This includes all conversions regardless of the value of + * include_in_conversions_metric. When this column is selected with date, the values in date + * column means the conversion date. Details for the by_conversion_date columns are available at + * https://support.google.com/sa360/answer/9250611. + * @return value or {@code null} for none + */ + public java.lang.Double getAllConversionsByConversionDate() { + return allConversionsByConversionDate; + } + + /** + * The total number of conversions. This includes all conversions regardless of the value of + * include_in_conversions_metric. When this column is selected with date, the values in date + * column means the conversion date. Details for the by_conversion_date columns are available at + * https://support.google.com/sa360/answer/9250611. + * @param allConversionsByConversionDate allConversionsByConversionDate or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setAllConversionsByConversionDate(java.lang.Double allConversionsByConversionDate) { + this.allConversionsByConversionDate = allConversionsByConversionDate; + return this; + } + + /** + * The number of times people clicked the "Call" button to call a business during or after + * clicking an ad. This number doesn't include whether or not calls were connected, or the + * duration of any calls. This metric applies to feed items only. + * @return value or {@code null} for none + */ + public java.lang.Double getAllConversionsFromClickToCall() { + return allConversionsFromClickToCall; + } + + /** + * The number of times people clicked the "Call" button to call a business during or after + * clicking an ad. This number doesn't include whether or not calls were connected, or the + * duration of any calls. This metric applies to feed items only. + * @param allConversionsFromClickToCall allConversionsFromClickToCall or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setAllConversionsFromClickToCall(java.lang.Double allConversionsFromClickToCall) { + this.allConversionsFromClickToCall = allConversionsFromClickToCall; + return this; + } + + /** + * The number of times people clicked a "Get directions" button to navigate to a business after + * clicking an ad. This metric applies to feed items only. + * @return value or {@code null} for none + */ + public java.lang.Double getAllConversionsFromDirections() { + return allConversionsFromDirections; + } + + /** + * The number of times people clicked a "Get directions" button to navigate to a business after + * clicking an ad. This metric applies to feed items only. + * @param allConversionsFromDirections allConversionsFromDirections or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setAllConversionsFromDirections(java.lang.Double allConversionsFromDirections) { + this.allConversionsFromDirections = allConversionsFromDirections; + return this; + } + + /** + * All conversions from interactions (as oppose to view through conversions) divided by the number + * of ad interactions. + * @return value or {@code null} for none + */ + public java.lang.Double getAllConversionsFromInteractionsRate() { + return allConversionsFromInteractionsRate; + } + + /** + * All conversions from interactions (as oppose to view through conversions) divided by the number + * of ad interactions. + * @param allConversionsFromInteractionsRate allConversionsFromInteractionsRate or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setAllConversionsFromInteractionsRate(java.lang.Double allConversionsFromInteractionsRate) { + this.allConversionsFromInteractionsRate = allConversionsFromInteractionsRate; + return this; + } + + /** + * The value of all conversions from interactions divided by the total number of interactions. + * @return value or {@code null} for none + */ + public java.lang.Double getAllConversionsFromInteractionsValuePerInteraction() { + return allConversionsFromInteractionsValuePerInteraction; + } + + /** + * The value of all conversions from interactions divided by the total number of interactions. + * @param allConversionsFromInteractionsValuePerInteraction allConversionsFromInteractionsValuePerInteraction or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setAllConversionsFromInteractionsValuePerInteraction(java.lang.Double allConversionsFromInteractionsValuePerInteraction) { + this.allConversionsFromInteractionsValuePerInteraction = allConversionsFromInteractionsValuePerInteraction; + return this; + } + + /** + * The number of times people clicked a link to view a business's menu after clicking an ad. This + * metric applies to feed items only. + * @return value or {@code null} for none + */ + public java.lang.Double getAllConversionsFromMenu() { + return allConversionsFromMenu; + } + + /** + * The number of times people clicked a link to view a business's menu after clicking an ad. This + * metric applies to feed items only. + * @param allConversionsFromMenu allConversionsFromMenu or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setAllConversionsFromMenu(java.lang.Double allConversionsFromMenu) { + this.allConversionsFromMenu = allConversionsFromMenu; + return this; + } + + /** + * The number of times people placed an order at a business after clicking an ad. This metric + * applies to feed items only. + * @return value or {@code null} for none + */ + public java.lang.Double getAllConversionsFromOrder() { + return allConversionsFromOrder; + } + + /** + * The number of times people placed an order at a business after clicking an ad. This metric + * applies to feed items only. + * @param allConversionsFromOrder allConversionsFromOrder or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setAllConversionsFromOrder(java.lang.Double allConversionsFromOrder) { + this.allConversionsFromOrder = allConversionsFromOrder; + return this; + } + + /** + * The number of other conversions (for example, posting a review or saving a location for a + * business) that occurred after people clicked an ad. This metric applies to feed items only. + * @return value or {@code null} for none + */ + public java.lang.Double getAllConversionsFromOtherEngagement() { + return allConversionsFromOtherEngagement; + } + + /** + * The number of other conversions (for example, posting a review or saving a location for a + * business) that occurred after people clicked an ad. This metric applies to feed items only. + * @param allConversionsFromOtherEngagement allConversionsFromOtherEngagement or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setAllConversionsFromOtherEngagement(java.lang.Double allConversionsFromOtherEngagement) { + this.allConversionsFromOtherEngagement = allConversionsFromOtherEngagement; + return this; + } + + /** + * Estimated number of times people visited a business after clicking an ad. This metric applies + * to feed items only. + * @return value or {@code null} for none + */ + public java.lang.Double getAllConversionsFromStoreVisit() { + return allConversionsFromStoreVisit; + } + + /** + * Estimated number of times people visited a business after clicking an ad. This metric applies + * to feed items only. + * @param allConversionsFromStoreVisit allConversionsFromStoreVisit or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setAllConversionsFromStoreVisit(java.lang.Double allConversionsFromStoreVisit) { + this.allConversionsFromStoreVisit = allConversionsFromStoreVisit; + return this; + } + + /** + * The number of times that people were taken to a business's URL after clicking an ad. This + * metric applies to feed items only. + * @return value or {@code null} for none + */ + public java.lang.Double getAllConversionsFromStoreWebsite() { + return allConversionsFromStoreWebsite; + } + + /** + * The number of times that people were taken to a business's URL after clicking an ad. This + * metric applies to feed items only. + * @param allConversionsFromStoreWebsite allConversionsFromStoreWebsite or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setAllConversionsFromStoreWebsite(java.lang.Double allConversionsFromStoreWebsite) { + this.allConversionsFromStoreWebsite = allConversionsFromStoreWebsite; + return this; + } + + /** + * The value of all conversions. + * @return value or {@code null} for none + */ + public java.lang.Double getAllConversionsValue() { + return allConversionsValue; + } + + /** + * The value of all conversions. + * @param allConversionsValue allConversionsValue or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setAllConversionsValue(java.lang.Double allConversionsValue) { + this.allConversionsValue = allConversionsValue; + return this; + } + + /** + * The value of all conversions. When this column is selected with date, the values in date column + * means the conversion date. Details for the by_conversion_date columns are available at + * https://support.google.com/sa360/answer/9250611. + * @return value or {@code null} for none + */ + public java.lang.Double getAllConversionsValueByConversionDate() { + return allConversionsValueByConversionDate; + } + + /** + * The value of all conversions. When this column is selected with date, the values in date column + * means the conversion date. Details for the by_conversion_date columns are available at + * https://support.google.com/sa360/answer/9250611. + * @param allConversionsValueByConversionDate allConversionsValueByConversionDate or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setAllConversionsValueByConversionDate(java.lang.Double allConversionsValueByConversionDate) { + this.allConversionsValueByConversionDate = allConversionsValueByConversionDate; + return this; + } + + /** + * The value of all conversions divided by the total cost of ad interactions (such as clicks for + * text ads or views for video ads). + * @return value or {@code null} for none + */ + public java.lang.Double getAllConversionsValuePerCost() { + return allConversionsValuePerCost; + } + + /** + * The value of all conversions divided by the total cost of ad interactions (such as clicks for + * text ads or views for video ads). + * @param allConversionsValuePerCost allConversionsValuePerCost or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setAllConversionsValuePerCost(java.lang.Double allConversionsValuePerCost) { + this.allConversionsValuePerCost = allConversionsValuePerCost; + return this; + } + + /** + * Average cart size is the average number of products in each order attributed to your ads. How + * it works: You report conversions with cart data for completed purchases on your website. + * Average cart size is the total number of products sold divided by the total number of orders + * you received. Example: You received 2 orders, the first included 3 products and the second + * included 2. The average cart size is 2.5 products = (3+2)/2. This metric is only available if + * you report conversions with cart data. + * @return value or {@code null} for none + */ + public java.lang.Double getAverageCartSize() { + return averageCartSize; + } + + /** + * Average cart size is the average number of products in each order attributed to your ads. How + * it works: You report conversions with cart data for completed purchases on your website. + * Average cart size is the total number of products sold divided by the total number of orders + * you received. Example: You received 2 orders, the first included 3 products and the second + * included 2. The average cart size is 2.5 products = (3+2)/2. This metric is only available if + * you report conversions with cart data. + * @param averageCartSize averageCartSize or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setAverageCartSize(java.lang.Double averageCartSize) { + this.averageCartSize = averageCartSize; + return this; + } + + /** + * The average amount you pay per interaction. This amount is the total cost of your ads divided + * by the total number of interactions. + * @return value or {@code null} for none + */ + public java.lang.Double getAverageCost() { + return averageCost; + } + + /** + * The average amount you pay per interaction. This amount is the total cost of your ads divided + * by the total number of interactions. + * @param averageCost averageCost or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setAverageCost(java.lang.Double averageCost) { + this.averageCost = averageCost; + return this; + } + + /** + * The total cost of all clicks divided by the total number of clicks received. This metric is a + * monetary value and returned in the customer's currency by default. See the metrics_currency + * parameter at https://developers.google.com/search-ads/reporting/query/query- + * structure#parameters_clause + * @return value or {@code null} for none + */ + public java.lang.Double getAverageCpc() { + return averageCpc; + } + + /** + * The total cost of all clicks divided by the total number of clicks received. This metric is a + * monetary value and returned in the customer's currency by default. See the metrics_currency + * parameter at https://developers.google.com/search-ads/reporting/query/query- + * structure#parameters_clause + * @param averageCpc averageCpc or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setAverageCpc(java.lang.Double averageCpc) { + this.averageCpc = averageCpc; + return this; + } + + /** + * Average cost-per-thousand impressions (CPM). This metric is a monetary value and returned in + * the customer's currency by default. See the metrics_currency parameter at + * https://developers.google.com/search-ads/reporting/query/query-structure#parameters_clause + * @return value or {@code null} for none + */ + public java.lang.Double getAverageCpm() { + return averageCpm; + } + + /** + * Average cost-per-thousand impressions (CPM). This metric is a monetary value and returned in + * the customer's currency by default. See the metrics_currency parameter at + * https://developers.google.com/search-ads/reporting/query/query-structure#parameters_clause + * @param averageCpm averageCpm or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setAverageCpm(java.lang.Double averageCpm) { + this.averageCpm = averageCpm; + return this; + } + + /** + * The average number of times a unique user saw your ad during the requested time period. This + * metric cannot be aggregated, and can only be requested for date ranges of 92 days or less. This + * metric is available for following campaign types - Display, Video, Discovery and App. + * @return value or {@code null} for none + */ + public java.lang.Double getAverageImpressionFrequencyPerUser() { + return averageImpressionFrequencyPerUser; + } + + /** + * The average number of times a unique user saw your ad during the requested time period. This + * metric cannot be aggregated, and can only be requested for date ranges of 92 days or less. This + * metric is available for following campaign types - Display, Video, Discovery and App. + * @param averageImpressionFrequencyPerUser averageImpressionFrequencyPerUser or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setAverageImpressionFrequencyPerUser(java.lang.Double averageImpressionFrequencyPerUser) { + this.averageImpressionFrequencyPerUser = averageImpressionFrequencyPerUser; + return this; + } + + /** + * Average order value is the average revenue you made per order attributed to your ads. How it + * works: You report conversions with cart data for completed purchases on your website. Average + * order value is the total revenue from your orders divided by the total number of orders. + * Example: You received 3 orders which made $10, $15 and $20 worth of revenue. The average order + * value is $15 = ($10 + $15 + $20)/3. This metric is only available if you report conversions + * with cart data. + * @return value or {@code null} for none + */ + public java.lang.Long getAverageOrderValueMicros() { + return averageOrderValueMicros; + } + + /** + * Average order value is the average revenue you made per order attributed to your ads. How it + * works: You report conversions with cart data for completed purchases on your website. Average + * order value is the total revenue from your orders divided by the total number of orders. + * Example: You received 3 orders which made $10, $15 and $20 worth of revenue. The average order + * value is $15 = ($10 + $15 + $20)/3. This metric is only available if you report conversions + * with cart data. + * @param averageOrderValueMicros averageOrderValueMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setAverageOrderValueMicros(java.lang.Long averageOrderValueMicros) { + this.averageOrderValueMicros = averageOrderValueMicros; + return this; + } + + /** + * The average quality score. + * @return value or {@code null} for none + */ + public java.lang.Double getAverageQualityScore() { + return averageQualityScore; + } + + /** + * The average quality score. + * @param averageQualityScore averageQualityScore or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setAverageQualityScore(java.lang.Double averageQualityScore) { + this.averageQualityScore = averageQualityScore; + return this; + } + + /** + * The number of clicks. + * @return value or {@code null} for none + */ + public java.lang.Long getClicks() { + return clicks; + } + + /** + * The number of clicks. + * @param clicks clicks or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setClicks(java.lang.Long clicks) { + this.clicks = clicks; + return this; + } + + /** + * The number of client account conversions. This only includes conversion actions which + * include_in_client_account_conversions_metric attribute is set to true. If you use conversion- + * based bidding, your bid strategies will optimize for these conversions. + * @return value or {@code null} for none + */ + public java.lang.Double getClientAccountConversions() { + return clientAccountConversions; + } + + /** + * The number of client account conversions. This only includes conversion actions which + * include_in_client_account_conversions_metric attribute is set to true. If you use conversion- + * based bidding, your bid strategies will optimize for these conversions. + * @param clientAccountConversions clientAccountConversions or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setClientAccountConversions(java.lang.Double clientAccountConversions) { + this.clientAccountConversions = clientAccountConversions; + return this; + } + + /** + * The value of client account conversions. This only includes conversion actions which + * include_in_client_account_conversions_metric attribute is set to true. If you use conversion- + * based bidding, your bid strategies will optimize for these conversions. + * @return value or {@code null} for none + */ + public java.lang.Double getClientAccountConversionsValue() { + return clientAccountConversionsValue; + } + + /** + * The value of client account conversions. This only includes conversion actions which + * include_in_client_account_conversions_metric attribute is set to true. If you use conversion- + * based bidding, your bid strategies will optimize for these conversions. + * @param clientAccountConversionsValue clientAccountConversionsValue or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setClientAccountConversionsValue(java.lang.Double clientAccountConversionsValue) { + this.clientAccountConversionsValue = clientAccountConversionsValue; + return this; + } + + /** + * Client account cross-sell cost of goods sold (COGS) is the total cost of products sold as a + * result of advertising a different product. How it works: You report conversions with cart data + * for completed purchases on your website. If the ad that was interacted with before the purchase + * has an associated product (see Shopping Ads) then this product is considered the advertised + * product. Any product included in the order the customer places is a sold product. If these + * products don't match then this is considered cross-sell. Cross-sell cost of goods sold is the + * total cost of the products sold that weren't advertised. Example: Someone clicked on a Shopping + * ad for a hat then bought the same hat and a shirt. The hat has a cost of goods sold value of + * $3, the shirt has a cost of goods sold value of $5. The cross-sell cost of goods sold for this + * order is $5. This metric is only available if you report conversions with cart data. This + * metric is a monetary value and returned in the customer's currency by default. See the + * metrics_currency parameter at https://developers.google.com/search-ads/reporting/query/query- + * structure#parameters_clause + * @return value or {@code null} for none + */ + public java.lang.Long getClientAccountCrossSellCostOfGoodsSoldMicros() { + return clientAccountCrossSellCostOfGoodsSoldMicros; + } + + /** + * Client account cross-sell cost of goods sold (COGS) is the total cost of products sold as a + * result of advertising a different product. How it works: You report conversions with cart data + * for completed purchases on your website. If the ad that was interacted with before the purchase + * has an associated product (see Shopping Ads) then this product is considered the advertised + * product. Any product included in the order the customer places is a sold product. If these + * products don't match then this is considered cross-sell. Cross-sell cost of goods sold is the + * total cost of the products sold that weren't advertised. Example: Someone clicked on a Shopping + * ad for a hat then bought the same hat and a shirt. The hat has a cost of goods sold value of + * $3, the shirt has a cost of goods sold value of $5. The cross-sell cost of goods sold for this + * order is $5. This metric is only available if you report conversions with cart data. This + * metric is a monetary value and returned in the customer's currency by default. See the + * metrics_currency parameter at https://developers.google.com/search-ads/reporting/query/query- + * structure#parameters_clause + * @param clientAccountCrossSellCostOfGoodsSoldMicros clientAccountCrossSellCostOfGoodsSoldMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setClientAccountCrossSellCostOfGoodsSoldMicros(java.lang.Long clientAccountCrossSellCostOfGoodsSoldMicros) { + this.clientAccountCrossSellCostOfGoodsSoldMicros = clientAccountCrossSellCostOfGoodsSoldMicros; + return this; + } + + /** + * Client account cross-sell gross profit is the profit you made from products sold as a result of + * advertising a different product, minus cost of goods sold (COGS). How it works: You report + * conversions with cart data for completed purchases on your website. If the ad that was + * interacted with before the purchase has an associated product (see Shopping Ads) then this + * product is considered the advertised product. Any product included in the purchase is a sold + * product. If these products don't match then this is considered cross-sell. Cross-sell gross + * profit is the revenue you made from cross-sell attributed to your ads minus the cost of the + * goods sold. Example: Someone clicked on a Shopping ad for a hat then bought the same hat and a + * shirt. The shirt is priced $20 and has a cost of goods sold value of $5. The cross-sell gross + * profit of this order is $15 = $20 - $5. This metric is only available if you report conversions + * with cart data. This metric is a monetary value and returned in the customer's currency by + * default. See the metrics_currency parameter at https://developers.google.com/search- + * ads/reporting/query/query-structure#parameters_clause + * @return value or {@code null} for none + */ + public java.lang.Long getClientAccountCrossSellGrossProfitMicros() { + return clientAccountCrossSellGrossProfitMicros; + } + + /** + * Client account cross-sell gross profit is the profit you made from products sold as a result of + * advertising a different product, minus cost of goods sold (COGS). How it works: You report + * conversions with cart data for completed purchases on your website. If the ad that was + * interacted with before the purchase has an associated product (see Shopping Ads) then this + * product is considered the advertised product. Any product included in the purchase is a sold + * product. If these products don't match then this is considered cross-sell. Cross-sell gross + * profit is the revenue you made from cross-sell attributed to your ads minus the cost of the + * goods sold. Example: Someone clicked on a Shopping ad for a hat then bought the same hat and a + * shirt. The shirt is priced $20 and has a cost of goods sold value of $5. The cross-sell gross + * profit of this order is $15 = $20 - $5. This metric is only available if you report conversions + * with cart data. This metric is a monetary value and returned in the customer's currency by + * default. See the metrics_currency parameter at https://developers.google.com/search- + * ads/reporting/query/query-structure#parameters_clause + * @param clientAccountCrossSellGrossProfitMicros clientAccountCrossSellGrossProfitMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setClientAccountCrossSellGrossProfitMicros(java.lang.Long clientAccountCrossSellGrossProfitMicros) { + this.clientAccountCrossSellGrossProfitMicros = clientAccountCrossSellGrossProfitMicros; + return this; + } + + /** + * Client account cross-sell revenue is the total amount you made from products sold as a result + * of advertising a different product. How it works: You report conversions with cart data for + * completed purchases on your website. If the ad that was interacted with before the purchase has + * an associated product (see Shopping Ads) then this product is considered the advertised + * product. Any product included in the order the customer places is a sold product. If these + * products don't match then this is considered cross-sell. Cross-sell revenue is the total value + * you made from cross-sell attributed to your ads. Example: Someone clicked on a Shopping ad for + * a hat then bought the same hat and a shirt. The hat is priced $10 and the shirt is priced $20. + * The cross-sell revenue of this order is $20. This metric is only available if you report + * conversions with cart data. This metric is a monetary value and returned in the customer's + * currency by default. See the metrics_currency parameter at + * https://developers.google.com/search-ads/reporting/query/query-structure#parameters_clause + * @return value or {@code null} for none + */ + public java.lang.Long getClientAccountCrossSellRevenueMicros() { + return clientAccountCrossSellRevenueMicros; + } + + /** + * Client account cross-sell revenue is the total amount you made from products sold as a result + * of advertising a different product. How it works: You report conversions with cart data for + * completed purchases on your website. If the ad that was interacted with before the purchase has + * an associated product (see Shopping Ads) then this product is considered the advertised + * product. Any product included in the order the customer places is a sold product. If these + * products don't match then this is considered cross-sell. Cross-sell revenue is the total value + * you made from cross-sell attributed to your ads. Example: Someone clicked on a Shopping ad for + * a hat then bought the same hat and a shirt. The hat is priced $10 and the shirt is priced $20. + * The cross-sell revenue of this order is $20. This metric is only available if you report + * conversions with cart data. This metric is a monetary value and returned in the customer's + * currency by default. See the metrics_currency parameter at + * https://developers.google.com/search-ads/reporting/query/query-structure#parameters_clause + * @param clientAccountCrossSellRevenueMicros clientAccountCrossSellRevenueMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setClientAccountCrossSellRevenueMicros(java.lang.Long clientAccountCrossSellRevenueMicros) { + this.clientAccountCrossSellRevenueMicros = clientAccountCrossSellRevenueMicros; + return this; + } + + /** + * Client account cross-sell units sold is the total number of products sold as a result of + * advertising a different product. How it works: You report conversions with cart data for + * completed purchases on your website. If the ad that was interacted with before the purchase has + * an associated product (see Shopping Ads) then this product is considered the advertised + * product. Any product included in the order the customer places is a sold product. If these + * products don't match then this is considered cross-sell. Cross-sell units sold is the total + * number of cross-sold products from all orders attributed to your ads. Example: Someone clicked + * on a Shopping ad for a hat then bought the same hat, a shirt and a jacket. The cross-sell units + * sold in this order is 2. This metric is only available if you report conversions with cart + * data. + * @return value or {@code null} for none + */ + public java.lang.Double getClientAccountCrossSellUnitsSold() { + return clientAccountCrossSellUnitsSold; + } + + /** + * Client account cross-sell units sold is the total number of products sold as a result of + * advertising a different product. How it works: You report conversions with cart data for + * completed purchases on your website. If the ad that was interacted with before the purchase has + * an associated product (see Shopping Ads) then this product is considered the advertised + * product. Any product included in the order the customer places is a sold product. If these + * products don't match then this is considered cross-sell. Cross-sell units sold is the total + * number of cross-sold products from all orders attributed to your ads. Example: Someone clicked + * on a Shopping ad for a hat then bought the same hat, a shirt and a jacket. The cross-sell units + * sold in this order is 2. This metric is only available if you report conversions with cart + * data. + * @param clientAccountCrossSellUnitsSold clientAccountCrossSellUnitsSold or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setClientAccountCrossSellUnitsSold(java.lang.Double clientAccountCrossSellUnitsSold) { + this.clientAccountCrossSellUnitsSold = clientAccountCrossSellUnitsSold; + return this; + } + + /** + * Client account lead cost of goods sold (COGS) is the total cost of products sold as a result of + * advertising the same product. How it works: You report conversions with cart data for completed + * purchases on your website. If the ad that was interacted with has an associated product (see + * Shopping Ads) then this product is considered the advertised product. Any product included in + * the order the customer places is a sold product. If the advertised and sold products match, + * then the cost of these goods is counted under lead cost of goods sold. Example: Someone clicked + * on a Shopping ad for a hat then bought the same hat and a shirt. The hat has a cost of goods + * sold value of $3, the shirt has a cost of goods sold value of $5. The lead cost of goods sold + * for this order is $3. This metric is only available if you report conversions with cart data. + * This metric is a monetary value and returned in the customer's currency by default. See the + * metrics_currency parameter at https://developers.google.com/search-ads/reporting/query/query- + * structure#parameters_clause + * @return value or {@code null} for none + */ + public java.lang.Long getClientAccountLeadCostOfGoodsSoldMicros() { + return clientAccountLeadCostOfGoodsSoldMicros; + } + + /** + * Client account lead cost of goods sold (COGS) is the total cost of products sold as a result of + * advertising the same product. How it works: You report conversions with cart data for completed + * purchases on your website. If the ad that was interacted with has an associated product (see + * Shopping Ads) then this product is considered the advertised product. Any product included in + * the order the customer places is a sold product. If the advertised and sold products match, + * then the cost of these goods is counted under lead cost of goods sold. Example: Someone clicked + * on a Shopping ad for a hat then bought the same hat and a shirt. The hat has a cost of goods + * sold value of $3, the shirt has a cost of goods sold value of $5. The lead cost of goods sold + * for this order is $3. This metric is only available if you report conversions with cart data. + * This metric is a monetary value and returned in the customer's currency by default. See the + * metrics_currency parameter at https://developers.google.com/search-ads/reporting/query/query- + * structure#parameters_clause + * @param clientAccountLeadCostOfGoodsSoldMicros clientAccountLeadCostOfGoodsSoldMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setClientAccountLeadCostOfGoodsSoldMicros(java.lang.Long clientAccountLeadCostOfGoodsSoldMicros) { + this.clientAccountLeadCostOfGoodsSoldMicros = clientAccountLeadCostOfGoodsSoldMicros; + return this; + } + + /** + * Client account lead gross profit is the profit you made from products sold as a result of + * advertising the same product, minus cost of goods sold (COGS). How it works: You report + * conversions with cart data for completed purchases on your website. If the ad that was + * interacted with before the purchase has an associated product (see Shopping Ads) then this + * product is considered the advertised product. Any product included in the order the customer + * places is a sold product. If the advertised and sold products match, then the revenue you made + * from these sales minus the cost of goods sold is your lead gross profit. Example: Someone + * clicked on a Shopping ad for a hat then bought the same hat and a shirt. The hat is priced $10 + * and has a cost of goods sold value of $3. The lead gross profit of this order is $7 = $10 - $3. + * This metric is only available if you report conversions with cart data. This metric is a + * monetary value and returned in the customer's currency by default. See the metrics_currency + * parameter at https://developers.google.com/search-ads/reporting/query/query- + * structure#parameters_clause + * @return value or {@code null} for none + */ + public java.lang.Long getClientAccountLeadGrossProfitMicros() { + return clientAccountLeadGrossProfitMicros; + } + + /** + * Client account lead gross profit is the profit you made from products sold as a result of + * advertising the same product, minus cost of goods sold (COGS). How it works: You report + * conversions with cart data for completed purchases on your website. If the ad that was + * interacted with before the purchase has an associated product (see Shopping Ads) then this + * product is considered the advertised product. Any product included in the order the customer + * places is a sold product. If the advertised and sold products match, then the revenue you made + * from these sales minus the cost of goods sold is your lead gross profit. Example: Someone + * clicked on a Shopping ad for a hat then bought the same hat and a shirt. The hat is priced $10 + * and has a cost of goods sold value of $3. The lead gross profit of this order is $7 = $10 - $3. + * This metric is only available if you report conversions with cart data. This metric is a + * monetary value and returned in the customer's currency by default. See the metrics_currency + * parameter at https://developers.google.com/search-ads/reporting/query/query- + * structure#parameters_clause + * @param clientAccountLeadGrossProfitMicros clientAccountLeadGrossProfitMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setClientAccountLeadGrossProfitMicros(java.lang.Long clientAccountLeadGrossProfitMicros) { + this.clientAccountLeadGrossProfitMicros = clientAccountLeadGrossProfitMicros; + return this; + } + + /** + * Client account lead revenue is the total amount you made from products sold as a result of + * advertising the same product. How it works: You report conversions with cart data for completed + * purchases on your website. If the ad that was interacted with before the purchase has an + * associated product (see Shopping Ads) then this product is considered the advertised product. + * Any product included in the order the customer places is a sold product. If the advertised and + * sold products match, then the total value you made from the sales of these products is shown + * under lead revenue. Example: Someone clicked on a Shopping ad for a hat then bought the same + * hat and a shirt. The hat is priced $10 and the shirt is priced $20. The lead revenue of this + * order is $10. This metric is only available if you report conversions with cart data. This + * metric is a monetary value and returned in the customer's currency by default. See the + * metrics_currency parameter at https://developers.google.com/search-ads/reporting/query/query- + * structure#parameters_clause + * @return value or {@code null} for none + */ + public java.lang.Long getClientAccountLeadRevenueMicros() { + return clientAccountLeadRevenueMicros; + } + + /** + * Client account lead revenue is the total amount you made from products sold as a result of + * advertising the same product. How it works: You report conversions with cart data for completed + * purchases on your website. If the ad that was interacted with before the purchase has an + * associated product (see Shopping Ads) then this product is considered the advertised product. + * Any product included in the order the customer places is a sold product. If the advertised and + * sold products match, then the total value you made from the sales of these products is shown + * under lead revenue. Example: Someone clicked on a Shopping ad for a hat then bought the same + * hat and a shirt. The hat is priced $10 and the shirt is priced $20. The lead revenue of this + * order is $10. This metric is only available if you report conversions with cart data. This + * metric is a monetary value and returned in the customer's currency by default. See the + * metrics_currency parameter at https://developers.google.com/search-ads/reporting/query/query- + * structure#parameters_clause + * @param clientAccountLeadRevenueMicros clientAccountLeadRevenueMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setClientAccountLeadRevenueMicros(java.lang.Long clientAccountLeadRevenueMicros) { + this.clientAccountLeadRevenueMicros = clientAccountLeadRevenueMicros; + return this; + } + + /** + * Client account lead units sold is the total number of products sold as a result of advertising + * the same product. How it works: You report conversions with cart data for completed purchases + * on your website. If the ad that was interacted with before the purchase has an associated + * product (see Shopping Ads) then this product is considered the advertised product. Any product + * included in the order the customer places is a sold product. If the advertised and sold + * products match, then the total number of these products sold is shown under lead units sold. + * Example: Someone clicked on a Shopping ad for a hat then bought the same hat, a shirt and a + * jacket. The lead units sold in this order is 1. This metric is only available if you report + * conversions with cart data. + * @return value or {@code null} for none + */ + public java.lang.Double getClientAccountLeadUnitsSold() { + return clientAccountLeadUnitsSold; + } + + /** + * Client account lead units sold is the total number of products sold as a result of advertising + * the same product. How it works: You report conversions with cart data for completed purchases + * on your website. If the ad that was interacted with before the purchase has an associated + * product (see Shopping Ads) then this product is considered the advertised product. Any product + * included in the order the customer places is a sold product. If the advertised and sold + * products match, then the total number of these products sold is shown under lead units sold. + * Example: Someone clicked on a Shopping ad for a hat then bought the same hat, a shirt and a + * jacket. The lead units sold in this order is 1. This metric is only available if you report + * conversions with cart data. + * @param clientAccountLeadUnitsSold clientAccountLeadUnitsSold or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setClientAccountLeadUnitsSold(java.lang.Double clientAccountLeadUnitsSold) { + this.clientAccountLeadUnitsSold = clientAccountLeadUnitsSold; + return this; + } + + /** + * The total number of view-through conversions. These happen when a customer sees an image or + * rich media ad, then later completes a conversion on your site without interacting with (for + * example, clicking on) another ad. + * @return value or {@code null} for none + */ + public java.lang.Long getClientAccountViewThroughConversions() { + return clientAccountViewThroughConversions; + } + + /** + * The total number of view-through conversions. These happen when a customer sees an image or + * rich media ad, then later completes a conversion on your site without interacting with (for + * example, clicking on) another ad. + * @param clientAccountViewThroughConversions clientAccountViewThroughConversions or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setClientAccountViewThroughConversions(java.lang.Long clientAccountViewThroughConversions) { + this.clientAccountViewThroughConversions = clientAccountViewThroughConversions; + return this; + } + + /** + * The estimated percent of times that your ad was eligible to show on the Display Network but + * didn't because your budget was too low. Note: Content budget lost impression share is reported + * in the range of 0 to 0.9. Any value above 0.9 is reported as 0.9001. + * @return value or {@code null} for none + */ + public java.lang.Double getContentBudgetLostImpressionShare() { + return contentBudgetLostImpressionShare; + } + + /** + * The estimated percent of times that your ad was eligible to show on the Display Network but + * didn't because your budget was too low. Note: Content budget lost impression share is reported + * in the range of 0 to 0.9. Any value above 0.9 is reported as 0.9001. + * @param contentBudgetLostImpressionShare contentBudgetLostImpressionShare or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setContentBudgetLostImpressionShare(java.lang.Double contentBudgetLostImpressionShare) { + this.contentBudgetLostImpressionShare = contentBudgetLostImpressionShare; + return this; + } + + /** + * The impressions you've received on the Display Network divided by the estimated number of + * impressions you were eligible to receive. Note: Content impression share is reported in the + * range of 0.1 to 1. Any value below 0.1 is reported as 0.0999. + * @return value or {@code null} for none + */ + public java.lang.Double getContentImpressionShare() { + return contentImpressionShare; + } + + /** + * The impressions you've received on the Display Network divided by the estimated number of + * impressions you were eligible to receive. Note: Content impression share is reported in the + * range of 0.1 to 1. Any value below 0.1 is reported as 0.0999. + * @param contentImpressionShare contentImpressionShare or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setContentImpressionShare(java.lang.Double contentImpressionShare) { + this.contentImpressionShare = contentImpressionShare; + return this; + } + + /** + * The estimated percentage of impressions on the Display Network that your ads didn't receive due + * to poor Ad Rank. Note: Content rank lost impression share is reported in the range of 0 to 0.9. + * Any value above 0.9 is reported as 0.9001. + * @return value or {@code null} for none + */ + public java.lang.Double getContentRankLostImpressionShare() { + return contentRankLostImpressionShare; + } + + /** + * The estimated percentage of impressions on the Display Network that your ads didn't receive due + * to poor Ad Rank. Note: Content rank lost impression share is reported in the range of 0 to 0.9. + * Any value above 0.9 is reported as 0.9001. + * @param contentRankLostImpressionShare contentRankLostImpressionShare or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setContentRankLostImpressionShare(java.lang.Double contentRankLostImpressionShare) { + this.contentRankLostImpressionShare = contentRankLostImpressionShare; + return this; + } + + /** + * The conversion custom metrics. + * @return value or {@code null} for none + */ + public java.util.List getConversionCustomMetrics() { + return conversionCustomMetrics; + } + + /** + * The conversion custom metrics. + * @param conversionCustomMetrics conversionCustomMetrics or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setConversionCustomMetrics(java.util.List conversionCustomMetrics) { + this.conversionCustomMetrics = conversionCustomMetrics; + return this; + } + + /** + * The number of conversions. This only includes conversion actions which + * include_in_conversions_metric attribute is set to true. If you use conversion-based bidding, + * your bid strategies will optimize for these conversions. + * @return value or {@code null} for none + */ + public java.lang.Double getConversions() { + return conversions; + } + + /** + * The number of conversions. This only includes conversion actions which + * include_in_conversions_metric attribute is set to true. If you use conversion-based bidding, + * your bid strategies will optimize for these conversions. + * @param conversions conversions or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setConversions(java.lang.Double conversions) { + this.conversions = conversions; + return this; + } + + /** + * The sum of conversions by conversion date for biddable conversion types. Can be fractional due + * to attribution modeling. When this column is selected with date, the values in date column + * means the conversion date. + * @return value or {@code null} for none + */ + public java.lang.Double getConversionsByConversionDate() { + return conversionsByConversionDate; + } + + /** + * The sum of conversions by conversion date for biddable conversion types. Can be fractional due + * to attribution modeling. When this column is selected with date, the values in date column + * means the conversion date. + * @param conversionsByConversionDate conversionsByConversionDate or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setConversionsByConversionDate(java.lang.Double conversionsByConversionDate) { + this.conversionsByConversionDate = conversionsByConversionDate; + return this; + } + + /** + * Average biddable conversions (from interaction) per conversion eligible interaction. Shows how + * often, on average, an ad interaction leads to a biddable conversion. + * @return value or {@code null} for none + */ + public java.lang.Double getConversionsFromInteractionsRate() { + return conversionsFromInteractionsRate; + } + + /** + * Average biddable conversions (from interaction) per conversion eligible interaction. Shows how + * often, on average, an ad interaction leads to a biddable conversion. + * @param conversionsFromInteractionsRate conversionsFromInteractionsRate or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setConversionsFromInteractionsRate(java.lang.Double conversionsFromInteractionsRate) { + this.conversionsFromInteractionsRate = conversionsFromInteractionsRate; + return this; + } + + /** + * The value of conversions from interactions divided by the number of ad interactions. This only + * includes conversion actions which include_in_conversions_metric attribute is set to true. If + * you use conversion-based bidding, your bid strategies will optimize for these conversions. + * @return value or {@code null} for none + */ + public java.lang.Double getConversionsFromInteractionsValuePerInteraction() { + return conversionsFromInteractionsValuePerInteraction; + } + + /** + * The value of conversions from interactions divided by the number of ad interactions. This only + * includes conversion actions which include_in_conversions_metric attribute is set to true. If + * you use conversion-based bidding, your bid strategies will optimize for these conversions. + * @param conversionsFromInteractionsValuePerInteraction conversionsFromInteractionsValuePerInteraction or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setConversionsFromInteractionsValuePerInteraction(java.lang.Double conversionsFromInteractionsValuePerInteraction) { + this.conversionsFromInteractionsValuePerInteraction = conversionsFromInteractionsValuePerInteraction; + return this; + } + + /** + * The sum of conversion values for the conversions included in the "conversions" field. This + * metric is useful only if you entered a value for your conversion actions. + * @return value or {@code null} for none + */ + public java.lang.Double getConversionsValue() { + return conversionsValue; + } + + /** + * The sum of conversion values for the conversions included in the "conversions" field. This + * metric is useful only if you entered a value for your conversion actions. + * @param conversionsValue conversionsValue or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setConversionsValue(java.lang.Double conversionsValue) { + this.conversionsValue = conversionsValue; + return this; + } + + /** + * The sum of biddable conversions value by conversion date. When this column is selected with + * date, the values in date column means the conversion date. + * @return value or {@code null} for none + */ + public java.lang.Double getConversionsValueByConversionDate() { + return conversionsValueByConversionDate; + } + + /** + * The sum of biddable conversions value by conversion date. When this column is selected with + * date, the values in date column means the conversion date. + * @param conversionsValueByConversionDate conversionsValueByConversionDate or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setConversionsValueByConversionDate(java.lang.Double conversionsValueByConversionDate) { + this.conversionsValueByConversionDate = conversionsValueByConversionDate; + return this; + } + + /** + * The value of biddable conversion divided by the total cost of conversion eligible interactions. + * @return value or {@code null} for none + */ + public java.lang.Double getConversionsValuePerCost() { + return conversionsValuePerCost; + } + + /** + * The value of biddable conversion divided by the total cost of conversion eligible interactions. + * @param conversionsValuePerCost conversionsValuePerCost or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setConversionsValuePerCost(java.lang.Double conversionsValuePerCost) { + this.conversionsValuePerCost = conversionsValuePerCost; + return this; + } + + /** + * The sum of your cost-per-click (CPC) and cost-per-thousand impressions (CPM) costs during this + * period. This metric is a monetary value and returned in the customer's currency by default. See + * the metrics_currency parameter at https://developers.google.com/search- + * ads/reporting/query/query-structure#parameters_clause + * @return value or {@code null} for none + */ + public java.lang.Long getCostMicros() { + return costMicros; + } + + /** + * The sum of your cost-per-click (CPC) and cost-per-thousand impressions (CPM) costs during this + * period. This metric is a monetary value and returned in the customer's currency by default. See + * the metrics_currency parameter at https://developers.google.com/search- + * ads/reporting/query/query-structure#parameters_clause + * @param costMicros costMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setCostMicros(java.lang.Long costMicros) { + this.costMicros = costMicros; + return this; + } + + /** + * Cost of goods sold (COGS) is the total cost of the products you sold in orders attributed to + * your ads. How it works: You can add a cost of goods sold value to every product in Merchant + * Center. If you report conversions with cart data, the products you sold are matched with their + * cost of goods sold value and this can be used to calculate the gross profit you made on each + * order. Example: Someone clicked on a Shopping ad for a hat then bought the same hat and a + * shirt. The hat has a cost of goods sold value of $3, the shirt has a cost of goods sold value + * of $5. The cost of goods sold for this order is $8 = $3 + $5. This metric is only available if + * you report conversions with cart data. + * @return value or {@code null} for none + */ + public java.lang.Long getCostOfGoodsSoldMicros() { + return costOfGoodsSoldMicros; + } + + /** + * Cost of goods sold (COGS) is the total cost of the products you sold in orders attributed to + * your ads. How it works: You can add a cost of goods sold value to every product in Merchant + * Center. If you report conversions with cart data, the products you sold are matched with their + * cost of goods sold value and this can be used to calculate the gross profit you made on each + * order. Example: Someone clicked on a Shopping ad for a hat then bought the same hat and a + * shirt. The hat has a cost of goods sold value of $3, the shirt has a cost of goods sold value + * of $5. The cost of goods sold for this order is $8 = $3 + $5. This metric is only available if + * you report conversions with cart data. + * @param costOfGoodsSoldMicros costOfGoodsSoldMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setCostOfGoodsSoldMicros(java.lang.Long costOfGoodsSoldMicros) { + this.costOfGoodsSoldMicros = costOfGoodsSoldMicros; + return this; + } + + /** + * The cost of ad interactions divided by all conversions. + * @return value or {@code null} for none + */ + public java.lang.Double getCostPerAllConversions() { + return costPerAllConversions; + } + + /** + * The cost of ad interactions divided by all conversions. + * @param costPerAllConversions costPerAllConversions or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setCostPerAllConversions(java.lang.Double costPerAllConversions) { + this.costPerAllConversions = costPerAllConversions; + return this; + } + + /** + * Average conversion eligible cost per biddable conversion. + * @return value or {@code null} for none + */ + public java.lang.Double getCostPerConversion() { + return costPerConversion; + } + + /** + * Average conversion eligible cost per biddable conversion. + * @param costPerConversion costPerConversion or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setCostPerConversion(java.lang.Double costPerConversion) { + this.costPerConversion = costPerConversion; + return this; + } + + /** + * The cost of ad interactions divided by current model attributed conversions. This only includes + * conversion actions which include_in_conversions_metric attribute is set to true. If you use + * conversion-based bidding, your bid strategies will optimize for these conversions. + * @return value or {@code null} for none + */ + public java.lang.Double getCostPerCurrentModelAttributedConversion() { + return costPerCurrentModelAttributedConversion; + } + + /** + * The cost of ad interactions divided by current model attributed conversions. This only includes + * conversion actions which include_in_conversions_metric attribute is set to true. If you use + * conversion-based bidding, your bid strategies will optimize for these conversions. + * @param costPerCurrentModelAttributedConversion costPerCurrentModelAttributedConversion or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setCostPerCurrentModelAttributedConversion(java.lang.Double costPerCurrentModelAttributedConversion) { + this.costPerCurrentModelAttributedConversion = costPerCurrentModelAttributedConversion; + return this; + } + + /** + * Conversions from when a customer clicks on an ad on one device, then converts on a different + * device or browser. Cross-device conversions are already included in all_conversions. + * @return value or {@code null} for none + */ + public java.lang.Double getCrossDeviceConversions() { + return crossDeviceConversions; + } + + /** + * Conversions from when a customer clicks on an ad on one device, then converts on a different + * device or browser. Cross-device conversions are already included in all_conversions. + * @param crossDeviceConversions crossDeviceConversions or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setCrossDeviceConversions(java.lang.Double crossDeviceConversions) { + this.crossDeviceConversions = crossDeviceConversions; + return this; + } + + /** + * The number of cross-device conversions by conversion date. Details for the by_conversion_date + * columns are available at https://support.google.com/sa360/answer/9250611. + * @return value or {@code null} for none + */ + public java.lang.Double getCrossDeviceConversionsByConversionDate() { + return crossDeviceConversionsByConversionDate; + } + + /** + * The number of cross-device conversions by conversion date. Details for the by_conversion_date + * columns are available at https://support.google.com/sa360/answer/9250611. + * @param crossDeviceConversionsByConversionDate crossDeviceConversionsByConversionDate or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setCrossDeviceConversionsByConversionDate(java.lang.Double crossDeviceConversionsByConversionDate) { + this.crossDeviceConversionsByConversionDate = crossDeviceConversionsByConversionDate; + return this; + } + + /** + * The sum of the value of cross-device conversions. + * @return value or {@code null} for none + */ + public java.lang.Double getCrossDeviceConversionsValue() { + return crossDeviceConversionsValue; + } + + /** + * The sum of the value of cross-device conversions. + * @param crossDeviceConversionsValue crossDeviceConversionsValue or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setCrossDeviceConversionsValue(java.lang.Double crossDeviceConversionsValue) { + this.crossDeviceConversionsValue = crossDeviceConversionsValue; + return this; + } + + /** + * The sum of cross-device conversions value by conversion date. Details for the + * by_conversion_date columns are available at https://support.google.com/sa360/answer/9250611. + * @return value or {@code null} for none + */ + public java.lang.Double getCrossDeviceConversionsValueByConversionDate() { + return crossDeviceConversionsValueByConversionDate; + } + + /** + * The sum of cross-device conversions value by conversion date. Details for the + * by_conversion_date columns are available at https://support.google.com/sa360/answer/9250611. + * @param crossDeviceConversionsValueByConversionDate crossDeviceConversionsValueByConversionDate or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setCrossDeviceConversionsValueByConversionDate(java.lang.Double crossDeviceConversionsValueByConversionDate) { + this.crossDeviceConversionsValueByConversionDate = crossDeviceConversionsValueByConversionDate; + return this; + } + + /** + * Cross-sell cost of goods sold (COGS) is the total cost of products sold as a result of + * advertising a different product. How it works: You report conversions with cart data for + * completed purchases on your website. If the ad that was interacted with before the purchase has + * an associated product (see Shopping Ads) then this product is considered the advertised + * product. Any product included in the order the customer places is a sold product. If these + * products don't match then this is considered cross-sell. Cross-sell cost of goods sold is the + * total cost of the products sold that weren't advertised. Example: Someone clicked on a Shopping + * ad for a hat then bought the same hat and a shirt. The hat has a cost of goods sold value of + * $3, the shirt has a cost of goods sold value of $5. The cross-sell cost of goods sold for this + * order is $5. This metric is only available if you report conversions with cart data. This + * metric is a monetary value and returned in the customer's currency by default. See the + * metrics_currency parameter at https://developers.google.com/search-ads/reporting/query/query- + * structure#parameters_clause + * @return value or {@code null} for none + */ + public java.lang.Long getCrossSellCostOfGoodsSoldMicros() { + return crossSellCostOfGoodsSoldMicros; + } + + /** + * Cross-sell cost of goods sold (COGS) is the total cost of products sold as a result of + * advertising a different product. How it works: You report conversions with cart data for + * completed purchases on your website. If the ad that was interacted with before the purchase has + * an associated product (see Shopping Ads) then this product is considered the advertised + * product. Any product included in the order the customer places is a sold product. If these + * products don't match then this is considered cross-sell. Cross-sell cost of goods sold is the + * total cost of the products sold that weren't advertised. Example: Someone clicked on a Shopping + * ad for a hat then bought the same hat and a shirt. The hat has a cost of goods sold value of + * $3, the shirt has a cost of goods sold value of $5. The cross-sell cost of goods sold for this + * order is $5. This metric is only available if you report conversions with cart data. This + * metric is a monetary value and returned in the customer's currency by default. See the + * metrics_currency parameter at https://developers.google.com/search-ads/reporting/query/query- + * structure#parameters_clause + * @param crossSellCostOfGoodsSoldMicros crossSellCostOfGoodsSoldMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setCrossSellCostOfGoodsSoldMicros(java.lang.Long crossSellCostOfGoodsSoldMicros) { + this.crossSellCostOfGoodsSoldMicros = crossSellCostOfGoodsSoldMicros; + return this; + } + + /** + * Cross-sell gross profit is the profit you made from products sold as a result of advertising a + * different product, minus cost of goods sold (COGS). How it works: You report conversions with + * cart data for completed purchases on your website. If the ad that was interacted with before + * the purchase has an associated product (see Shopping Ads) then this product is considered the + * advertised product. Any product included in the purchase is a sold product. If these products + * don't match then this is considered cross-sell. Cross-sell gross profit is the revenue you made + * from cross-sell attributed to your ads minus the cost of the goods sold. Example: Someone + * clicked on a Shopping ad for a hat then bought the same hat and a shirt. The shirt is priced + * $20 and has a cost of goods sold value of $5. The cross-sell gross profit of this order is $15 + * = $20 - $5. This metric is only available if you report conversions with cart data. This metric + * is a monetary value and returned in the customer's currency by default. See the + * metrics_currency parameter at https://developers.google.com/search-ads/reporting/query/query- + * structure#parameters_clause + * @return value or {@code null} for none + */ + public java.lang.Long getCrossSellGrossProfitMicros() { + return crossSellGrossProfitMicros; + } + + /** + * Cross-sell gross profit is the profit you made from products sold as a result of advertising a + * different product, minus cost of goods sold (COGS). How it works: You report conversions with + * cart data for completed purchases on your website. If the ad that was interacted with before + * the purchase has an associated product (see Shopping Ads) then this product is considered the + * advertised product. Any product included in the purchase is a sold product. If these products + * don't match then this is considered cross-sell. Cross-sell gross profit is the revenue you made + * from cross-sell attributed to your ads minus the cost of the goods sold. Example: Someone + * clicked on a Shopping ad for a hat then bought the same hat and a shirt. The shirt is priced + * $20 and has a cost of goods sold value of $5. The cross-sell gross profit of this order is $15 + * = $20 - $5. This metric is only available if you report conversions with cart data. This metric + * is a monetary value and returned in the customer's currency by default. See the + * metrics_currency parameter at https://developers.google.com/search-ads/reporting/query/query- + * structure#parameters_clause + * @param crossSellGrossProfitMicros crossSellGrossProfitMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setCrossSellGrossProfitMicros(java.lang.Long crossSellGrossProfitMicros) { + this.crossSellGrossProfitMicros = crossSellGrossProfitMicros; + return this; + } + + /** + * Cross-sell revenue is the total amount you made from products sold as a result of advertising a + * different product. How it works: You report conversions with cart data for completed purchases + * on your website. If the ad that was interacted with before the purchase has an associated + * product (see Shopping Ads) then this product is considered the advertised product. Any product + * included in the order the customer places is a sold product. If these products don't match then + * this is considered cross-sell. Cross-sell revenue is the total value you made from cross-sell + * attributed to your ads. Example: Someone clicked on a Shopping ad for a hat then bought the + * same hat and a shirt. The hat is priced $10 and the shirt is priced $20. The cross-sell revenue + * of this order is $20. This metric is only available if you report conversions with cart data. + * This metric is a monetary value and returned in the customer's currency by default. See the + * metrics_currency parameter at https://developers.google.com/search-ads/reporting/query/query- + * structure#parameters_clause + * @return value or {@code null} for none + */ + public java.lang.Long getCrossSellRevenueMicros() { + return crossSellRevenueMicros; + } + + /** + * Cross-sell revenue is the total amount you made from products sold as a result of advertising a + * different product. How it works: You report conversions with cart data for completed purchases + * on your website. If the ad that was interacted with before the purchase has an associated + * product (see Shopping Ads) then this product is considered the advertised product. Any product + * included in the order the customer places is a sold product. If these products don't match then + * this is considered cross-sell. Cross-sell revenue is the total value you made from cross-sell + * attributed to your ads. Example: Someone clicked on a Shopping ad for a hat then bought the + * same hat and a shirt. The hat is priced $10 and the shirt is priced $20. The cross-sell revenue + * of this order is $20. This metric is only available if you report conversions with cart data. + * This metric is a monetary value and returned in the customer's currency by default. See the + * metrics_currency parameter at https://developers.google.com/search-ads/reporting/query/query- + * structure#parameters_clause + * @param crossSellRevenueMicros crossSellRevenueMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setCrossSellRevenueMicros(java.lang.Long crossSellRevenueMicros) { + this.crossSellRevenueMicros = crossSellRevenueMicros; + return this; + } + + /** + * Cross-sell units sold is the total number of products sold as a result of advertising a + * different product. How it works: You report conversions with cart data for completed purchases + * on your website. If the ad that was interacted with before the purchase has an associated + * product (see Shopping Ads) then this product is considered the advertised product. Any product + * included in the order the customer places is a sold product. If these products don't match then + * this is considered cross-sell. Cross-sell units sold is the total number of cross-sold products + * from all orders attributed to your ads. Example: Someone clicked on a Shopping ad for a hat + * then bought the same hat, a shirt and a jacket. The cross-sell units sold in this order is 2. + * This metric is only available if you report conversions with cart data. + * @return value or {@code null} for none + */ + public java.lang.Double getCrossSellUnitsSold() { + return crossSellUnitsSold; + } + + /** + * Cross-sell units sold is the total number of products sold as a result of advertising a + * different product. How it works: You report conversions with cart data for completed purchases + * on your website. If the ad that was interacted with before the purchase has an associated + * product (see Shopping Ads) then this product is considered the advertised product. Any product + * included in the order the customer places is a sold product. If these products don't match then + * this is considered cross-sell. Cross-sell units sold is the total number of cross-sold products + * from all orders attributed to your ads. Example: Someone clicked on a Shopping ad for a hat + * then bought the same hat, a shirt and a jacket. The cross-sell units sold in this order is 2. + * This metric is only available if you report conversions with cart data. + * @param crossSellUnitsSold crossSellUnitsSold or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setCrossSellUnitsSold(java.lang.Double crossSellUnitsSold) { + this.crossSellUnitsSold = crossSellUnitsSold; + return this; + } + + /** + * The number of clicks your ad receives (Clicks) divided by the number of times your ad is shown + * (Impressions). + * @return value or {@code null} for none + */ + public java.lang.Double getCtr() { + return ctr; + } + + /** + * The number of clicks your ad receives (Clicks) divided by the number of times your ad is shown + * (Impressions). + * @param ctr ctr or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setCtr(java.lang.Double ctr) { + this.ctr = ctr; + return this; + } + + /** + * The percentage of clicks that have been filtered out of your total number of clicks (filtered + + * non-filtered clicks) due to being general invalid clicks. These are clicks Google considers + * illegitimate that are detected through routine means of filtration (that is, known invalid + * data-center traffic, bots and spiders or other crawlers, irregular patterns, etc). You're not + * charged for them, and they don't affect your account statistics. See the help page at + * https://support.google.com/campaignmanager/answer/6076504 for details. + * @return value or {@code null} for none + */ + public java.lang.Double getGeneralInvalidClickRate() { + return generalInvalidClickRate; + } + + /** + * The percentage of clicks that have been filtered out of your total number of clicks (filtered + + * non-filtered clicks) due to being general invalid clicks. These are clicks Google considers + * illegitimate that are detected through routine means of filtration (that is, known invalid + * data-center traffic, bots and spiders or other crawlers, irregular patterns, etc). You're not + * charged for them, and they don't affect your account statistics. See the help page at + * https://support.google.com/campaignmanager/answer/6076504 for details. + * @param generalInvalidClickRate generalInvalidClickRate or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setGeneralInvalidClickRate(java.lang.Double generalInvalidClickRate) { + this.generalInvalidClickRate = generalInvalidClickRate; + return this; + } + + /** + * Number of general invalid clicks. These are a subset of your invalid clicks that are detected + * through routine means of filtration (such as known invalid data-center traffic, bots and + * spiders or other crawlers, irregular patterns, etc.). You're not charged for them, and they + * don't affect your account statistics. See the help page at + * https://support.google.com/campaignmanager/answer/6076504 for details. + * @return value or {@code null} for none + */ + public java.lang.Long getGeneralInvalidClicks() { + return generalInvalidClicks; + } + + /** + * Number of general invalid clicks. These are a subset of your invalid clicks that are detected + * through routine means of filtration (such as known invalid data-center traffic, bots and + * spiders or other crawlers, irregular patterns, etc.). You're not charged for them, and they + * don't affect your account statistics. See the help page at + * https://support.google.com/campaignmanager/answer/6076504 for details. + * @param generalInvalidClicks generalInvalidClicks or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setGeneralInvalidClicks(java.lang.Long generalInvalidClicks) { + this.generalInvalidClicks = generalInvalidClicks; + return this; + } + + /** + * Gross profit margin is the percentage gross profit you made from orders attributed to your ads, + * after taking out the cost of goods sold (COGS). How it works: You report conversions with cart + * data for completed purchases on your website. Gross profit margin is the gross profit you made + * divided by your total revenue and multiplied by 100%. Gross profit margin calculations only + * include products that have a cost of goods sold value in Merchant Center. Example: Someone + * bought a hat and a shirt in an order on your website. The hat is priced $10 and has a cost of + * goods sold value of $3. The shirt is priced $20 but has no cost of goods sold value. Gross + * profit margin for this order will only take into account the hat because it has a cost of goods + * sold value, so it's 70% = ($10 - $3)/$10 x 100%. This metric is only available if you report + * conversions with cart data. + * @return value or {@code null} for none + */ + public java.lang.Double getGrossProfitMargin() { + return grossProfitMargin; + } + + /** + * Gross profit margin is the percentage gross profit you made from orders attributed to your ads, + * after taking out the cost of goods sold (COGS). How it works: You report conversions with cart + * data for completed purchases on your website. Gross profit margin is the gross profit you made + * divided by your total revenue and multiplied by 100%. Gross profit margin calculations only + * include products that have a cost of goods sold value in Merchant Center. Example: Someone + * bought a hat and a shirt in an order on your website. The hat is priced $10 and has a cost of + * goods sold value of $3. The shirt is priced $20 but has no cost of goods sold value. Gross + * profit margin for this order will only take into account the hat because it has a cost of goods + * sold value, so it's 70% = ($10 - $3)/$10 x 100%. This metric is only available if you report + * conversions with cart data. + * @param grossProfitMargin grossProfitMargin or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setGrossProfitMargin(java.lang.Double grossProfitMargin) { + this.grossProfitMargin = grossProfitMargin; + return this; + } + + /** + * Gross profit is the profit you made from orders attributed to your ads minus the cost of goods + * sold (COGS). How it works: Gross profit is the revenue you made from sales attributed to your + * ads minus cost of goods sold. Gross profit calculations only include products that have a cost + * of goods sold value in Merchant Center. Example: Someone clicked on a Shopping ad for a hat + * then bought the same hat and a shirt in an order from your website. The hat is priced $10 and + * the shirt is priced $20. The hat has a cost of goods sold value of $3, but the shirt has no + * cost of goods sold value. Gross profit for this order will only take into account the hat, so + * it's $7 = $10 - $3. This metric is only available if you report conversions with cart data. + * @return value or {@code null} for none + */ + public java.lang.Long getGrossProfitMicros() { + return grossProfitMicros; + } + + /** + * Gross profit is the profit you made from orders attributed to your ads minus the cost of goods + * sold (COGS). How it works: Gross profit is the revenue you made from sales attributed to your + * ads minus cost of goods sold. Gross profit calculations only include products that have a cost + * of goods sold value in Merchant Center. Example: Someone clicked on a Shopping ad for a hat + * then bought the same hat and a shirt in an order from your website. The hat is priced $10 and + * the shirt is priced $20. The hat has a cost of goods sold value of $3, but the shirt has no + * cost of goods sold value. Gross profit for this order will only take into account the hat, so + * it's $7 = $10 - $3. This metric is only available if you report conversions with cart data. + * @param grossProfitMicros grossProfitMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setGrossProfitMicros(java.lang.Long grossProfitMicros) { + this.grossProfitMicros = grossProfitMicros; + return this; + } + + /** + * The creative historical quality score. + * @return value or {@code null} for none + */ + public java.lang.String getHistoricalCreativeQualityScore() { + return historicalCreativeQualityScore; + } + + /** + * The creative historical quality score. + * @param historicalCreativeQualityScore historicalCreativeQualityScore or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setHistoricalCreativeQualityScore(java.lang.String historicalCreativeQualityScore) { + this.historicalCreativeQualityScore = historicalCreativeQualityScore; + return this; + } + + /** + * The quality of historical landing page experience. + * @return value or {@code null} for none + */ + public java.lang.String getHistoricalLandingPageQualityScore() { + return historicalLandingPageQualityScore; + } + + /** + * The quality of historical landing page experience. + * @param historicalLandingPageQualityScore historicalLandingPageQualityScore or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setHistoricalLandingPageQualityScore(java.lang.String historicalLandingPageQualityScore) { + this.historicalLandingPageQualityScore = historicalLandingPageQualityScore; + return this; + } + + /** + * The historical quality score. + * @return value or {@code null} for none + */ + public java.lang.Long getHistoricalQualityScore() { + return historicalQualityScore; + } + + /** + * The historical quality score. + * @param historicalQualityScore historicalQualityScore or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setHistoricalQualityScore(java.lang.Long historicalQualityScore) { + this.historicalQualityScore = historicalQualityScore; + return this; + } + + /** + * The historical search predicted click through rate (CTR). + * @return value or {@code null} for none + */ + public java.lang.String getHistoricalSearchPredictedCtr() { + return historicalSearchPredictedCtr; + } + + /** + * The historical search predicted click through rate (CTR). + * @param historicalSearchPredictedCtr historicalSearchPredictedCtr or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setHistoricalSearchPredictedCtr(java.lang.String historicalSearchPredictedCtr) { + this.historicalSearchPredictedCtr = historicalSearchPredictedCtr; + return this; + } + + /** + * Count of how often your ad has appeared on a search results page or website on the Google + * Network. + * @return value or {@code null} for none + */ + public java.lang.Long getImpressions() { + return impressions; + } + + /** + * Count of how often your ad has appeared on a search results page or website on the Google + * Network. + * @param impressions impressions or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setImpressions(java.lang.Long impressions) { + this.impressions = impressions; + return this; + } + + /** + * The types of payable and free interactions. + * @return value or {@code null} for none + */ + public java.util.List getInteractionEventTypes() { + return interactionEventTypes; + } + + /** + * The types of payable and free interactions. + * @param interactionEventTypes interactionEventTypes or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setInteractionEventTypes(java.util.List interactionEventTypes) { + this.interactionEventTypes = interactionEventTypes; + return this; + } + + /** + * How often people interact with your ad after it is shown to them. This is the number of + * interactions divided by the number of times your ad is shown. + * @return value or {@code null} for none + */ + public java.lang.Double getInteractionRate() { + return interactionRate; + } + + /** + * How often people interact with your ad after it is shown to them. This is the number of + * interactions divided by the number of times your ad is shown. + * @param interactionRate interactionRate or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setInteractionRate(java.lang.Double interactionRate) { + this.interactionRate = interactionRate; + return this; + } + + /** + * The number of interactions. An interaction is the main user action associated with an ad + * format-clicks for text and shopping ads, views for video ads, and so on. + * @return value or {@code null} for none + */ + public java.lang.Long getInteractions() { + return interactions; + } + + /** + * The number of interactions. An interaction is the main user action associated with an ad + * format-clicks for text and shopping ads, views for video ads, and so on. + * @param interactions interactions or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setInteractions(java.lang.Long interactions) { + this.interactions = interactions; + return this; + } + + /** + * The percentage of clicks filtered out of your total number of clicks (filtered + non-filtered + * clicks) during the reporting period. + * @return value or {@code null} for none + */ + public java.lang.Double getInvalidClickRate() { + return invalidClickRate; + } + + /** + * The percentage of clicks filtered out of your total number of clicks (filtered + non-filtered + * clicks) during the reporting period. + * @param invalidClickRate invalidClickRate or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setInvalidClickRate(java.lang.Double invalidClickRate) { + this.invalidClickRate = invalidClickRate; + return this; + } + + /** + * Number of clicks Google considers illegitimate and doesn't charge you for. + * @return value or {@code null} for none + */ + public java.lang.Long getInvalidClicks() { + return invalidClicks; + } + + /** + * Number of clicks Google considers illegitimate and doesn't charge you for. + * @param invalidClicks invalidClicks or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setInvalidClicks(java.lang.Long invalidClicks) { + this.invalidClicks = invalidClicks; + return this; + } + + /** + * Lead cost of goods sold (COGS) is the total cost of products sold as a result of advertising + * the same product. How it works: You report conversions with cart data for completed purchases + * on your website. If the ad that was interacted with has an associated product (see Shopping + * Ads) then this product is considered the advertised product. Any product included in the order + * the customer places is a sold product. If the advertised and sold products match, then the cost + * of these goods is counted under lead cost of goods sold. Example: Someone clicked on a Shopping + * ad for a hat then bought the same hat and a shirt. The hat has a cost of goods sold value of + * $3, the shirt has a cost of goods sold value of $5. The lead cost of goods sold for this order + * is $3. This metric is only available if you report conversions with cart data. This metric is a + * monetary value and returned in the customer's currency by default. See the metrics_currency + * parameter at https://developers.google.com/search-ads/reporting/query/query- + * structure#parameters_clause + * @return value or {@code null} for none + */ + public java.lang.Long getLeadCostOfGoodsSoldMicros() { + return leadCostOfGoodsSoldMicros; + } + + /** + * Lead cost of goods sold (COGS) is the total cost of products sold as a result of advertising + * the same product. How it works: You report conversions with cart data for completed purchases + * on your website. If the ad that was interacted with has an associated product (see Shopping + * Ads) then this product is considered the advertised product. Any product included in the order + * the customer places is a sold product. If the advertised and sold products match, then the cost + * of these goods is counted under lead cost of goods sold. Example: Someone clicked on a Shopping + * ad for a hat then bought the same hat and a shirt. The hat has a cost of goods sold value of + * $3, the shirt has a cost of goods sold value of $5. The lead cost of goods sold for this order + * is $3. This metric is only available if you report conversions with cart data. This metric is a + * monetary value and returned in the customer's currency by default. See the metrics_currency + * parameter at https://developers.google.com/search-ads/reporting/query/query- + * structure#parameters_clause + * @param leadCostOfGoodsSoldMicros leadCostOfGoodsSoldMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setLeadCostOfGoodsSoldMicros(java.lang.Long leadCostOfGoodsSoldMicros) { + this.leadCostOfGoodsSoldMicros = leadCostOfGoodsSoldMicros; + return this; + } + + /** + * Lead gross profit is the profit you made from products sold as a result of advertising the same + * product, minus cost of goods sold (COGS). How it works: You report conversions with cart data + * for completed purchases on your website. If the ad that was interacted with before the purchase + * has an associated product (see Shopping Ads) then this product is considered the advertised + * product. Any product included in the order the customer places is a sold product. If the + * advertised and sold products match, then the revenue you made from these sales minus the cost + * of goods sold is your lead gross profit. Example: Someone clicked on a Shopping ad for a hat + * then bought the same hat and a shirt. The hat is priced $10 and has a cost of goods sold value + * of $3. The lead gross profit of this order is $7 = $10 - $3. This metric is only available if + * you report conversions with cart data. This metric is a monetary value and returned in the + * customer's currency by default. See the metrics_currency parameter at + * https://developers.google.com/search-ads/reporting/query/query-structure#parameters_clause + * @return value or {@code null} for none + */ + public java.lang.Long getLeadGrossProfitMicros() { + return leadGrossProfitMicros; + } + + /** + * Lead gross profit is the profit you made from products sold as a result of advertising the same + * product, minus cost of goods sold (COGS). How it works: You report conversions with cart data + * for completed purchases on your website. If the ad that was interacted with before the purchase + * has an associated product (see Shopping Ads) then this product is considered the advertised + * product. Any product included in the order the customer places is a sold product. If the + * advertised and sold products match, then the revenue you made from these sales minus the cost + * of goods sold is your lead gross profit. Example: Someone clicked on a Shopping ad for a hat + * then bought the same hat and a shirt. The hat is priced $10 and has a cost of goods sold value + * of $3. The lead gross profit of this order is $7 = $10 - $3. This metric is only available if + * you report conversions with cart data. This metric is a monetary value and returned in the + * customer's currency by default. See the metrics_currency parameter at + * https://developers.google.com/search-ads/reporting/query/query-structure#parameters_clause + * @param leadGrossProfitMicros leadGrossProfitMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setLeadGrossProfitMicros(java.lang.Long leadGrossProfitMicros) { + this.leadGrossProfitMicros = leadGrossProfitMicros; + return this; + } + + /** + * Lead revenue is the total amount you made from products sold as a result of advertising the + * same product. How it works: You report conversions with cart data for completed purchases on + * your website. If the ad that was interacted with before the purchase has an associated product + * (see Shopping Ads) then this product is considered the advertised product. Any product included + * in the order the customer places is a sold product. If the advertised and sold products match, + * then the total value you made from the sales of these products is shown under lead revenue. + * Example: Someone clicked on a Shopping ad for a hat then bought the same hat and a shirt. The + * hat is priced $10 and the shirt is priced $20. The lead revenue of this order is $10. This + * metric is only available if you report conversions with cart data. This metric is a monetary + * value and returned in the customer's currency by default. See the metrics_currency parameter at + * https://developers.google.com/search-ads/reporting/query/query-structure#parameters_clause + * @return value or {@code null} for none + */ + public java.lang.Long getLeadRevenueMicros() { + return leadRevenueMicros; + } + + /** + * Lead revenue is the total amount you made from products sold as a result of advertising the + * same product. How it works: You report conversions with cart data for completed purchases on + * your website. If the ad that was interacted with before the purchase has an associated product + * (see Shopping Ads) then this product is considered the advertised product. Any product included + * in the order the customer places is a sold product. If the advertised and sold products match, + * then the total value you made from the sales of these products is shown under lead revenue. + * Example: Someone clicked on a Shopping ad for a hat then bought the same hat and a shirt. The + * hat is priced $10 and the shirt is priced $20. The lead revenue of this order is $10. This + * metric is only available if you report conversions with cart data. This metric is a monetary + * value and returned in the customer's currency by default. See the metrics_currency parameter at + * https://developers.google.com/search-ads/reporting/query/query-structure#parameters_clause + * @param leadRevenueMicros leadRevenueMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setLeadRevenueMicros(java.lang.Long leadRevenueMicros) { + this.leadRevenueMicros = leadRevenueMicros; + return this; + } + + /** + * Lead units sold is the total number of products sold as a result of advertising the same + * product. How it works: You report conversions with cart data for completed purchases on your + * website. If the ad that was interacted with before the purchase has an associated product (see + * Shopping Ads) then this product is considered the advertised product. Any product included in + * the order the customer places is a sold product. If the advertised and sold products match, + * then the total number of these products sold is shown under lead units sold. Example: Someone + * clicked on a Shopping ad for a hat then bought the same hat, a shirt and a jacket. The lead + * units sold in this order is 1. This metric is only available if you report conversions with + * cart data. + * @return value or {@code null} for none + */ + public java.lang.Double getLeadUnitsSold() { + return leadUnitsSold; + } + + /** + * Lead units sold is the total number of products sold as a result of advertising the same + * product. How it works: You report conversions with cart data for completed purchases on your + * website. If the ad that was interacted with before the purchase has an associated product (see + * Shopping Ads) then this product is considered the advertised product. Any product included in + * the order the customer places is a sold product. If the advertised and sold products match, + * then the total number of these products sold is shown under lead units sold. Example: Someone + * clicked on a Shopping ad for a hat then bought the same hat, a shirt and a jacket. The lead + * units sold in this order is 1. This metric is only available if you report conversions with + * cart data. + * @param leadUnitsSold leadUnitsSold or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setLeadUnitsSold(java.lang.Double leadUnitsSold) { + this.leadUnitsSold = leadUnitsSold; + return this; + } + + /** + * The percentage of mobile clicks that go to a mobile-friendly page. + * @return value or {@code null} for none + */ + public java.lang.Double getMobileFriendlyClicksPercentage() { + return mobileFriendlyClicksPercentage; + } + + /** + * The percentage of mobile clicks that go to a mobile-friendly page. + * @param mobileFriendlyClicksPercentage mobileFriendlyClicksPercentage or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setMobileFriendlyClicksPercentage(java.lang.Double mobileFriendlyClicksPercentage) { + this.mobileFriendlyClicksPercentage = mobileFriendlyClicksPercentage; + return this; + } + + /** + * Orders is the total number of purchase conversions you received attributed to your ads. How it + * works: You report conversions with cart data for completed purchases on your website. If a + * conversion is attributed to previous interactions with your ads (clicks for text or Shopping + * ads, views for video ads etc.) it's counted as an order. Example: Someone clicked on a Shopping + * ad for a hat then bought the same hat and a shirt in an order on your website. Even though they + * bought 2 products, this would count as 1 order. This metric is only available if you report + * conversions with cart data. + * @return value or {@code null} for none + */ + public java.lang.Double getOrders() { + return orders; + } + + /** + * Orders is the total number of purchase conversions you received attributed to your ads. How it + * works: You report conversions with cart data for completed purchases on your website. If a + * conversion is attributed to previous interactions with your ads (clicks for text or Shopping + * ads, views for video ads etc.) it's counted as an order. Example: Someone clicked on a Shopping + * ad for a hat then bought the same hat and a shirt in an order on your website. Even though they + * bought 2 products, this would count as 1 order. This metric is only available if you report + * conversions with cart data. + * @param orders orders or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setOrders(java.lang.Double orders) { + this.orders = orders; + return this; + } + + /** + * The raw event conversion metrics. + * @return value or {@code null} for none + */ + public java.util.List getRawEventConversionMetrics() { + return rawEventConversionMetrics; + } + + /** + * The raw event conversion metrics. + * @param rawEventConversionMetrics rawEventConversionMetrics or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setRawEventConversionMetrics(java.util.List rawEventConversionMetrics) { + this.rawEventConversionMetrics = rawEventConversionMetrics; + return this; + } + + /** + * Revenue is the total amount you made from orders attributed to your ads. How it works: You + * report conversions with cart data for completed purchases on your website. Revenue is the total + * value of all the orders you received attributed to your ads, minus any discount. Example: + * Someone clicked on a Shopping ad for a hat then bought the same hat and a shirt in an order + * from your website. The hat is priced $10 and the shirt is priced $20. The entire order has a $5 + * discount. The revenue from this order is $25 = ($10 + $20) - $5. This metric is only available + * if you report conversions with cart data. + * @return value or {@code null} for none + */ + public java.lang.Long getRevenueMicros() { + return revenueMicros; + } + + /** + * Revenue is the total amount you made from orders attributed to your ads. How it works: You + * report conversions with cart data for completed purchases on your website. Revenue is the total + * value of all the orders you received attributed to your ads, minus any discount. Example: + * Someone clicked on a Shopping ad for a hat then bought the same hat and a shirt in an order + * from your website. The hat is priced $10 and the shirt is priced $20. The entire order has a $5 + * discount. The revenue from this order is $25 = ($10 + $20) - $5. This metric is only available + * if you report conversions with cart data. + * @param revenueMicros revenueMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setRevenueMicros(java.lang.Long revenueMicros) { + this.revenueMicros = revenueMicros; + return this; + } + + /** + * The percentage of the customer's Shopping or Search ad impressions that are shown in the most + * prominent Shopping position. See https://support.google.com/sa360/answer/9566729 for details. + * Any value below 0.1 is reported as 0.0999. + * @return value or {@code null} for none + */ + public java.lang.Double getSearchAbsoluteTopImpressionShare() { + return searchAbsoluteTopImpressionShare; + } + + /** + * The percentage of the customer's Shopping or Search ad impressions that are shown in the most + * prominent Shopping position. See https://support.google.com/sa360/answer/9566729 for details. + * Any value below 0.1 is reported as 0.0999. + * @param searchAbsoluteTopImpressionShare searchAbsoluteTopImpressionShare or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setSearchAbsoluteTopImpressionShare(java.lang.Double searchAbsoluteTopImpressionShare) { + this.searchAbsoluteTopImpressionShare = searchAbsoluteTopImpressionShare; + return this; + } + + /** + * The number estimating how often your ad wasn't the very first ad among the top ads in the + * search results due to a low budget. Note: Search budget lost absolute top impression share is + * reported in the range of 0 to 0.9. Any value above 0.9 is reported as 0.9001. + * @return value or {@code null} for none + */ + public java.lang.Double getSearchBudgetLostAbsoluteTopImpressionShare() { + return searchBudgetLostAbsoluteTopImpressionShare; + } + + /** + * The number estimating how often your ad wasn't the very first ad among the top ads in the + * search results due to a low budget. Note: Search budget lost absolute top impression share is + * reported in the range of 0 to 0.9. Any value above 0.9 is reported as 0.9001. + * @param searchBudgetLostAbsoluteTopImpressionShare searchBudgetLostAbsoluteTopImpressionShare or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setSearchBudgetLostAbsoluteTopImpressionShare(java.lang.Double searchBudgetLostAbsoluteTopImpressionShare) { + this.searchBudgetLostAbsoluteTopImpressionShare = searchBudgetLostAbsoluteTopImpressionShare; + return this; + } + + /** + * The estimated percent of times that your ad was eligible to show on the Search Network but + * didn't because your budget was too low. Note: Search budget lost impression share is reported + * in the range of 0 to 0.9. Any value above 0.9 is reported as 0.9001. + * @return value or {@code null} for none + */ + public java.lang.Double getSearchBudgetLostImpressionShare() { + return searchBudgetLostImpressionShare; + } + + /** + * The estimated percent of times that your ad was eligible to show on the Search Network but + * didn't because your budget was too low. Note: Search budget lost impression share is reported + * in the range of 0 to 0.9. Any value above 0.9 is reported as 0.9001. + * @param searchBudgetLostImpressionShare searchBudgetLostImpressionShare or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setSearchBudgetLostImpressionShare(java.lang.Double searchBudgetLostImpressionShare) { + this.searchBudgetLostImpressionShare = searchBudgetLostImpressionShare; + return this; + } + + /** + * The number estimating how often your ad didn't show adjacent to the top organic search results + * due to a low budget. Note: Search budget lost top impression share is reported in the range of + * 0 to 0.9. Any value above 0.9 is reported as 0.9001. + * @return value or {@code null} for none + */ + public java.lang.Double getSearchBudgetLostTopImpressionShare() { + return searchBudgetLostTopImpressionShare; + } + + /** + * The number estimating how often your ad didn't show adjacent to the top organic search results + * due to a low budget. Note: Search budget lost top impression share is reported in the range of + * 0 to 0.9. Any value above 0.9 is reported as 0.9001. + * @param searchBudgetLostTopImpressionShare searchBudgetLostTopImpressionShare or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setSearchBudgetLostTopImpressionShare(java.lang.Double searchBudgetLostTopImpressionShare) { + this.searchBudgetLostTopImpressionShare = searchBudgetLostTopImpressionShare; + return this; + } + + /** + * The number of clicks you've received on the Search Network divided by the estimated number of + * clicks you were eligible to receive. Note: Search click share is reported in the range of 0.1 + * to 1. Any value below 0.1 is reported as 0.0999. + * @return value or {@code null} for none + */ + public java.lang.Double getSearchClickShare() { + return searchClickShare; + } + + /** + * The number of clicks you've received on the Search Network divided by the estimated number of + * clicks you were eligible to receive. Note: Search click share is reported in the range of 0.1 + * to 1. Any value below 0.1 is reported as 0.0999. + * @param searchClickShare searchClickShare or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setSearchClickShare(java.lang.Double searchClickShare) { + this.searchClickShare = searchClickShare; + return this; + } + + /** + * The impressions you've received divided by the estimated number of impressions you were + * eligible to receive on the Search Network for search terms that matched your keywords exactly + * (or were close variants of your keyword), regardless of your keyword match types. Note: Search + * exact match impression share is reported in the range of 0.1 to 1. Any value below 0.1 is + * reported as 0.0999. + * @return value or {@code null} for none + */ + public java.lang.Double getSearchExactMatchImpressionShare() { + return searchExactMatchImpressionShare; + } + + /** + * The impressions you've received divided by the estimated number of impressions you were + * eligible to receive on the Search Network for search terms that matched your keywords exactly + * (or were close variants of your keyword), regardless of your keyword match types. Note: Search + * exact match impression share is reported in the range of 0.1 to 1. Any value below 0.1 is + * reported as 0.0999. + * @param searchExactMatchImpressionShare searchExactMatchImpressionShare or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setSearchExactMatchImpressionShare(java.lang.Double searchExactMatchImpressionShare) { + this.searchExactMatchImpressionShare = searchExactMatchImpressionShare; + return this; + } + + /** + * The impressions you've received on the Search Network divided by the estimated number of + * impressions you were eligible to receive. Note: Search impression share is reported in the + * range of 0.1 to 1. Any value below 0.1 is reported as 0.0999. + * @return value or {@code null} for none + */ + public java.lang.Double getSearchImpressionShare() { + return searchImpressionShare; + } + + /** + * The impressions you've received on the Search Network divided by the estimated number of + * impressions you were eligible to receive. Note: Search impression share is reported in the + * range of 0.1 to 1. Any value below 0.1 is reported as 0.0999. + * @param searchImpressionShare searchImpressionShare or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setSearchImpressionShare(java.lang.Double searchImpressionShare) { + this.searchImpressionShare = searchImpressionShare; + return this; + } + + /** + * The number estimating how often your ad wasn't the very first ad among the top ads in the + * search results due to poor Ad Rank. Note: Search rank lost absolute top impression share is + * reported in the range of 0 to 0.9. Any value above 0.9 is reported as 0.9001. + * @return value or {@code null} for none + */ + public java.lang.Double getSearchRankLostAbsoluteTopImpressionShare() { + return searchRankLostAbsoluteTopImpressionShare; + } + + /** + * The number estimating how often your ad wasn't the very first ad among the top ads in the + * search results due to poor Ad Rank. Note: Search rank lost absolute top impression share is + * reported in the range of 0 to 0.9. Any value above 0.9 is reported as 0.9001. + * @param searchRankLostAbsoluteTopImpressionShare searchRankLostAbsoluteTopImpressionShare or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setSearchRankLostAbsoluteTopImpressionShare(java.lang.Double searchRankLostAbsoluteTopImpressionShare) { + this.searchRankLostAbsoluteTopImpressionShare = searchRankLostAbsoluteTopImpressionShare; + return this; + } + + /** + * The estimated percentage of impressions on the Search Network that your ads didn't receive due + * to poor Ad Rank. Note: Search rank lost impression share is reported in the range of 0 to 0.9. + * Any value above 0.9 is reported as 0.9001. + * @return value or {@code null} for none + */ + public java.lang.Double getSearchRankLostImpressionShare() { + return searchRankLostImpressionShare; + } + + /** + * The estimated percentage of impressions on the Search Network that your ads didn't receive due + * to poor Ad Rank. Note: Search rank lost impression share is reported in the range of 0 to 0.9. + * Any value above 0.9 is reported as 0.9001. + * @param searchRankLostImpressionShare searchRankLostImpressionShare or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setSearchRankLostImpressionShare(java.lang.Double searchRankLostImpressionShare) { + this.searchRankLostImpressionShare = searchRankLostImpressionShare; + return this; + } + + /** + * The number estimating how often your ad didn't show adjacent to the top organic search results + * due to poor Ad Rank. Note: Search rank lost top impression share is reported in the range of 0 + * to 0.9. Any value above 0.9 is reported as 0.9001. + * @return value or {@code null} for none + */ + public java.lang.Double getSearchRankLostTopImpressionShare() { + return searchRankLostTopImpressionShare; + } + + /** + * The number estimating how often your ad didn't show adjacent to the top organic search results + * due to poor Ad Rank. Note: Search rank lost top impression share is reported in the range of 0 + * to 0.9. Any value above 0.9 is reported as 0.9001. + * @param searchRankLostTopImpressionShare searchRankLostTopImpressionShare or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setSearchRankLostTopImpressionShare(java.lang.Double searchRankLostTopImpressionShare) { + this.searchRankLostTopImpressionShare = searchRankLostTopImpressionShare; + return this; + } + + /** + * The impressions you've received among the top ads compared to the estimated number of + * impressions you were eligible to receive among the top ads. Note: Search top impression share + * is reported in the range of 0.1 to 1. Any value below 0.1 is reported as 0.0999. Top ads are + * generally above the top organic results, although they may show below the top organic results + * on certain queries. + * @return value or {@code null} for none + */ + public java.lang.Double getSearchTopImpressionShare() { + return searchTopImpressionShare; + } + + /** + * The impressions you've received among the top ads compared to the estimated number of + * impressions you were eligible to receive among the top ads. Note: Search top impression share + * is reported in the range of 0.1 to 1. Any value below 0.1 is reported as 0.0999. Top ads are + * generally above the top organic results, although they may show below the top organic results + * on certain queries. + * @param searchTopImpressionShare searchTopImpressionShare or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setSearchTopImpressionShare(java.lang.Double searchTopImpressionShare) { + this.searchTopImpressionShare = searchTopImpressionShare; + return this; + } + + /** + * The percent of your ad impressions that are shown adjacent to the top organic search results. + * @return value or {@code null} for none + */ + public java.lang.Double getTopImpressionPercentage() { + return topImpressionPercentage; + } + + /** + * The percent of your ad impressions that are shown adjacent to the top organic search results. + * @param topImpressionPercentage topImpressionPercentage or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setTopImpressionPercentage(java.lang.Double topImpressionPercentage) { + this.topImpressionPercentage = topImpressionPercentage; + return this; + } + + /** + * The number of unique users who saw your ad during the requested time period. This metric cannot + * be aggregated, and can only be requested for date ranges of 92 days or less. This metric is + * available for following campaign types - Display, Video, Discovery and App. + * @return value or {@code null} for none + */ + public java.lang.Long getUniqueUsers() { + return uniqueUsers; + } + + /** + * The number of unique users who saw your ad during the requested time period. This metric cannot + * be aggregated, and can only be requested for date ranges of 92 days or less. This metric is + * available for following campaign types - Display, Video, Discovery and App. + * @param uniqueUsers uniqueUsers or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setUniqueUsers(java.lang.Long uniqueUsers) { + this.uniqueUsers = uniqueUsers; + return this; + } + + /** + * Units sold is the total number of products sold from orders attributed to your ads. How it + * works: You report conversions with cart data for completed purchases on your website. Units + * sold is the total number of products sold from all orders attributed to your ads. Example: + * Someone clicked on a Shopping ad for a hat then bought the same hat, a shirt and a jacket. The + * units sold in this order is 3. This metric is only available if you report conversions with + * cart data. + * @return value or {@code null} for none + */ + public java.lang.Double getUnitsSold() { + return unitsSold; + } + + /** + * Units sold is the total number of products sold from orders attributed to your ads. How it + * works: You report conversions with cart data for completed purchases on your website. Units + * sold is the total number of products sold from all orders attributed to your ads. Example: + * Someone clicked on a Shopping ad for a hat then bought the same hat, a shirt and a jacket. The + * units sold in this order is 3. This metric is only available if you report conversions with + * cart data. + * @param unitsSold unitsSold or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setUnitsSold(java.lang.Double unitsSold) { + this.unitsSold = unitsSold; + return this; + } + + /** + * The value of all conversions divided by the number of all conversions. + * @return value or {@code null} for none + */ + public java.lang.Double getValuePerAllConversions() { + return valuePerAllConversions; + } + + /** + * The value of all conversions divided by the number of all conversions. + * @param valuePerAllConversions valuePerAllConversions or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setValuePerAllConversions(java.lang.Double valuePerAllConversions) { + this.valuePerAllConversions = valuePerAllConversions; + return this; + } + + /** + * The value of all conversions divided by the number of all conversions. When this column is + * selected with date, the values in date column means the conversion date. Details for the + * by_conversion_date columns are available at https://support.google.com/sa360/answer/9250611. + * @return value or {@code null} for none + */ + public java.lang.Double getValuePerAllConversionsByConversionDate() { + return valuePerAllConversionsByConversionDate; + } + + /** + * The value of all conversions divided by the number of all conversions. When this column is + * selected with date, the values in date column means the conversion date. Details for the + * by_conversion_date columns are available at https://support.google.com/sa360/answer/9250611. + * @param valuePerAllConversionsByConversionDate valuePerAllConversionsByConversionDate or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setValuePerAllConversionsByConversionDate(java.lang.Double valuePerAllConversionsByConversionDate) { + this.valuePerAllConversionsByConversionDate = valuePerAllConversionsByConversionDate; + return this; + } + + /** + * The value of biddable conversion divided by the number of biddable conversions. Shows how much, + * on average, each of the biddable conversions is worth. + * @return value or {@code null} for none + */ + public java.lang.Double getValuePerConversion() { + return valuePerConversion; + } + + /** + * The value of biddable conversion divided by the number of biddable conversions. Shows how much, + * on average, each of the biddable conversions is worth. + * @param valuePerConversion valuePerConversion or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setValuePerConversion(java.lang.Double valuePerConversion) { + this.valuePerConversion = valuePerConversion; + return this; + } + + /** + * Biddable conversions value by conversion date divided by biddable conversions by conversion + * date. Shows how much, on average, each of the biddable conversions is worth (by conversion + * date). When this column is selected with date, the values in date column means the conversion + * date. + * @return value or {@code null} for none + */ + public java.lang.Double getValuePerConversionsByConversionDate() { + return valuePerConversionsByConversionDate; + } + + /** + * Biddable conversions value by conversion date divided by biddable conversions by conversion + * date. Shows how much, on average, each of the biddable conversions is worth (by conversion + * date). When this column is selected with date, the values in date column means the conversion + * date. + * @param valuePerConversionsByConversionDate valuePerConversionsByConversionDate or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setValuePerConversionsByConversionDate(java.lang.Double valuePerConversionsByConversionDate) { + this.valuePerConversionsByConversionDate = valuePerConversionsByConversionDate; + return this; + } + + /** + * Clicks that Search Ads 360 has successfully recorded and forwarded to an advertiser's landing + * page. + * @return value or {@code null} for none + */ + public java.lang.Double getVisits() { + return visits; + } + + /** + * Clicks that Search Ads 360 has successfully recorded and forwarded to an advertiser's landing + * page. + * @param visits visits or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics setVisits(java.lang.Double visits) { + this.visits = visits; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonMetrics set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonMetrics) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonMetrics clone() { + return (GoogleAdsSearchads360V23CommonMetrics) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonMobileAppAsset.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonMobileAppAsset.java new file mode 100644 index 00000000000..91702519d0a --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonMobileAppAsset.java @@ -0,0 +1,169 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * An asset representing a mobile app. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonMobileAppAsset extends com.google.api.client.json.GenericJson { + + /** + * Required. A string that uniquely identifies a mobile application. It should just contain the + * platform native id, like "com.android.ebay" for Android or "12345689" for iOS. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String appId; + + /** + * Required. The application store that distributes this specific app. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String appStore; + + /** + * Last date of when this asset is effective and still serving, in yyyy-MM-dd format. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String endDate; + + /** + * Required. The visible text displayed when the link is rendered in an ad. The length of this + * string should be between 1 and 25, inclusive. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String linkText; + + /** + * Start date of when this asset is effective and can begin serving, in yyyy-MM-dd format. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String startDate; + + /** + * Required. A string that uniquely identifies a mobile application. It should just contain the + * platform native id, like "com.android.ebay" for Android or "12345689" for iOS. + * @return value or {@code null} for none + */ + public java.lang.String getAppId() { + return appId; + } + + /** + * Required. A string that uniquely identifies a mobile application. It should just contain the + * platform native id, like "com.android.ebay" for Android or "12345689" for iOS. + * @param appId appId or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMobileAppAsset setAppId(java.lang.String appId) { + this.appId = appId; + return this; + } + + /** + * Required. The application store that distributes this specific app. + * @return value or {@code null} for none + */ + public java.lang.String getAppStore() { + return appStore; + } + + /** + * Required. The application store that distributes this specific app. + * @param appStore appStore or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMobileAppAsset setAppStore(java.lang.String appStore) { + this.appStore = appStore; + return this; + } + + /** + * Last date of when this asset is effective and still serving, in yyyy-MM-dd format. + * @return value or {@code null} for none + */ + public java.lang.String getEndDate() { + return endDate; + } + + /** + * Last date of when this asset is effective and still serving, in yyyy-MM-dd format. + * @param endDate endDate or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMobileAppAsset setEndDate(java.lang.String endDate) { + this.endDate = endDate; + return this; + } + + /** + * Required. The visible text displayed when the link is rendered in an ad. The length of this + * string should be between 1 and 25, inclusive. + * @return value or {@code null} for none + */ + public java.lang.String getLinkText() { + return linkText; + } + + /** + * Required. The visible text displayed when the link is rendered in an ad. The length of this + * string should be between 1 and 25, inclusive. + * @param linkText linkText or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMobileAppAsset setLinkText(java.lang.String linkText) { + this.linkText = linkText; + return this; + } + + /** + * Start date of when this asset is effective and can begin serving, in yyyy-MM-dd format. + * @return value or {@code null} for none + */ + public java.lang.String getStartDate() { + return startDate; + } + + /** + * Start date of when this asset is effective and can begin serving, in yyyy-MM-dd format. + * @param startDate startDate or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMobileAppAsset setStartDate(java.lang.String startDate) { + this.startDate = startDate; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonMobileAppAsset set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonMobileAppAsset) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonMobileAppAsset clone() { + return (GoogleAdsSearchads360V23CommonMobileAppAsset) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonMobileAppCategoryInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonMobileAppCategoryInfo.java new file mode 100644 index 00000000000..d94ccf8a8da --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonMobileAppCategoryInfo.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A mobile app category criterion. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonMobileAppCategoryInfo extends com.google.api.client.json.GenericJson { + + /** + * The mobile app category constant resource name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String mobileAppCategoryConstant; + + /** + * The mobile app category constant resource name. + * @return value or {@code null} for none + */ + public java.lang.String getMobileAppCategoryConstant() { + return mobileAppCategoryConstant; + } + + /** + * The mobile app category constant resource name. + * @param mobileAppCategoryConstant mobileAppCategoryConstant or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMobileAppCategoryInfo setMobileAppCategoryConstant(java.lang.String mobileAppCategoryConstant) { + this.mobileAppCategoryConstant = mobileAppCategoryConstant; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonMobileAppCategoryInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonMobileAppCategoryInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonMobileAppCategoryInfo clone() { + return (GoogleAdsSearchads360V23CommonMobileAppCategoryInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonMobileApplicationInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonMobileApplicationInfo.java new file mode 100644 index 00000000000..6366d89b9ce --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonMobileApplicationInfo.java @@ -0,0 +1,121 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A mobile application criterion. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonMobileApplicationInfo extends com.google.api.client.json.GenericJson { + + /** + * A string that uniquely identifies a mobile application to Google Ads API. The format of this + * string is "{platform}-{platform_native_id}", where platform is "1" for iOS apps and "2" for + * Android apps, and where platform_native_id is the mobile application identifier native to the + * corresponding platform. For iOS, this native identifier is the 9 digit string that appears at + * the end of an App Store URL (for example, "476943146" for "Flood-It! 2" whose App Store link is + * "http://itunes.apple.com/us/app/flood-it!-2/id476943146"). For Android, this native identifier + * is the application's package name (for example, "com.labpixies.colordrips" for "Color Drips" + * given Google Play link + * "https://play.google.com/store/apps/details?id=com.labpixies.colordrips"). A well formed app id + * for Google Ads API would thus be "1-476943146" for iOS and "2-com.labpixies.colordrips" for + * Android. This field is required and must be set in CREATE operations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String appId; + + /** + * Name of this mobile application. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * A string that uniquely identifies a mobile application to Google Ads API. The format of this + * string is "{platform}-{platform_native_id}", where platform is "1" for iOS apps and "2" for + * Android apps, and where platform_native_id is the mobile application identifier native to the + * corresponding platform. For iOS, this native identifier is the 9 digit string that appears at + * the end of an App Store URL (for example, "476943146" for "Flood-It! 2" whose App Store link is + * "http://itunes.apple.com/us/app/flood-it!-2/id476943146"). For Android, this native identifier + * is the application's package name (for example, "com.labpixies.colordrips" for "Color Drips" + * given Google Play link + * "https://play.google.com/store/apps/details?id=com.labpixies.colordrips"). A well formed app id + * for Google Ads API would thus be "1-476943146" for iOS and "2-com.labpixies.colordrips" for + * Android. This field is required and must be set in CREATE operations. + * @return value or {@code null} for none + */ + public java.lang.String getAppId() { + return appId; + } + + /** + * A string that uniquely identifies a mobile application to Google Ads API. The format of this + * string is "{platform}-{platform_native_id}", where platform is "1" for iOS apps and "2" for + * Android apps, and where platform_native_id is the mobile application identifier native to the + * corresponding platform. For iOS, this native identifier is the 9 digit string that appears at + * the end of an App Store URL (for example, "476943146" for "Flood-It! 2" whose App Store link is + * "http://itunes.apple.com/us/app/flood-it!-2/id476943146"). For Android, this native identifier + * is the application's package name (for example, "com.labpixies.colordrips" for "Color Drips" + * given Google Play link + * "https://play.google.com/store/apps/details?id=com.labpixies.colordrips"). A well formed app id + * for Google Ads API would thus be "1-476943146" for iOS and "2-com.labpixies.colordrips" for + * Android. This field is required and must be set in CREATE operations. + * @param appId appId or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMobileApplicationInfo setAppId(java.lang.String appId) { + this.appId = appId; + return this; + } + + /** + * Name of this mobile application. + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * Name of this mobile application. + * @param name name or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMobileApplicationInfo setName(java.lang.String name) { + this.name = name; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonMobileApplicationInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonMobileApplicationInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonMobileApplicationInfo clone() { + return (GoogleAdsSearchads360V23CommonMobileApplicationInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonMobileDeviceInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonMobileDeviceInfo.java new file mode 100644 index 00000000000..2e511178337 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonMobileDeviceInfo.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A mobile device criterion. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonMobileDeviceInfo extends com.google.api.client.json.GenericJson { + + /** + * The mobile device constant resource name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String mobileDeviceConstant; + + /** + * The mobile device constant resource name. + * @return value or {@code null} for none + */ + public java.lang.String getMobileDeviceConstant() { + return mobileDeviceConstant; + } + + /** + * The mobile device constant resource name. + * @param mobileDeviceConstant mobileDeviceConstant or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMobileDeviceInfo setMobileDeviceConstant(java.lang.String mobileDeviceConstant) { + this.mobileDeviceConstant = mobileDeviceConstant; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonMobileDeviceInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonMobileDeviceInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonMobileDeviceInfo clone() { + return (GoogleAdsSearchads360V23CommonMobileDeviceInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonMoney.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonMoney.java new file mode 100644 index 00000000000..f7d292eb810 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonMoney.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Represents a price in a particular currency. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonMoney extends com.google.api.client.json.GenericJson { + + /** + * Amount in micros. One million is equivalent to one unit. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long amountMicros; + + /** + * Three-character ISO 4217 currency code. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String currencyCode; + + /** + * Amount in micros. One million is equivalent to one unit. + * @return value or {@code null} for none + */ + public java.lang.Long getAmountMicros() { + return amountMicros; + } + + /** + * Amount in micros. One million is equivalent to one unit. + * @param amountMicros amountMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMoney setAmountMicros(java.lang.Long amountMicros) { + this.amountMicros = amountMicros; + return this; + } + + /** + * Three-character ISO 4217 currency code. + * @return value or {@code null} for none + */ + public java.lang.String getCurrencyCode() { + return currencyCode; + } + + /** + * Three-character ISO 4217 currency code. + * @param currencyCode currencyCode or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMoney setCurrencyCode(java.lang.String currencyCode) { + this.currencyCode = currencyCode; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonMoney set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonMoney) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonMoney clone() { + return (GoogleAdsSearchads360V23CommonMoney) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonMonthlySearchVolume.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonMonthlySearchVolume.java new file mode 100644 index 00000000000..c7b485d0465 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonMonthlySearchVolume.java @@ -0,0 +1,118 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Monthly search volume. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonMonthlySearchVolume extends com.google.api.client.json.GenericJson { + + /** + * The month of the search volume. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String month; + + /** + * Approximate number of searches for the month. A null value indicates the search volume is + * unavailable for that month. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long monthlySearches; + + /** + * The year of the search volume (for example, 2020). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long year; + + /** + * The month of the search volume. + * @return value or {@code null} for none + */ + public java.lang.String getMonth() { + return month; + } + + /** + * The month of the search volume. + * @param month month or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMonthlySearchVolume setMonth(java.lang.String month) { + this.month = month; + return this; + } + + /** + * Approximate number of searches for the month. A null value indicates the search volume is + * unavailable for that month. + * @return value or {@code null} for none + */ + public java.lang.Long getMonthlySearches() { + return monthlySearches; + } + + /** + * Approximate number of searches for the month. A null value indicates the search volume is + * unavailable for that month. + * @param monthlySearches monthlySearches or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMonthlySearchVolume setMonthlySearches(java.lang.Long monthlySearches) { + this.monthlySearches = monthlySearches; + return this; + } + + /** + * The year of the search volume (for example, 2020). + * @return value or {@code null} for none + */ + public java.lang.Long getYear() { + return year; + } + + /** + * The year of the search volume (for example, 2020). + * @param year year or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMonthlySearchVolume setYear(java.lang.Long year) { + this.year = year; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonMonthlySearchVolume set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonMonthlySearchVolume) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonMonthlySearchVolume clone() { + return (GoogleAdsSearchads360V23CommonMonthlySearchVolume) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonNegativeKeywordListInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonNegativeKeywordListInfo.java new file mode 100644 index 00000000000..39f1dc90f15 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonNegativeKeywordListInfo.java @@ -0,0 +1,69 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A Negative Keyword List criterion. Represents a shared set of negative keywords that can be + * excluded at the account-level. Only one negative keyword list criterion can be attached per + * account. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonNegativeKeywordListInfo extends com.google.api.client.json.GenericJson { + + /** + * The NegativeKeywordListInfo shared set resource name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String sharedSet; + + /** + * The NegativeKeywordListInfo shared set resource name. + * @return value or {@code null} for none + */ + public java.lang.String getSharedSet() { + return sharedSet; + } + + /** + * The NegativeKeywordListInfo shared set resource name. + * @param sharedSet sharedSet or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonNegativeKeywordListInfo setSharedSet(java.lang.String sharedSet) { + this.sharedSet = sharedSet; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonNegativeKeywordListInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonNegativeKeywordListInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonNegativeKeywordListInfo clone() { + return (GoogleAdsSearchads360V23CommonNegativeKeywordListInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonOfflineUserAddressInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonOfflineUserAddressInfo.java new file mode 100644 index 00000000000..ab52a4850fb --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonOfflineUserAddressInfo.java @@ -0,0 +1,220 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Address identifier of offline data. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonOfflineUserAddressInfo extends com.google.api.client.json.GenericJson { + + /** + * City of the address. Only accepted for Store Sales. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String city; + + /** + * 2-letter country code in ISO-3166-1 alpha-2 of the user's address. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String countryCode; + + /** + * First name of the user, which is hashed as SHA-256 after normalized (Lowercase all characters; + * Remove any extra spaces before, after, and in between). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String hashedFirstName; + + /** + * Last name of the user, which is hashed as SHA-256 after normalized (lower case only and no + * punctuation). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String hashedLastName; + + /** + * The street address of the user hashed using SHA-256 hash function after normalization (lower + * case only). Only accepted for ConversionAdjustmentUploadService. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String hashedStreetAddress; + + /** + * Postal code of the user's address. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String postalCode; + + /** + * State code of the address. Only accepted for Store Sales. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String state; + + /** + * City of the address. Only accepted for Store Sales. + * @return value or {@code null} for none + */ + public java.lang.String getCity() { + return city; + } + + /** + * City of the address. Only accepted for Store Sales. + * @param city city or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonOfflineUserAddressInfo setCity(java.lang.String city) { + this.city = city; + return this; + } + + /** + * 2-letter country code in ISO-3166-1 alpha-2 of the user's address. + * @return value or {@code null} for none + */ + public java.lang.String getCountryCode() { + return countryCode; + } + + /** + * 2-letter country code in ISO-3166-1 alpha-2 of the user's address. + * @param countryCode countryCode or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonOfflineUserAddressInfo setCountryCode(java.lang.String countryCode) { + this.countryCode = countryCode; + return this; + } + + /** + * First name of the user, which is hashed as SHA-256 after normalized (Lowercase all characters; + * Remove any extra spaces before, after, and in between). + * @return value or {@code null} for none + */ + public java.lang.String getHashedFirstName() { + return hashedFirstName; + } + + /** + * First name of the user, which is hashed as SHA-256 after normalized (Lowercase all characters; + * Remove any extra spaces before, after, and in between). + * @param hashedFirstName hashedFirstName or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonOfflineUserAddressInfo setHashedFirstName(java.lang.String hashedFirstName) { + this.hashedFirstName = hashedFirstName; + return this; + } + + /** + * Last name of the user, which is hashed as SHA-256 after normalized (lower case only and no + * punctuation). + * @return value or {@code null} for none + */ + public java.lang.String getHashedLastName() { + return hashedLastName; + } + + /** + * Last name of the user, which is hashed as SHA-256 after normalized (lower case only and no + * punctuation). + * @param hashedLastName hashedLastName or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonOfflineUserAddressInfo setHashedLastName(java.lang.String hashedLastName) { + this.hashedLastName = hashedLastName; + return this; + } + + /** + * The street address of the user hashed using SHA-256 hash function after normalization (lower + * case only). Only accepted for ConversionAdjustmentUploadService. + * @return value or {@code null} for none + */ + public java.lang.String getHashedStreetAddress() { + return hashedStreetAddress; + } + + /** + * The street address of the user hashed using SHA-256 hash function after normalization (lower + * case only). Only accepted for ConversionAdjustmentUploadService. + * @param hashedStreetAddress hashedStreetAddress or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonOfflineUserAddressInfo setHashedStreetAddress(java.lang.String hashedStreetAddress) { + this.hashedStreetAddress = hashedStreetAddress; + return this; + } + + /** + * Postal code of the user's address. + * @return value or {@code null} for none + */ + public java.lang.String getPostalCode() { + return postalCode; + } + + /** + * Postal code of the user's address. + * @param postalCode postalCode or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonOfflineUserAddressInfo setPostalCode(java.lang.String postalCode) { + this.postalCode = postalCode; + return this; + } + + /** + * State code of the address. Only accepted for Store Sales. + * @return value or {@code null} for none + */ + public java.lang.String getState() { + return state; + } + + /** + * State code of the address. Only accepted for Store Sales. + * @param state state or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonOfflineUserAddressInfo setState(java.lang.String state) { + this.state = state; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonOfflineUserAddressInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonOfflineUserAddressInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonOfflineUserAddressInfo clone() { + return (GoogleAdsSearchads360V23CommonOfflineUserAddressInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonOperatingSystemVersionInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonOperatingSystemVersionInfo.java new file mode 100644 index 00000000000..aa046ad1267 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonOperatingSystemVersionInfo.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Represents an operating system version to be targeted. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonOperatingSystemVersionInfo extends com.google.api.client.json.GenericJson { + + /** + * The operating system version constant resource name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String operatingSystemVersionConstant; + + /** + * The operating system version constant resource name. + * @return value or {@code null} for none + */ + public java.lang.String getOperatingSystemVersionConstant() { + return operatingSystemVersionConstant; + } + + /** + * The operating system version constant resource name. + * @param operatingSystemVersionConstant operatingSystemVersionConstant or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonOperatingSystemVersionInfo setOperatingSystemVersionConstant(java.lang.String operatingSystemVersionConstant) { + this.operatingSystemVersionConstant = operatingSystemVersionConstant; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonOperatingSystemVersionInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonOperatingSystemVersionInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonOperatingSystemVersionInfo clone() { + return (GoogleAdsSearchads360V23CommonOperatingSystemVersionInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPageFeedAsset.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPageFeedAsset.java new file mode 100644 index 00000000000..55541631e60 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPageFeedAsset.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A Page Feed asset. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonPageFeedAsset extends com.google.api.client.json.GenericJson { + + /** + * Labels used to group the page urls. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List labels; + + /** + * Required. The webpage that advertisers want to target. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String pageUrl; + + /** + * Labels used to group the page urls. + * @return value or {@code null} for none + */ + public java.util.List getLabels() { + return labels; + } + + /** + * Labels used to group the page urls. + * @param labels labels or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPageFeedAsset setLabels(java.util.List labels) { + this.labels = labels; + return this; + } + + /** + * Required. The webpage that advertisers want to target. + * @return value or {@code null} for none + */ + public java.lang.String getPageUrl() { + return pageUrl; + } + + /** + * Required. The webpage that advertisers want to target. + * @param pageUrl pageUrl or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPageFeedAsset setPageUrl(java.lang.String pageUrl) { + this.pageUrl = pageUrl; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonPageFeedAsset set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonPageFeedAsset) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonPageFeedAsset clone() { + return (GoogleAdsSearchads360V23CommonPageFeedAsset) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonParentalStatusDimension.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonParentalStatusDimension.java new file mode 100644 index 00000000000..77dd55b778a --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonParentalStatusDimension.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Dimension specifying users by their parental status. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonParentalStatusDimension extends com.google.api.client.json.GenericJson { + + /** + * Include users whose parental status is undetermined. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean includeUndetermined; + + /** + * Included parental status demographic segments. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List parentalStatuses; + + /** + * Include users whose parental status is undetermined. + * @return value or {@code null} for none + */ + public java.lang.Boolean getIncludeUndetermined() { + return includeUndetermined; + } + + /** + * Include users whose parental status is undetermined. + * @param includeUndetermined includeUndetermined or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonParentalStatusDimension setIncludeUndetermined(java.lang.Boolean includeUndetermined) { + this.includeUndetermined = includeUndetermined; + return this; + } + + /** + * Included parental status demographic segments. + * @return value or {@code null} for none + */ + public java.util.List getParentalStatuses() { + return parentalStatuses; + } + + /** + * Included parental status demographic segments. + * @param parentalStatuses parentalStatuses or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonParentalStatusDimension setParentalStatuses(java.util.List parentalStatuses) { + this.parentalStatuses = parentalStatuses; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonParentalStatusDimension set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonParentalStatusDimension) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonParentalStatusDimension clone() { + return (GoogleAdsSearchads360V23CommonParentalStatusDimension) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonParentalStatusInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonParentalStatusInfo.java new file mode 100644 index 00000000000..afb931ad1bb --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonParentalStatusInfo.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A parental status criterion. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonParentalStatusInfo extends com.google.api.client.json.GenericJson { + + /** + * Type of the parental status. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String type; + + /** + * Type of the parental status. + * @return value or {@code null} for none + */ + public java.lang.String getType() { + return type; + } + + /** + * Type of the parental status. + * @param type type or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonParentalStatusInfo setType(java.lang.String type) { + this.type = type; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonParentalStatusInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonParentalStatusInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonParentalStatusInfo clone() { + return (GoogleAdsSearchads360V23CommonParentalStatusInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPercentCpc.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPercentCpc.java new file mode 100644 index 00000000000..105c01f7564 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPercentCpc.java @@ -0,0 +1,103 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A bidding strategy where bids are a fraction of the advertised price for some good or service. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonPercentCpc extends com.google.api.client.json.GenericJson { + + /** + * Maximum bid limit that can be set by the bid strategy. This is an optional field entered by the + * advertiser and specified in local micros. Note: A zero value is interpreted in the same way as + * having bid_ceiling undefined. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long cpcBidCeilingMicros; + + /** + * Adjusts the bid for each auction upward or downward, depending on the likelihood of a + * conversion. Individual bids may exceed cpc_bid_ceiling_micros, but the average bid amount for a + * campaign should not. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean enhancedCpcEnabled; + + /** + * Maximum bid limit that can be set by the bid strategy. This is an optional field entered by the + * advertiser and specified in local micros. Note: A zero value is interpreted in the same way as + * having bid_ceiling undefined. + * @return value or {@code null} for none + */ + public java.lang.Long getCpcBidCeilingMicros() { + return cpcBidCeilingMicros; + } + + /** + * Maximum bid limit that can be set by the bid strategy. This is an optional field entered by the + * advertiser and specified in local micros. Note: A zero value is interpreted in the same way as + * having bid_ceiling undefined. + * @param cpcBidCeilingMicros cpcBidCeilingMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPercentCpc setCpcBidCeilingMicros(java.lang.Long cpcBidCeilingMicros) { + this.cpcBidCeilingMicros = cpcBidCeilingMicros; + return this; + } + + /** + * Adjusts the bid for each auction upward or downward, depending on the likelihood of a + * conversion. Individual bids may exceed cpc_bid_ceiling_micros, but the average bid amount for a + * campaign should not. + * @return value or {@code null} for none + */ + public java.lang.Boolean getEnhancedCpcEnabled() { + return enhancedCpcEnabled; + } + + /** + * Adjusts the bid for each auction upward or downward, depending on the likelihood of a + * conversion. Individual bids may exceed cpc_bid_ceiling_micros, but the average bid amount for a + * campaign should not. + * @param enhancedCpcEnabled enhancedCpcEnabled or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPercentCpc setEnhancedCpcEnabled(java.lang.Boolean enhancedCpcEnabled) { + this.enhancedCpcEnabled = enhancedCpcEnabled; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonPercentCpc set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonPercentCpc) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonPercentCpc clone() { + return (GoogleAdsSearchads360V23CommonPercentCpc) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPercentCpcBidSimulationPoint.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPercentCpcBidSimulationPoint.java new file mode 100644 index 00000000000..a3b112c58a9 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPercentCpcBidSimulationPoint.java @@ -0,0 +1,218 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Projected metrics for a specific percent CPC amount. Only Hotel advertising channel type supports + * this field. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonPercentCpcBidSimulationPoint extends com.google.api.client.json.GenericJson { + + /** + * Projected number of biddable conversions. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double biddableConversions; + + /** + * Projected total value of biddable conversions in local currency. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double biddableConversionsValue; + + /** + * Projected number of clicks. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long clicks; + + /** + * Projected cost in micros. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long costMicros; + + /** + * Projected number of impressions. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long impressions; + + /** + * The simulated percent CPC upon which projected metrics are based. Percent CPC expressed as + * fraction of the advertised price for some good or service. The value stored here is 1,000,000 * + * [fraction]. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long percentCpcBidMicros; + + /** + * Projected number of top slot impressions. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long topSlotImpressions; + + /** + * Projected number of biddable conversions. + * @return value or {@code null} for none + */ + public java.lang.Double getBiddableConversions() { + return biddableConversions; + } + + /** + * Projected number of biddable conversions. + * @param biddableConversions biddableConversions or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPercentCpcBidSimulationPoint setBiddableConversions(java.lang.Double biddableConversions) { + this.biddableConversions = biddableConversions; + return this; + } + + /** + * Projected total value of biddable conversions in local currency. + * @return value or {@code null} for none + */ + public java.lang.Double getBiddableConversionsValue() { + return biddableConversionsValue; + } + + /** + * Projected total value of biddable conversions in local currency. + * @param biddableConversionsValue biddableConversionsValue or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPercentCpcBidSimulationPoint setBiddableConversionsValue(java.lang.Double biddableConversionsValue) { + this.biddableConversionsValue = biddableConversionsValue; + return this; + } + + /** + * Projected number of clicks. + * @return value or {@code null} for none + */ + public java.lang.Long getClicks() { + return clicks; + } + + /** + * Projected number of clicks. + * @param clicks clicks or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPercentCpcBidSimulationPoint setClicks(java.lang.Long clicks) { + this.clicks = clicks; + return this; + } + + /** + * Projected cost in micros. + * @return value or {@code null} for none + */ + public java.lang.Long getCostMicros() { + return costMicros; + } + + /** + * Projected cost in micros. + * @param costMicros costMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPercentCpcBidSimulationPoint setCostMicros(java.lang.Long costMicros) { + this.costMicros = costMicros; + return this; + } + + /** + * Projected number of impressions. + * @return value or {@code null} for none + */ + public java.lang.Long getImpressions() { + return impressions; + } + + /** + * Projected number of impressions. + * @param impressions impressions or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPercentCpcBidSimulationPoint setImpressions(java.lang.Long impressions) { + this.impressions = impressions; + return this; + } + + /** + * The simulated percent CPC upon which projected metrics are based. Percent CPC expressed as + * fraction of the advertised price for some good or service. The value stored here is 1,000,000 * + * [fraction]. + * @return value or {@code null} for none + */ + public java.lang.Long getPercentCpcBidMicros() { + return percentCpcBidMicros; + } + + /** + * The simulated percent CPC upon which projected metrics are based. Percent CPC expressed as + * fraction of the advertised price for some good or service. The value stored here is 1,000,000 * + * [fraction]. + * @param percentCpcBidMicros percentCpcBidMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPercentCpcBidSimulationPoint setPercentCpcBidMicros(java.lang.Long percentCpcBidMicros) { + this.percentCpcBidMicros = percentCpcBidMicros; + return this; + } + + /** + * Projected number of top slot impressions. + * @return value or {@code null} for none + */ + public java.lang.Long getTopSlotImpressions() { + return topSlotImpressions; + } + + /** + * Projected number of top slot impressions. + * @param topSlotImpressions topSlotImpressions or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPercentCpcBidSimulationPoint setTopSlotImpressions(java.lang.Long topSlotImpressions) { + this.topSlotImpressions = topSlotImpressions; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonPercentCpcBidSimulationPoint set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonPercentCpcBidSimulationPoint) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonPercentCpcBidSimulationPoint clone() { + return (GoogleAdsSearchads360V23CommonPercentCpcBidSimulationPoint) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPercentCpcBidSimulationPointList.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPercentCpcBidSimulationPointList.java new file mode 100644 index 00000000000..dbf29e48150 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPercentCpcBidSimulationPointList.java @@ -0,0 +1,73 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A container for simulation points for simulations of type PERCENT_CPC_BID. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonPercentCpcBidSimulationPointList extends com.google.api.client.json.GenericJson { + + /** + * Projected metrics for a series of percent CPC bid amounts. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List points; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonPercentCpcBidSimulationPoint used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonPercentCpcBidSimulationPoint.class); + } + + /** + * Projected metrics for a series of percent CPC bid amounts. + * @return value or {@code null} for none + */ + public java.util.List getPoints() { + return points; + } + + /** + * Projected metrics for a series of percent CPC bid amounts. + * @param points points or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPercentCpcBidSimulationPointList setPoints(java.util.List points) { + this.points = points; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonPercentCpcBidSimulationPointList set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonPercentCpcBidSimulationPointList) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonPercentCpcBidSimulationPointList clone() { + return (GoogleAdsSearchads360V23CommonPercentCpcBidSimulationPointList) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPlacementInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPlacementInfo.java new file mode 100644 index 00000000000..258bebf2d41 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPlacementInfo.java @@ -0,0 +1,68 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A placement criterion. This can be used to modify bids for sites when targeting the content + * network. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonPlacementInfo extends com.google.api.client.json.GenericJson { + + /** + * URL of the placement. For example, "http://www.domain.com". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String url; + + /** + * URL of the placement. For example, "http://www.domain.com". + * @return value or {@code null} for none + */ + public java.lang.String getUrl() { + return url; + } + + /** + * URL of the placement. For example, "http://www.domain.com". + * @param url url or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPlacementInfo setUrl(java.lang.String url) { + this.url = url; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonPlacementInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonPlacementInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonPlacementInfo clone() { + return (GoogleAdsSearchads360V23CommonPlacementInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPlacementListInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPlacementListInfo.java new file mode 100644 index 00000000000..ff885d3cdc9 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPlacementListInfo.java @@ -0,0 +1,68 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A Placement List criterion. Represents a shared set of placements that can be excluded at the + * account-level. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonPlacementListInfo extends com.google.api.client.json.GenericJson { + + /** + * The PlacementListInfo shared set resource name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String sharedSet; + + /** + * The PlacementListInfo shared set resource name. + * @return value or {@code null} for none + */ + public java.lang.String getSharedSet() { + return sharedSet; + } + + /** + * The PlacementListInfo shared set resource name. + * @param sharedSet sharedSet or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPlacementListInfo setSharedSet(java.lang.String sharedSet) { + this.sharedSet = sharedSet; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonPlacementListInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonPlacementListInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonPlacementListInfo clone() { + return (GoogleAdsSearchads360V23CommonPlacementListInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPolicySummary.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPolicySummary.java new file mode 100644 index 00000000000..03ec48dbfa2 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPolicySummary.java @@ -0,0 +1,118 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Contains policy summary information. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonPolicySummary extends com.google.api.client.json.GenericJson { + + /** + * The overall approval status, which is calculated based on the status of its individual policy + * topic entries. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String approvalStatus; + + /** + * The list of policy findings. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List policyTopicEntries; + + /** + * Where in the review process the resource is. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String reviewStatus; + + /** + * The overall approval status, which is calculated based on the status of its individual policy + * topic entries. + * @return value or {@code null} for none + */ + public java.lang.String getApprovalStatus() { + return approvalStatus; + } + + /** + * The overall approval status, which is calculated based on the status of its individual policy + * topic entries. + * @param approvalStatus approvalStatus or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPolicySummary setApprovalStatus(java.lang.String approvalStatus) { + this.approvalStatus = approvalStatus; + return this; + } + + /** + * The list of policy findings. + * @return value or {@code null} for none + */ + public java.util.List getPolicyTopicEntries() { + return policyTopicEntries; + } + + /** + * The list of policy findings. + * @param policyTopicEntries policyTopicEntries or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPolicySummary setPolicyTopicEntries(java.util.List policyTopicEntries) { + this.policyTopicEntries = policyTopicEntries; + return this; + } + + /** + * Where in the review process the resource is. + * @return value or {@code null} for none + */ + public java.lang.String getReviewStatus() { + return reviewStatus; + } + + /** + * Where in the review process the resource is. + * @param reviewStatus reviewStatus or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPolicySummary setReviewStatus(java.lang.String reviewStatus) { + this.reviewStatus = reviewStatus; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonPolicySummary set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonPolicySummary) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonPolicySummary clone() { + return (GoogleAdsSearchads360V23CommonPolicySummary) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPolicyTopicConstraint.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPolicyTopicConstraint.java new file mode 100644 index 00000000000..a660fd478cf --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPolicyTopicConstraint.java @@ -0,0 +1,139 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Describes the effect on serving that a policy topic entry will have. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonPolicyTopicConstraint extends com.google.api.client.json.GenericJson { + + /** + * Countries where the resource's domain is not covered by the certificates associated with it. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonPolicyTopicConstraintCountryConstraintList certificateDomainMismatchInCountryList; + + /** + * Countries where a certificate is required for serving. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonPolicyTopicConstraintCountryConstraintList certificateMissingInCountryList; + + /** + * Countries where the resource cannot serve. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonPolicyTopicConstraintCountryConstraintList countryConstraintList; + + /** + * Reseller constraint. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonPolicyTopicConstraintResellerConstraint resellerConstraint; + + /** + * Countries where the resource's domain is not covered by the certificates associated with it. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPolicyTopicConstraintCountryConstraintList getCertificateDomainMismatchInCountryList() { + return certificateDomainMismatchInCountryList; + } + + /** + * Countries where the resource's domain is not covered by the certificates associated with it. + * @param certificateDomainMismatchInCountryList certificateDomainMismatchInCountryList or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPolicyTopicConstraint setCertificateDomainMismatchInCountryList(GoogleAdsSearchads360V23CommonPolicyTopicConstraintCountryConstraintList certificateDomainMismatchInCountryList) { + this.certificateDomainMismatchInCountryList = certificateDomainMismatchInCountryList; + return this; + } + + /** + * Countries where a certificate is required for serving. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPolicyTopicConstraintCountryConstraintList getCertificateMissingInCountryList() { + return certificateMissingInCountryList; + } + + /** + * Countries where a certificate is required for serving. + * @param certificateMissingInCountryList certificateMissingInCountryList or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPolicyTopicConstraint setCertificateMissingInCountryList(GoogleAdsSearchads360V23CommonPolicyTopicConstraintCountryConstraintList certificateMissingInCountryList) { + this.certificateMissingInCountryList = certificateMissingInCountryList; + return this; + } + + /** + * Countries where the resource cannot serve. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPolicyTopicConstraintCountryConstraintList getCountryConstraintList() { + return countryConstraintList; + } + + /** + * Countries where the resource cannot serve. + * @param countryConstraintList countryConstraintList or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPolicyTopicConstraint setCountryConstraintList(GoogleAdsSearchads360V23CommonPolicyTopicConstraintCountryConstraintList countryConstraintList) { + this.countryConstraintList = countryConstraintList; + return this; + } + + /** + * Reseller constraint. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPolicyTopicConstraintResellerConstraint getResellerConstraint() { + return resellerConstraint; + } + + /** + * Reseller constraint. + * @param resellerConstraint resellerConstraint or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPolicyTopicConstraint setResellerConstraint(GoogleAdsSearchads360V23CommonPolicyTopicConstraintResellerConstraint resellerConstraint) { + this.resellerConstraint = resellerConstraint; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonPolicyTopicConstraint set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonPolicyTopicConstraint) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonPolicyTopicConstraint clone() { + return (GoogleAdsSearchads360V23CommonPolicyTopicConstraint) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPolicyTopicConstraintCountryConstraint.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPolicyTopicConstraintCountryConstraint.java new file mode 100644 index 00000000000..dfdb3ca1cbb --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPolicyTopicConstraintCountryConstraint.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Indicates that a resource's ability to serve in a particular country is constrained. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonPolicyTopicConstraintCountryConstraint extends com.google.api.client.json.GenericJson { + + /** + * Geo target constant resource name of the country in which serving is constrained. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String countryCriterion; + + /** + * Geo target constant resource name of the country in which serving is constrained. + * @return value or {@code null} for none + */ + public java.lang.String getCountryCriterion() { + return countryCriterion; + } + + /** + * Geo target constant resource name of the country in which serving is constrained. + * @param countryCriterion countryCriterion or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPolicyTopicConstraintCountryConstraint setCountryCriterion(java.lang.String countryCriterion) { + this.countryCriterion = countryCriterion; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonPolicyTopicConstraintCountryConstraint set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonPolicyTopicConstraintCountryConstraint) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonPolicyTopicConstraintCountryConstraint clone() { + return (GoogleAdsSearchads360V23CommonPolicyTopicConstraintCountryConstraint) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPolicyTopicConstraintCountryConstraintList.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPolicyTopicConstraintCountryConstraintList.java new file mode 100644 index 00000000000..328efb96abb --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPolicyTopicConstraintCountryConstraintList.java @@ -0,0 +1,97 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A list of countries where a resource's serving is constrained. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonPolicyTopicConstraintCountryConstraintList extends com.google.api.client.json.GenericJson { + + /** + * Countries in which serving is restricted. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List countries; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonPolicyTopicConstraintCountryConstraint used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonPolicyTopicConstraintCountryConstraint.class); + } + + /** + * Total number of countries targeted by the resource. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer totalTargetedCountries; + + /** + * Countries in which serving is restricted. + * @return value or {@code null} for none + */ + public java.util.List getCountries() { + return countries; + } + + /** + * Countries in which serving is restricted. + * @param countries countries or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPolicyTopicConstraintCountryConstraintList setCountries(java.util.List countries) { + this.countries = countries; + return this; + } + + /** + * Total number of countries targeted by the resource. + * @return value or {@code null} for none + */ + public java.lang.Integer getTotalTargetedCountries() { + return totalTargetedCountries; + } + + /** + * Total number of countries targeted by the resource. + * @param totalTargetedCountries totalTargetedCountries or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPolicyTopicConstraintCountryConstraintList setTotalTargetedCountries(java.lang.Integer totalTargetedCountries) { + this.totalTargetedCountries = totalTargetedCountries; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonPolicyTopicConstraintCountryConstraintList set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonPolicyTopicConstraintCountryConstraintList) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonPolicyTopicConstraintCountryConstraintList clone() { + return (GoogleAdsSearchads360V23CommonPolicyTopicConstraintCountryConstraintList) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPolicyTopicConstraintResellerConstraint.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPolicyTopicConstraintResellerConstraint.java new file mode 100644 index 00000000000..0a7deb590e9 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPolicyTopicConstraintResellerConstraint.java @@ -0,0 +1,44 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Indicates that a policy topic was constrained due to disapproval of the website for reseller + * purposes. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonPolicyTopicConstraintResellerConstraint extends com.google.api.client.json.GenericJson { + + @Override + public GoogleAdsSearchads360V23CommonPolicyTopicConstraintResellerConstraint set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonPolicyTopicConstraintResellerConstraint) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonPolicyTopicConstraintResellerConstraint clone() { + return (GoogleAdsSearchads360V23CommonPolicyTopicConstraintResellerConstraint) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPolicyTopicEntry.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPolicyTopicEntry.java new file mode 100644 index 00000000000..d1b89ca0d2f --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPolicyTopicEntry.java @@ -0,0 +1,158 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Policy finding attached to a resource (for example, alcohol policy associated with a site that + * sells alcohol). Each PolicyTopicEntry has a topic that indicates the specific ads policy the + * entry is about and a type to indicate the effect that the entry will have on serving. It may + * optionally have one or more evidences that indicate the reason for the finding. It may also + * optionally have one or more constraints that provide details about how serving may be restricted. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonPolicyTopicEntry extends com.google.api.client.json.GenericJson { + + /** + * Indicates how serving of this resource may be affected (for example, not serving in a country). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List constraints; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonPolicyTopicConstraint used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonPolicyTopicConstraint.class); + } + + /** + * Additional information that explains policy finding (for example, the brand name for a + * trademark finding). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List evidences; + + /** + * Policy topic this finding refers to. For example, "ALCOHOL", "TRADEMARKS_IN_AD_TEXT", or + * "DESTINATION_NOT_WORKING". The set of possible policy topics is not fixed for a particular API + * version and may change at any time. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String topic; + + /** + * Describes the negative or positive effect this policy will have on serving. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String type; + + /** + * Indicates how serving of this resource may be affected (for example, not serving in a country). + * @return value or {@code null} for none + */ + public java.util.List getConstraints() { + return constraints; + } + + /** + * Indicates how serving of this resource may be affected (for example, not serving in a country). + * @param constraints constraints or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPolicyTopicEntry setConstraints(java.util.List constraints) { + this.constraints = constraints; + return this; + } + + /** + * Additional information that explains policy finding (for example, the brand name for a + * trademark finding). + * @return value or {@code null} for none + */ + public java.util.List getEvidences() { + return evidences; + } + + /** + * Additional information that explains policy finding (for example, the brand name for a + * trademark finding). + * @param evidences evidences or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPolicyTopicEntry setEvidences(java.util.List evidences) { + this.evidences = evidences; + return this; + } + + /** + * Policy topic this finding refers to. For example, "ALCOHOL", "TRADEMARKS_IN_AD_TEXT", or + * "DESTINATION_NOT_WORKING". The set of possible policy topics is not fixed for a particular API + * version and may change at any time. + * @return value or {@code null} for none + */ + public java.lang.String getTopic() { + return topic; + } + + /** + * Policy topic this finding refers to. For example, "ALCOHOL", "TRADEMARKS_IN_AD_TEXT", or + * "DESTINATION_NOT_WORKING". The set of possible policy topics is not fixed for a particular API + * version and may change at any time. + * @param topic topic or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPolicyTopicEntry setTopic(java.lang.String topic) { + this.topic = topic; + return this; + } + + /** + * Describes the negative or positive effect this policy will have on serving. + * @return value or {@code null} for none + */ + public java.lang.String getType() { + return type; + } + + /** + * Describes the negative or positive effect this policy will have on serving. + * @param type type or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPolicyTopicEntry setType(java.lang.String type) { + this.type = type; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonPolicyTopicEntry set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonPolicyTopicEntry) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonPolicyTopicEntry clone() { + return (GoogleAdsSearchads360V23CommonPolicyTopicEntry) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPolicyTopicEvidence.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPolicyTopicEvidence.java new file mode 100644 index 00000000000..4ebb428c5df --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPolicyTopicEvidence.java @@ -0,0 +1,193 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Additional information that explains a policy finding. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonPolicyTopicEvidence extends com.google.api.client.json.GenericJson { + + /** + * Mismatch between the destinations of a resource's URLs. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonPolicyTopicEvidenceDestinationMismatch destinationMismatch; + + /** + * Details when the destination is returning an HTTP error code or isn't functional in all + * locations for commonly used devices. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonPolicyTopicEvidenceDestinationNotWorking destinationNotWorking; + + /** + * The text in the destination of the resource that is causing a policy finding. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonPolicyTopicEvidenceDestinationTextList destinationTextList; + + /** + * The language the resource was detected to be written in. This is an IETF language tag such as + * "en-US". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String languageCode; + + /** + * List of evidence found in the text of a resource. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonPolicyTopicEvidenceTextList textList; + + /** + * List of websites linked with this resource. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonPolicyTopicEvidenceWebsiteList websiteList; + + /** + * Mismatch between the destinations of a resource's URLs. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPolicyTopicEvidenceDestinationMismatch getDestinationMismatch() { + return destinationMismatch; + } + + /** + * Mismatch between the destinations of a resource's URLs. + * @param destinationMismatch destinationMismatch or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPolicyTopicEvidence setDestinationMismatch(GoogleAdsSearchads360V23CommonPolicyTopicEvidenceDestinationMismatch destinationMismatch) { + this.destinationMismatch = destinationMismatch; + return this; + } + + /** + * Details when the destination is returning an HTTP error code or isn't functional in all + * locations for commonly used devices. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPolicyTopicEvidenceDestinationNotWorking getDestinationNotWorking() { + return destinationNotWorking; + } + + /** + * Details when the destination is returning an HTTP error code or isn't functional in all + * locations for commonly used devices. + * @param destinationNotWorking destinationNotWorking or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPolicyTopicEvidence setDestinationNotWorking(GoogleAdsSearchads360V23CommonPolicyTopicEvidenceDestinationNotWorking destinationNotWorking) { + this.destinationNotWorking = destinationNotWorking; + return this; + } + + /** + * The text in the destination of the resource that is causing a policy finding. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPolicyTopicEvidenceDestinationTextList getDestinationTextList() { + return destinationTextList; + } + + /** + * The text in the destination of the resource that is causing a policy finding. + * @param destinationTextList destinationTextList or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPolicyTopicEvidence setDestinationTextList(GoogleAdsSearchads360V23CommonPolicyTopicEvidenceDestinationTextList destinationTextList) { + this.destinationTextList = destinationTextList; + return this; + } + + /** + * The language the resource was detected to be written in. This is an IETF language tag such as + * "en-US". + * @return value or {@code null} for none + */ + public java.lang.String getLanguageCode() { + return languageCode; + } + + /** + * The language the resource was detected to be written in. This is an IETF language tag such as + * "en-US". + * @param languageCode languageCode or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPolicyTopicEvidence setLanguageCode(java.lang.String languageCode) { + this.languageCode = languageCode; + return this; + } + + /** + * List of evidence found in the text of a resource. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPolicyTopicEvidenceTextList getTextList() { + return textList; + } + + /** + * List of evidence found in the text of a resource. + * @param textList textList or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPolicyTopicEvidence setTextList(GoogleAdsSearchads360V23CommonPolicyTopicEvidenceTextList textList) { + this.textList = textList; + return this; + } + + /** + * List of websites linked with this resource. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPolicyTopicEvidenceWebsiteList getWebsiteList() { + return websiteList; + } + + /** + * List of websites linked with this resource. + * @param websiteList websiteList or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPolicyTopicEvidence setWebsiteList(GoogleAdsSearchads360V23CommonPolicyTopicEvidenceWebsiteList websiteList) { + this.websiteList = websiteList; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonPolicyTopicEvidence set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonPolicyTopicEvidence) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonPolicyTopicEvidence clone() { + return (GoogleAdsSearchads360V23CommonPolicyTopicEvidence) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPolicyTopicEvidenceDestinationMismatch.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPolicyTopicEvidenceDestinationMismatch.java new file mode 100644 index 00000000000..4bc6de150b8 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPolicyTopicEvidenceDestinationMismatch.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Evidence of mismatches between the URLs of a resource. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonPolicyTopicEvidenceDestinationMismatch extends com.google.api.client.json.GenericJson { + + /** + * The set of URLs that did not match each other. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List urlTypes; + + /** + * The set of URLs that did not match each other. + * @return value or {@code null} for none + */ + public java.util.List getUrlTypes() { + return urlTypes; + } + + /** + * The set of URLs that did not match each other. + * @param urlTypes urlTypes or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPolicyTopicEvidenceDestinationMismatch setUrlTypes(java.util.List urlTypes) { + this.urlTypes = urlTypes; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonPolicyTopicEvidenceDestinationMismatch set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonPolicyTopicEvidenceDestinationMismatch) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonPolicyTopicEvidenceDestinationMismatch clone() { + return (GoogleAdsSearchads360V23CommonPolicyTopicEvidenceDestinationMismatch) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPolicyTopicEvidenceDestinationNotWorking.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPolicyTopicEvidenceDestinationNotWorking.java new file mode 100644 index 00000000000..b36eea6b399 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPolicyTopicEvidenceDestinationNotWorking.java @@ -0,0 +1,167 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Evidence details when the destination is returning an HTTP error code or isn't functional in all + * locations for commonly used devices. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonPolicyTopicEvidenceDestinationNotWorking extends com.google.api.client.json.GenericJson { + + /** + * The type of device that failed to load the URL. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String device; + + /** + * The type of DNS error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String dnsErrorType; + + /** + * The full URL that didn't work. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String expandedUrl; + + /** + * The HTTP error code. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long httpErrorCode; + + /** + * The time the URL was last checked. The format is "YYYY-MM-DD HH:MM:SS". Examples: "2018-03-05 + * 09:15:00" or "2018-02-01 14:34:30" + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String lastCheckedDateTime; + + /** + * The type of device that failed to load the URL. + * @return value or {@code null} for none + */ + public java.lang.String getDevice() { + return device; + } + + /** + * The type of device that failed to load the URL. + * @param device device or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPolicyTopicEvidenceDestinationNotWorking setDevice(java.lang.String device) { + this.device = device; + return this; + } + + /** + * The type of DNS error. + * @return value or {@code null} for none + */ + public java.lang.String getDnsErrorType() { + return dnsErrorType; + } + + /** + * The type of DNS error. + * @param dnsErrorType dnsErrorType or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPolicyTopicEvidenceDestinationNotWorking setDnsErrorType(java.lang.String dnsErrorType) { + this.dnsErrorType = dnsErrorType; + return this; + } + + /** + * The full URL that didn't work. + * @return value or {@code null} for none + */ + public java.lang.String getExpandedUrl() { + return expandedUrl; + } + + /** + * The full URL that didn't work. + * @param expandedUrl expandedUrl or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPolicyTopicEvidenceDestinationNotWorking setExpandedUrl(java.lang.String expandedUrl) { + this.expandedUrl = expandedUrl; + return this; + } + + /** + * The HTTP error code. + * @return value or {@code null} for none + */ + public java.lang.Long getHttpErrorCode() { + return httpErrorCode; + } + + /** + * The HTTP error code. + * @param httpErrorCode httpErrorCode or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPolicyTopicEvidenceDestinationNotWorking setHttpErrorCode(java.lang.Long httpErrorCode) { + this.httpErrorCode = httpErrorCode; + return this; + } + + /** + * The time the URL was last checked. The format is "YYYY-MM-DD HH:MM:SS". Examples: "2018-03-05 + * 09:15:00" or "2018-02-01 14:34:30" + * @return value or {@code null} for none + */ + public java.lang.String getLastCheckedDateTime() { + return lastCheckedDateTime; + } + + /** + * The time the URL was last checked. The format is "YYYY-MM-DD HH:MM:SS". Examples: "2018-03-05 + * 09:15:00" or "2018-02-01 14:34:30" + * @param lastCheckedDateTime lastCheckedDateTime or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPolicyTopicEvidenceDestinationNotWorking setLastCheckedDateTime(java.lang.String lastCheckedDateTime) { + this.lastCheckedDateTime = lastCheckedDateTime; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonPolicyTopicEvidenceDestinationNotWorking set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonPolicyTopicEvidenceDestinationNotWorking) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonPolicyTopicEvidenceDestinationNotWorking clone() { + return (GoogleAdsSearchads360V23CommonPolicyTopicEvidenceDestinationNotWorking) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPolicyTopicEvidenceDestinationTextList.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPolicyTopicEvidenceDestinationTextList.java new file mode 100644 index 00000000000..57d491bd8f0 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPolicyTopicEvidenceDestinationTextList.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A list of strings found in a destination page that caused a policy finding. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonPolicyTopicEvidenceDestinationTextList extends com.google.api.client.json.GenericJson { + + /** + * List of text found in the resource's destination page. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List destinationTexts; + + /** + * List of text found in the resource's destination page. + * @return value or {@code null} for none + */ + public java.util.List getDestinationTexts() { + return destinationTexts; + } + + /** + * List of text found in the resource's destination page. + * @param destinationTexts destinationTexts or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPolicyTopicEvidenceDestinationTextList setDestinationTexts(java.util.List destinationTexts) { + this.destinationTexts = destinationTexts; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonPolicyTopicEvidenceDestinationTextList set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonPolicyTopicEvidenceDestinationTextList) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonPolicyTopicEvidenceDestinationTextList clone() { + return (GoogleAdsSearchads360V23CommonPolicyTopicEvidenceDestinationTextList) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPolicyTopicEvidenceTextList.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPolicyTopicEvidenceTextList.java new file mode 100644 index 00000000000..8b365f6bd34 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPolicyTopicEvidenceTextList.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A list of fragments of text that violated a policy. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonPolicyTopicEvidenceTextList extends com.google.api.client.json.GenericJson { + + /** + * The fragments of text from the resource that caused the policy finding. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List texts; + + /** + * The fragments of text from the resource that caused the policy finding. + * @return value or {@code null} for none + */ + public java.util.List getTexts() { + return texts; + } + + /** + * The fragments of text from the resource that caused the policy finding. + * @param texts texts or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPolicyTopicEvidenceTextList setTexts(java.util.List texts) { + this.texts = texts; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonPolicyTopicEvidenceTextList set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonPolicyTopicEvidenceTextList) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonPolicyTopicEvidenceTextList clone() { + return (GoogleAdsSearchads360V23CommonPolicyTopicEvidenceTextList) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPolicyTopicEvidenceWebsiteList.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPolicyTopicEvidenceWebsiteList.java new file mode 100644 index 00000000000..db97f58bdd0 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPolicyTopicEvidenceWebsiteList.java @@ -0,0 +1,69 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A list of websites that caused a policy finding. Used for ONE_WEBSITE_PER_AD_GROUP policy topic, + * for example. In case there are more than five websites, only the top five (those that appear in + * resources the most) will be listed here. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonPolicyTopicEvidenceWebsiteList extends com.google.api.client.json.GenericJson { + + /** + * Websites that caused the policy finding. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List websites; + + /** + * Websites that caused the policy finding. + * @return value or {@code null} for none + */ + public java.util.List getWebsites() { + return websites; + } + + /** + * Websites that caused the policy finding. + * @param websites websites or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPolicyTopicEvidenceWebsiteList setWebsites(java.util.List websites) { + this.websites = websites; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonPolicyTopicEvidenceWebsiteList set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonPolicyTopicEvidenceWebsiteList) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonPolicyTopicEvidenceWebsiteList clone() { + return (GoogleAdsSearchads360V23CommonPolicyTopicEvidenceWebsiteList) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPolicyValidationParameter.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPolicyValidationParameter.java new file mode 100644 index 00000000000..0fc2c0aa45e --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPolicyValidationParameter.java @@ -0,0 +1,124 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Parameter for controlling how policy exemption is done. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonPolicyValidationParameter extends com.google.api.client.json.GenericJson { + + /** + * The list of policy violation keys that should not cause a `PolicyViolationError` to be + * reported. Not all policy violations are exemptable. Refer to the `is_exemptible` field in the + * returned `PolicyViolationError`. This field is used for keyword policy exemptions. If this + * field is populated, then `ignorable_policy_topics` must be empty. Resources that violate these + * policies will be saved, but will not be eligible to serve. They may begin serving at a later + * time due to a change in policies, re-review of the resource, or a change in advertiser + * certificates. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List exemptPolicyViolationKeys; + + /** + * The list of policy topics that should not cause a `PolicyFindingError` to be reported. This + * field is used for ad policy exemptions. It corresponds to the `PolicyTopicEntry.topic` field. + * If this field is populated, then `exempt_policy_violation_keys` must be empty. Resources that + * violate these policies will be saved, but will not be eligible to serve. They may begin serving + * at a later time due to a change in policies, re-review of the resource, or a change in + * advertiser certificates. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List ignorablePolicyTopics; + + /** + * The list of policy violation keys that should not cause a `PolicyViolationError` to be + * reported. Not all policy violations are exemptable. Refer to the `is_exemptible` field in the + * returned `PolicyViolationError`. This field is used for keyword policy exemptions. If this + * field is populated, then `ignorable_policy_topics` must be empty. Resources that violate these + * policies will be saved, but will not be eligible to serve. They may begin serving at a later + * time due to a change in policies, re-review of the resource, or a change in advertiser + * certificates. + * @return value or {@code null} for none + */ + public java.util.List getExemptPolicyViolationKeys() { + return exemptPolicyViolationKeys; + } + + /** + * The list of policy violation keys that should not cause a `PolicyViolationError` to be + * reported. Not all policy violations are exemptable. Refer to the `is_exemptible` field in the + * returned `PolicyViolationError`. This field is used for keyword policy exemptions. If this + * field is populated, then `ignorable_policy_topics` must be empty. Resources that violate these + * policies will be saved, but will not be eligible to serve. They may begin serving at a later + * time due to a change in policies, re-review of the resource, or a change in advertiser + * certificates. + * @param exemptPolicyViolationKeys exemptPolicyViolationKeys or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPolicyValidationParameter setExemptPolicyViolationKeys(java.util.List exemptPolicyViolationKeys) { + this.exemptPolicyViolationKeys = exemptPolicyViolationKeys; + return this; + } + + /** + * The list of policy topics that should not cause a `PolicyFindingError` to be reported. This + * field is used for ad policy exemptions. It corresponds to the `PolicyTopicEntry.topic` field. + * If this field is populated, then `exempt_policy_violation_keys` must be empty. Resources that + * violate these policies will be saved, but will not be eligible to serve. They may begin serving + * at a later time due to a change in policies, re-review of the resource, or a change in + * advertiser certificates. + * @return value or {@code null} for none + */ + public java.util.List getIgnorablePolicyTopics() { + return ignorablePolicyTopics; + } + + /** + * The list of policy topics that should not cause a `PolicyFindingError` to be reported. This + * field is used for ad policy exemptions. It corresponds to the `PolicyTopicEntry.topic` field. + * If this field is populated, then `exempt_policy_violation_keys` must be empty. Resources that + * violate these policies will be saved, but will not be eligible to serve. They may begin serving + * at a later time due to a change in policies, re-review of the resource, or a change in + * advertiser certificates. + * @param ignorablePolicyTopics ignorablePolicyTopics or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPolicyValidationParameter setIgnorablePolicyTopics(java.util.List ignorablePolicyTopics) { + this.ignorablePolicyTopics = ignorablePolicyTopics; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonPolicyValidationParameter set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonPolicyValidationParameter) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonPolicyValidationParameter clone() { + return (GoogleAdsSearchads360V23CommonPolicyValidationParameter) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPolicyViolationKey.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPolicyViolationKey.java new file mode 100644 index 00000000000..6949fd98bc9 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPolicyViolationKey.java @@ -0,0 +1,98 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Key of the violation. The key is used for referring to a violation when filing an exemption + * request. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonPolicyViolationKey extends com.google.api.client.json.GenericJson { + + /** + * Unique ID of the violated policy. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String policyName; + + /** + * The text that violates the policy if specified. Otherwise, refers to the policy in general (for + * example, when requesting to be exempt from the whole policy). If not specified for criterion + * exemptions, the whole policy is implied. Must be specified for ad exemptions. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String violatingText; + + /** + * Unique ID of the violated policy. + * @return value or {@code null} for none + */ + public java.lang.String getPolicyName() { + return policyName; + } + + /** + * Unique ID of the violated policy. + * @param policyName policyName or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPolicyViolationKey setPolicyName(java.lang.String policyName) { + this.policyName = policyName; + return this; + } + + /** + * The text that violates the policy if specified. Otherwise, refers to the policy in general (for + * example, when requesting to be exempt from the whole policy). If not specified for criterion + * exemptions, the whole policy is implied. Must be specified for ad exemptions. + * @return value or {@code null} for none + */ + public java.lang.String getViolatingText() { + return violatingText; + } + + /** + * The text that violates the policy if specified. Otherwise, refers to the policy in general (for + * example, when requesting to be exempt from the whole policy). If not specified for criterion + * exemptions, the whole policy is implied. Must be specified for ad exemptions. + * @param violatingText violatingText or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPolicyViolationKey setViolatingText(java.lang.String violatingText) { + this.violatingText = violatingText; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonPolicyViolationKey set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonPolicyViolationKey) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonPolicyViolationKey clone() { + return (GoogleAdsSearchads360V23CommonPolicyViolationKey) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPriceAsset.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPriceAsset.java new file mode 100644 index 00000000000..322e0c10811 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPriceAsset.java @@ -0,0 +1,142 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * An asset representing a list of price offers. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonPriceAsset extends com.google.api.client.json.GenericJson { + + /** + * Required. The language of the price asset. Represented as BCP 47 language tag. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String languageCode; + + /** + * The price offerings of the price asset. The size of this collection should be between 3 and 8, + * inclusive. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List priceOfferings; + + /** + * The price qualifier of the price asset. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String priceQualifier; + + /** + * Required. The type of the price asset. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String type; + + /** + * Required. The language of the price asset. Represented as BCP 47 language tag. + * @return value or {@code null} for none + */ + public java.lang.String getLanguageCode() { + return languageCode; + } + + /** + * Required. The language of the price asset. Represented as BCP 47 language tag. + * @param languageCode languageCode or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPriceAsset setLanguageCode(java.lang.String languageCode) { + this.languageCode = languageCode; + return this; + } + + /** + * The price offerings of the price asset. The size of this collection should be between 3 and 8, + * inclusive. + * @return value or {@code null} for none + */ + public java.util.List getPriceOfferings() { + return priceOfferings; + } + + /** + * The price offerings of the price asset. The size of this collection should be between 3 and 8, + * inclusive. + * @param priceOfferings priceOfferings or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPriceAsset setPriceOfferings(java.util.List priceOfferings) { + this.priceOfferings = priceOfferings; + return this; + } + + /** + * The price qualifier of the price asset. + * @return value or {@code null} for none + */ + public java.lang.String getPriceQualifier() { + return priceQualifier; + } + + /** + * The price qualifier of the price asset. + * @param priceQualifier priceQualifier or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPriceAsset setPriceQualifier(java.lang.String priceQualifier) { + this.priceQualifier = priceQualifier; + return this; + } + + /** + * Required. The type of the price asset. + * @return value or {@code null} for none + */ + public java.lang.String getType() { + return type; + } + + /** + * Required. The type of the price asset. + * @param type type or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPriceAsset setType(java.lang.String type) { + this.type = type; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonPriceAsset set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonPriceAsset) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonPriceAsset clone() { + return (GoogleAdsSearchads360V23CommonPriceAsset) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPriceOffering.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPriceOffering.java new file mode 100644 index 00000000000..67e35fc9308 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPriceOffering.java @@ -0,0 +1,193 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A single price offering within a PriceAsset. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonPriceOffering extends com.google.api.client.json.GenericJson { + + /** + * Required. The description of the price offering. The length of this string should be between 1 + * and 25, inclusive. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String description; + + /** + * The final mobile URL after all cross domain redirects. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String finalMobileUrl; + + /** + * Required. The final URL after all cross domain redirects. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String finalUrl; + + /** + * Required. The header of the price offering. The length of this string should be between 1 and + * 25, inclusive. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String header; + + /** + * Required. The price value of the price offering. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonMoney price; + + /** + * The price unit of the price offering. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String unit; + + /** + * Required. The description of the price offering. The length of this string should be between 1 + * and 25, inclusive. + * @return value or {@code null} for none + */ + public java.lang.String getDescription() { + return description; + } + + /** + * Required. The description of the price offering. The length of this string should be between 1 + * and 25, inclusive. + * @param description description or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPriceOffering setDescription(java.lang.String description) { + this.description = description; + return this; + } + + /** + * The final mobile URL after all cross domain redirects. + * @return value or {@code null} for none + */ + public java.lang.String getFinalMobileUrl() { + return finalMobileUrl; + } + + /** + * The final mobile URL after all cross domain redirects. + * @param finalMobileUrl finalMobileUrl or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPriceOffering setFinalMobileUrl(java.lang.String finalMobileUrl) { + this.finalMobileUrl = finalMobileUrl; + return this; + } + + /** + * Required. The final URL after all cross domain redirects. + * @return value or {@code null} for none + */ + public java.lang.String getFinalUrl() { + return finalUrl; + } + + /** + * Required. The final URL after all cross domain redirects. + * @param finalUrl finalUrl or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPriceOffering setFinalUrl(java.lang.String finalUrl) { + this.finalUrl = finalUrl; + return this; + } + + /** + * Required. The header of the price offering. The length of this string should be between 1 and + * 25, inclusive. + * @return value or {@code null} for none + */ + public java.lang.String getHeader() { + return header; + } + + /** + * Required. The header of the price offering. The length of this string should be between 1 and + * 25, inclusive. + * @param header header or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPriceOffering setHeader(java.lang.String header) { + this.header = header; + return this; + } + + /** + * Required. The price value of the price offering. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMoney getPrice() { + return price; + } + + /** + * Required. The price value of the price offering. + * @param price price or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPriceOffering setPrice(GoogleAdsSearchads360V23CommonMoney price) { + this.price = price; + return this; + } + + /** + * The price unit of the price offering. + * @return value or {@code null} for none + */ + public java.lang.String getUnit() { + return unit; + } + + /** + * The price unit of the price offering. + * @param unit unit or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPriceOffering setUnit(java.lang.String unit) { + this.unit = unit; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonPriceOffering set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonPriceOffering) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonPriceOffering clone() { + return (GoogleAdsSearchads360V23CommonPriceOffering) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonProductBrandInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonProductBrandInfo.java new file mode 100644 index 00000000000..afc96806a00 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonProductBrandInfo.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Brand of the product. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonProductBrandInfo extends com.google.api.client.json.GenericJson { + + /** + * String value of the product brand. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String value; + + /** + * String value of the product brand. + * @return value or {@code null} for none + */ + public java.lang.String getValue() { + return value; + } + + /** + * String value of the product brand. + * @param value value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonProductBrandInfo setValue(java.lang.String value) { + this.value = value; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonProductBrandInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonProductBrandInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonProductBrandInfo clone() { + return (GoogleAdsSearchads360V23CommonProductBrandInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonProductCategoryInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonProductCategoryInfo.java new file mode 100644 index 00000000000..5dcf4cc0a74 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonProductCategoryInfo.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Category of a product offer. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonProductCategoryInfo extends com.google.api.client.json.GenericJson { + + /** + * ID of the product category. This ID is equivalent to the google_product_category ID as + * described in this article: https://support.google.com/merchants/answer/6324436 + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long categoryId; + + /** + * Level of the product category. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String level; + + /** + * ID of the product category. This ID is equivalent to the google_product_category ID as + * described in this article: https://support.google.com/merchants/answer/6324436 + * @return value or {@code null} for none + */ + public java.lang.Long getCategoryId() { + return categoryId; + } + + /** + * ID of the product category. This ID is equivalent to the google_product_category ID as + * described in this article: https://support.google.com/merchants/answer/6324436 + * @param categoryId categoryId or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonProductCategoryInfo setCategoryId(java.lang.Long categoryId) { + this.categoryId = categoryId; + return this; + } + + /** + * Level of the product category. + * @return value or {@code null} for none + */ + public java.lang.String getLevel() { + return level; + } + + /** + * Level of the product category. + * @param level level or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonProductCategoryInfo setLevel(java.lang.String level) { + this.level = level; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonProductCategoryInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonProductCategoryInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonProductCategoryInfo clone() { + return (GoogleAdsSearchads360V23CommonProductCategoryInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonProductChannelExclusivityInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonProductChannelExclusivityInfo.java new file mode 100644 index 00000000000..7cef9d2c7b9 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonProductChannelExclusivityInfo.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Availability of a product offer. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonProductChannelExclusivityInfo extends com.google.api.client.json.GenericJson { + + /** + * Value of the availability. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String channelExclusivity; + + /** + * Value of the availability. + * @return value or {@code null} for none + */ + public java.lang.String getChannelExclusivity() { + return channelExclusivity; + } + + /** + * Value of the availability. + * @param channelExclusivity channelExclusivity or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonProductChannelExclusivityInfo setChannelExclusivity(java.lang.String channelExclusivity) { + this.channelExclusivity = channelExclusivity; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonProductChannelExclusivityInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonProductChannelExclusivityInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonProductChannelExclusivityInfo clone() { + return (GoogleAdsSearchads360V23CommonProductChannelExclusivityInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonProductChannelInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonProductChannelInfo.java new file mode 100644 index 00000000000..4e1452c1ac3 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonProductChannelInfo.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Locality of a product offer. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonProductChannelInfo extends com.google.api.client.json.GenericJson { + + /** + * Value of the locality. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String channel; + + /** + * Value of the locality. + * @return value or {@code null} for none + */ + public java.lang.String getChannel() { + return channel; + } + + /** + * Value of the locality. + * @param channel channel or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonProductChannelInfo setChannel(java.lang.String channel) { + this.channel = channel; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonProductChannelInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonProductChannelInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonProductChannelInfo clone() { + return (GoogleAdsSearchads360V23CommonProductChannelInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonProductConditionInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonProductConditionInfo.java new file mode 100644 index 00000000000..6511eb36baa --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonProductConditionInfo.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Condition of a product offer. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonProductConditionInfo extends com.google.api.client.json.GenericJson { + + /** + * Value of the condition. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String condition; + + /** + * Value of the condition. + * @return value or {@code null} for none + */ + public java.lang.String getCondition() { + return condition; + } + + /** + * Value of the condition. + * @param condition condition or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonProductConditionInfo setCondition(java.lang.String condition) { + this.condition = condition; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonProductConditionInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonProductConditionInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonProductConditionInfo clone() { + return (GoogleAdsSearchads360V23CommonProductConditionInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonProductCustomAttributeInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonProductCustomAttributeInfo.java new file mode 100644 index 00000000000..8b0c57a7f08 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonProductCustomAttributeInfo.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Custom attribute of a product offer. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonProductCustomAttributeInfo extends com.google.api.client.json.GenericJson { + + /** + * Indicates the index of the custom attribute. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String index; + + /** + * String value of the product custom attribute. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String value; + + /** + * Indicates the index of the custom attribute. + * @return value or {@code null} for none + */ + public java.lang.String getIndex() { + return index; + } + + /** + * Indicates the index of the custom attribute. + * @param index index or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonProductCustomAttributeInfo setIndex(java.lang.String index) { + this.index = index; + return this; + } + + /** + * String value of the product custom attribute. + * @return value or {@code null} for none + */ + public java.lang.String getValue() { + return value; + } + + /** + * String value of the product custom attribute. + * @param value value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonProductCustomAttributeInfo setValue(java.lang.String value) { + this.value = value; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonProductCustomAttributeInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonProductCustomAttributeInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonProductCustomAttributeInfo clone() { + return (GoogleAdsSearchads360V23CommonProductCustomAttributeInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonProductGroupingInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonProductGroupingInfo.java new file mode 100644 index 00000000000..6587a722098 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonProductGroupingInfo.java @@ -0,0 +1,68 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Grouping of a product offer. This listing dimension is deprecated and it is supported only in + * Display campaigns. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonProductGroupingInfo extends com.google.api.client.json.GenericJson { + + /** + * String value of the product grouping. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String value; + + /** + * String value of the product grouping. + * @return value or {@code null} for none + */ + public java.lang.String getValue() { + return value; + } + + /** + * String value of the product grouping. + * @param value value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonProductGroupingInfo setValue(java.lang.String value) { + this.value = value; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonProductGroupingInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonProductGroupingInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonProductGroupingInfo clone() { + return (GoogleAdsSearchads360V23CommonProductGroupingInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonProductItemIdInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonProductItemIdInfo.java new file mode 100644 index 00000000000..022b6a36cd5 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonProductItemIdInfo.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Item id of a product offer. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonProductItemIdInfo extends com.google.api.client.json.GenericJson { + + /** + * Value of the id. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String value; + + /** + * Value of the id. + * @return value or {@code null} for none + */ + public java.lang.String getValue() { + return value; + } + + /** + * Value of the id. + * @param value value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonProductItemIdInfo setValue(java.lang.String value) { + this.value = value; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonProductItemIdInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonProductItemIdInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonProductItemIdInfo clone() { + return (GoogleAdsSearchads360V23CommonProductItemIdInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonProductLabelsInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonProductLabelsInfo.java new file mode 100644 index 00000000000..6ef69974047 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonProductLabelsInfo.java @@ -0,0 +1,68 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Labels of a product offer. This listing dimension is deprecated and it is supported only in + * Display campaigns. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonProductLabelsInfo extends com.google.api.client.json.GenericJson { + + /** + * String value of the product labels. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String value; + + /** + * String value of the product labels. + * @return value or {@code null} for none + */ + public java.lang.String getValue() { + return value; + } + + /** + * String value of the product labels. + * @param value value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonProductLabelsInfo setValue(java.lang.String value) { + this.value = value; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonProductLabelsInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonProductLabelsInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonProductLabelsInfo clone() { + return (GoogleAdsSearchads360V23CommonProductLabelsInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonProductLegacyConditionInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonProductLegacyConditionInfo.java new file mode 100644 index 00000000000..6486f653452 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonProductLegacyConditionInfo.java @@ -0,0 +1,68 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Legacy condition of a product offer. This listing dimension is deprecated and it is supported + * only in Display campaigns. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonProductLegacyConditionInfo extends com.google.api.client.json.GenericJson { + + /** + * String value of the product legacy condition. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String value; + + /** + * String value of the product legacy condition. + * @return value or {@code null} for none + */ + public java.lang.String getValue() { + return value; + } + + /** + * String value of the product legacy condition. + * @param value value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonProductLegacyConditionInfo setValue(java.lang.String value) { + this.value = value; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonProductLegacyConditionInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonProductLegacyConditionInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonProductLegacyConditionInfo clone() { + return (GoogleAdsSearchads360V23CommonProductLegacyConditionInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonProductTypeFullInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonProductTypeFullInfo.java new file mode 100644 index 00000000000..8f25d6707b2 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonProductTypeFullInfo.java @@ -0,0 +1,68 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Full type of a product offer. This listing dimension is deprecated and it is supported only in + * Display campaigns. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonProductTypeFullInfo extends com.google.api.client.json.GenericJson { + + /** + * String value of the product full type. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String value; + + /** + * String value of the product full type. + * @return value or {@code null} for none + */ + public java.lang.String getValue() { + return value; + } + + /** + * String value of the product full type. + * @param value value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonProductTypeFullInfo setValue(java.lang.String value) { + this.value = value; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonProductTypeFullInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonProductTypeFullInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonProductTypeFullInfo clone() { + return (GoogleAdsSearchads360V23CommonProductTypeFullInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonProductTypeInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonProductTypeInfo.java new file mode 100644 index 00000000000..1652caf0445 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonProductTypeInfo.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Type of a product offer. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonProductTypeInfo extends com.google.api.client.json.GenericJson { + + /** + * Level of the type. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String level; + + /** + * Value of the type. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String value; + + /** + * Level of the type. + * @return value or {@code null} for none + */ + public java.lang.String getLevel() { + return level; + } + + /** + * Level of the type. + * @param level level or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonProductTypeInfo setLevel(java.lang.String level) { + this.level = level; + return this; + } + + /** + * Value of the type. + * @return value or {@code null} for none + */ + public java.lang.String getValue() { + return value; + } + + /** + * Value of the type. + * @param value value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonProductTypeInfo setValue(java.lang.String value) { + this.value = value; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonProductTypeInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonProductTypeInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonProductTypeInfo clone() { + return (GoogleAdsSearchads360V23CommonProductTypeInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPromotionAsset.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPromotionAsset.java new file mode 100644 index 00000000000..023a69864d3 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPromotionAsset.java @@ -0,0 +1,466 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A Promotion asset. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonPromotionAsset extends com.google.api.client.json.GenericJson { + + /** + * List of non-overlapping schedules specifying all time intervals for which the asset may serve. + * There can be a maximum of 6 schedules per day, 42 in total. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List adScheduleTargets; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonAdScheduleInfo used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonAdScheduleInfo.class); + } + + /** + * A modifier for qualification of the discount. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String discountModifier; + + /** + * Last date of when this asset is effective and still serving, in yyyy-MM-dd format. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String endDate; + + /** + * The language of the promotion. Represented as BCP 47 language tag. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String languageCode; + + /** + * Money amount off for discount in the promotion. Either this or percent_off is required. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonMoney moneyAmountOff; + + /** + * The occasion the promotion was intended for. If an occasion is set, the redemption window will + * need to fall within the date range associated with the occasion. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String occasion; + + /** + * The amount the total order needs to be for the user to be eligible for the promotion. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonMoney ordersOverAmount; + + /** + * Percentage off discount in the promotion. 1,000,000 = 100%. Either this or money_amount_off is + * required. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long percentOff; + + /** + * Barcode info used to generate promotion barcode for user to be eligible for the promotion. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonPromotionBarcodeInfo promotionBarcodeInfo; + + /** + * A code the user should use in order to be eligible for the promotion. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String promotionCode; + + /** + * QR code info used to generate promotion QR code for user to be eligible for the promotion. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonPromotionQrCodeInfo promotionQrCodeInfo; + + /** + * Required. A freeform description of what the promotion is targeting. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String promotionTarget; + + /** + * Last date of when the promotion is eligible to be redeemed, in yyyy-MM-dd format. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String redemptionEndDate; + + /** + * Start date of when the promotion is eligible to be redeemed, in yyyy-MM-dd format. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String redemptionStartDate; + + /** + * Start date of when this asset is effective and can begin serving, in yyyy-MM-dd format. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String startDate; + + /** + * Terms and conditions of the promotion. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String termsAndConditionsText; + + /** + * URI to the terms and conditions of the promotion. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String termsAndConditionsUri; + + /** + * List of non-overlapping schedules specifying all time intervals for which the asset may serve. + * There can be a maximum of 6 schedules per day, 42 in total. + * @return value or {@code null} for none + */ + public java.util.List getAdScheduleTargets() { + return adScheduleTargets; + } + + /** + * List of non-overlapping schedules specifying all time intervals for which the asset may serve. + * There can be a maximum of 6 schedules per day, 42 in total. + * @param adScheduleTargets adScheduleTargets or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPromotionAsset setAdScheduleTargets(java.util.List adScheduleTargets) { + this.adScheduleTargets = adScheduleTargets; + return this; + } + + /** + * A modifier for qualification of the discount. + * @return value or {@code null} for none + */ + public java.lang.String getDiscountModifier() { + return discountModifier; + } + + /** + * A modifier for qualification of the discount. + * @param discountModifier discountModifier or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPromotionAsset setDiscountModifier(java.lang.String discountModifier) { + this.discountModifier = discountModifier; + return this; + } + + /** + * Last date of when this asset is effective and still serving, in yyyy-MM-dd format. + * @return value or {@code null} for none + */ + public java.lang.String getEndDate() { + return endDate; + } + + /** + * Last date of when this asset is effective and still serving, in yyyy-MM-dd format. + * @param endDate endDate or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPromotionAsset setEndDate(java.lang.String endDate) { + this.endDate = endDate; + return this; + } + + /** + * The language of the promotion. Represented as BCP 47 language tag. + * @return value or {@code null} for none + */ + public java.lang.String getLanguageCode() { + return languageCode; + } + + /** + * The language of the promotion. Represented as BCP 47 language tag. + * @param languageCode languageCode or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPromotionAsset setLanguageCode(java.lang.String languageCode) { + this.languageCode = languageCode; + return this; + } + + /** + * Money amount off for discount in the promotion. Either this or percent_off is required. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMoney getMoneyAmountOff() { + return moneyAmountOff; + } + + /** + * Money amount off for discount in the promotion. Either this or percent_off is required. + * @param moneyAmountOff moneyAmountOff or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPromotionAsset setMoneyAmountOff(GoogleAdsSearchads360V23CommonMoney moneyAmountOff) { + this.moneyAmountOff = moneyAmountOff; + return this; + } + + /** + * The occasion the promotion was intended for. If an occasion is set, the redemption window will + * need to fall within the date range associated with the occasion. + * @return value or {@code null} for none + */ + public java.lang.String getOccasion() { + return occasion; + } + + /** + * The occasion the promotion was intended for. If an occasion is set, the redemption window will + * need to fall within the date range associated with the occasion. + * @param occasion occasion or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPromotionAsset setOccasion(java.lang.String occasion) { + this.occasion = occasion; + return this; + } + + /** + * The amount the total order needs to be for the user to be eligible for the promotion. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMoney getOrdersOverAmount() { + return ordersOverAmount; + } + + /** + * The amount the total order needs to be for the user to be eligible for the promotion. + * @param ordersOverAmount ordersOverAmount or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPromotionAsset setOrdersOverAmount(GoogleAdsSearchads360V23CommonMoney ordersOverAmount) { + this.ordersOverAmount = ordersOverAmount; + return this; + } + + /** + * Percentage off discount in the promotion. 1,000,000 = 100%. Either this or money_amount_off is + * required. + * @return value or {@code null} for none + */ + public java.lang.Long getPercentOff() { + return percentOff; + } + + /** + * Percentage off discount in the promotion. 1,000,000 = 100%. Either this or money_amount_off is + * required. + * @param percentOff percentOff or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPromotionAsset setPercentOff(java.lang.Long percentOff) { + this.percentOff = percentOff; + return this; + } + + /** + * Barcode info used to generate promotion barcode for user to be eligible for the promotion. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPromotionBarcodeInfo getPromotionBarcodeInfo() { + return promotionBarcodeInfo; + } + + /** + * Barcode info used to generate promotion barcode for user to be eligible for the promotion. + * @param promotionBarcodeInfo promotionBarcodeInfo or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPromotionAsset setPromotionBarcodeInfo(GoogleAdsSearchads360V23CommonPromotionBarcodeInfo promotionBarcodeInfo) { + this.promotionBarcodeInfo = promotionBarcodeInfo; + return this; + } + + /** + * A code the user should use in order to be eligible for the promotion. + * @return value or {@code null} for none + */ + public java.lang.String getPromotionCode() { + return promotionCode; + } + + /** + * A code the user should use in order to be eligible for the promotion. + * @param promotionCode promotionCode or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPromotionAsset setPromotionCode(java.lang.String promotionCode) { + this.promotionCode = promotionCode; + return this; + } + + /** + * QR code info used to generate promotion QR code for user to be eligible for the promotion. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPromotionQrCodeInfo getPromotionQrCodeInfo() { + return promotionQrCodeInfo; + } + + /** + * QR code info used to generate promotion QR code for user to be eligible for the promotion. + * @param promotionQrCodeInfo promotionQrCodeInfo or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPromotionAsset setPromotionQrCodeInfo(GoogleAdsSearchads360V23CommonPromotionQrCodeInfo promotionQrCodeInfo) { + this.promotionQrCodeInfo = promotionQrCodeInfo; + return this; + } + + /** + * Required. A freeform description of what the promotion is targeting. + * @return value or {@code null} for none + */ + public java.lang.String getPromotionTarget() { + return promotionTarget; + } + + /** + * Required. A freeform description of what the promotion is targeting. + * @param promotionTarget promotionTarget or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPromotionAsset setPromotionTarget(java.lang.String promotionTarget) { + this.promotionTarget = promotionTarget; + return this; + } + + /** + * Last date of when the promotion is eligible to be redeemed, in yyyy-MM-dd format. + * @return value or {@code null} for none + */ + public java.lang.String getRedemptionEndDate() { + return redemptionEndDate; + } + + /** + * Last date of when the promotion is eligible to be redeemed, in yyyy-MM-dd format. + * @param redemptionEndDate redemptionEndDate or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPromotionAsset setRedemptionEndDate(java.lang.String redemptionEndDate) { + this.redemptionEndDate = redemptionEndDate; + return this; + } + + /** + * Start date of when the promotion is eligible to be redeemed, in yyyy-MM-dd format. + * @return value or {@code null} for none + */ + public java.lang.String getRedemptionStartDate() { + return redemptionStartDate; + } + + /** + * Start date of when the promotion is eligible to be redeemed, in yyyy-MM-dd format. + * @param redemptionStartDate redemptionStartDate or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPromotionAsset setRedemptionStartDate(java.lang.String redemptionStartDate) { + this.redemptionStartDate = redemptionStartDate; + return this; + } + + /** + * Start date of when this asset is effective and can begin serving, in yyyy-MM-dd format. + * @return value or {@code null} for none + */ + public java.lang.String getStartDate() { + return startDate; + } + + /** + * Start date of when this asset is effective and can begin serving, in yyyy-MM-dd format. + * @param startDate startDate or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPromotionAsset setStartDate(java.lang.String startDate) { + this.startDate = startDate; + return this; + } + + /** + * Terms and conditions of the promotion. + * @return value or {@code null} for none + */ + public java.lang.String getTermsAndConditionsText() { + return termsAndConditionsText; + } + + /** + * Terms and conditions of the promotion. + * @param termsAndConditionsText termsAndConditionsText or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPromotionAsset setTermsAndConditionsText(java.lang.String termsAndConditionsText) { + this.termsAndConditionsText = termsAndConditionsText; + return this; + } + + /** + * URI to the terms and conditions of the promotion. + * @return value or {@code null} for none + */ + public java.lang.String getTermsAndConditionsUri() { + return termsAndConditionsUri; + } + + /** + * URI to the terms and conditions of the promotion. + * @param termsAndConditionsUri termsAndConditionsUri or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPromotionAsset setTermsAndConditionsUri(java.lang.String termsAndConditionsUri) { + this.termsAndConditionsUri = termsAndConditionsUri; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonPromotionAsset set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonPromotionAsset) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonPromotionAsset clone() { + return (GoogleAdsSearchads360V23CommonPromotionAsset) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPromotionBarcodeInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPromotionBarcodeInfo.java new file mode 100644 index 00000000000..b331f99af9c --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPromotionBarcodeInfo.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Barcode info to generate promotion barcode. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonPromotionBarcodeInfo extends com.google.api.client.json.GenericJson { + + /** + * Promotion message to be encoded in the barcode. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String barcodeContent; + + /** + * Barcode type used to generate barcode with the correct format. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String type; + + /** + * Promotion message to be encoded in the barcode. + * @return value or {@code null} for none + */ + public java.lang.String getBarcodeContent() { + return barcodeContent; + } + + /** + * Promotion message to be encoded in the barcode. + * @param barcodeContent barcodeContent or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPromotionBarcodeInfo setBarcodeContent(java.lang.String barcodeContent) { + this.barcodeContent = barcodeContent; + return this; + } + + /** + * Barcode type used to generate barcode with the correct format. + * @return value or {@code null} for none + */ + public java.lang.String getType() { + return type; + } + + /** + * Barcode type used to generate barcode with the correct format. + * @param type type or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPromotionBarcodeInfo setType(java.lang.String type) { + this.type = type; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonPromotionBarcodeInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonPromotionBarcodeInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonPromotionBarcodeInfo clone() { + return (GoogleAdsSearchads360V23CommonPromotionBarcodeInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPromotionQrCodeInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPromotionQrCodeInfo.java new file mode 100644 index 00000000000..d2c5fc789bd --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonPromotionQrCodeInfo.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * QR code info to generate promotion QR code. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonPromotionQrCodeInfo extends com.google.api.client.json.GenericJson { + + /** + * Promotion message to be encoded in the QR code. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String qrCodeContent; + + /** + * Promotion message to be encoded in the QR code. + * @return value or {@code null} for none + */ + public java.lang.String getQrCodeContent() { + return qrCodeContent; + } + + /** + * Promotion message to be encoded in the QR code. + * @param qrCodeContent qrCodeContent or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPromotionQrCodeInfo setQrCodeContent(java.lang.String qrCodeContent) { + this.qrCodeContent = qrCodeContent; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonPromotionQrCodeInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonPromotionQrCodeInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonPromotionQrCodeInfo clone() { + return (GoogleAdsSearchads360V23CommonPromotionQrCodeInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonProximityInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonProximityInfo.java new file mode 100644 index 00000000000..bb3e4d729e2 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonProximityInfo.java @@ -0,0 +1,143 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A Proximity criterion. The geo point and radius determine what geographical area is included. The + * address is a description of the geo point that does not affect ad serving. There are two ways to + * create a proximity. First, by setting an address and radius. The geo point will be automatically + * computed. Second, by setting a geo point and radius. The address is an optional label that won't + * be validated. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonProximityInfo extends com.google.api.client.json.GenericJson { + + /** + * Full address. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonAddressInfo address; + + /** + * Latitude and longitude. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonGeoPointInfo geoPoint; + + /** + * The radius of the proximity. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double radius; + + /** + * The unit of measurement of the radius. Default is KILOMETERS. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String radiusUnits; + + /** + * Full address. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAddressInfo getAddress() { + return address; + } + + /** + * Full address. + * @param address address or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonProximityInfo setAddress(GoogleAdsSearchads360V23CommonAddressInfo address) { + this.address = address; + return this; + } + + /** + * Latitude and longitude. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonGeoPointInfo getGeoPoint() { + return geoPoint; + } + + /** + * Latitude and longitude. + * @param geoPoint geoPoint or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonProximityInfo setGeoPoint(GoogleAdsSearchads360V23CommonGeoPointInfo geoPoint) { + this.geoPoint = geoPoint; + return this; + } + + /** + * The radius of the proximity. + * @return value or {@code null} for none + */ + public java.lang.Double getRadius() { + return radius; + } + + /** + * The radius of the proximity. + * @param radius radius or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonProximityInfo setRadius(java.lang.Double radius) { + this.radius = radius; + return this; + } + + /** + * The unit of measurement of the radius. Default is KILOMETERS. + * @return value or {@code null} for none + */ + public java.lang.String getRadiusUnits() { + return radiusUnits; + } + + /** + * The unit of measurement of the radius. Default is KILOMETERS. + * @param radiusUnits radiusUnits or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonProximityInfo setRadiusUnits(java.lang.String radiusUnits) { + this.radiusUnits = radiusUnits; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonProximityInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonProximityInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonProximityInfo clone() { + return (GoogleAdsSearchads360V23CommonProximityInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonRealTimeBiddingSetting.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonRealTimeBiddingSetting.java new file mode 100644 index 00000000000..e27bc403b89 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonRealTimeBiddingSetting.java @@ -0,0 +1,68 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Settings for Real-Time Bidding, a feature only available for campaigns targeting the Ad Exchange + * network. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonRealTimeBiddingSetting extends com.google.api.client.json.GenericJson { + + /** + * Whether the campaign is opted in to real-time bidding. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean optIn; + + /** + * Whether the campaign is opted in to real-time bidding. + * @return value or {@code null} for none + */ + public java.lang.Boolean getOptIn() { + return optIn; + } + + /** + * Whether the campaign is opted in to real-time bidding. + * @param optIn optIn or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonRealTimeBiddingSetting setOptIn(java.lang.Boolean optIn) { + this.optIn = optIn; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonRealTimeBiddingSetting set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonRealTimeBiddingSetting) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonRealTimeBiddingSetting clone() { + return (GoogleAdsSearchads360V23CommonRealTimeBiddingSetting) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonResponsiveDisplayAdControlSpec.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonResponsiveDisplayAdControlSpec.java new file mode 100644 index 00000000000..b69eec8d105 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonResponsiveDisplayAdControlSpec.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Specification for various creative controls for a responsive display ad. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonResponsiveDisplayAdControlSpec extends com.google.api.client.json.GenericJson { + + /** + * Whether the advertiser has opted into the asset enhancements feature. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean enableAssetEnhancements; + + /** + * Whether the advertiser has opted into auto-gen video feature. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean enableAutogenVideo; + + /** + * Whether the advertiser has opted into the asset enhancements feature. + * @return value or {@code null} for none + */ + public java.lang.Boolean getEnableAssetEnhancements() { + return enableAssetEnhancements; + } + + /** + * Whether the advertiser has opted into the asset enhancements feature. + * @param enableAssetEnhancements enableAssetEnhancements or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonResponsiveDisplayAdControlSpec setEnableAssetEnhancements(java.lang.Boolean enableAssetEnhancements) { + this.enableAssetEnhancements = enableAssetEnhancements; + return this; + } + + /** + * Whether the advertiser has opted into auto-gen video feature. + * @return value or {@code null} for none + */ + public java.lang.Boolean getEnableAutogenVideo() { + return enableAutogenVideo; + } + + /** + * Whether the advertiser has opted into auto-gen video feature. + * @param enableAutogenVideo enableAutogenVideo or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonResponsiveDisplayAdControlSpec setEnableAutogenVideo(java.lang.Boolean enableAutogenVideo) { + this.enableAutogenVideo = enableAutogenVideo; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonResponsiveDisplayAdControlSpec set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonResponsiveDisplayAdControlSpec) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonResponsiveDisplayAdControlSpec clone() { + return (GoogleAdsSearchads360V23CommonResponsiveDisplayAdControlSpec) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonResponsiveDisplayAdInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonResponsiveDisplayAdInfo.java new file mode 100644 index 00000000000..0858f2a6ec9 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonResponsiveDisplayAdInfo.java @@ -0,0 +1,538 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A responsive display ad. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonResponsiveDisplayAdInfo extends com.google.api.client.json.GenericJson { + + /** + * The accent color of the ad in hexadecimal, for example, #ffffff for white. If one of + * `main_color` and `accent_color` is set, the other is required as well. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String accentColor; + + /** + * Advertiser's consent to allow flexible color. When true, the ad may be served with different + * color if necessary. When false, the ad will be served with the specified colors or a neutral + * color. The default value is `true`. Must be true if `main_color` and `accent_color` are not + * set. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean allowFlexibleColor; + + /** + * The advertiser/brand name. Maximum display width is 25. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String businessName; + + /** + * The call-to-action text for the ad. Maximum display width is 30. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String callToActionText; + + /** + * Specification for various creative controls. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonResponsiveDisplayAdControlSpec controlSpec; + + /** + * Descriptive texts for the ad. The maximum length is 90 characters. At least 1 and max 5 + * headlines can be specified. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List descriptions; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonAdTextAsset used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonAdTextAsset.class); + } + + /** + * Specifies which format the ad will be served in. Default is ALL_FORMATS. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String formatSetting; + + /** + * Short format headlines for the ad. The maximum length is 30 characters. At least 1 and max 5 + * headlines can be specified. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List headlines; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonAdTextAsset used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonAdTextAsset.class); + } + + /** + * Logo images to be used in the ad. Valid image types are GIF, JPEG, and PNG. The minimum size is + * 512x128 and the aspect ratio must be 4:1 (+-1%). Combined with `square_logo_images`, the + * maximum is 5. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List logoImages; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonAdImageAsset used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonAdImageAsset.class); + } + + /** + * A required long format headline. The maximum length is 90 characters. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonAdTextAsset longHeadline; + + /** + * The main color of the ad in hexadecimal, for example, #ffffff for white. If one of `main_color` + * and `accent_color` is set, the other is required as well. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String mainColor; + + /** + * Marketing images to be used in the ad. Valid image types are GIF, JPEG, and PNG. The minimum + * size is 600x314 and the aspect ratio must be 1.91:1 (+-1%). At least one `marketing_image` is + * required. Combined with `square_marketing_images`, the maximum is 15. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List marketingImages; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonAdImageAsset used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonAdImageAsset.class); + } + + /** + * Prefix before price. For example, 'as low as'. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String pricePrefix; + + /** + * Promotion text used for dynamic formats of responsive ads. For example 'Free two-day shipping'. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String promoText; + + /** + * Square logo images to be used in the ad. Valid image types are GIF, JPEG, and PNG. The minimum + * size is 128x128 and the aspect ratio must be 1:1 (+-1%). Combined with `logo_images`, the + * maximum is 5. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List squareLogoImages; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonAdImageAsset used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonAdImageAsset.class); + } + + /** + * Square marketing images to be used in the ad. Valid image types are GIF, JPEG, and PNG. The + * minimum size is 300x300 and the aspect ratio must be 1:1 (+-1%). At least one square + * `marketing_image` is required. Combined with `marketing_images`, the maximum is 15. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List squareMarketingImages; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonAdImageAsset used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonAdImageAsset.class); + } + + /** + * Optional YouTube videos for the ad. A maximum of 5 videos can be specified. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List youtubeVideos; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonAdVideoAsset used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonAdVideoAsset.class); + } + + /** + * The accent color of the ad in hexadecimal, for example, #ffffff for white. If one of + * `main_color` and `accent_color` is set, the other is required as well. + * @return value or {@code null} for none + */ + public java.lang.String getAccentColor() { + return accentColor; + } + + /** + * The accent color of the ad in hexadecimal, for example, #ffffff for white. If one of + * `main_color` and `accent_color` is set, the other is required as well. + * @param accentColor accentColor or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonResponsiveDisplayAdInfo setAccentColor(java.lang.String accentColor) { + this.accentColor = accentColor; + return this; + } + + /** + * Advertiser's consent to allow flexible color. When true, the ad may be served with different + * color if necessary. When false, the ad will be served with the specified colors or a neutral + * color. The default value is `true`. Must be true if `main_color` and `accent_color` are not + * set. + * @return value or {@code null} for none + */ + public java.lang.Boolean getAllowFlexibleColor() { + return allowFlexibleColor; + } + + /** + * Advertiser's consent to allow flexible color. When true, the ad may be served with different + * color if necessary. When false, the ad will be served with the specified colors or a neutral + * color. The default value is `true`. Must be true if `main_color` and `accent_color` are not + * set. + * @param allowFlexibleColor allowFlexibleColor or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonResponsiveDisplayAdInfo setAllowFlexibleColor(java.lang.Boolean allowFlexibleColor) { + this.allowFlexibleColor = allowFlexibleColor; + return this; + } + + /** + * The advertiser/brand name. Maximum display width is 25. + * @return value or {@code null} for none + */ + public java.lang.String getBusinessName() { + return businessName; + } + + /** + * The advertiser/brand name. Maximum display width is 25. + * @param businessName businessName or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonResponsiveDisplayAdInfo setBusinessName(java.lang.String businessName) { + this.businessName = businessName; + return this; + } + + /** + * The call-to-action text for the ad. Maximum display width is 30. + * @return value or {@code null} for none + */ + public java.lang.String getCallToActionText() { + return callToActionText; + } + + /** + * The call-to-action text for the ad. Maximum display width is 30. + * @param callToActionText callToActionText or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonResponsiveDisplayAdInfo setCallToActionText(java.lang.String callToActionText) { + this.callToActionText = callToActionText; + return this; + } + + /** + * Specification for various creative controls. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonResponsiveDisplayAdControlSpec getControlSpec() { + return controlSpec; + } + + /** + * Specification for various creative controls. + * @param controlSpec controlSpec or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonResponsiveDisplayAdInfo setControlSpec(GoogleAdsSearchads360V23CommonResponsiveDisplayAdControlSpec controlSpec) { + this.controlSpec = controlSpec; + return this; + } + + /** + * Descriptive texts for the ad. The maximum length is 90 characters. At least 1 and max 5 + * headlines can be specified. + * @return value or {@code null} for none + */ + public java.util.List getDescriptions() { + return descriptions; + } + + /** + * Descriptive texts for the ad. The maximum length is 90 characters. At least 1 and max 5 + * headlines can be specified. + * @param descriptions descriptions or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonResponsiveDisplayAdInfo setDescriptions(java.util.List descriptions) { + this.descriptions = descriptions; + return this; + } + + /** + * Specifies which format the ad will be served in. Default is ALL_FORMATS. + * @return value or {@code null} for none + */ + public java.lang.String getFormatSetting() { + return formatSetting; + } + + /** + * Specifies which format the ad will be served in. Default is ALL_FORMATS. + * @param formatSetting formatSetting or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonResponsiveDisplayAdInfo setFormatSetting(java.lang.String formatSetting) { + this.formatSetting = formatSetting; + return this; + } + + /** + * Short format headlines for the ad. The maximum length is 30 characters. At least 1 and max 5 + * headlines can be specified. + * @return value or {@code null} for none + */ + public java.util.List getHeadlines() { + return headlines; + } + + /** + * Short format headlines for the ad. The maximum length is 30 characters. At least 1 and max 5 + * headlines can be specified. + * @param headlines headlines or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonResponsiveDisplayAdInfo setHeadlines(java.util.List headlines) { + this.headlines = headlines; + return this; + } + + /** + * Logo images to be used in the ad. Valid image types are GIF, JPEG, and PNG. The minimum size is + * 512x128 and the aspect ratio must be 4:1 (+-1%). Combined with `square_logo_images`, the + * maximum is 5. + * @return value or {@code null} for none + */ + public java.util.List getLogoImages() { + return logoImages; + } + + /** + * Logo images to be used in the ad. Valid image types are GIF, JPEG, and PNG. The minimum size is + * 512x128 and the aspect ratio must be 4:1 (+-1%). Combined with `square_logo_images`, the + * maximum is 5. + * @param logoImages logoImages or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonResponsiveDisplayAdInfo setLogoImages(java.util.List logoImages) { + this.logoImages = logoImages; + return this; + } + + /** + * A required long format headline. The maximum length is 90 characters. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAdTextAsset getLongHeadline() { + return longHeadline; + } + + /** + * A required long format headline. The maximum length is 90 characters. + * @param longHeadline longHeadline or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonResponsiveDisplayAdInfo setLongHeadline(GoogleAdsSearchads360V23CommonAdTextAsset longHeadline) { + this.longHeadline = longHeadline; + return this; + } + + /** + * The main color of the ad in hexadecimal, for example, #ffffff for white. If one of `main_color` + * and `accent_color` is set, the other is required as well. + * @return value or {@code null} for none + */ + public java.lang.String getMainColor() { + return mainColor; + } + + /** + * The main color of the ad in hexadecimal, for example, #ffffff for white. If one of `main_color` + * and `accent_color` is set, the other is required as well. + * @param mainColor mainColor or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonResponsiveDisplayAdInfo setMainColor(java.lang.String mainColor) { + this.mainColor = mainColor; + return this; + } + + /** + * Marketing images to be used in the ad. Valid image types are GIF, JPEG, and PNG. The minimum + * size is 600x314 and the aspect ratio must be 1.91:1 (+-1%). At least one `marketing_image` is + * required. Combined with `square_marketing_images`, the maximum is 15. + * @return value or {@code null} for none + */ + public java.util.List getMarketingImages() { + return marketingImages; + } + + /** + * Marketing images to be used in the ad. Valid image types are GIF, JPEG, and PNG. The minimum + * size is 600x314 and the aspect ratio must be 1.91:1 (+-1%). At least one `marketing_image` is + * required. Combined with `square_marketing_images`, the maximum is 15. + * @param marketingImages marketingImages or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonResponsiveDisplayAdInfo setMarketingImages(java.util.List marketingImages) { + this.marketingImages = marketingImages; + return this; + } + + /** + * Prefix before price. For example, 'as low as'. + * @return value or {@code null} for none + */ + public java.lang.String getPricePrefix() { + return pricePrefix; + } + + /** + * Prefix before price. For example, 'as low as'. + * @param pricePrefix pricePrefix or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonResponsiveDisplayAdInfo setPricePrefix(java.lang.String pricePrefix) { + this.pricePrefix = pricePrefix; + return this; + } + + /** + * Promotion text used for dynamic formats of responsive ads. For example 'Free two-day shipping'. + * @return value or {@code null} for none + */ + public java.lang.String getPromoText() { + return promoText; + } + + /** + * Promotion text used for dynamic formats of responsive ads. For example 'Free two-day shipping'. + * @param promoText promoText or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonResponsiveDisplayAdInfo setPromoText(java.lang.String promoText) { + this.promoText = promoText; + return this; + } + + /** + * Square logo images to be used in the ad. Valid image types are GIF, JPEG, and PNG. The minimum + * size is 128x128 and the aspect ratio must be 1:1 (+-1%). Combined with `logo_images`, the + * maximum is 5. + * @return value or {@code null} for none + */ + public java.util.List getSquareLogoImages() { + return squareLogoImages; + } + + /** + * Square logo images to be used in the ad. Valid image types are GIF, JPEG, and PNG. The minimum + * size is 128x128 and the aspect ratio must be 1:1 (+-1%). Combined with `logo_images`, the + * maximum is 5. + * @param squareLogoImages squareLogoImages or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonResponsiveDisplayAdInfo setSquareLogoImages(java.util.List squareLogoImages) { + this.squareLogoImages = squareLogoImages; + return this; + } + + /** + * Square marketing images to be used in the ad. Valid image types are GIF, JPEG, and PNG. The + * minimum size is 300x300 and the aspect ratio must be 1:1 (+-1%). At least one square + * `marketing_image` is required. Combined with `marketing_images`, the maximum is 15. + * @return value or {@code null} for none + */ + public java.util.List getSquareMarketingImages() { + return squareMarketingImages; + } + + /** + * Square marketing images to be used in the ad. Valid image types are GIF, JPEG, and PNG. The + * minimum size is 300x300 and the aspect ratio must be 1:1 (+-1%). At least one square + * `marketing_image` is required. Combined with `marketing_images`, the maximum is 15. + * @param squareMarketingImages squareMarketingImages or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonResponsiveDisplayAdInfo setSquareMarketingImages(java.util.List squareMarketingImages) { + this.squareMarketingImages = squareMarketingImages; + return this; + } + + /** + * Optional YouTube videos for the ad. A maximum of 5 videos can be specified. + * @return value or {@code null} for none + */ + public java.util.List getYoutubeVideos() { + return youtubeVideos; + } + + /** + * Optional YouTube videos for the ad. A maximum of 5 videos can be specified. + * @param youtubeVideos youtubeVideos or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonResponsiveDisplayAdInfo setYoutubeVideos(java.util.List youtubeVideos) { + this.youtubeVideos = youtubeVideos; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonResponsiveDisplayAdInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonResponsiveDisplayAdInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonResponsiveDisplayAdInfo clone() { + return (GoogleAdsSearchads360V23CommonResponsiveDisplayAdInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonResponsiveSearchAdInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonResponsiveSearchAdInfo.java new file mode 100644 index 00000000000..c9a1ec8d871 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonResponsiveSearchAdInfo.java @@ -0,0 +1,165 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A responsive search ad. Responsive search ads let you create an ad that adapts to show more text, + * and more relevant messages, to your customers. Enter multiple headlines and descriptions when + * creating a responsive search ad, and over time, Google Ads will automatically test different + * combinations and learn which combinations perform best. By adapting your ad's content to more + * closely match potential customers' search terms, responsive search ads may improve your + * campaign's performance. More information at https://support.google.com/google-ads/answer/7684791 + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonResponsiveSearchAdInfo extends com.google.api.client.json.GenericJson { + + /** + * List of text assets for descriptions. When the ad serves the descriptions will be selected from + * this list. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List descriptions; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonAdTextAsset used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonAdTextAsset.class); + } + + /** + * List of text assets for headlines. When the ad serves the headlines will be selected from this + * list. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List headlines; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonAdTextAsset used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonAdTextAsset.class); + } + + /** + * First part of text that can be appended to the URL in the ad. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String path1; + + /** + * Second part of text that can be appended to the URL in the ad. This field can only be set when + * `path1` is also set. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String path2; + + /** + * List of text assets for descriptions. When the ad serves the descriptions will be selected from + * this list. + * @return value or {@code null} for none + */ + public java.util.List getDescriptions() { + return descriptions; + } + + /** + * List of text assets for descriptions. When the ad serves the descriptions will be selected from + * this list. + * @param descriptions descriptions or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonResponsiveSearchAdInfo setDescriptions(java.util.List descriptions) { + this.descriptions = descriptions; + return this; + } + + /** + * List of text assets for headlines. When the ad serves the headlines will be selected from this + * list. + * @return value or {@code null} for none + */ + public java.util.List getHeadlines() { + return headlines; + } + + /** + * List of text assets for headlines. When the ad serves the headlines will be selected from this + * list. + * @param headlines headlines or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonResponsiveSearchAdInfo setHeadlines(java.util.List headlines) { + this.headlines = headlines; + return this; + } + + /** + * First part of text that can be appended to the URL in the ad. + * @return value or {@code null} for none + */ + public java.lang.String getPath1() { + return path1; + } + + /** + * First part of text that can be appended to the URL in the ad. + * @param path1 path1 or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonResponsiveSearchAdInfo setPath1(java.lang.String path1) { + this.path1 = path1; + return this; + } + + /** + * Second part of text that can be appended to the URL in the ad. This field can only be set when + * `path1` is also set. + * @return value or {@code null} for none + */ + public java.lang.String getPath2() { + return path2; + } + + /** + * Second part of text that can be appended to the URL in the ad. This field can only be set when + * `path1` is also set. + * @param path2 path2 or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonResponsiveSearchAdInfo setPath2(java.lang.String path2) { + this.path2 = path2; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonResponsiveSearchAdInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonResponsiveSearchAdInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonResponsiveSearchAdInfo clone() { + return (GoogleAdsSearchads360V23CommonResponsiveSearchAdInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonRuleBasedUserListInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonRuleBasedUserListInfo.java new file mode 100644 index 00000000000..a1137437943 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonRuleBasedUserListInfo.java @@ -0,0 +1,118 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Representation of a userlist that is generated by a rule. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonRuleBasedUserListInfo extends com.google.api.client.json.GenericJson { + + /** + * Flexible rule representation of visitors with one or multiple actions. The flexible user list + * is defined by two lists of operands – inclusive_operands and exclusive_operands; each operand + * represents a set of users based on actions they took in a given timeframe. These lists of + * operands are combined with the AND_NOT operator, so that users represented by the inclusive + * operands are included in the user list, minus the users represented by the exclusive operands. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonFlexibleRuleUserListInfo flexibleRuleUserList; + + /** + * The status of pre-population. The field is default to NONE if not set which means the previous + * users will not be considered. If set to REQUESTED, past site visitors or app users who match + * the list definition will be included in the list (works on the Display Network only). This will + * only add past users from within the last 30 days, depending on the list's membership duration + * and the date when the remarketing tag is added. The status will be updated to FINISHED once + * request is processed, or FAILED if the request fails. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String prepopulationStatus; + + /** + * Flexible rule representation of visitors with one or multiple actions. The flexible user list + * is defined by two lists of operands – inclusive_operands and exclusive_operands; each operand + * represents a set of users based on actions they took in a given timeframe. These lists of + * operands are combined with the AND_NOT operator, so that users represented by the inclusive + * operands are included in the user list, minus the users represented by the exclusive operands. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonFlexibleRuleUserListInfo getFlexibleRuleUserList() { + return flexibleRuleUserList; + } + + /** + * Flexible rule representation of visitors with one or multiple actions. The flexible user list + * is defined by two lists of operands – inclusive_operands and exclusive_operands; each operand + * represents a set of users based on actions they took in a given timeframe. These lists of + * operands are combined with the AND_NOT operator, so that users represented by the inclusive + * operands are included in the user list, minus the users represented by the exclusive operands. + * @param flexibleRuleUserList flexibleRuleUserList or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonRuleBasedUserListInfo setFlexibleRuleUserList(GoogleAdsSearchads360V23CommonFlexibleRuleUserListInfo flexibleRuleUserList) { + this.flexibleRuleUserList = flexibleRuleUserList; + return this; + } + + /** + * The status of pre-population. The field is default to NONE if not set which means the previous + * users will not be considered. If set to REQUESTED, past site visitors or app users who match + * the list definition will be included in the list (works on the Display Network only). This will + * only add past users from within the last 30 days, depending on the list's membership duration + * and the date when the remarketing tag is added. The status will be updated to FINISHED once + * request is processed, or FAILED if the request fails. + * @return value or {@code null} for none + */ + public java.lang.String getPrepopulationStatus() { + return prepopulationStatus; + } + + /** + * The status of pre-population. The field is default to NONE if not set which means the previous + * users will not be considered. If set to REQUESTED, past site visitors or app users who match + * the list definition will be included in the list (works on the Display Network only). This will + * only add past users from within the last 30 days, depending on the list's membership duration + * and the date when the remarketing tag is added. The status will be updated to FINISHED once + * request is processed, or FAILED if the request fails. + * @param prepopulationStatus prepopulationStatus or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonRuleBasedUserListInfo setPrepopulationStatus(java.lang.String prepopulationStatus) { + this.prepopulationStatus = prepopulationStatus; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonRuleBasedUserListInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonRuleBasedUserListInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonRuleBasedUserListInfo clone() { + return (GoogleAdsSearchads360V23CommonRuleBasedUserListInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonSearchAds360ExpandedDynamicSearchAdInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonSearchAds360ExpandedDynamicSearchAdInfo.java new file mode 100644 index 00000000000..c17a4573869 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonSearchAds360ExpandedDynamicSearchAdInfo.java @@ -0,0 +1,115 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * An expanded dynamic search ad. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonSearchAds360ExpandedDynamicSearchAdInfo extends com.google.api.client.json.GenericJson { + + /** + * The tracking id of the ad. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long adTrackingId; + + /** + * The first line of the ad's description. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String description1; + + /** + * The second line of the ad's description. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String description2; + + /** + * The tracking id of the ad. + * @return value or {@code null} for none + */ + public java.lang.Long getAdTrackingId() { + return adTrackingId; + } + + /** + * The tracking id of the ad. + * @param adTrackingId adTrackingId or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSearchAds360ExpandedDynamicSearchAdInfo setAdTrackingId(java.lang.Long adTrackingId) { + this.adTrackingId = adTrackingId; + return this; + } + + /** + * The first line of the ad's description. + * @return value or {@code null} for none + */ + public java.lang.String getDescription1() { + return description1; + } + + /** + * The first line of the ad's description. + * @param description1 description1 or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSearchAds360ExpandedDynamicSearchAdInfo setDescription1(java.lang.String description1) { + this.description1 = description1; + return this; + } + + /** + * The second line of the ad's description. + * @return value or {@code null} for none + */ + public java.lang.String getDescription2() { + return description2; + } + + /** + * The second line of the ad's description. + * @param description2 description2 or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSearchAds360ExpandedDynamicSearchAdInfo setDescription2(java.lang.String description2) { + this.description2 = description2; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonSearchAds360ExpandedDynamicSearchAdInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonSearchAds360ExpandedDynamicSearchAdInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonSearchAds360ExpandedDynamicSearchAdInfo clone() { + return (GoogleAdsSearchads360V23CommonSearchAds360ExpandedDynamicSearchAdInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonSearchAds360ExpandedTextAdInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonSearchAds360ExpandedTextAdInfo.java new file mode 100644 index 00000000000..ab93a215a55 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonSearchAds360ExpandedTextAdInfo.java @@ -0,0 +1,235 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A Search Ads 360 expanded text ad. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonSearchAds360ExpandedTextAdInfo extends com.google.api.client.json.GenericJson { + + /** + * The tracking id of the ad. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long adTrackingId; + + /** + * The first line of the ad's description. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String description1; + + /** + * The second line of the ad's description. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String description2; + + /** + * The headline of the ad. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String headline; + + /** + * The second headline of the ad. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String headline2; + + /** + * The third headline of the ad. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String headline3; + + /** + * Text appended to the auto-generated visible URL with a delimiter. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String path1; + + /** + * Text appended to path1 with a delimiter. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String path2; + + /** + * The tracking id of the ad. + * @return value or {@code null} for none + */ + public java.lang.Long getAdTrackingId() { + return adTrackingId; + } + + /** + * The tracking id of the ad. + * @param adTrackingId adTrackingId or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSearchAds360ExpandedTextAdInfo setAdTrackingId(java.lang.Long adTrackingId) { + this.adTrackingId = adTrackingId; + return this; + } + + /** + * The first line of the ad's description. + * @return value or {@code null} for none + */ + public java.lang.String getDescription1() { + return description1; + } + + /** + * The first line of the ad's description. + * @param description1 description1 or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSearchAds360ExpandedTextAdInfo setDescription1(java.lang.String description1) { + this.description1 = description1; + return this; + } + + /** + * The second line of the ad's description. + * @return value or {@code null} for none + */ + public java.lang.String getDescription2() { + return description2; + } + + /** + * The second line of the ad's description. + * @param description2 description2 or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSearchAds360ExpandedTextAdInfo setDescription2(java.lang.String description2) { + this.description2 = description2; + return this; + } + + /** + * The headline of the ad. + * @return value or {@code null} for none + */ + public java.lang.String getHeadline() { + return headline; + } + + /** + * The headline of the ad. + * @param headline headline or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSearchAds360ExpandedTextAdInfo setHeadline(java.lang.String headline) { + this.headline = headline; + return this; + } + + /** + * The second headline of the ad. + * @return value or {@code null} for none + */ + public java.lang.String getHeadline2() { + return headline2; + } + + /** + * The second headline of the ad. + * @param headline2 headline2 or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSearchAds360ExpandedTextAdInfo setHeadline2(java.lang.String headline2) { + this.headline2 = headline2; + return this; + } + + /** + * The third headline of the ad. + * @return value or {@code null} for none + */ + public java.lang.String getHeadline3() { + return headline3; + } + + /** + * The third headline of the ad. + * @param headline3 headline3 or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSearchAds360ExpandedTextAdInfo setHeadline3(java.lang.String headline3) { + this.headline3 = headline3; + return this; + } + + /** + * Text appended to the auto-generated visible URL with a delimiter. + * @return value or {@code null} for none + */ + public java.lang.String getPath1() { + return path1; + } + + /** + * Text appended to the auto-generated visible URL with a delimiter. + * @param path1 path1 or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSearchAds360ExpandedTextAdInfo setPath1(java.lang.String path1) { + this.path1 = path1; + return this; + } + + /** + * Text appended to path1 with a delimiter. + * @return value or {@code null} for none + */ + public java.lang.String getPath2() { + return path2; + } + + /** + * Text appended to path1 with a delimiter. + * @param path2 path2 or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSearchAds360ExpandedTextAdInfo setPath2(java.lang.String path2) { + this.path2 = path2; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonSearchAds360ExpandedTextAdInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonSearchAds360ExpandedTextAdInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonSearchAds360ExpandedTextAdInfo clone() { + return (GoogleAdsSearchads360V23CommonSearchAds360ExpandedTextAdInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonSearchAds360ProductAdInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonSearchAds360ProductAdInfo.java new file mode 100644 index 00000000000..7b7b6ce5b77 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonSearchAds360ProductAdInfo.java @@ -0,0 +1,43 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A Search Ads 360 product ad. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonSearchAds360ProductAdInfo extends com.google.api.client.json.GenericJson { + + @Override + public GoogleAdsSearchads360V23CommonSearchAds360ProductAdInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonSearchAds360ProductAdInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonSearchAds360ProductAdInfo clone() { + return (GoogleAdsSearchads360V23CommonSearchAds360ProductAdInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonSearchAds360ResponsiveSearchAdInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonSearchAds360ResponsiveSearchAdInfo.java new file mode 100644 index 00000000000..8611ee87916 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonSearchAds360ResponsiveSearchAdInfo.java @@ -0,0 +1,181 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A Search Ads 360 responsive search ad. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonSearchAds360ResponsiveSearchAdInfo extends com.google.api.client.json.GenericJson { + + /** + * The tracking id of the ad. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long adTrackingId; + + /** + * List of text assets for descriptions. When the ad serves the descriptions will be selected from + * this list. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List descriptions; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonAdTextAsset used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonAdTextAsset.class); + } + + /** + * List of text assets for headlines. When the ad serves the headlines will be selected from this + * list. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List headlines; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonAdTextAsset used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonAdTextAsset.class); + } + + /** + * Text appended to the auto-generated visible URL with a delimiter. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String path1; + + /** + * Text appended to path1 with a delimiter. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String path2; + + /** + * The tracking id of the ad. + * @return value or {@code null} for none + */ + public java.lang.Long getAdTrackingId() { + return adTrackingId; + } + + /** + * The tracking id of the ad. + * @param adTrackingId adTrackingId or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSearchAds360ResponsiveSearchAdInfo setAdTrackingId(java.lang.Long adTrackingId) { + this.adTrackingId = adTrackingId; + return this; + } + + /** + * List of text assets for descriptions. When the ad serves the descriptions will be selected from + * this list. + * @return value or {@code null} for none + */ + public java.util.List getDescriptions() { + return descriptions; + } + + /** + * List of text assets for descriptions. When the ad serves the descriptions will be selected from + * this list. + * @param descriptions descriptions or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSearchAds360ResponsiveSearchAdInfo setDescriptions(java.util.List descriptions) { + this.descriptions = descriptions; + return this; + } + + /** + * List of text assets for headlines. When the ad serves the headlines will be selected from this + * list. + * @return value or {@code null} for none + */ + public java.util.List getHeadlines() { + return headlines; + } + + /** + * List of text assets for headlines. When the ad serves the headlines will be selected from this + * list. + * @param headlines headlines or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSearchAds360ResponsiveSearchAdInfo setHeadlines(java.util.List headlines) { + this.headlines = headlines; + return this; + } + + /** + * Text appended to the auto-generated visible URL with a delimiter. + * @return value or {@code null} for none + */ + public java.lang.String getPath1() { + return path1; + } + + /** + * Text appended to the auto-generated visible URL with a delimiter. + * @param path1 path1 or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSearchAds360ResponsiveSearchAdInfo setPath1(java.lang.String path1) { + this.path1 = path1; + return this; + } + + /** + * Text appended to path1 with a delimiter. + * @return value or {@code null} for none + */ + public java.lang.String getPath2() { + return path2; + } + + /** + * Text appended to path1 with a delimiter. + * @param path2 path2 or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSearchAds360ResponsiveSearchAdInfo setPath2(java.lang.String path2) { + this.path2 = path2; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonSearchAds360ResponsiveSearchAdInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonSearchAds360ResponsiveSearchAdInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonSearchAds360ResponsiveSearchAdInfo clone() { + return (GoogleAdsSearchads360V23CommonSearchAds360ResponsiveSearchAdInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonSearchAds360TextAdInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonSearchAds360TextAdInfo.java new file mode 100644 index 00000000000..a76d2733a8e --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonSearchAds360TextAdInfo.java @@ -0,0 +1,187 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A Search Ads 360 text ad. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonSearchAds360TextAdInfo extends com.google.api.client.json.GenericJson { + + /** + * The tracking id of the ad. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long adTrackingId; + + /** + * The first line of the ad's description. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String description1; + + /** + * The second line of the ad's description. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String description2; + + /** + * The displayed mobile URL of the ad. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String displayMobileUrl; + + /** + * The displayed URL of the ad. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String displayUrl; + + /** + * The headline of the ad. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String headline; + + /** + * The tracking id of the ad. + * @return value or {@code null} for none + */ + public java.lang.Long getAdTrackingId() { + return adTrackingId; + } + + /** + * The tracking id of the ad. + * @param adTrackingId adTrackingId or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSearchAds360TextAdInfo setAdTrackingId(java.lang.Long adTrackingId) { + this.adTrackingId = adTrackingId; + return this; + } + + /** + * The first line of the ad's description. + * @return value or {@code null} for none + */ + public java.lang.String getDescription1() { + return description1; + } + + /** + * The first line of the ad's description. + * @param description1 description1 or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSearchAds360TextAdInfo setDescription1(java.lang.String description1) { + this.description1 = description1; + return this; + } + + /** + * The second line of the ad's description. + * @return value or {@code null} for none + */ + public java.lang.String getDescription2() { + return description2; + } + + /** + * The second line of the ad's description. + * @param description2 description2 or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSearchAds360TextAdInfo setDescription2(java.lang.String description2) { + this.description2 = description2; + return this; + } + + /** + * The displayed mobile URL of the ad. + * @return value or {@code null} for none + */ + public java.lang.String getDisplayMobileUrl() { + return displayMobileUrl; + } + + /** + * The displayed mobile URL of the ad. + * @param displayMobileUrl displayMobileUrl or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSearchAds360TextAdInfo setDisplayMobileUrl(java.lang.String displayMobileUrl) { + this.displayMobileUrl = displayMobileUrl; + return this; + } + + /** + * The displayed URL of the ad. + * @return value or {@code null} for none + */ + public java.lang.String getDisplayUrl() { + return displayUrl; + } + + /** + * The displayed URL of the ad. + * @param displayUrl displayUrl or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSearchAds360TextAdInfo setDisplayUrl(java.lang.String displayUrl) { + this.displayUrl = displayUrl; + return this; + } + + /** + * The headline of the ad. + * @return value or {@code null} for none + */ + public java.lang.String getHeadline() { + return headline; + } + + /** + * The headline of the ad. + * @param headline headline or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSearchAds360TextAdInfo setHeadline(java.lang.String headline) { + this.headline = headline; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonSearchAds360TextAdInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonSearchAds360TextAdInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonSearchAds360TextAdInfo clone() { + return (GoogleAdsSearchads360V23CommonSearchAds360TextAdInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonSearchThemeInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonSearchThemeInfo.java new file mode 100644 index 00000000000..b4b1e24cf37 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonSearchThemeInfo.java @@ -0,0 +1,71 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A Search Theme criterion only on Performance Max campaign. Represents a keyword-like advertiser + * input. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonSearchThemeInfo extends com.google.api.client.json.GenericJson { + + /** + * Each Search Theme has a value of a simple string, like keywords. There are limits on overall + * length, allowed characters, and number of words. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String text; + + /** + * Each Search Theme has a value of a simple string, like keywords. There are limits on overall + * length, allowed characters, and number of words. + * @return value or {@code null} for none + */ + public java.lang.String getText() { + return text; + } + + /** + * Each Search Theme has a value of a simple string, like keywords. There are limits on overall + * length, allowed characters, and number of words. + * @param text text or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSearchThemeInfo setText(java.lang.String text) { + this.text = text; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonSearchThemeInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonSearchThemeInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonSearchThemeInfo clone() { + return (GoogleAdsSearchads360V23CommonSearchThemeInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonSegments.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonSegments.java new file mode 100644 index 00000000000..9814c930549 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonSegments.java @@ -0,0 +1,1858 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Segment only fields. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonSegments extends com.google.api.client.json.GenericJson { + + /** + * Ad Format type. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String adFormatType; + + /** + * Ad network type. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String adNetworkType; + + /** + * Only used with CustomerAsset, CampaignAsset and AdGroupAsset metrics. Indicates whether the + * interaction metrics occurred on the asset itself or a different asset or ad unit. Interactions + * (for example, clicks) are counted across all the parts of the served ad (for example, Ad itself + * and other components like Sitelinks) when they are served together. When + * interaction_on_this_asset is true, it means the interactions are on this specific asset and + * when interaction_on_this_asset is false, it means the interactions is not on this specific + * asset but on other parts of the served ad this asset is served with. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonAssetInteractionTarget assetInteractionTarget; + + /** + * Resource name of the conversion action. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String conversionAction; + + /** + * Conversion action category. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String conversionActionCategory; + + /** + * Conversion action name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String conversionActionName; + + /** + * The conversion custom dimensions. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List conversionCustomDimensions; + + /** + * Date to which metrics apply. yyyy-MM-dd format, for example, 2018-04-17. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String date; + + /** + * Day of the week, for example, MONDAY. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String dayOfWeek; + + /** + * Device to which metrics apply. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String device; + + /** + * Resource name of the geo target constant that represents a city. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String geoTargetCity; + + /** + * Resource name of the geo target constant that represents a country. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String geoTargetCountry; + + /** + * Resource name of the geo target constant that represents a metro. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String geoTargetMetro; + + /** + * Resource name of the geo target constant that represents a postal code. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String geoTargetPostalCode; + + /** + * Resource name of the geo target constant that represents a region. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String geoTargetRegion; + + /** + * Hour of day as a number between 0 and 23, inclusive. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer hour; + + /** + * Keyword criterion. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonKeyword keyword; + + /** + * Month as represented by the date of the first day of a month. Formatted as yyyy-MM-dd. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String month; + + /** + * Bidding category (level 1) of the product. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String productBiddingCategoryLevel1; + + /** + * Bidding category (level 2) of the product. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String productBiddingCategoryLevel2; + + /** + * Bidding category (level 3) of the product. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String productBiddingCategoryLevel3; + + /** + * Bidding category (level 4) of the product. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String productBiddingCategoryLevel4; + + /** + * Bidding category (level 5) of the product. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String productBiddingCategoryLevel5; + + /** + * Brand of the product. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String productBrand; + + /** + * Channel of the product. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String productChannel; + + /** + * Channel exclusivity of the product. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String productChannelExclusivity; + + /** + * Condition of the product. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String productCondition; + + /** + * Resource name of the geo target constant for the country of sale of the product. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String productCountry; + + /** + * Custom attribute 0 of the product. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String productCustomAttribute0; + + /** + * Custom attribute 1 of the product. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String productCustomAttribute1; + + /** + * Custom attribute 2 of the product. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String productCustomAttribute2; + + /** + * Custom attribute 3 of the product. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String productCustomAttribute3; + + /** + * Custom attribute 4 of the product. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String productCustomAttribute4; + + /** + * Item ID of the product. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String productItemId; + + /** + * Resource name of the language constant for the language of the product. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String productLanguage; + + /** + * Bidding category (level 1) of the product sold. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String productSoldBiddingCategoryLevel1; + + /** + * Bidding category (level 2) of the product sold. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String productSoldBiddingCategoryLevel2; + + /** + * Bidding category (level 3) of the product sold. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String productSoldBiddingCategoryLevel3; + + /** + * Bidding category (level 4) of the product sold. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String productSoldBiddingCategoryLevel4; + + /** + * Bidding category (level 5) of the product sold. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String productSoldBiddingCategoryLevel5; + + /** + * Brand of the product sold. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String productSoldBrand; + + /** + * Condition of the product sold. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String productSoldCondition; + + /** + * Custom attribute 0 of the product sold. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String productSoldCustomAttribute0; + + /** + * Custom attribute 1 of the product sold. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String productSoldCustomAttribute1; + + /** + * Custom attribute 2 of the product sold. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String productSoldCustomAttribute2; + + /** + * Custom attribute 3 of the product sold. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String productSoldCustomAttribute3; + + /** + * Custom attribute 4 of the product sold. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String productSoldCustomAttribute4; + + /** + * Item ID of the product sold. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String productSoldItemId; + + /** + * Title of the product sold. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String productSoldTitle; + + /** + * Type (level 1) of the product sold. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String productSoldTypeL1; + + /** + * Type (level 2) of the product sold. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String productSoldTypeL2; + + /** + * Type (level 3) of the product sold. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String productSoldTypeL3; + + /** + * Type (level 4) of the product sold. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String productSoldTypeL4; + + /** + * Type (level 5) of the product sold. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String productSoldTypeL5; + + /** + * Store ID of the product. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String productStoreId; + + /** + * Title of the product. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String productTitle; + + /** + * Type (level 1) of the product. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String productTypeL1; + + /** + * Type (level 2) of the product. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String productTypeL2; + + /** + * Type (level 3) of the product. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String productTypeL3; + + /** + * Type (level 4) of the product. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String productTypeL4; + + /** + * Type (level 5) of the product. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String productTypeL5; + + /** + * Quarter as represented by the date of the first day of a quarter. Uses the calendar year for + * quarters, for example, the second quarter of 2018 starts on 2018-04-01. Formatted as yyyy-MM- + * dd. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String quarter; + + /** + * The raw event conversion dimensions. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List rawEventConversionDimensions; + + /** + * The display names of participants in an event listing, like performers, speakers, or teams. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String verticalAdsEventParticipantDisplayNames; + + /** + * The class of the hotel. Generally in the range of 1 to 5 stars, but fully customizable in the + * hotel feed. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long verticalAdsHotelClass; + + /** + * The listing associated with a listing impression, click or conversion. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String verticalAdsListing; + + /** + * The brand associated with a specific listing within a Vertical Ads context, for example, the + * brand of a car rental, a vacation home, or an event. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String verticalAdsListingBrand; + + /** + * The city where the vertical ads listing is located. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String verticalAdsListingCity; + + /** + * The country where the vertical ads listing is located. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String verticalAdsListingCountry; + + /** + * The region where the vertical ads listing is located. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String verticalAdsListingRegion; + + /** + * A specific partner account within a Partner Center (for example, Hotel Center) that supplies + * inventory feed data for Vertical Ads. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long verticalAdsPartnerAccount; + + /** + * Type of vertical ad, such as Vacation Rentals, Car Rentals, or Events, used to categorize and + * segment data in the context of Vertical Ads. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String verticalAdsVertical; + + /** + * Week as defined as Monday through Sunday, and represented by the date of Monday. Formatted as + * yyyy-MM-dd. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String week; + + /** + * Year, formatted as yyyy. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer year; + + /** + * Ad Format type. + * @return value or {@code null} for none + */ + public java.lang.String getAdFormatType() { + return adFormatType; + } + + /** + * Ad Format type. + * @param adFormatType adFormatType or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSegments setAdFormatType(java.lang.String adFormatType) { + this.adFormatType = adFormatType; + return this; + } + + /** + * Ad network type. + * @return value or {@code null} for none + */ + public java.lang.String getAdNetworkType() { + return adNetworkType; + } + + /** + * Ad network type. + * @param adNetworkType adNetworkType or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSegments setAdNetworkType(java.lang.String adNetworkType) { + this.adNetworkType = adNetworkType; + return this; + } + + /** + * Only used with CustomerAsset, CampaignAsset and AdGroupAsset metrics. Indicates whether the + * interaction metrics occurred on the asset itself or a different asset or ad unit. Interactions + * (for example, clicks) are counted across all the parts of the served ad (for example, Ad itself + * and other components like Sitelinks) when they are served together. When + * interaction_on_this_asset is true, it means the interactions are on this specific asset and + * when interaction_on_this_asset is false, it means the interactions is not on this specific + * asset but on other parts of the served ad this asset is served with. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAssetInteractionTarget getAssetInteractionTarget() { + return assetInteractionTarget; + } + + /** + * Only used with CustomerAsset, CampaignAsset and AdGroupAsset metrics. Indicates whether the + * interaction metrics occurred on the asset itself or a different asset or ad unit. Interactions + * (for example, clicks) are counted across all the parts of the served ad (for example, Ad itself + * and other components like Sitelinks) when they are served together. When + * interaction_on_this_asset is true, it means the interactions are on this specific asset and + * when interaction_on_this_asset is false, it means the interactions is not on this specific + * asset but on other parts of the served ad this asset is served with. + * @param assetInteractionTarget assetInteractionTarget or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSegments setAssetInteractionTarget(GoogleAdsSearchads360V23CommonAssetInteractionTarget assetInteractionTarget) { + this.assetInteractionTarget = assetInteractionTarget; + return this; + } + + /** + * Resource name of the conversion action. + * @return value or {@code null} for none + */ + public java.lang.String getConversionAction() { + return conversionAction; + } + + /** + * Resource name of the conversion action. + * @param conversionAction conversionAction or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSegments setConversionAction(java.lang.String conversionAction) { + this.conversionAction = conversionAction; + return this; + } + + /** + * Conversion action category. + * @return value or {@code null} for none + */ + public java.lang.String getConversionActionCategory() { + return conversionActionCategory; + } + + /** + * Conversion action category. + * @param conversionActionCategory conversionActionCategory or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSegments setConversionActionCategory(java.lang.String conversionActionCategory) { + this.conversionActionCategory = conversionActionCategory; + return this; + } + + /** + * Conversion action name. + * @return value or {@code null} for none + */ + public java.lang.String getConversionActionName() { + return conversionActionName; + } + + /** + * Conversion action name. + * @param conversionActionName conversionActionName or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSegments setConversionActionName(java.lang.String conversionActionName) { + this.conversionActionName = conversionActionName; + return this; + } + + /** + * The conversion custom dimensions. + * @return value or {@code null} for none + */ + public java.util.List getConversionCustomDimensions() { + return conversionCustomDimensions; + } + + /** + * The conversion custom dimensions. + * @param conversionCustomDimensions conversionCustomDimensions or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSegments setConversionCustomDimensions(java.util.List conversionCustomDimensions) { + this.conversionCustomDimensions = conversionCustomDimensions; + return this; + } + + /** + * Date to which metrics apply. yyyy-MM-dd format, for example, 2018-04-17. + * @return value or {@code null} for none + */ + public java.lang.String getDate() { + return date; + } + + /** + * Date to which metrics apply. yyyy-MM-dd format, for example, 2018-04-17. + * @param date date or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSegments setDate(java.lang.String date) { + this.date = date; + return this; + } + + /** + * Day of the week, for example, MONDAY. + * @return value or {@code null} for none + */ + public java.lang.String getDayOfWeek() { + return dayOfWeek; + } + + /** + * Day of the week, for example, MONDAY. + * @param dayOfWeek dayOfWeek or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSegments setDayOfWeek(java.lang.String dayOfWeek) { + this.dayOfWeek = dayOfWeek; + return this; + } + + /** + * Device to which metrics apply. + * @return value or {@code null} for none + */ + public java.lang.String getDevice() { + return device; + } + + /** + * Device to which metrics apply. + * @param device device or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSegments setDevice(java.lang.String device) { + this.device = device; + return this; + } + + /** + * Resource name of the geo target constant that represents a city. + * @return value or {@code null} for none + */ + public java.lang.String getGeoTargetCity() { + return geoTargetCity; + } + + /** + * Resource name of the geo target constant that represents a city. + * @param geoTargetCity geoTargetCity or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSegments setGeoTargetCity(java.lang.String geoTargetCity) { + this.geoTargetCity = geoTargetCity; + return this; + } + + /** + * Resource name of the geo target constant that represents a country. + * @return value or {@code null} for none + */ + public java.lang.String getGeoTargetCountry() { + return geoTargetCountry; + } + + /** + * Resource name of the geo target constant that represents a country. + * @param geoTargetCountry geoTargetCountry or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSegments setGeoTargetCountry(java.lang.String geoTargetCountry) { + this.geoTargetCountry = geoTargetCountry; + return this; + } + + /** + * Resource name of the geo target constant that represents a metro. + * @return value or {@code null} for none + */ + public java.lang.String getGeoTargetMetro() { + return geoTargetMetro; + } + + /** + * Resource name of the geo target constant that represents a metro. + * @param geoTargetMetro geoTargetMetro or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSegments setGeoTargetMetro(java.lang.String geoTargetMetro) { + this.geoTargetMetro = geoTargetMetro; + return this; + } + + /** + * Resource name of the geo target constant that represents a postal code. + * @return value or {@code null} for none + */ + public java.lang.String getGeoTargetPostalCode() { + return geoTargetPostalCode; + } + + /** + * Resource name of the geo target constant that represents a postal code. + * @param geoTargetPostalCode geoTargetPostalCode or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSegments setGeoTargetPostalCode(java.lang.String geoTargetPostalCode) { + this.geoTargetPostalCode = geoTargetPostalCode; + return this; + } + + /** + * Resource name of the geo target constant that represents a region. + * @return value or {@code null} for none + */ + public java.lang.String getGeoTargetRegion() { + return geoTargetRegion; + } + + /** + * Resource name of the geo target constant that represents a region. + * @param geoTargetRegion geoTargetRegion or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSegments setGeoTargetRegion(java.lang.String geoTargetRegion) { + this.geoTargetRegion = geoTargetRegion; + return this; + } + + /** + * Hour of day as a number between 0 and 23, inclusive. + * @return value or {@code null} for none + */ + public java.lang.Integer getHour() { + return hour; + } + + /** + * Hour of day as a number between 0 and 23, inclusive. + * @param hour hour or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSegments setHour(java.lang.Integer hour) { + this.hour = hour; + return this; + } + + /** + * Keyword criterion. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonKeyword getKeyword() { + return keyword; + } + + /** + * Keyword criterion. + * @param keyword keyword or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSegments setKeyword(GoogleAdsSearchads360V23CommonKeyword keyword) { + this.keyword = keyword; + return this; + } + + /** + * Month as represented by the date of the first day of a month. Formatted as yyyy-MM-dd. + * @return value or {@code null} for none + */ + public java.lang.String getMonth() { + return month; + } + + /** + * Month as represented by the date of the first day of a month. Formatted as yyyy-MM-dd. + * @param month month or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSegments setMonth(java.lang.String month) { + this.month = month; + return this; + } + + /** + * Bidding category (level 1) of the product. + * @return value or {@code null} for none + */ + public java.lang.String getProductBiddingCategoryLevel1() { + return productBiddingCategoryLevel1; + } + + /** + * Bidding category (level 1) of the product. + * @param productBiddingCategoryLevel1 productBiddingCategoryLevel1 or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSegments setProductBiddingCategoryLevel1(java.lang.String productBiddingCategoryLevel1) { + this.productBiddingCategoryLevel1 = productBiddingCategoryLevel1; + return this; + } + + /** + * Bidding category (level 2) of the product. + * @return value or {@code null} for none + */ + public java.lang.String getProductBiddingCategoryLevel2() { + return productBiddingCategoryLevel2; + } + + /** + * Bidding category (level 2) of the product. + * @param productBiddingCategoryLevel2 productBiddingCategoryLevel2 or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSegments setProductBiddingCategoryLevel2(java.lang.String productBiddingCategoryLevel2) { + this.productBiddingCategoryLevel2 = productBiddingCategoryLevel2; + return this; + } + + /** + * Bidding category (level 3) of the product. + * @return value or {@code null} for none + */ + public java.lang.String getProductBiddingCategoryLevel3() { + return productBiddingCategoryLevel3; + } + + /** + * Bidding category (level 3) of the product. + * @param productBiddingCategoryLevel3 productBiddingCategoryLevel3 or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSegments setProductBiddingCategoryLevel3(java.lang.String productBiddingCategoryLevel3) { + this.productBiddingCategoryLevel3 = productBiddingCategoryLevel3; + return this; + } + + /** + * Bidding category (level 4) of the product. + * @return value or {@code null} for none + */ + public java.lang.String getProductBiddingCategoryLevel4() { + return productBiddingCategoryLevel4; + } + + /** + * Bidding category (level 4) of the product. + * @param productBiddingCategoryLevel4 productBiddingCategoryLevel4 or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSegments setProductBiddingCategoryLevel4(java.lang.String productBiddingCategoryLevel4) { + this.productBiddingCategoryLevel4 = productBiddingCategoryLevel4; + return this; + } + + /** + * Bidding category (level 5) of the product. + * @return value or {@code null} for none + */ + public java.lang.String getProductBiddingCategoryLevel5() { + return productBiddingCategoryLevel5; + } + + /** + * Bidding category (level 5) of the product. + * @param productBiddingCategoryLevel5 productBiddingCategoryLevel5 or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSegments setProductBiddingCategoryLevel5(java.lang.String productBiddingCategoryLevel5) { + this.productBiddingCategoryLevel5 = productBiddingCategoryLevel5; + return this; + } + + /** + * Brand of the product. + * @return value or {@code null} for none + */ + public java.lang.String getProductBrand() { + return productBrand; + } + + /** + * Brand of the product. + * @param productBrand productBrand or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSegments setProductBrand(java.lang.String productBrand) { + this.productBrand = productBrand; + return this; + } + + /** + * Channel of the product. + * @return value or {@code null} for none + */ + public java.lang.String getProductChannel() { + return productChannel; + } + + /** + * Channel of the product. + * @param productChannel productChannel or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSegments setProductChannel(java.lang.String productChannel) { + this.productChannel = productChannel; + return this; + } + + /** + * Channel exclusivity of the product. + * @return value or {@code null} for none + */ + public java.lang.String getProductChannelExclusivity() { + return productChannelExclusivity; + } + + /** + * Channel exclusivity of the product. + * @param productChannelExclusivity productChannelExclusivity or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSegments setProductChannelExclusivity(java.lang.String productChannelExclusivity) { + this.productChannelExclusivity = productChannelExclusivity; + return this; + } + + /** + * Condition of the product. + * @return value or {@code null} for none + */ + public java.lang.String getProductCondition() { + return productCondition; + } + + /** + * Condition of the product. + * @param productCondition productCondition or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSegments setProductCondition(java.lang.String productCondition) { + this.productCondition = productCondition; + return this; + } + + /** + * Resource name of the geo target constant for the country of sale of the product. + * @return value or {@code null} for none + */ + public java.lang.String getProductCountry() { + return productCountry; + } + + /** + * Resource name of the geo target constant for the country of sale of the product. + * @param productCountry productCountry or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSegments setProductCountry(java.lang.String productCountry) { + this.productCountry = productCountry; + return this; + } + + /** + * Custom attribute 0 of the product. + * @return value or {@code null} for none + */ + public java.lang.String getProductCustomAttribute0() { + return productCustomAttribute0; + } + + /** + * Custom attribute 0 of the product. + * @param productCustomAttribute0 productCustomAttribute0 or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSegments setProductCustomAttribute0(java.lang.String productCustomAttribute0) { + this.productCustomAttribute0 = productCustomAttribute0; + return this; + } + + /** + * Custom attribute 1 of the product. + * @return value or {@code null} for none + */ + public java.lang.String getProductCustomAttribute1() { + return productCustomAttribute1; + } + + /** + * Custom attribute 1 of the product. + * @param productCustomAttribute1 productCustomAttribute1 or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSegments setProductCustomAttribute1(java.lang.String productCustomAttribute1) { + this.productCustomAttribute1 = productCustomAttribute1; + return this; + } + + /** + * Custom attribute 2 of the product. + * @return value or {@code null} for none + */ + public java.lang.String getProductCustomAttribute2() { + return productCustomAttribute2; + } + + /** + * Custom attribute 2 of the product. + * @param productCustomAttribute2 productCustomAttribute2 or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSegments setProductCustomAttribute2(java.lang.String productCustomAttribute2) { + this.productCustomAttribute2 = productCustomAttribute2; + return this; + } + + /** + * Custom attribute 3 of the product. + * @return value or {@code null} for none + */ + public java.lang.String getProductCustomAttribute3() { + return productCustomAttribute3; + } + + /** + * Custom attribute 3 of the product. + * @param productCustomAttribute3 productCustomAttribute3 or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSegments setProductCustomAttribute3(java.lang.String productCustomAttribute3) { + this.productCustomAttribute3 = productCustomAttribute3; + return this; + } + + /** + * Custom attribute 4 of the product. + * @return value or {@code null} for none + */ + public java.lang.String getProductCustomAttribute4() { + return productCustomAttribute4; + } + + /** + * Custom attribute 4 of the product. + * @param productCustomAttribute4 productCustomAttribute4 or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSegments setProductCustomAttribute4(java.lang.String productCustomAttribute4) { + this.productCustomAttribute4 = productCustomAttribute4; + return this; + } + + /** + * Item ID of the product. + * @return value or {@code null} for none + */ + public java.lang.String getProductItemId() { + return productItemId; + } + + /** + * Item ID of the product. + * @param productItemId productItemId or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSegments setProductItemId(java.lang.String productItemId) { + this.productItemId = productItemId; + return this; + } + + /** + * Resource name of the language constant for the language of the product. + * @return value or {@code null} for none + */ + public java.lang.String getProductLanguage() { + return productLanguage; + } + + /** + * Resource name of the language constant for the language of the product. + * @param productLanguage productLanguage or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSegments setProductLanguage(java.lang.String productLanguage) { + this.productLanguage = productLanguage; + return this; + } + + /** + * Bidding category (level 1) of the product sold. + * @return value or {@code null} for none + */ + public java.lang.String getProductSoldBiddingCategoryLevel1() { + return productSoldBiddingCategoryLevel1; + } + + /** + * Bidding category (level 1) of the product sold. + * @param productSoldBiddingCategoryLevel1 productSoldBiddingCategoryLevel1 or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSegments setProductSoldBiddingCategoryLevel1(java.lang.String productSoldBiddingCategoryLevel1) { + this.productSoldBiddingCategoryLevel1 = productSoldBiddingCategoryLevel1; + return this; + } + + /** + * Bidding category (level 2) of the product sold. + * @return value or {@code null} for none + */ + public java.lang.String getProductSoldBiddingCategoryLevel2() { + return productSoldBiddingCategoryLevel2; + } + + /** + * Bidding category (level 2) of the product sold. + * @param productSoldBiddingCategoryLevel2 productSoldBiddingCategoryLevel2 or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSegments setProductSoldBiddingCategoryLevel2(java.lang.String productSoldBiddingCategoryLevel2) { + this.productSoldBiddingCategoryLevel2 = productSoldBiddingCategoryLevel2; + return this; + } + + /** + * Bidding category (level 3) of the product sold. + * @return value or {@code null} for none + */ + public java.lang.String getProductSoldBiddingCategoryLevel3() { + return productSoldBiddingCategoryLevel3; + } + + /** + * Bidding category (level 3) of the product sold. + * @param productSoldBiddingCategoryLevel3 productSoldBiddingCategoryLevel3 or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSegments setProductSoldBiddingCategoryLevel3(java.lang.String productSoldBiddingCategoryLevel3) { + this.productSoldBiddingCategoryLevel3 = productSoldBiddingCategoryLevel3; + return this; + } + + /** + * Bidding category (level 4) of the product sold. + * @return value or {@code null} for none + */ + public java.lang.String getProductSoldBiddingCategoryLevel4() { + return productSoldBiddingCategoryLevel4; + } + + /** + * Bidding category (level 4) of the product sold. + * @param productSoldBiddingCategoryLevel4 productSoldBiddingCategoryLevel4 or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSegments setProductSoldBiddingCategoryLevel4(java.lang.String productSoldBiddingCategoryLevel4) { + this.productSoldBiddingCategoryLevel4 = productSoldBiddingCategoryLevel4; + return this; + } + + /** + * Bidding category (level 5) of the product sold. + * @return value or {@code null} for none + */ + public java.lang.String getProductSoldBiddingCategoryLevel5() { + return productSoldBiddingCategoryLevel5; + } + + /** + * Bidding category (level 5) of the product sold. + * @param productSoldBiddingCategoryLevel5 productSoldBiddingCategoryLevel5 or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSegments setProductSoldBiddingCategoryLevel5(java.lang.String productSoldBiddingCategoryLevel5) { + this.productSoldBiddingCategoryLevel5 = productSoldBiddingCategoryLevel5; + return this; + } + + /** + * Brand of the product sold. + * @return value or {@code null} for none + */ + public java.lang.String getProductSoldBrand() { + return productSoldBrand; + } + + /** + * Brand of the product sold. + * @param productSoldBrand productSoldBrand or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSegments setProductSoldBrand(java.lang.String productSoldBrand) { + this.productSoldBrand = productSoldBrand; + return this; + } + + /** + * Condition of the product sold. + * @return value or {@code null} for none + */ + public java.lang.String getProductSoldCondition() { + return productSoldCondition; + } + + /** + * Condition of the product sold. + * @param productSoldCondition productSoldCondition or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSegments setProductSoldCondition(java.lang.String productSoldCondition) { + this.productSoldCondition = productSoldCondition; + return this; + } + + /** + * Custom attribute 0 of the product sold. + * @return value or {@code null} for none + */ + public java.lang.String getProductSoldCustomAttribute0() { + return productSoldCustomAttribute0; + } + + /** + * Custom attribute 0 of the product sold. + * @param productSoldCustomAttribute0 productSoldCustomAttribute0 or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSegments setProductSoldCustomAttribute0(java.lang.String productSoldCustomAttribute0) { + this.productSoldCustomAttribute0 = productSoldCustomAttribute0; + return this; + } + + /** + * Custom attribute 1 of the product sold. + * @return value or {@code null} for none + */ + public java.lang.String getProductSoldCustomAttribute1() { + return productSoldCustomAttribute1; + } + + /** + * Custom attribute 1 of the product sold. + * @param productSoldCustomAttribute1 productSoldCustomAttribute1 or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSegments setProductSoldCustomAttribute1(java.lang.String productSoldCustomAttribute1) { + this.productSoldCustomAttribute1 = productSoldCustomAttribute1; + return this; + } + + /** + * Custom attribute 2 of the product sold. + * @return value or {@code null} for none + */ + public java.lang.String getProductSoldCustomAttribute2() { + return productSoldCustomAttribute2; + } + + /** + * Custom attribute 2 of the product sold. + * @param productSoldCustomAttribute2 productSoldCustomAttribute2 or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSegments setProductSoldCustomAttribute2(java.lang.String productSoldCustomAttribute2) { + this.productSoldCustomAttribute2 = productSoldCustomAttribute2; + return this; + } + + /** + * Custom attribute 3 of the product sold. + * @return value or {@code null} for none + */ + public java.lang.String getProductSoldCustomAttribute3() { + return productSoldCustomAttribute3; + } + + /** + * Custom attribute 3 of the product sold. + * @param productSoldCustomAttribute3 productSoldCustomAttribute3 or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSegments setProductSoldCustomAttribute3(java.lang.String productSoldCustomAttribute3) { + this.productSoldCustomAttribute3 = productSoldCustomAttribute3; + return this; + } + + /** + * Custom attribute 4 of the product sold. + * @return value or {@code null} for none + */ + public java.lang.String getProductSoldCustomAttribute4() { + return productSoldCustomAttribute4; + } + + /** + * Custom attribute 4 of the product sold. + * @param productSoldCustomAttribute4 productSoldCustomAttribute4 or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSegments setProductSoldCustomAttribute4(java.lang.String productSoldCustomAttribute4) { + this.productSoldCustomAttribute4 = productSoldCustomAttribute4; + return this; + } + + /** + * Item ID of the product sold. + * @return value or {@code null} for none + */ + public java.lang.String getProductSoldItemId() { + return productSoldItemId; + } + + /** + * Item ID of the product sold. + * @param productSoldItemId productSoldItemId or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSegments setProductSoldItemId(java.lang.String productSoldItemId) { + this.productSoldItemId = productSoldItemId; + return this; + } + + /** + * Title of the product sold. + * @return value or {@code null} for none + */ + public java.lang.String getProductSoldTitle() { + return productSoldTitle; + } + + /** + * Title of the product sold. + * @param productSoldTitle productSoldTitle or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSegments setProductSoldTitle(java.lang.String productSoldTitle) { + this.productSoldTitle = productSoldTitle; + return this; + } + + /** + * Type (level 1) of the product sold. + * @return value or {@code null} for none + */ + public java.lang.String getProductSoldTypeL1() { + return productSoldTypeL1; + } + + /** + * Type (level 1) of the product sold. + * @param productSoldTypeL1 productSoldTypeL1 or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSegments setProductSoldTypeL1(java.lang.String productSoldTypeL1) { + this.productSoldTypeL1 = productSoldTypeL1; + return this; + } + + /** + * Type (level 2) of the product sold. + * @return value or {@code null} for none + */ + public java.lang.String getProductSoldTypeL2() { + return productSoldTypeL2; + } + + /** + * Type (level 2) of the product sold. + * @param productSoldTypeL2 productSoldTypeL2 or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSegments setProductSoldTypeL2(java.lang.String productSoldTypeL2) { + this.productSoldTypeL2 = productSoldTypeL2; + return this; + } + + /** + * Type (level 3) of the product sold. + * @return value or {@code null} for none + */ + public java.lang.String getProductSoldTypeL3() { + return productSoldTypeL3; + } + + /** + * Type (level 3) of the product sold. + * @param productSoldTypeL3 productSoldTypeL3 or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSegments setProductSoldTypeL3(java.lang.String productSoldTypeL3) { + this.productSoldTypeL3 = productSoldTypeL3; + return this; + } + + /** + * Type (level 4) of the product sold. + * @return value or {@code null} for none + */ + public java.lang.String getProductSoldTypeL4() { + return productSoldTypeL4; + } + + /** + * Type (level 4) of the product sold. + * @param productSoldTypeL4 productSoldTypeL4 or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSegments setProductSoldTypeL4(java.lang.String productSoldTypeL4) { + this.productSoldTypeL4 = productSoldTypeL4; + return this; + } + + /** + * Type (level 5) of the product sold. + * @return value or {@code null} for none + */ + public java.lang.String getProductSoldTypeL5() { + return productSoldTypeL5; + } + + /** + * Type (level 5) of the product sold. + * @param productSoldTypeL5 productSoldTypeL5 or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSegments setProductSoldTypeL5(java.lang.String productSoldTypeL5) { + this.productSoldTypeL5 = productSoldTypeL5; + return this; + } + + /** + * Store ID of the product. + * @return value or {@code null} for none + */ + public java.lang.String getProductStoreId() { + return productStoreId; + } + + /** + * Store ID of the product. + * @param productStoreId productStoreId or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSegments setProductStoreId(java.lang.String productStoreId) { + this.productStoreId = productStoreId; + return this; + } + + /** + * Title of the product. + * @return value or {@code null} for none + */ + public java.lang.String getProductTitle() { + return productTitle; + } + + /** + * Title of the product. + * @param productTitle productTitle or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSegments setProductTitle(java.lang.String productTitle) { + this.productTitle = productTitle; + return this; + } + + /** + * Type (level 1) of the product. + * @return value or {@code null} for none + */ + public java.lang.String getProductTypeL1() { + return productTypeL1; + } + + /** + * Type (level 1) of the product. + * @param productTypeL1 productTypeL1 or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSegments setProductTypeL1(java.lang.String productTypeL1) { + this.productTypeL1 = productTypeL1; + return this; + } + + /** + * Type (level 2) of the product. + * @return value or {@code null} for none + */ + public java.lang.String getProductTypeL2() { + return productTypeL2; + } + + /** + * Type (level 2) of the product. + * @param productTypeL2 productTypeL2 or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSegments setProductTypeL2(java.lang.String productTypeL2) { + this.productTypeL2 = productTypeL2; + return this; + } + + /** + * Type (level 3) of the product. + * @return value or {@code null} for none + */ + public java.lang.String getProductTypeL3() { + return productTypeL3; + } + + /** + * Type (level 3) of the product. + * @param productTypeL3 productTypeL3 or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSegments setProductTypeL3(java.lang.String productTypeL3) { + this.productTypeL3 = productTypeL3; + return this; + } + + /** + * Type (level 4) of the product. + * @return value or {@code null} for none + */ + public java.lang.String getProductTypeL4() { + return productTypeL4; + } + + /** + * Type (level 4) of the product. + * @param productTypeL4 productTypeL4 or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSegments setProductTypeL4(java.lang.String productTypeL4) { + this.productTypeL4 = productTypeL4; + return this; + } + + /** + * Type (level 5) of the product. + * @return value or {@code null} for none + */ + public java.lang.String getProductTypeL5() { + return productTypeL5; + } + + /** + * Type (level 5) of the product. + * @param productTypeL5 productTypeL5 or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSegments setProductTypeL5(java.lang.String productTypeL5) { + this.productTypeL5 = productTypeL5; + return this; + } + + /** + * Quarter as represented by the date of the first day of a quarter. Uses the calendar year for + * quarters, for example, the second quarter of 2018 starts on 2018-04-01. Formatted as yyyy-MM- + * dd. + * @return value or {@code null} for none + */ + public java.lang.String getQuarter() { + return quarter; + } + + /** + * Quarter as represented by the date of the first day of a quarter. Uses the calendar year for + * quarters, for example, the second quarter of 2018 starts on 2018-04-01. Formatted as yyyy-MM- + * dd. + * @param quarter quarter or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSegments setQuarter(java.lang.String quarter) { + this.quarter = quarter; + return this; + } + + /** + * The raw event conversion dimensions. + * @return value or {@code null} for none + */ + public java.util.List getRawEventConversionDimensions() { + return rawEventConversionDimensions; + } + + /** + * The raw event conversion dimensions. + * @param rawEventConversionDimensions rawEventConversionDimensions or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSegments setRawEventConversionDimensions(java.util.List rawEventConversionDimensions) { + this.rawEventConversionDimensions = rawEventConversionDimensions; + return this; + } + + /** + * The display names of participants in an event listing, like performers, speakers, or teams. + * @return value or {@code null} for none + */ + public java.lang.String getVerticalAdsEventParticipantDisplayNames() { + return verticalAdsEventParticipantDisplayNames; + } + + /** + * The display names of participants in an event listing, like performers, speakers, or teams. + * @param verticalAdsEventParticipantDisplayNames verticalAdsEventParticipantDisplayNames or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSegments setVerticalAdsEventParticipantDisplayNames(java.lang.String verticalAdsEventParticipantDisplayNames) { + this.verticalAdsEventParticipantDisplayNames = verticalAdsEventParticipantDisplayNames; + return this; + } + + /** + * The class of the hotel. Generally in the range of 1 to 5 stars, but fully customizable in the + * hotel feed. + * @return value or {@code null} for none + */ + public java.lang.Long getVerticalAdsHotelClass() { + return verticalAdsHotelClass; + } + + /** + * The class of the hotel. Generally in the range of 1 to 5 stars, but fully customizable in the + * hotel feed. + * @param verticalAdsHotelClass verticalAdsHotelClass or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSegments setVerticalAdsHotelClass(java.lang.Long verticalAdsHotelClass) { + this.verticalAdsHotelClass = verticalAdsHotelClass; + return this; + } + + /** + * The listing associated with a listing impression, click or conversion. + * @return value or {@code null} for none + */ + public java.lang.String getVerticalAdsListing() { + return verticalAdsListing; + } + + /** + * The listing associated with a listing impression, click or conversion. + * @param verticalAdsListing verticalAdsListing or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSegments setVerticalAdsListing(java.lang.String verticalAdsListing) { + this.verticalAdsListing = verticalAdsListing; + return this; + } + + /** + * The brand associated with a specific listing within a Vertical Ads context, for example, the + * brand of a car rental, a vacation home, or an event. + * @return value or {@code null} for none + */ + public java.lang.String getVerticalAdsListingBrand() { + return verticalAdsListingBrand; + } + + /** + * The brand associated with a specific listing within a Vertical Ads context, for example, the + * brand of a car rental, a vacation home, or an event. + * @param verticalAdsListingBrand verticalAdsListingBrand or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSegments setVerticalAdsListingBrand(java.lang.String verticalAdsListingBrand) { + this.verticalAdsListingBrand = verticalAdsListingBrand; + return this; + } + + /** + * The city where the vertical ads listing is located. + * @return value or {@code null} for none + */ + public java.lang.String getVerticalAdsListingCity() { + return verticalAdsListingCity; + } + + /** + * The city where the vertical ads listing is located. + * @param verticalAdsListingCity verticalAdsListingCity or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSegments setVerticalAdsListingCity(java.lang.String verticalAdsListingCity) { + this.verticalAdsListingCity = verticalAdsListingCity; + return this; + } + + /** + * The country where the vertical ads listing is located. + * @return value or {@code null} for none + */ + public java.lang.String getVerticalAdsListingCountry() { + return verticalAdsListingCountry; + } + + /** + * The country where the vertical ads listing is located. + * @param verticalAdsListingCountry verticalAdsListingCountry or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSegments setVerticalAdsListingCountry(java.lang.String verticalAdsListingCountry) { + this.verticalAdsListingCountry = verticalAdsListingCountry; + return this; + } + + /** + * The region where the vertical ads listing is located. + * @return value or {@code null} for none + */ + public java.lang.String getVerticalAdsListingRegion() { + return verticalAdsListingRegion; + } + + /** + * The region where the vertical ads listing is located. + * @param verticalAdsListingRegion verticalAdsListingRegion or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSegments setVerticalAdsListingRegion(java.lang.String verticalAdsListingRegion) { + this.verticalAdsListingRegion = verticalAdsListingRegion; + return this; + } + + /** + * A specific partner account within a Partner Center (for example, Hotel Center) that supplies + * inventory feed data for Vertical Ads. + * @return value or {@code null} for none + */ + public java.lang.Long getVerticalAdsPartnerAccount() { + return verticalAdsPartnerAccount; + } + + /** + * A specific partner account within a Partner Center (for example, Hotel Center) that supplies + * inventory feed data for Vertical Ads. + * @param verticalAdsPartnerAccount verticalAdsPartnerAccount or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSegments setVerticalAdsPartnerAccount(java.lang.Long verticalAdsPartnerAccount) { + this.verticalAdsPartnerAccount = verticalAdsPartnerAccount; + return this; + } + + /** + * Type of vertical ad, such as Vacation Rentals, Car Rentals, or Events, used to categorize and + * segment data in the context of Vertical Ads. + * @return value or {@code null} for none + */ + public java.lang.String getVerticalAdsVertical() { + return verticalAdsVertical; + } + + /** + * Type of vertical ad, such as Vacation Rentals, Car Rentals, or Events, used to categorize and + * segment data in the context of Vertical Ads. + * @param verticalAdsVertical verticalAdsVertical or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSegments setVerticalAdsVertical(java.lang.String verticalAdsVertical) { + this.verticalAdsVertical = verticalAdsVertical; + return this; + } + + /** + * Week as defined as Monday through Sunday, and represented by the date of Monday. Formatted as + * yyyy-MM-dd. + * @return value or {@code null} for none + */ + public java.lang.String getWeek() { + return week; + } + + /** + * Week as defined as Monday through Sunday, and represented by the date of Monday. Formatted as + * yyyy-MM-dd. + * @param week week or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSegments setWeek(java.lang.String week) { + this.week = week; + return this; + } + + /** + * Year, formatted as yyyy. + * @return value or {@code null} for none + */ + public java.lang.Integer getYear() { + return year; + } + + /** + * Year, formatted as yyyy. + * @param year year or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSegments setYear(java.lang.Integer year) { + this.year = year; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonSegments set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonSegments) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonSegments clone() { + return (GoogleAdsSearchads360V23CommonSegments) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonShoppingComparisonListingAdInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonShoppingComparisonListingAdInfo.java new file mode 100644 index 00000000000..fa872969abc --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonShoppingComparisonListingAdInfo.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A Shopping Comparison Listing ad. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonShoppingComparisonListingAdInfo extends com.google.api.client.json.GenericJson { + + /** + * Headline of the ad. This field is required. Allowed length is between 25 and 45 characters. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String headline; + + /** + * Headline of the ad. This field is required. Allowed length is between 25 and 45 characters. + * @return value or {@code null} for none + */ + public java.lang.String getHeadline() { + return headline; + } + + /** + * Headline of the ad. This field is required. Allowed length is between 25 and 45 characters. + * @param headline headline or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonShoppingComparisonListingAdInfo setHeadline(java.lang.String headline) { + this.headline = headline; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonShoppingComparisonListingAdInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonShoppingComparisonListingAdInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonShoppingComparisonListingAdInfo clone() { + return (GoogleAdsSearchads360V23CommonShoppingComparisonListingAdInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonShoppingLoyalty.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonShoppingLoyalty.java new file mode 100644 index 00000000000..b7c8be1b925 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonShoppingLoyalty.java @@ -0,0 +1,74 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The shopping loyalty related data. Shopping utilizes this data to provide users with a better + * experience. Accessible only to merchants on the allow-list. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonShoppingLoyalty extends com.google.api.client.json.GenericJson { + + /** + * The membership tier. It is a free-form string as each merchant may have their own loyalty + * system. For example, it could be a number from 1 to 10, or a string such as "Golden" or + * "Silver", or even empty string "". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String loyaltyTier; + + /** + * The membership tier. It is a free-form string as each merchant may have their own loyalty + * system. For example, it could be a number from 1 to 10, or a string such as "Golden" or + * "Silver", or even empty string "". + * @return value or {@code null} for none + */ + public java.lang.String getLoyaltyTier() { + return loyaltyTier; + } + + /** + * The membership tier. It is a free-form string as each merchant may have their own loyalty + * system. For example, it could be a number from 1 to 10, or a string such as "Golden" or + * "Silver", or even empty string "". + * @param loyaltyTier loyaltyTier or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonShoppingLoyalty setLoyaltyTier(java.lang.String loyaltyTier) { + this.loyaltyTier = loyaltyTier; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonShoppingLoyalty set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonShoppingLoyalty) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonShoppingLoyalty clone() { + return (GoogleAdsSearchads360V23CommonShoppingLoyalty) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonShoppingProductAdInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonShoppingProductAdInfo.java new file mode 100644 index 00000000000..bf429c401f9 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonShoppingProductAdInfo.java @@ -0,0 +1,43 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A standard Shopping ad. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonShoppingProductAdInfo extends com.google.api.client.json.GenericJson { + + @Override + public GoogleAdsSearchads360V23CommonShoppingProductAdInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonShoppingProductAdInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonShoppingProductAdInfo clone() { + return (GoogleAdsSearchads360V23CommonShoppingProductAdInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonShoppingSmartAdInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonShoppingSmartAdInfo.java new file mode 100644 index 00000000000..bb820fff332 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonShoppingSmartAdInfo.java @@ -0,0 +1,43 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A Smart Shopping ad. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonShoppingSmartAdInfo extends com.google.api.client.json.GenericJson { + + @Override + public GoogleAdsSearchads360V23CommonShoppingSmartAdInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonShoppingSmartAdInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonShoppingSmartAdInfo clone() { + return (GoogleAdsSearchads360V23CommonShoppingSmartAdInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonSimilarUserListInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonSimilarUserListInfo.java new file mode 100644 index 00000000000..710cf1a68aa --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonSimilarUserListInfo.java @@ -0,0 +1,68 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * SimilarUserList is a list of users which are similar to users from another UserList. These lists + * are read-only and automatically created by Google. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonSimilarUserListInfo extends com.google.api.client.json.GenericJson { + + /** + * Seed UserList from which this list is derived. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String seedUserList; + + /** + * Seed UserList from which this list is derived. + * @return value or {@code null} for none + */ + public java.lang.String getSeedUserList() { + return seedUserList; + } + + /** + * Seed UserList from which this list is derived. + * @param seedUserList seedUserList or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSimilarUserListInfo setSeedUserList(java.lang.String seedUserList) { + this.seedUserList = seedUserList; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonSimilarUserListInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonSimilarUserListInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonSimilarUserListInfo clone() { + return (GoogleAdsSearchads360V23CommonSimilarUserListInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonSitelinkAsset.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonSitelinkAsset.java new file mode 100644 index 00000000000..1292be47801 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonSitelinkAsset.java @@ -0,0 +1,205 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A Sitelink asset. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonSitelinkAsset extends com.google.api.client.json.GenericJson { + + /** + * List of non-overlapping schedules specifying all time intervals for which the asset may serve. + * There can be a maximum of 6 schedules per day, 42 in total. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List adScheduleTargets; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonAdScheduleInfo used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonAdScheduleInfo.class); + } + + /** + * First line of the description for the sitelink. If set, the length should be between 1 and 35, + * inclusive, and description2 must also be set. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String description1; + + /** + * Second line of the description for the sitelink. If set, the length should be between 1 and 35, + * inclusive, and description1 must also be set. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String description2; + + /** + * Last date of when this asset is effective and still serving, in yyyy-MM-dd format. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String endDate; + + /** + * Required. URL display text for the sitelink. The length of this string should be between 1 and + * 25, inclusive. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String linkText; + + /** + * Start date of when this asset is effective and can begin serving, in yyyy-MM-dd format. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String startDate; + + /** + * List of non-overlapping schedules specifying all time intervals for which the asset may serve. + * There can be a maximum of 6 schedules per day, 42 in total. + * @return value or {@code null} for none + */ + public java.util.List getAdScheduleTargets() { + return adScheduleTargets; + } + + /** + * List of non-overlapping schedules specifying all time intervals for which the asset may serve. + * There can be a maximum of 6 schedules per day, 42 in total. + * @param adScheduleTargets adScheduleTargets or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSitelinkAsset setAdScheduleTargets(java.util.List adScheduleTargets) { + this.adScheduleTargets = adScheduleTargets; + return this; + } + + /** + * First line of the description for the sitelink. If set, the length should be between 1 and 35, + * inclusive, and description2 must also be set. + * @return value or {@code null} for none + */ + public java.lang.String getDescription1() { + return description1; + } + + /** + * First line of the description for the sitelink. If set, the length should be between 1 and 35, + * inclusive, and description2 must also be set. + * @param description1 description1 or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSitelinkAsset setDescription1(java.lang.String description1) { + this.description1 = description1; + return this; + } + + /** + * Second line of the description for the sitelink. If set, the length should be between 1 and 35, + * inclusive, and description1 must also be set. + * @return value or {@code null} for none + */ + public java.lang.String getDescription2() { + return description2; + } + + /** + * Second line of the description for the sitelink. If set, the length should be between 1 and 35, + * inclusive, and description1 must also be set. + * @param description2 description2 or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSitelinkAsset setDescription2(java.lang.String description2) { + this.description2 = description2; + return this; + } + + /** + * Last date of when this asset is effective and still serving, in yyyy-MM-dd format. + * @return value or {@code null} for none + */ + public java.lang.String getEndDate() { + return endDate; + } + + /** + * Last date of when this asset is effective and still serving, in yyyy-MM-dd format. + * @param endDate endDate or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSitelinkAsset setEndDate(java.lang.String endDate) { + this.endDate = endDate; + return this; + } + + /** + * Required. URL display text for the sitelink. The length of this string should be between 1 and + * 25, inclusive. + * @return value or {@code null} for none + */ + public java.lang.String getLinkText() { + return linkText; + } + + /** + * Required. URL display text for the sitelink. The length of this string should be between 1 and + * 25, inclusive. + * @param linkText linkText or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSitelinkAsset setLinkText(java.lang.String linkText) { + this.linkText = linkText; + return this; + } + + /** + * Start date of when this asset is effective and can begin serving, in yyyy-MM-dd format. + * @return value or {@code null} for none + */ + public java.lang.String getStartDate() { + return startDate; + } + + /** + * Start date of when this asset is effective and can begin serving, in yyyy-MM-dd format. + * @param startDate startDate or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSitelinkAsset setStartDate(java.lang.String startDate) { + this.startDate = startDate; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonSitelinkAsset set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonSitelinkAsset) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonSitelinkAsset clone() { + return (GoogleAdsSearchads360V23CommonSitelinkAsset) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonSitelinkFeedItem.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonSitelinkFeedItem.java new file mode 100644 index 00000000000..4313b66879a --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonSitelinkFeedItem.java @@ -0,0 +1,253 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Represents a sitelink. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonSitelinkFeedItem extends com.google.api.client.json.GenericJson { + + /** + * A list of possible final mobile URLs after all cross domain redirects. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List finalMobileUrls; + + /** + * Final URL suffix to be appended to landing page URLs served with parallel tracking. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String finalUrlSuffix; + + /** + * A list of possible final URLs after all cross domain redirects. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List finalUrls; + + /** + * First line of the description for the sitelink. If this value is set, line2 must also be set. + * The length of this string should be between 0 and 35, inclusive. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String line1; + + /** + * Second line of the description for the sitelink. If this value is set, line1 must also be set. + * The length of this string should be between 0 and 35, inclusive. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String line2; + + /** + * URL display text for the sitelink. The length of this string should be between 1 and 25, + * inclusive. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String linkText; + + /** + * URL template for constructing a tracking URL. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String trackingUrlTemplate; + + /** + * A list of mappings to be used for substituting URL custom parameter tags in the + * tracking_url_template, final_urls, and/or final_mobile_urls. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List urlCustomParameters; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonCustomParameter used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonCustomParameter.class); + } + + /** + * A list of possible final mobile URLs after all cross domain redirects. + * @return value or {@code null} for none + */ + public java.util.List getFinalMobileUrls() { + return finalMobileUrls; + } + + /** + * A list of possible final mobile URLs after all cross domain redirects. + * @param finalMobileUrls finalMobileUrls or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSitelinkFeedItem setFinalMobileUrls(java.util.List finalMobileUrls) { + this.finalMobileUrls = finalMobileUrls; + return this; + } + + /** + * Final URL suffix to be appended to landing page URLs served with parallel tracking. + * @return value or {@code null} for none + */ + public java.lang.String getFinalUrlSuffix() { + return finalUrlSuffix; + } + + /** + * Final URL suffix to be appended to landing page URLs served with parallel tracking. + * @param finalUrlSuffix finalUrlSuffix or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSitelinkFeedItem setFinalUrlSuffix(java.lang.String finalUrlSuffix) { + this.finalUrlSuffix = finalUrlSuffix; + return this; + } + + /** + * A list of possible final URLs after all cross domain redirects. + * @return value or {@code null} for none + */ + public java.util.List getFinalUrls() { + return finalUrls; + } + + /** + * A list of possible final URLs after all cross domain redirects. + * @param finalUrls finalUrls or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSitelinkFeedItem setFinalUrls(java.util.List finalUrls) { + this.finalUrls = finalUrls; + return this; + } + + /** + * First line of the description for the sitelink. If this value is set, line2 must also be set. + * The length of this string should be between 0 and 35, inclusive. + * @return value or {@code null} for none + */ + public java.lang.String getLine1() { + return line1; + } + + /** + * First line of the description for the sitelink. If this value is set, line2 must also be set. + * The length of this string should be between 0 and 35, inclusive. + * @param line1 line1 or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSitelinkFeedItem setLine1(java.lang.String line1) { + this.line1 = line1; + return this; + } + + /** + * Second line of the description for the sitelink. If this value is set, line1 must also be set. + * The length of this string should be between 0 and 35, inclusive. + * @return value or {@code null} for none + */ + public java.lang.String getLine2() { + return line2; + } + + /** + * Second line of the description for the sitelink. If this value is set, line1 must also be set. + * The length of this string should be between 0 and 35, inclusive. + * @param line2 line2 or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSitelinkFeedItem setLine2(java.lang.String line2) { + this.line2 = line2; + return this; + } + + /** + * URL display text for the sitelink. The length of this string should be between 1 and 25, + * inclusive. + * @return value or {@code null} for none + */ + public java.lang.String getLinkText() { + return linkText; + } + + /** + * URL display text for the sitelink. The length of this string should be between 1 and 25, + * inclusive. + * @param linkText linkText or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSitelinkFeedItem setLinkText(java.lang.String linkText) { + this.linkText = linkText; + return this; + } + + /** + * URL template for constructing a tracking URL. + * @return value or {@code null} for none + */ + public java.lang.String getTrackingUrlTemplate() { + return trackingUrlTemplate; + } + + /** + * URL template for constructing a tracking URL. + * @param trackingUrlTemplate trackingUrlTemplate or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSitelinkFeedItem setTrackingUrlTemplate(java.lang.String trackingUrlTemplate) { + this.trackingUrlTemplate = trackingUrlTemplate; + return this; + } + + /** + * A list of mappings to be used for substituting URL custom parameter tags in the + * tracking_url_template, final_urls, and/or final_mobile_urls. + * @return value or {@code null} for none + */ + public java.util.List getUrlCustomParameters() { + return urlCustomParameters; + } + + /** + * A list of mappings to be used for substituting URL custom parameter tags in the + * tracking_url_template, final_urls, and/or final_mobile_urls. + * @param urlCustomParameters urlCustomParameters or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSitelinkFeedItem setUrlCustomParameters(java.util.List urlCustomParameters) { + this.urlCustomParameters = urlCustomParameters; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonSitelinkFeedItem set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonSitelinkFeedItem) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonSitelinkFeedItem clone() { + return (GoogleAdsSearchads360V23CommonSitelinkFeedItem) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonSmartCampaignAdInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonSmartCampaignAdInfo.java new file mode 100644 index 00000000000..44a1fc314fa --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonSmartCampaignAdInfo.java @@ -0,0 +1,109 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A Smart campaign ad. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonSmartCampaignAdInfo extends com.google.api.client.json.GenericJson { + + /** + * List of text assets, each of which corresponds to a description when the ad serves. This list + * consists of a minimum of 2 and up to 4 text assets. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List descriptions; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonAdTextAsset used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonAdTextAsset.class); + } + + /** + * List of text assets, each of which corresponds to a headline when the ad serves. This list + * consists of a minimum of 3 and up to 15 text assets. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List headlines; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonAdTextAsset used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonAdTextAsset.class); + } + + /** + * List of text assets, each of which corresponds to a description when the ad serves. This list + * consists of a minimum of 2 and up to 4 text assets. + * @return value or {@code null} for none + */ + public java.util.List getDescriptions() { + return descriptions; + } + + /** + * List of text assets, each of which corresponds to a description when the ad serves. This list + * consists of a minimum of 2 and up to 4 text assets. + * @param descriptions descriptions or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSmartCampaignAdInfo setDescriptions(java.util.List descriptions) { + this.descriptions = descriptions; + return this; + } + + /** + * List of text assets, each of which corresponds to a headline when the ad serves. This list + * consists of a minimum of 3 and up to 15 text assets. + * @return value or {@code null} for none + */ + public java.util.List getHeadlines() { + return headlines; + } + + /** + * List of text assets, each of which corresponds to a headline when the ad serves. This list + * consists of a minimum of 3 and up to 15 text assets. + * @param headlines headlines or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSmartCampaignAdInfo setHeadlines(java.util.List headlines) { + this.headlines = headlines; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonSmartCampaignAdInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonSmartCampaignAdInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonSmartCampaignAdInfo clone() { + return (GoogleAdsSearchads360V23CommonSmartCampaignAdInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonStoreAttribute.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonStoreAttribute.java new file mode 100644 index 00000000000..bba452d6a9a --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonStoreAttribute.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Store attributes of the transaction. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonStoreAttribute extends com.google.api.client.json.GenericJson { + + /** + * Store code from https://support.google.com/business/answer/3370250#storecode + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String storeCode; + + /** + * Store code from https://support.google.com/business/answer/3370250#storecode + * @return value or {@code null} for none + */ + public java.lang.String getStoreCode() { + return storeCode; + } + + /** + * Store code from https://support.google.com/business/answer/3370250#storecode + * @param storeCode storeCode or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonStoreAttribute setStoreCode(java.lang.String storeCode) { + this.storeCode = storeCode; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonStoreAttribute set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonStoreAttribute) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonStoreAttribute clone() { + return (GoogleAdsSearchads360V23CommonStoreAttribute) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonStoreSalesMetadata.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonStoreSalesMetadata.java new file mode 100644 index 00000000000..225f12e621b --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonStoreSalesMetadata.java @@ -0,0 +1,157 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Metadata for Store Sales Direct. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonStoreSalesMetadata extends com.google.api.client.json.GenericJson { + + /** + * Name of the store sales custom variable key. A predefined key that can be applied to the + * transaction and then later used for custom segmentation in reporting. Accessible only to + * customers on the allow-list. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String customKey; + + /** + * This is the fraction of all transactions that are identifiable (for example, associated with + * any form of customer information). Required. The fraction needs to be between 0 and 1 + * (excluding 0). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double loyaltyFraction; + + /** + * Metadata for a third party Store Sales upload. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonStoreSalesThirdPartyMetadata thirdPartyMetadata; + + /** + * This is the ratio of sales being uploaded compared to the overall sales that can be associated + * with a customer. Required. The fraction needs to be between 0 and 1 (excluding 0). For example, + * if you upload half the sales that you are able to associate with a customer, this would be 0.5. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double transactionUploadFraction; + + /** + * Name of the store sales custom variable key. A predefined key that can be applied to the + * transaction and then later used for custom segmentation in reporting. Accessible only to + * customers on the allow-list. + * @return value or {@code null} for none + */ + public java.lang.String getCustomKey() { + return customKey; + } + + /** + * Name of the store sales custom variable key. A predefined key that can be applied to the + * transaction and then later used for custom segmentation in reporting. Accessible only to + * customers on the allow-list. + * @param customKey customKey or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonStoreSalesMetadata setCustomKey(java.lang.String customKey) { + this.customKey = customKey; + return this; + } + + /** + * This is the fraction of all transactions that are identifiable (for example, associated with + * any form of customer information). Required. The fraction needs to be between 0 and 1 + * (excluding 0). + * @return value or {@code null} for none + */ + public java.lang.Double getLoyaltyFraction() { + return loyaltyFraction; + } + + /** + * This is the fraction of all transactions that are identifiable (for example, associated with + * any form of customer information). Required. The fraction needs to be between 0 and 1 + * (excluding 0). + * @param loyaltyFraction loyaltyFraction or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonStoreSalesMetadata setLoyaltyFraction(java.lang.Double loyaltyFraction) { + this.loyaltyFraction = loyaltyFraction; + return this; + } + + /** + * Metadata for a third party Store Sales upload. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonStoreSalesThirdPartyMetadata getThirdPartyMetadata() { + return thirdPartyMetadata; + } + + /** + * Metadata for a third party Store Sales upload. + * @param thirdPartyMetadata thirdPartyMetadata or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonStoreSalesMetadata setThirdPartyMetadata(GoogleAdsSearchads360V23CommonStoreSalesThirdPartyMetadata thirdPartyMetadata) { + this.thirdPartyMetadata = thirdPartyMetadata; + return this; + } + + /** + * This is the ratio of sales being uploaded compared to the overall sales that can be associated + * with a customer. Required. The fraction needs to be between 0 and 1 (excluding 0). For example, + * if you upload half the sales that you are able to associate with a customer, this would be 0.5. + * @return value or {@code null} for none + */ + public java.lang.Double getTransactionUploadFraction() { + return transactionUploadFraction; + } + + /** + * This is the ratio of sales being uploaded compared to the overall sales that can be associated + * with a customer. Required. The fraction needs to be between 0 and 1 (excluding 0). For example, + * if you upload half the sales that you are able to associate with a customer, this would be 0.5. + * @param transactionUploadFraction transactionUploadFraction or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonStoreSalesMetadata setTransactionUploadFraction(java.lang.Double transactionUploadFraction) { + this.transactionUploadFraction = transactionUploadFraction; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonStoreSalesMetadata set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonStoreSalesMetadata) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonStoreSalesMetadata clone() { + return (GoogleAdsSearchads360V23CommonStoreSalesMetadata) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonStoreSalesThirdPartyMetadata.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonStoreSalesThirdPartyMetadata.java new file mode 100644 index 00000000000..8dc4ee1b5cf --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonStoreSalesThirdPartyMetadata.java @@ -0,0 +1,200 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Metadata for a third party Store Sales. This product is only for customers on the allow-list. + * Contact your Google business development representative for details on the upload configuration. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonStoreSalesThirdPartyMetadata extends com.google.api.client.json.GenericJson { + + /** + * Time the advertiser uploaded the data to the partner. Required. The format is "YYYY-MM-DD + * HH:MM:SS". Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String advertiserUploadDateTime; + + /** + * Version of partner IDs to be used for uploads. Required. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String bridgeMapVersionId; + + /** + * ID of the third party partner updating the transaction feed. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long partnerId; + + /** + * The fraction of valid transactions that are matched to a third party assigned user ID on the + * partner side. Required. The fraction needs to be between 0 and 1 (excluding 0). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double partnerMatchFraction; + + /** + * The fraction of valid transactions that are uploaded by the partner to Google. Required. The + * fraction needs to be between 0 and 1 (excluding 0). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double partnerUploadFraction; + + /** + * The fraction of transactions that are valid. Invalid transactions may include invalid formats + * or values. Required. The fraction needs to be between 0 and 1 (excluding 0). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double validTransactionFraction; + + /** + * Time the advertiser uploaded the data to the partner. Required. The format is "YYYY-MM-DD + * HH:MM:SS". Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" + * @return value or {@code null} for none + */ + public java.lang.String getAdvertiserUploadDateTime() { + return advertiserUploadDateTime; + } + + /** + * Time the advertiser uploaded the data to the partner. Required. The format is "YYYY-MM-DD + * HH:MM:SS". Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" + * @param advertiserUploadDateTime advertiserUploadDateTime or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonStoreSalesThirdPartyMetadata setAdvertiserUploadDateTime(java.lang.String advertiserUploadDateTime) { + this.advertiserUploadDateTime = advertiserUploadDateTime; + return this; + } + + /** + * Version of partner IDs to be used for uploads. Required. + * @return value or {@code null} for none + */ + public java.lang.String getBridgeMapVersionId() { + return bridgeMapVersionId; + } + + /** + * Version of partner IDs to be used for uploads. Required. + * @param bridgeMapVersionId bridgeMapVersionId or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonStoreSalesThirdPartyMetadata setBridgeMapVersionId(java.lang.String bridgeMapVersionId) { + this.bridgeMapVersionId = bridgeMapVersionId; + return this; + } + + /** + * ID of the third party partner updating the transaction feed. + * @return value or {@code null} for none + */ + public java.lang.Long getPartnerId() { + return partnerId; + } + + /** + * ID of the third party partner updating the transaction feed. + * @param partnerId partnerId or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonStoreSalesThirdPartyMetadata setPartnerId(java.lang.Long partnerId) { + this.partnerId = partnerId; + return this; + } + + /** + * The fraction of valid transactions that are matched to a third party assigned user ID on the + * partner side. Required. The fraction needs to be between 0 and 1 (excluding 0). + * @return value or {@code null} for none + */ + public java.lang.Double getPartnerMatchFraction() { + return partnerMatchFraction; + } + + /** + * The fraction of valid transactions that are matched to a third party assigned user ID on the + * partner side. Required. The fraction needs to be between 0 and 1 (excluding 0). + * @param partnerMatchFraction partnerMatchFraction or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonStoreSalesThirdPartyMetadata setPartnerMatchFraction(java.lang.Double partnerMatchFraction) { + this.partnerMatchFraction = partnerMatchFraction; + return this; + } + + /** + * The fraction of valid transactions that are uploaded by the partner to Google. Required. The + * fraction needs to be between 0 and 1 (excluding 0). + * @return value or {@code null} for none + */ + public java.lang.Double getPartnerUploadFraction() { + return partnerUploadFraction; + } + + /** + * The fraction of valid transactions that are uploaded by the partner to Google. Required. The + * fraction needs to be between 0 and 1 (excluding 0). + * @param partnerUploadFraction partnerUploadFraction or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonStoreSalesThirdPartyMetadata setPartnerUploadFraction(java.lang.Double partnerUploadFraction) { + this.partnerUploadFraction = partnerUploadFraction; + return this; + } + + /** + * The fraction of transactions that are valid. Invalid transactions may include invalid formats + * or values. Required. The fraction needs to be between 0 and 1 (excluding 0). + * @return value or {@code null} for none + */ + public java.lang.Double getValidTransactionFraction() { + return validTransactionFraction; + } + + /** + * The fraction of transactions that are valid. Invalid transactions may include invalid formats + * or values. Required. The fraction needs to be between 0 and 1 (excluding 0). + * @param validTransactionFraction validTransactionFraction or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonStoreSalesThirdPartyMetadata setValidTransactionFraction(java.lang.Double validTransactionFraction) { + this.validTransactionFraction = validTransactionFraction; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonStoreSalesThirdPartyMetadata set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonStoreSalesThirdPartyMetadata) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonStoreSalesThirdPartyMetadata clone() { + return (GoogleAdsSearchads360V23CommonStoreSalesThirdPartyMetadata) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonStructuredSnippetAsset.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonStructuredSnippetAsset.java new file mode 100644 index 00000000000..d6c03f0a5e4 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonStructuredSnippetAsset.java @@ -0,0 +1,97 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A Structured Snippet asset. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonStructuredSnippetAsset extends com.google.api.client.json.GenericJson { + + /** + * Required. The header of the snippet. This string should be one of the predefined values at + * https://developers.google.com/google-ads/api/reference/data/structured-snippet-headers + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String header; + + /** + * Required. The values in the snippet. The size of this collection should be between 3 and 10, + * inclusive. The length of each value should be between 1 and 25 characters, inclusive. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List values; + + /** + * Required. The header of the snippet. This string should be one of the predefined values at + * https://developers.google.com/google-ads/api/reference/data/structured-snippet-headers + * @return value or {@code null} for none + */ + public java.lang.String getHeader() { + return header; + } + + /** + * Required. The header of the snippet. This string should be one of the predefined values at + * https://developers.google.com/google-ads/api/reference/data/structured-snippet-headers + * @param header header or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonStructuredSnippetAsset setHeader(java.lang.String header) { + this.header = header; + return this; + } + + /** + * Required. The values in the snippet. The size of this collection should be between 3 and 10, + * inclusive. The length of each value should be between 1 and 25 characters, inclusive. + * @return value or {@code null} for none + */ + public java.util.List getValues() { + return values; + } + + /** + * Required. The values in the snippet. The size of this collection should be between 3 and 10, + * inclusive. The length of each value should be between 1 and 25 characters, inclusive. + * @param values values or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonStructuredSnippetAsset setValues(java.util.List values) { + this.values = values; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonStructuredSnippetAsset set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonStructuredSnippetAsset) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonStructuredSnippetAsset clone() { + return (GoogleAdsSearchads360V23CommonStructuredSnippetAsset) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonTagSnippet.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonTagSnippet.java new file mode 100644 index 00000000000..38409f0bba6 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonTagSnippet.java @@ -0,0 +1,148 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The site tag and event snippet pair for a TrackingCodeType. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonTagSnippet extends com.google.api.client.json.GenericJson { + + /** + * The event snippet that works with the site tag to track actions that should be counted as + * conversions. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String eventSnippet; + + /** + * The site tag that adds visitors to your basic remarketing lists and sets new cookies on your + * domain. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String globalSiteTag; + + /** + * The format of the web page where the tracking tag and snippet will be installed, for example, + * HTML. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String pageFormat; + + /** + * The type of the generated tag snippets for tracking conversions. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String type; + + /** + * The event snippet that works with the site tag to track actions that should be counted as + * conversions. + * @return value or {@code null} for none + */ + public java.lang.String getEventSnippet() { + return eventSnippet; + } + + /** + * The event snippet that works with the site tag to track actions that should be counted as + * conversions. + * @param eventSnippet eventSnippet or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonTagSnippet setEventSnippet(java.lang.String eventSnippet) { + this.eventSnippet = eventSnippet; + return this; + } + + /** + * The site tag that adds visitors to your basic remarketing lists and sets new cookies on your + * domain. + * @return value or {@code null} for none + */ + public java.lang.String getGlobalSiteTag() { + return globalSiteTag; + } + + /** + * The site tag that adds visitors to your basic remarketing lists and sets new cookies on your + * domain. + * @param globalSiteTag globalSiteTag or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonTagSnippet setGlobalSiteTag(java.lang.String globalSiteTag) { + this.globalSiteTag = globalSiteTag; + return this; + } + + /** + * The format of the web page where the tracking tag and snippet will be installed, for example, + * HTML. + * @return value or {@code null} for none + */ + public java.lang.String getPageFormat() { + return pageFormat; + } + + /** + * The format of the web page where the tracking tag and snippet will be installed, for example, + * HTML. + * @param pageFormat pageFormat or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonTagSnippet setPageFormat(java.lang.String pageFormat) { + this.pageFormat = pageFormat; + return this; + } + + /** + * The type of the generated tag snippets for tracking conversions. + * @return value or {@code null} for none + */ + public java.lang.String getType() { + return type; + } + + /** + * The type of the generated tag snippets for tracking conversions. + * @param type type or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonTagSnippet setType(java.lang.String type) { + this.type = type; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonTagSnippet set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonTagSnippet) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonTagSnippet clone() { + return (GoogleAdsSearchads360V23CommonTagSnippet) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonTargetCpa.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonTargetCpa.java new file mode 100644 index 00000000000..ce376d69a6e --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonTargetCpa.java @@ -0,0 +1,125 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * An automated bid strategy that sets bids to help get as many conversions as possible at the + * target cost-per-acquisition (CPA) you set. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonTargetCpa extends com.google.api.client.json.GenericJson { + + /** + * Maximum bid limit that can be set by the bid strategy. The limit applies to all keywords + * managed by the strategy. This should only be set for portfolio bid strategies. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long cpcBidCeilingMicros; + + /** + * Minimum bid limit that can be set by the bid strategy. The limit applies to all keywords + * managed by the strategy. This should only be set for portfolio bid strategies. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long cpcBidFloorMicros; + + /** + * Average CPA target. This target should be greater than or equal to minimum billable unit based + * on the currency for the account. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long targetCpaMicros; + + /** + * Maximum bid limit that can be set by the bid strategy. The limit applies to all keywords + * managed by the strategy. This should only be set for portfolio bid strategies. + * @return value or {@code null} for none + */ + public java.lang.Long getCpcBidCeilingMicros() { + return cpcBidCeilingMicros; + } + + /** + * Maximum bid limit that can be set by the bid strategy. The limit applies to all keywords + * managed by the strategy. This should only be set for portfolio bid strategies. + * @param cpcBidCeilingMicros cpcBidCeilingMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonTargetCpa setCpcBidCeilingMicros(java.lang.Long cpcBidCeilingMicros) { + this.cpcBidCeilingMicros = cpcBidCeilingMicros; + return this; + } + + /** + * Minimum bid limit that can be set by the bid strategy. The limit applies to all keywords + * managed by the strategy. This should only be set for portfolio bid strategies. + * @return value or {@code null} for none + */ + public java.lang.Long getCpcBidFloorMicros() { + return cpcBidFloorMicros; + } + + /** + * Minimum bid limit that can be set by the bid strategy. The limit applies to all keywords + * managed by the strategy. This should only be set for portfolio bid strategies. + * @param cpcBidFloorMicros cpcBidFloorMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonTargetCpa setCpcBidFloorMicros(java.lang.Long cpcBidFloorMicros) { + this.cpcBidFloorMicros = cpcBidFloorMicros; + return this; + } + + /** + * Average CPA target. This target should be greater than or equal to minimum billable unit based + * on the currency for the account. + * @return value or {@code null} for none + */ + public java.lang.Long getTargetCpaMicros() { + return targetCpaMicros; + } + + /** + * Average CPA target. This target should be greater than or equal to minimum billable unit based + * on the currency for the account. + * @param targetCpaMicros targetCpaMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonTargetCpa setTargetCpaMicros(java.lang.Long targetCpaMicros) { + this.targetCpaMicros = targetCpaMicros; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonTargetCpa set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonTargetCpa) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonTargetCpa clone() { + return (GoogleAdsSearchads360V23CommonTargetCpa) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonTargetCpaSimulationPoint.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonTargetCpaSimulationPoint.java new file mode 100644 index 00000000000..3842f476abf --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonTargetCpaSimulationPoint.java @@ -0,0 +1,340 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Projected metrics for a specific target CPA amount. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonTargetCpaSimulationPoint extends com.google.api.client.json.GenericJson { + + /** + * Projected number of app installs. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double appInstalls; + + /** + * Projected number of biddable conversions. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double biddableConversions; + + /** + * Projected total value of biddable conversions. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double biddableConversionsValue; + + /** + * Projected number of clicks. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long clicks; + + /** + * Projected cost in micros. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long costMicros; + + /** + * Projected number of impressions. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long impressions; + + /** + * Projected number of in-app actions. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double inAppActions; + + /** + * Projected number of interactions. Only discovery advertising channel type supports this field. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long interactions; + + /** + * Projected required daily budget that the advertiser must set in order to receive the estimated + * traffic, in micros of advertiser currency. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long requiredBudgetAmountMicros; + + /** + * The simulated target CPA upon which projected metrics are based. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long targetCpaMicros; + + /** + * The simulated scaling modifier upon which projected metrics are based. All CPA targets relevant + * to the simulated entity are scaled by this modifier. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double targetCpaScalingModifier; + + /** + * Projected number of top slot impressions. Only search advertising channel type supports this + * field. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long topSlotImpressions; + + /** + * Projected number of app installs. + * @return value or {@code null} for none + */ + public java.lang.Double getAppInstalls() { + return appInstalls; + } + + /** + * Projected number of app installs. + * @param appInstalls appInstalls or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonTargetCpaSimulationPoint setAppInstalls(java.lang.Double appInstalls) { + this.appInstalls = appInstalls; + return this; + } + + /** + * Projected number of biddable conversions. + * @return value or {@code null} for none + */ + public java.lang.Double getBiddableConversions() { + return biddableConversions; + } + + /** + * Projected number of biddable conversions. + * @param biddableConversions biddableConversions or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonTargetCpaSimulationPoint setBiddableConversions(java.lang.Double biddableConversions) { + this.biddableConversions = biddableConversions; + return this; + } + + /** + * Projected total value of biddable conversions. + * @return value or {@code null} for none + */ + public java.lang.Double getBiddableConversionsValue() { + return biddableConversionsValue; + } + + /** + * Projected total value of biddable conversions. + * @param biddableConversionsValue biddableConversionsValue or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonTargetCpaSimulationPoint setBiddableConversionsValue(java.lang.Double biddableConversionsValue) { + this.biddableConversionsValue = biddableConversionsValue; + return this; + } + + /** + * Projected number of clicks. + * @return value or {@code null} for none + */ + public java.lang.Long getClicks() { + return clicks; + } + + /** + * Projected number of clicks. + * @param clicks clicks or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonTargetCpaSimulationPoint setClicks(java.lang.Long clicks) { + this.clicks = clicks; + return this; + } + + /** + * Projected cost in micros. + * @return value or {@code null} for none + */ + public java.lang.Long getCostMicros() { + return costMicros; + } + + /** + * Projected cost in micros. + * @param costMicros costMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonTargetCpaSimulationPoint setCostMicros(java.lang.Long costMicros) { + this.costMicros = costMicros; + return this; + } + + /** + * Projected number of impressions. + * @return value or {@code null} for none + */ + public java.lang.Long getImpressions() { + return impressions; + } + + /** + * Projected number of impressions. + * @param impressions impressions or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonTargetCpaSimulationPoint setImpressions(java.lang.Long impressions) { + this.impressions = impressions; + return this; + } + + /** + * Projected number of in-app actions. + * @return value or {@code null} for none + */ + public java.lang.Double getInAppActions() { + return inAppActions; + } + + /** + * Projected number of in-app actions. + * @param inAppActions inAppActions or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonTargetCpaSimulationPoint setInAppActions(java.lang.Double inAppActions) { + this.inAppActions = inAppActions; + return this; + } + + /** + * Projected number of interactions. Only discovery advertising channel type supports this field. + * @return value or {@code null} for none + */ + public java.lang.Long getInteractions() { + return interactions; + } + + /** + * Projected number of interactions. Only discovery advertising channel type supports this field. + * @param interactions interactions or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonTargetCpaSimulationPoint setInteractions(java.lang.Long interactions) { + this.interactions = interactions; + return this; + } + + /** + * Projected required daily budget that the advertiser must set in order to receive the estimated + * traffic, in micros of advertiser currency. + * @return value or {@code null} for none + */ + public java.lang.Long getRequiredBudgetAmountMicros() { + return requiredBudgetAmountMicros; + } + + /** + * Projected required daily budget that the advertiser must set in order to receive the estimated + * traffic, in micros of advertiser currency. + * @param requiredBudgetAmountMicros requiredBudgetAmountMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonTargetCpaSimulationPoint setRequiredBudgetAmountMicros(java.lang.Long requiredBudgetAmountMicros) { + this.requiredBudgetAmountMicros = requiredBudgetAmountMicros; + return this; + } + + /** + * The simulated target CPA upon which projected metrics are based. + * @return value or {@code null} for none + */ + public java.lang.Long getTargetCpaMicros() { + return targetCpaMicros; + } + + /** + * The simulated target CPA upon which projected metrics are based. + * @param targetCpaMicros targetCpaMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonTargetCpaSimulationPoint setTargetCpaMicros(java.lang.Long targetCpaMicros) { + this.targetCpaMicros = targetCpaMicros; + return this; + } + + /** + * The simulated scaling modifier upon which projected metrics are based. All CPA targets relevant + * to the simulated entity are scaled by this modifier. + * @return value or {@code null} for none + */ + public java.lang.Double getTargetCpaScalingModifier() { + return targetCpaScalingModifier; + } + + /** + * The simulated scaling modifier upon which projected metrics are based. All CPA targets relevant + * to the simulated entity are scaled by this modifier. + * @param targetCpaScalingModifier targetCpaScalingModifier or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonTargetCpaSimulationPoint setTargetCpaScalingModifier(java.lang.Double targetCpaScalingModifier) { + this.targetCpaScalingModifier = targetCpaScalingModifier; + return this; + } + + /** + * Projected number of top slot impressions. Only search advertising channel type supports this + * field. + * @return value or {@code null} for none + */ + public java.lang.Long getTopSlotImpressions() { + return topSlotImpressions; + } + + /** + * Projected number of top slot impressions. Only search advertising channel type supports this + * field. + * @param topSlotImpressions topSlotImpressions or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonTargetCpaSimulationPoint setTopSlotImpressions(java.lang.Long topSlotImpressions) { + this.topSlotImpressions = topSlotImpressions; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonTargetCpaSimulationPoint set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonTargetCpaSimulationPoint) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonTargetCpaSimulationPoint clone() { + return (GoogleAdsSearchads360V23CommonTargetCpaSimulationPoint) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonTargetCpaSimulationPointList.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonTargetCpaSimulationPointList.java new file mode 100644 index 00000000000..eadc53a2256 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonTargetCpaSimulationPointList.java @@ -0,0 +1,73 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A container for simulation points for simulations of type TARGET_CPA. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonTargetCpaSimulationPointList extends com.google.api.client.json.GenericJson { + + /** + * Projected metrics for a series of target CPA amounts. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List points; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonTargetCpaSimulationPoint used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonTargetCpaSimulationPoint.class); + } + + /** + * Projected metrics for a series of target CPA amounts. + * @return value or {@code null} for none + */ + public java.util.List getPoints() { + return points; + } + + /** + * Projected metrics for a series of target CPA amounts. + * @param points points or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonTargetCpaSimulationPointList setPoints(java.util.List points) { + this.points = points; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonTargetCpaSimulationPointList set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonTargetCpaSimulationPointList) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonTargetCpaSimulationPointList clone() { + return (GoogleAdsSearchads360V23CommonTargetCpaSimulationPointList) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonTargetCpc.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonTargetCpc.java new file mode 100644 index 00000000000..434c5b7534c --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonTargetCpc.java @@ -0,0 +1,71 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * An automated bidding strategy that sets bids to help get as many clicks as possible at the target + * cost-per-click (CPC) you set. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonTargetCpc extends com.google.api.client.json.GenericJson { + + /** + * Average CPC target. This target should be greater than or equal to minimum billable unit based + * on the currency for the account. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long targetCpcMicros; + + /** + * Average CPC target. This target should be greater than or equal to minimum billable unit based + * on the currency for the account. + * @return value or {@code null} for none + */ + public java.lang.Long getTargetCpcMicros() { + return targetCpcMicros; + } + + /** + * Average CPC target. This target should be greater than or equal to minimum billable unit based + * on the currency for the account. + * @param targetCpcMicros targetCpcMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonTargetCpc setTargetCpcMicros(java.lang.Long targetCpcMicros) { + this.targetCpcMicros = targetCpcMicros; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonTargetCpc set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonTargetCpc) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonTargetCpc clone() { + return (GoogleAdsSearchads360V23CommonTargetCpc) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonTargetCpm.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonTargetCpm.java new file mode 100644 index 00000000000..b07bf5bdb75 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonTargetCpm.java @@ -0,0 +1,44 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Target CPM (cost per thousand impressions) is an automated bidding strategy that sets bids to + * optimize performance given the target CPM you set. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonTargetCpm extends com.google.api.client.json.GenericJson { + + @Override + public GoogleAdsSearchads360V23CommonTargetCpm set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonTargetCpm) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonTargetCpm clone() { + return (GoogleAdsSearchads360V23CommonTargetCpm) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonTargetImpressionShare.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonTargetImpressionShare.java new file mode 100644 index 00000000000..5bf8c963748 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonTargetImpressionShare.java @@ -0,0 +1,122 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * An automated bidding strategy that sets bids so that a certain percentage of search ads are shown + * at the top of the first page (or other targeted location). + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonTargetImpressionShare extends com.google.api.client.json.GenericJson { + + /** + * The highest CPC bid the automated bidding system is permitted to specify. This is a required + * field entered by the advertiser that sets the ceiling and specified in local micros. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long cpcBidCeilingMicros; + + /** + * The targeted location on the search results page. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String location; + + /** + * The chosen fraction of ads to be shown in the targeted location in micros. For example, 1% + * equals 10,000. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long locationFractionMicros; + + /** + * The highest CPC bid the automated bidding system is permitted to specify. This is a required + * field entered by the advertiser that sets the ceiling and specified in local micros. + * @return value or {@code null} for none + */ + public java.lang.Long getCpcBidCeilingMicros() { + return cpcBidCeilingMicros; + } + + /** + * The highest CPC bid the automated bidding system is permitted to specify. This is a required + * field entered by the advertiser that sets the ceiling and specified in local micros. + * @param cpcBidCeilingMicros cpcBidCeilingMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonTargetImpressionShare setCpcBidCeilingMicros(java.lang.Long cpcBidCeilingMicros) { + this.cpcBidCeilingMicros = cpcBidCeilingMicros; + return this; + } + + /** + * The targeted location on the search results page. + * @return value or {@code null} for none + */ + public java.lang.String getLocation() { + return location; + } + + /** + * The targeted location on the search results page. + * @param location location or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonTargetImpressionShare setLocation(java.lang.String location) { + this.location = location; + return this; + } + + /** + * The chosen fraction of ads to be shown in the targeted location in micros. For example, 1% + * equals 10,000. + * @return value or {@code null} for none + */ + public java.lang.Long getLocationFractionMicros() { + return locationFractionMicros; + } + + /** + * The chosen fraction of ads to be shown in the targeted location in micros. For example, 1% + * equals 10,000. + * @param locationFractionMicros locationFractionMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonTargetImpressionShare setLocationFractionMicros(java.lang.Long locationFractionMicros) { + this.locationFractionMicros = locationFractionMicros; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonTargetImpressionShare set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonTargetImpressionShare) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonTargetImpressionShare clone() { + return (GoogleAdsSearchads360V23CommonTargetImpressionShare) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonTargetImpressionShareSimulationPoint.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonTargetImpressionShareSimulationPoint.java new file mode 100644 index 00000000000..4c435390e76 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonTargetImpressionShareSimulationPoint.java @@ -0,0 +1,301 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Projected metrics for a specific target impression share value. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonTargetImpressionShareSimulationPoint extends com.google.api.client.json.GenericJson { + + /** + * Projected number of absolute top impressions. Only search advertising channel type supports + * this field. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long absoluteTopImpressions; + + /** + * Projected number of biddable conversions. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double biddableConversions; + + /** + * Projected total value of biddable conversions. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double biddableConversionsValue; + + /** + * Projected number of clicks. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long clicks; + + /** + * Projected cost in micros. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long costMicros; + + /** + * Projected number of impressions. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long impressions; + + /** + * Projected required daily budget that the advertiser must set in order to receive the estimated + * traffic, in micros of advertiser currency. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long requiredBudgetAmountMicros; + + /** + * Projected required daily cpc bid ceiling that the advertiser must set to realize this + * simulation, in micros of the advertiser currency. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long requiredCpcBidCeilingMicros; + + /** + * The simulated target impression share value (in micros) upon which projected metrics are based. + * For example, 10% impression share, which is equal to 0.1, is stored as 100_000. This value is + * validated and will not exceed 1M (100%). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long targetImpressionShareMicros; + + /** + * Projected number of top slot impressions. Only search advertising channel type supports this + * field. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long topSlotImpressions; + + /** + * Projected number of absolute top impressions. Only search advertising channel type supports + * this field. + * @return value or {@code null} for none + */ + public java.lang.Long getAbsoluteTopImpressions() { + return absoluteTopImpressions; + } + + /** + * Projected number of absolute top impressions. Only search advertising channel type supports + * this field. + * @param absoluteTopImpressions absoluteTopImpressions or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonTargetImpressionShareSimulationPoint setAbsoluteTopImpressions(java.lang.Long absoluteTopImpressions) { + this.absoluteTopImpressions = absoluteTopImpressions; + return this; + } + + /** + * Projected number of biddable conversions. + * @return value or {@code null} for none + */ + public java.lang.Double getBiddableConversions() { + return biddableConversions; + } + + /** + * Projected number of biddable conversions. + * @param biddableConversions biddableConversions or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonTargetImpressionShareSimulationPoint setBiddableConversions(java.lang.Double biddableConversions) { + this.biddableConversions = biddableConversions; + return this; + } + + /** + * Projected total value of biddable conversions. + * @return value or {@code null} for none + */ + public java.lang.Double getBiddableConversionsValue() { + return biddableConversionsValue; + } + + /** + * Projected total value of biddable conversions. + * @param biddableConversionsValue biddableConversionsValue or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonTargetImpressionShareSimulationPoint setBiddableConversionsValue(java.lang.Double biddableConversionsValue) { + this.biddableConversionsValue = biddableConversionsValue; + return this; + } + + /** + * Projected number of clicks. + * @return value or {@code null} for none + */ + public java.lang.Long getClicks() { + return clicks; + } + + /** + * Projected number of clicks. + * @param clicks clicks or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonTargetImpressionShareSimulationPoint setClicks(java.lang.Long clicks) { + this.clicks = clicks; + return this; + } + + /** + * Projected cost in micros. + * @return value or {@code null} for none + */ + public java.lang.Long getCostMicros() { + return costMicros; + } + + /** + * Projected cost in micros. + * @param costMicros costMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonTargetImpressionShareSimulationPoint setCostMicros(java.lang.Long costMicros) { + this.costMicros = costMicros; + return this; + } + + /** + * Projected number of impressions. + * @return value or {@code null} for none + */ + public java.lang.Long getImpressions() { + return impressions; + } + + /** + * Projected number of impressions. + * @param impressions impressions or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonTargetImpressionShareSimulationPoint setImpressions(java.lang.Long impressions) { + this.impressions = impressions; + return this; + } + + /** + * Projected required daily budget that the advertiser must set in order to receive the estimated + * traffic, in micros of advertiser currency. + * @return value or {@code null} for none + */ + public java.lang.Long getRequiredBudgetAmountMicros() { + return requiredBudgetAmountMicros; + } + + /** + * Projected required daily budget that the advertiser must set in order to receive the estimated + * traffic, in micros of advertiser currency. + * @param requiredBudgetAmountMicros requiredBudgetAmountMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonTargetImpressionShareSimulationPoint setRequiredBudgetAmountMicros(java.lang.Long requiredBudgetAmountMicros) { + this.requiredBudgetAmountMicros = requiredBudgetAmountMicros; + return this; + } + + /** + * Projected required daily cpc bid ceiling that the advertiser must set to realize this + * simulation, in micros of the advertiser currency. + * @return value or {@code null} for none + */ + public java.lang.Long getRequiredCpcBidCeilingMicros() { + return requiredCpcBidCeilingMicros; + } + + /** + * Projected required daily cpc bid ceiling that the advertiser must set to realize this + * simulation, in micros of the advertiser currency. + * @param requiredCpcBidCeilingMicros requiredCpcBidCeilingMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonTargetImpressionShareSimulationPoint setRequiredCpcBidCeilingMicros(java.lang.Long requiredCpcBidCeilingMicros) { + this.requiredCpcBidCeilingMicros = requiredCpcBidCeilingMicros; + return this; + } + + /** + * The simulated target impression share value (in micros) upon which projected metrics are based. + * For example, 10% impression share, which is equal to 0.1, is stored as 100_000. This value is + * validated and will not exceed 1M (100%). + * @return value or {@code null} for none + */ + public java.lang.Long getTargetImpressionShareMicros() { + return targetImpressionShareMicros; + } + + /** + * The simulated target impression share value (in micros) upon which projected metrics are based. + * For example, 10% impression share, which is equal to 0.1, is stored as 100_000. This value is + * validated and will not exceed 1M (100%). + * @param targetImpressionShareMicros targetImpressionShareMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonTargetImpressionShareSimulationPoint setTargetImpressionShareMicros(java.lang.Long targetImpressionShareMicros) { + this.targetImpressionShareMicros = targetImpressionShareMicros; + return this; + } + + /** + * Projected number of top slot impressions. Only search advertising channel type supports this + * field. + * @return value or {@code null} for none + */ + public java.lang.Long getTopSlotImpressions() { + return topSlotImpressions; + } + + /** + * Projected number of top slot impressions. Only search advertising channel type supports this + * field. + * @param topSlotImpressions topSlotImpressions or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonTargetImpressionShareSimulationPoint setTopSlotImpressions(java.lang.Long topSlotImpressions) { + this.topSlotImpressions = topSlotImpressions; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonTargetImpressionShareSimulationPoint set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonTargetImpressionShareSimulationPoint) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonTargetImpressionShareSimulationPoint clone() { + return (GoogleAdsSearchads360V23CommonTargetImpressionShareSimulationPoint) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonTargetImpressionShareSimulationPointList.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonTargetImpressionShareSimulationPointList.java new file mode 100644 index 00000000000..d59bc542929 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonTargetImpressionShareSimulationPointList.java @@ -0,0 +1,73 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A container for simulation points for simulations of type TARGET_IMPRESSION_SHARE. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonTargetImpressionShareSimulationPointList extends com.google.api.client.json.GenericJson { + + /** + * Projected metrics for a specific target impression share value. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List points; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonTargetImpressionShareSimulationPoint used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonTargetImpressionShareSimulationPoint.class); + } + + /** + * Projected metrics for a specific target impression share value. + * @return value or {@code null} for none + */ + public java.util.List getPoints() { + return points; + } + + /** + * Projected metrics for a specific target impression share value. + * @param points points or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonTargetImpressionShareSimulationPointList setPoints(java.util.List points) { + this.points = points; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonTargetImpressionShareSimulationPointList set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonTargetImpressionShareSimulationPointList) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonTargetImpressionShareSimulationPointList clone() { + return (GoogleAdsSearchads360V23CommonTargetImpressionShareSimulationPointList) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonTargetRestriction.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonTargetRestriction.java new file mode 100644 index 00000000000..28d1bd9aaca --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonTargetRestriction.java @@ -0,0 +1,103 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The list of per-targeting-dimension targeting settings. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonTargetRestriction extends com.google.api.client.json.GenericJson { + + /** + * Indicates whether to restrict your ads to show only for the criteria you have selected for this + * targeting_dimension, or to target all values for this targeting_dimension and show ads based on + * your targeting in other TargetingDimensions. A value of `true` means that these criteria will + * only apply bid modifiers, and not affect targeting. A value of `false` means that these + * criteria will restrict targeting as well as applying bid modifiers. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean bidOnly; + + /** + * The targeting dimension that these settings apply to. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String targetingDimension; + + /** + * Indicates whether to restrict your ads to show only for the criteria you have selected for this + * targeting_dimension, or to target all values for this targeting_dimension and show ads based on + * your targeting in other TargetingDimensions. A value of `true` means that these criteria will + * only apply bid modifiers, and not affect targeting. A value of `false` means that these + * criteria will restrict targeting as well as applying bid modifiers. + * @return value or {@code null} for none + */ + public java.lang.Boolean getBidOnly() { + return bidOnly; + } + + /** + * Indicates whether to restrict your ads to show only for the criteria you have selected for this + * targeting_dimension, or to target all values for this targeting_dimension and show ads based on + * your targeting in other TargetingDimensions. A value of `true` means that these criteria will + * only apply bid modifiers, and not affect targeting. A value of `false` means that these + * criteria will restrict targeting as well as applying bid modifiers. + * @param bidOnly bidOnly or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonTargetRestriction setBidOnly(java.lang.Boolean bidOnly) { + this.bidOnly = bidOnly; + return this; + } + + /** + * The targeting dimension that these settings apply to. + * @return value or {@code null} for none + */ + public java.lang.String getTargetingDimension() { + return targetingDimension; + } + + /** + * The targeting dimension that these settings apply to. + * @param targetingDimension targetingDimension or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonTargetRestriction setTargetingDimension(java.lang.String targetingDimension) { + this.targetingDimension = targetingDimension; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonTargetRestriction set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonTargetRestriction) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonTargetRestriction clone() { + return (GoogleAdsSearchads360V23CommonTargetRestriction) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonTargetRestrictionOperation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonTargetRestrictionOperation.java new file mode 100644 index 00000000000..9da2ef1e0fb --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonTargetRestrictionOperation.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Operation to be performed on a target restriction list in a mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonTargetRestrictionOperation extends com.google.api.client.json.GenericJson { + + /** + * Type of list operation to perform. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String operator; + + /** + * The target restriction being added to or removed from the list. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonTargetRestriction value; + + /** + * Type of list operation to perform. + * @return value or {@code null} for none + */ + public java.lang.String getOperator() { + return operator; + } + + /** + * Type of list operation to perform. + * @param operator operator or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonTargetRestrictionOperation setOperator(java.lang.String operator) { + this.operator = operator; + return this; + } + + /** + * The target restriction being added to or removed from the list. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonTargetRestriction getValue() { + return value; + } + + /** + * The target restriction being added to or removed from the list. + * @param value value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonTargetRestrictionOperation setValue(GoogleAdsSearchads360V23CommonTargetRestriction value) { + this.value = value; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonTargetRestrictionOperation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonTargetRestrictionOperation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonTargetRestrictionOperation clone() { + return (GoogleAdsSearchads360V23CommonTargetRestrictionOperation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonTargetRoas.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonTargetRoas.java new file mode 100644 index 00000000000..61789cd0fce --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonTargetRoas.java @@ -0,0 +1,158 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * An automated bidding strategy that helps you maximize revenue while averaging a specific target + * return on ad spend (ROAS). + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonTargetRoas extends com.google.api.client.json.GenericJson { + + /** + * Maximum bid limit that can be set by the bid strategy. The limit applies to all keywords + * managed by the strategy. This should only be set for portfolio bid strategies. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long cpcBidCeilingMicros; + + /** + * Minimum bid limit that can be set by the bid strategy. The limit applies to all keywords + * managed by the strategy. This should only be set for portfolio bid strategies. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long cpcBidFloorMicros; + + /** + * Required. The chosen revenue (based on conversion data) per unit of spend. Value must be + * between 0.01 and 1000.0, inclusive. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double targetRoas; + + /** + * The percent of ROAS(return on advertising spend) degradation tolerance allowed to increase + * traffic diversity and conversion volume, specified in millis (for example, 10,000 = 10%). A + * value of 10,000 means that the advertiser can expect ROAS degradation of up to 10% of the + * specified target ROAS. This field is only mutable for portfolio bidding strategies. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long targetRoasTolerancePercentMillis; + + /** + * Maximum bid limit that can be set by the bid strategy. The limit applies to all keywords + * managed by the strategy. This should only be set for portfolio bid strategies. + * @return value or {@code null} for none + */ + public java.lang.Long getCpcBidCeilingMicros() { + return cpcBidCeilingMicros; + } + + /** + * Maximum bid limit that can be set by the bid strategy. The limit applies to all keywords + * managed by the strategy. This should only be set for portfolio bid strategies. + * @param cpcBidCeilingMicros cpcBidCeilingMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonTargetRoas setCpcBidCeilingMicros(java.lang.Long cpcBidCeilingMicros) { + this.cpcBidCeilingMicros = cpcBidCeilingMicros; + return this; + } + + /** + * Minimum bid limit that can be set by the bid strategy. The limit applies to all keywords + * managed by the strategy. This should only be set for portfolio bid strategies. + * @return value or {@code null} for none + */ + public java.lang.Long getCpcBidFloorMicros() { + return cpcBidFloorMicros; + } + + /** + * Minimum bid limit that can be set by the bid strategy. The limit applies to all keywords + * managed by the strategy. This should only be set for portfolio bid strategies. + * @param cpcBidFloorMicros cpcBidFloorMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonTargetRoas setCpcBidFloorMicros(java.lang.Long cpcBidFloorMicros) { + this.cpcBidFloorMicros = cpcBidFloorMicros; + return this; + } + + /** + * Required. The chosen revenue (based on conversion data) per unit of spend. Value must be + * between 0.01 and 1000.0, inclusive. + * @return value or {@code null} for none + */ + public java.lang.Double getTargetRoas() { + return targetRoas; + } + + /** + * Required. The chosen revenue (based on conversion data) per unit of spend. Value must be + * between 0.01 and 1000.0, inclusive. + * @param targetRoas targetRoas or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonTargetRoas setTargetRoas(java.lang.Double targetRoas) { + this.targetRoas = targetRoas; + return this; + } + + /** + * The percent of ROAS(return on advertising spend) degradation tolerance allowed to increase + * traffic diversity and conversion volume, specified in millis (for example, 10,000 = 10%). A + * value of 10,000 means that the advertiser can expect ROAS degradation of up to 10% of the + * specified target ROAS. This field is only mutable for portfolio bidding strategies. + * @return value or {@code null} for none + */ + public java.lang.Long getTargetRoasTolerancePercentMillis() { + return targetRoasTolerancePercentMillis; + } + + /** + * The percent of ROAS(return on advertising spend) degradation tolerance allowed to increase + * traffic diversity and conversion volume, specified in millis (for example, 10,000 = 10%). A + * value of 10,000 means that the advertiser can expect ROAS degradation of up to 10% of the + * specified target ROAS. This field is only mutable for portfolio bidding strategies. + * @param targetRoasTolerancePercentMillis targetRoasTolerancePercentMillis or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonTargetRoas setTargetRoasTolerancePercentMillis(java.lang.Long targetRoasTolerancePercentMillis) { + this.targetRoasTolerancePercentMillis = targetRoasTolerancePercentMillis; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonTargetRoas set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonTargetRoas) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonTargetRoas clone() { + return (GoogleAdsSearchads360V23CommonTargetRoas) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonTargetRoasSimulationPoint.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonTargetRoasSimulationPoint.java new file mode 100644 index 00000000000..a2ed75f6262 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonTargetRoasSimulationPoint.java @@ -0,0 +1,241 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Projected metrics for a specific target ROAS amount. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonTargetRoasSimulationPoint extends com.google.api.client.json.GenericJson { + + /** + * Projected number of biddable conversions. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double biddableConversions; + + /** + * Projected total value of biddable conversions. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double biddableConversionsValue; + + /** + * Projected number of clicks. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long clicks; + + /** + * Projected cost in micros. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long costMicros; + + /** + * Projected number of impressions. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long impressions; + + /** + * Projected required daily budget that the advertiser must set in order to receive the estimated + * traffic, in micros of advertiser currency. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long requiredBudgetAmountMicros; + + /** + * The simulated target ROAS upon which projected metrics are based. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double targetRoas; + + /** + * Projected number of top slot impressions. Only Search advertising channel type supports this + * field. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long topSlotImpressions; + + /** + * Projected number of biddable conversions. + * @return value or {@code null} for none + */ + public java.lang.Double getBiddableConversions() { + return biddableConversions; + } + + /** + * Projected number of biddable conversions. + * @param biddableConversions biddableConversions or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonTargetRoasSimulationPoint setBiddableConversions(java.lang.Double biddableConversions) { + this.biddableConversions = biddableConversions; + return this; + } + + /** + * Projected total value of biddable conversions. + * @return value or {@code null} for none + */ + public java.lang.Double getBiddableConversionsValue() { + return biddableConversionsValue; + } + + /** + * Projected total value of biddable conversions. + * @param biddableConversionsValue biddableConversionsValue or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonTargetRoasSimulationPoint setBiddableConversionsValue(java.lang.Double biddableConversionsValue) { + this.biddableConversionsValue = biddableConversionsValue; + return this; + } + + /** + * Projected number of clicks. + * @return value or {@code null} for none + */ + public java.lang.Long getClicks() { + return clicks; + } + + /** + * Projected number of clicks. + * @param clicks clicks or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonTargetRoasSimulationPoint setClicks(java.lang.Long clicks) { + this.clicks = clicks; + return this; + } + + /** + * Projected cost in micros. + * @return value or {@code null} for none + */ + public java.lang.Long getCostMicros() { + return costMicros; + } + + /** + * Projected cost in micros. + * @param costMicros costMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonTargetRoasSimulationPoint setCostMicros(java.lang.Long costMicros) { + this.costMicros = costMicros; + return this; + } + + /** + * Projected number of impressions. + * @return value or {@code null} for none + */ + public java.lang.Long getImpressions() { + return impressions; + } + + /** + * Projected number of impressions. + * @param impressions impressions or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonTargetRoasSimulationPoint setImpressions(java.lang.Long impressions) { + this.impressions = impressions; + return this; + } + + /** + * Projected required daily budget that the advertiser must set in order to receive the estimated + * traffic, in micros of advertiser currency. + * @return value or {@code null} for none + */ + public java.lang.Long getRequiredBudgetAmountMicros() { + return requiredBudgetAmountMicros; + } + + /** + * Projected required daily budget that the advertiser must set in order to receive the estimated + * traffic, in micros of advertiser currency. + * @param requiredBudgetAmountMicros requiredBudgetAmountMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonTargetRoasSimulationPoint setRequiredBudgetAmountMicros(java.lang.Long requiredBudgetAmountMicros) { + this.requiredBudgetAmountMicros = requiredBudgetAmountMicros; + return this; + } + + /** + * The simulated target ROAS upon which projected metrics are based. + * @return value or {@code null} for none + */ + public java.lang.Double getTargetRoas() { + return targetRoas; + } + + /** + * The simulated target ROAS upon which projected metrics are based. + * @param targetRoas targetRoas or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonTargetRoasSimulationPoint setTargetRoas(java.lang.Double targetRoas) { + this.targetRoas = targetRoas; + return this; + } + + /** + * Projected number of top slot impressions. Only Search advertising channel type supports this + * field. + * @return value or {@code null} for none + */ + public java.lang.Long getTopSlotImpressions() { + return topSlotImpressions; + } + + /** + * Projected number of top slot impressions. Only Search advertising channel type supports this + * field. + * @param topSlotImpressions topSlotImpressions or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonTargetRoasSimulationPoint setTopSlotImpressions(java.lang.Long topSlotImpressions) { + this.topSlotImpressions = topSlotImpressions; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonTargetRoasSimulationPoint set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonTargetRoasSimulationPoint) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonTargetRoasSimulationPoint clone() { + return (GoogleAdsSearchads360V23CommonTargetRoasSimulationPoint) super.clone(); + } + +} From 5a101a07c5df5203e5e99d529d985b6338ca86a4 Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Wed, 3 Jun 2026 18:43:21 -0700 Subject: [PATCH 04/14] chore: regenerate searchads360 client --- ...23CommonTargetRoasSimulationPointList.java | 73 + ...leAdsSearchads360V23CommonTargetSpend.java | 107 + ...Searchads360V23CommonTargetingSetting.java | 110 + ...gleAdsSearchads360V23CommonTextAdInfo.java | 115 + ...ogleAdsSearchads360V23CommonTextAsset.java | 67 + ...ogleAdsSearchads360V23CommonTextLabel.java | 97 + ...ommonThirdPartyIntegrationPartnerData.java | 97 + ...ogleAdsSearchads360V23CommonTopicInfo.java | 98 + ...chads360V23CommonTransactionAttribute.java | 253 + ...eAdsSearchads360V23CommonTravelAdInfo.java | 43 + ...Searchads360V23CommonUnifiedCallAsset.java | 304 ++ ...rchads360V23CommonUnifiedCalloutAsset.java | 172 + ...chads360V23CommonUnifiedLocationAsset.java | 136 + ...chads360V23CommonUnifiedPageFeedAsset.java | 91 + ...chads360V23CommonUnifiedSitelinkAsset.java | 280 ++ ...0V23CommonUnknownListingDimensionInfo.java | 43 + ...AdsSearchads360V23CommonUrlCollection.java | 139 + ...AdsSearchads360V23CommonUserAttribute.java | 319 ++ ...oogleAdsSearchads360V23CommonUserData.java | 145 + ...dsSearchads360V23CommonUserIdentifier.java | 187 + ...23CommonUserInterestAttributeMetadata.java | 67 + ...Searchads360V23CommonUserInterestInfo.java | 67 + ...rchads360V23CommonUserInterestSegment.java | 67 + ...archads360V23CommonUserListActionInfo.java | 91 + ...360V23CommonUserListAttributeMetadata.java | 67 + ...s360V23CommonUserListDateRuleItemInfo.java | 124 + ...eAdsSearchads360V23CommonUserListInfo.java | 67 + ...ds360V23CommonUserListLogicalRuleInfo.java | 98 + ...60V23CommonUserListNumberRuleItemInfo.java | 97 + ...Searchads360V23CommonUserListRuleInfo.java | 103 + ...360V23CommonUserListRuleItemGroupInfo.java | 67 + ...chads360V23CommonUserListRuleItemInfo.java | 151 + ...sSearchads360V23CommonUserListSegment.java | 67 + ...60V23CommonUserListStringRuleItemInfo.java | 100 + .../GoogleAdsSearchads360V23CommonValue.java | 163 + ...V23CommonVerticalAdsItemGroupRuleInfo.java | 163 + ...ommonVerticalAdsItemGroupRuleListInfo.java | 68 + ...sSearchads360V23CommonVideoLineupInfo.java | 67 + ...sSearchads360V23CommonWebhookDelivery.java | 116 + ...chads360V23CommonWebpageConditionInfo.java | 115 + ...leAdsSearchads360V23CommonWebpageInfo.java | 169 + ...sSearchads360V23CommonWebpageListInfo.java | 67 + ...earchads360V23CommonWebpageSampleInfo.java | 67 + ...0V23CommonWhatsappBusinessMessageInfo.java | 91 + ...ogleAdsSearchads360V23CommonYearMonth.java | 91 + ...dsSearchads360V23CommonYearMonthRange.java | 92 + ...CommonYouTubeChannelAttributeMetadata.java | 67 + ...archads360V23CommonYouTubeChannelInfo.java | 67 + ...23CommonYouTubeVideoAttributeMetadata.java | 211 + ...Searchads360V23CommonYouTubeVideoInfo.java | 67 + ...earchads360V23CommonYoutubeVideoAsset.java | 91 + ...ds360V23CommonZaloBusinessMessageInfo.java | 94 + ...ErrorsBudgetPerDayMinimumErrorDetails.java | 208 + ...ogleAdsSearchads360V23ErrorsErrorCode.java | 4051 +++++++++++++++++ ...eAdsSearchads360V23ErrorsErrorDetails.java | 193 + ...AdsSearchads360V23ErrorsErrorLocation.java | 73 + ...23ErrorsErrorLocationFieldPathElement.java | 91 + ...chads360V23ErrorsPolicyFindingDetails.java | 80 + ...ads360V23ErrorsPolicyViolationDetails.java | 143 + ...earchads360V23ErrorsQuotaErrorDetails.java | 118 + ...chads360V23ErrorsResourceCountDetails.java | 166 + ...earchads360V23ErrorsSearchAds360Error.java | 166 + ...rchads360V23ErrorsSearchAds360Failure.java | 98 + ...V23ResourcesAccessibleBiddingStrategy.java | 358 ++ ...iddingStrategyMaximizeConversionValue.java | 77 + ...bleBiddingStrategyMaximizeConversions.java | 71 + ...cesAccessibleBiddingStrategyTargetCpa.java | 71 + ...eBiddingStrategyTargetImpressionShare.java | 122 + ...esAccessibleBiddingStrategyTargetRoas.java | 68 + ...sAccessibleBiddingStrategyTargetSpend.java | 107 + ...Searchads360V23ResourcesAccountBudget.java | 635 +++ ...untBudgetPendingAccountBudgetProposal.java | 319 ++ ...s360V23ResourcesAccountBudgetProposal.java | 590 +++ ...dsSearchads360V23ResourcesAccountLink.java | 166 + .../GoogleAdsSearchads360V23ResourcesAd.java | 1138 +++++ ...gleAdsSearchads360V23ResourcesAdGroup.java | 1384 ++++++ ...eAdsSearchads360V23ResourcesAdGroupAd.java | 457 ++ ...ourcesAdGroupAdAssetAutomationSetting.java | 91 + ...esourcesAdGroupAdAssetCombinationView.java | 147 + ...3ResourcesAdGroupAdAssetPolicySummary.java | 124 + ...hads360V23ResourcesAdGroupAdAssetView.java | 283 ++ ...60V23ResourcesAdGroupAdEffectiveLabel.java | 146 + ...earchads360V23ResourcesAdGroupAdLabel.java | 142 + ...360V23ResourcesAdGroupAdPolicySummary.java | 124 + ...23ResourcesAdGroupAiMaxAdGroupSetting.java | 70 + ...sSearchads360V23ResourcesAdGroupAsset.java | 283 ++ ...archads360V23ResourcesAdGroupAssetSet.java | 143 + ...360V23ResourcesAdGroupAudienceSetting.java | 70 + ...ads360V23ResourcesAdGroupAudienceView.java | 75 + ...hads360V23ResourcesAdGroupBidModifier.java | 346 ++ ...rchads360V23ResourcesAdGroupCriterion.java | 1688 +++++++ ...23ResourcesAdGroupCriterionCustomizer.java | 175 + ...sourcesAdGroupCriterionEffectiveLabel.java | 146 + ...s360V23ResourcesAdGroupCriterionLabel.java | 145 + ...rcesAdGroupCriterionPositionEstimates.java | 178 + ...3ResourcesAdGroupCriterionQualityInfo.java | 142 + ...23ResourcesAdGroupCriterionSimulation.java | 269 ++ ...chads360V23ResourcesAdGroupCustomizer.java | 172 + ...ourcesAdGroupDemandGenAdGroupSettings.java | 67 + ...GroupSettingsDemandGenChannelControls.java | 118 + 100 files changed, 22069 insertions(+) create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonTargetRoasSimulationPointList.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonTargetSpend.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonTargetingSetting.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonTextAdInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonTextAsset.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonTextLabel.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonThirdPartyIntegrationPartnerData.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonTopicInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonTransactionAttribute.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonTravelAdInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonUnifiedCallAsset.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonUnifiedCalloutAsset.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonUnifiedLocationAsset.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonUnifiedPageFeedAsset.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonUnifiedSitelinkAsset.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonUnknownListingDimensionInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonUrlCollection.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonUserAttribute.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonUserData.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonUserIdentifier.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonUserInterestAttributeMetadata.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonUserInterestInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonUserInterestSegment.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonUserListActionInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonUserListAttributeMetadata.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonUserListDateRuleItemInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonUserListInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonUserListLogicalRuleInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonUserListNumberRuleItemInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonUserListRuleInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonUserListRuleItemGroupInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonUserListRuleItemInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonUserListSegment.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonUserListStringRuleItemInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonValue.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonVerticalAdsItemGroupRuleInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonVerticalAdsItemGroupRuleListInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonVideoLineupInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonWebhookDelivery.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonWebpageConditionInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonWebpageInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonWebpageListInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonWebpageSampleInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonWhatsappBusinessMessageInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonYearMonth.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonYearMonthRange.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonYouTubeChannelAttributeMetadata.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonYouTubeChannelInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonYouTubeVideoAttributeMetadata.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonYouTubeVideoInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonYoutubeVideoAsset.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonZaloBusinessMessageInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ErrorsBudgetPerDayMinimumErrorDetails.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ErrorsErrorCode.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ErrorsErrorDetails.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ErrorsErrorLocation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ErrorsErrorLocationFieldPathElement.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ErrorsPolicyFindingDetails.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ErrorsPolicyViolationDetails.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ErrorsQuotaErrorDetails.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ErrorsResourceCountDetails.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ErrorsSearchAds360Error.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ErrorsSearchAds360Failure.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategy.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategyMaximizeConversionValue.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategyMaximizeConversions.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategyTargetCpa.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategyTargetImpressionShare.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategyTargetRoas.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategyTargetSpend.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAccountBudget.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAccountBudgetPendingAccountBudgetProposal.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAccountBudgetProposal.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAccountLink.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAd.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroup.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupAd.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupAdAssetAutomationSetting.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupAdAssetCombinationView.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupAdAssetPolicySummary.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupAdAssetView.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupAdEffectiveLabel.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupAdLabel.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupAdPolicySummary.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupAiMaxAdGroupSetting.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupAsset.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupAssetSet.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupAudienceSetting.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupAudienceView.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupBidModifier.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupCriterion.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupCriterionCustomizer.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupCriterionEffectiveLabel.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupCriterionLabel.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupCriterionPositionEstimates.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupCriterionQualityInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupCriterionSimulation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupCustomizer.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupDemandGenAdGroupSettings.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupDemandGenAdGroupSettingsDemandGenChannelControls.java diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonTargetRoasSimulationPointList.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonTargetRoasSimulationPointList.java new file mode 100644 index 00000000000..f4a6936e127 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonTargetRoasSimulationPointList.java @@ -0,0 +1,73 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A container for simulation points for simulations of type TARGET_ROAS. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonTargetRoasSimulationPointList extends com.google.api.client.json.GenericJson { + + /** + * Projected metrics for a series of target ROAS amounts. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List points; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonTargetRoasSimulationPoint used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonTargetRoasSimulationPoint.class); + } + + /** + * Projected metrics for a series of target ROAS amounts. + * @return value or {@code null} for none + */ + public java.util.List getPoints() { + return points; + } + + /** + * Projected metrics for a series of target ROAS amounts. + * @param points points or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonTargetRoasSimulationPointList setPoints(java.util.List points) { + this.points = points; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonTargetRoasSimulationPointList set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonTargetRoasSimulationPointList) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonTargetRoasSimulationPointList clone() { + return (GoogleAdsSearchads360V23CommonTargetRoasSimulationPointList) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonTargetSpend.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonTargetSpend.java new file mode 100644 index 00000000000..ab3f4bd284e --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonTargetSpend.java @@ -0,0 +1,107 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * An automated bid strategy that sets your bids to help get as many clicks as possible within your + * budget. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonTargetSpend extends com.google.api.client.json.GenericJson { + + /** + * Maximum bid limit that can be set by the bid strategy. The limit applies to all keywords + * managed by the strategy. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long cpcBidCeilingMicros; + + /** + * Deprecated: The spend target under which to maximize clicks. A TargetSpend bidder will attempt + * to spend the smaller of this value or the natural throttling spend amount. If not specified, + * the budget is used as the spend target. This field is deprecated and should no longer be used. + * See https://ads-developers.googleblog.com/2020/05/reminder-about-sunset-creation-of.html for + * details. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long targetSpendMicros; + + /** + * Maximum bid limit that can be set by the bid strategy. The limit applies to all keywords + * managed by the strategy. + * @return value or {@code null} for none + */ + public java.lang.Long getCpcBidCeilingMicros() { + return cpcBidCeilingMicros; + } + + /** + * Maximum bid limit that can be set by the bid strategy. The limit applies to all keywords + * managed by the strategy. + * @param cpcBidCeilingMicros cpcBidCeilingMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonTargetSpend setCpcBidCeilingMicros(java.lang.Long cpcBidCeilingMicros) { + this.cpcBidCeilingMicros = cpcBidCeilingMicros; + return this; + } + + /** + * Deprecated: The spend target under which to maximize clicks. A TargetSpend bidder will attempt + * to spend the smaller of this value or the natural throttling spend amount. If not specified, + * the budget is used as the spend target. This field is deprecated and should no longer be used. + * See https://ads-developers.googleblog.com/2020/05/reminder-about-sunset-creation-of.html for + * details. + * @return value or {@code null} for none + */ + public java.lang.Long getTargetSpendMicros() { + return targetSpendMicros; + } + + /** + * Deprecated: The spend target under which to maximize clicks. A TargetSpend bidder will attempt + * to spend the smaller of this value or the natural throttling spend amount. If not specified, + * the budget is used as the spend target. This field is deprecated and should no longer be used. + * See https://ads-developers.googleblog.com/2020/05/reminder-about-sunset-creation-of.html for + * details. + * @param targetSpendMicros targetSpendMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonTargetSpend setTargetSpendMicros(java.lang.Long targetSpendMicros) { + this.targetSpendMicros = targetSpendMicros; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonTargetSpend set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonTargetSpend) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonTargetSpend clone() { + return (GoogleAdsSearchads360V23CommonTargetSpend) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonTargetingSetting.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonTargetingSetting.java new file mode 100644 index 00000000000..18d10175a14 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonTargetingSetting.java @@ -0,0 +1,110 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Settings for the targeting-related features, at the campaign and ad group levels. For more + * details about the targeting setting, visit https://support.google.com/google-ads/answer/7365594 + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonTargetingSetting extends com.google.api.client.json.GenericJson { + + /** + * The list of operations changing the target restrictions. Adding a target restriction with a + * targeting dimension that already exists causes the existing target restriction to be replaced + * with the new value. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List targetRestrictionOperations; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonTargetRestrictionOperation used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonTargetRestrictionOperation.class); + } + + /** + * The per-targeting-dimension setting to restrict the reach of your campaign or ad group. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List targetRestrictions; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonTargetRestriction used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonTargetRestriction.class); + } + + /** + * The list of operations changing the target restrictions. Adding a target restriction with a + * targeting dimension that already exists causes the existing target restriction to be replaced + * with the new value. + * @return value or {@code null} for none + */ + public java.util.List getTargetRestrictionOperations() { + return targetRestrictionOperations; + } + + /** + * The list of operations changing the target restrictions. Adding a target restriction with a + * targeting dimension that already exists causes the existing target restriction to be replaced + * with the new value. + * @param targetRestrictionOperations targetRestrictionOperations or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonTargetingSetting setTargetRestrictionOperations(java.util.List targetRestrictionOperations) { + this.targetRestrictionOperations = targetRestrictionOperations; + return this; + } + + /** + * The per-targeting-dimension setting to restrict the reach of your campaign or ad group. + * @return value or {@code null} for none + */ + public java.util.List getTargetRestrictions() { + return targetRestrictions; + } + + /** + * The per-targeting-dimension setting to restrict the reach of your campaign or ad group. + * @param targetRestrictions targetRestrictions or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonTargetingSetting setTargetRestrictions(java.util.List targetRestrictions) { + this.targetRestrictions = targetRestrictions; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonTargetingSetting set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonTargetingSetting) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonTargetingSetting clone() { + return (GoogleAdsSearchads360V23CommonTargetingSetting) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonTextAdInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonTextAdInfo.java new file mode 100644 index 00000000000..8dc8e811b75 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonTextAdInfo.java @@ -0,0 +1,115 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A text ad. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonTextAdInfo extends com.google.api.client.json.GenericJson { + + /** + * The first line of the ad's description. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String description1; + + /** + * The second line of the ad's description. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String description2; + + /** + * The headline of the ad. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String headline; + + /** + * The first line of the ad's description. + * @return value or {@code null} for none + */ + public java.lang.String getDescription1() { + return description1; + } + + /** + * The first line of the ad's description. + * @param description1 description1 or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonTextAdInfo setDescription1(java.lang.String description1) { + this.description1 = description1; + return this; + } + + /** + * The second line of the ad's description. + * @return value or {@code null} for none + */ + public java.lang.String getDescription2() { + return description2; + } + + /** + * The second line of the ad's description. + * @param description2 description2 or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonTextAdInfo setDescription2(java.lang.String description2) { + this.description2 = description2; + return this; + } + + /** + * The headline of the ad. + * @return value or {@code null} for none + */ + public java.lang.String getHeadline() { + return headline; + } + + /** + * The headline of the ad. + * @param headline headline or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonTextAdInfo setHeadline(java.lang.String headline) { + this.headline = headline; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonTextAdInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonTextAdInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonTextAdInfo clone() { + return (GoogleAdsSearchads360V23CommonTextAdInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonTextAsset.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonTextAsset.java new file mode 100644 index 00000000000..b369f09a142 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonTextAsset.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A Text asset. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonTextAsset extends com.google.api.client.json.GenericJson { + + /** + * Text content of the text asset. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String text; + + /** + * Text content of the text asset. + * @return value or {@code null} for none + */ + public java.lang.String getText() { + return text; + } + + /** + * Text content of the text asset. + * @param text text or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonTextAsset setText(java.lang.String text) { + this.text = text; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonTextAsset set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonTextAsset) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonTextAsset clone() { + return (GoogleAdsSearchads360V23CommonTextAsset) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonTextLabel.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonTextLabel.java new file mode 100644 index 00000000000..35e1d28e64a --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonTextLabel.java @@ -0,0 +1,97 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A type of label displaying text on a colored background. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonTextLabel extends com.google.api.client.json.GenericJson { + + /** + * Background color of the label in HEX format. This string must match the regular expression + * '^\#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$'. Note: The background color may not be visible for + * manager accounts. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String backgroundColor; + + /** + * A short description of the label. The length must be no more than 200 characters. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String description; + + /** + * Background color of the label in HEX format. This string must match the regular expression + * '^\#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$'. Note: The background color may not be visible for + * manager accounts. + * @return value or {@code null} for none + */ + public java.lang.String getBackgroundColor() { + return backgroundColor; + } + + /** + * Background color of the label in HEX format. This string must match the regular expression + * '^\#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$'. Note: The background color may not be visible for + * manager accounts. + * @param backgroundColor backgroundColor or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonTextLabel setBackgroundColor(java.lang.String backgroundColor) { + this.backgroundColor = backgroundColor; + return this; + } + + /** + * A short description of the label. The length must be no more than 200 characters. + * @return value or {@code null} for none + */ + public java.lang.String getDescription() { + return description; + } + + /** + * A short description of the label. The length must be no more than 200 characters. + * @param description description or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonTextLabel setDescription(java.lang.String description) { + this.description = description; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonTextLabel set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonTextLabel) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonTextLabel clone() { + return (GoogleAdsSearchads360V23CommonTextLabel) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonThirdPartyIntegrationPartnerData.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonThirdPartyIntegrationPartnerData.java new file mode 100644 index 00000000000..6e0bc9592a9 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonThirdPartyIntegrationPartnerData.java @@ -0,0 +1,97 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Contains third party measurement partner related data for video campaigns. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonThirdPartyIntegrationPartnerData extends com.google.api.client.json.GenericJson { + + /** + * The client ID that allows the measurement partner to join multiple campaigns for a particular + * advertiser. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String clientId; + + /** + * The third party placement ID that maps the measurement partner data with a campaign (or a group + * of related campaigns) specific data. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String thirdPartyPlacementId; + + /** + * The client ID that allows the measurement partner to join multiple campaigns for a particular + * advertiser. + * @return value or {@code null} for none + */ + public java.lang.String getClientId() { + return clientId; + } + + /** + * The client ID that allows the measurement partner to join multiple campaigns for a particular + * advertiser. + * @param clientId clientId or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonThirdPartyIntegrationPartnerData setClientId(java.lang.String clientId) { + this.clientId = clientId; + return this; + } + + /** + * The third party placement ID that maps the measurement partner data with a campaign (or a group + * of related campaigns) specific data. + * @return value or {@code null} for none + */ + public java.lang.String getThirdPartyPlacementId() { + return thirdPartyPlacementId; + } + + /** + * The third party placement ID that maps the measurement partner data with a campaign (or a group + * of related campaigns) specific data. + * @param thirdPartyPlacementId thirdPartyPlacementId or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonThirdPartyIntegrationPartnerData setThirdPartyPlacementId(java.lang.String thirdPartyPlacementId) { + this.thirdPartyPlacementId = thirdPartyPlacementId; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonThirdPartyIntegrationPartnerData set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonThirdPartyIntegrationPartnerData) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonThirdPartyIntegrationPartnerData clone() { + return (GoogleAdsSearchads360V23CommonThirdPartyIntegrationPartnerData) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonTopicInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonTopicInfo.java new file mode 100644 index 00000000000..6831794c614 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonTopicInfo.java @@ -0,0 +1,98 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A topic criterion. Use topics to target or exclude placements in the Google Display Network based + * on the category into which the placement falls (for example, "Pets & Animals/Pets/Dogs"). + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonTopicInfo extends com.google.api.client.json.GenericJson { + + /** + * The category to target or exclude. Each subsequent element in the array describes a more + * specific sub-category. For example, "Pets & Animals", "Pets", "Dogs" represents the "Pets & + * Animals/Pets/Dogs" category. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List path; + + /** + * The Topic Constant resource name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String topicConstant; + + /** + * The category to target or exclude. Each subsequent element in the array describes a more + * specific sub-category. For example, "Pets & Animals", "Pets", "Dogs" represents the "Pets & + * Animals/Pets/Dogs" category. + * @return value or {@code null} for none + */ + public java.util.List getPath() { + return path; + } + + /** + * The category to target or exclude. Each subsequent element in the array describes a more + * specific sub-category. For example, "Pets & Animals", "Pets", "Dogs" represents the "Pets & + * Animals/Pets/Dogs" category. + * @param path path or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonTopicInfo setPath(java.util.List path) { + this.path = path; + return this; + } + + /** + * The Topic Constant resource name. + * @return value or {@code null} for none + */ + public java.lang.String getTopicConstant() { + return topicConstant; + } + + /** + * The Topic Constant resource name. + * @param topicConstant topicConstant or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonTopicInfo setTopicConstant(java.lang.String topicConstant) { + this.topicConstant = topicConstant; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonTopicInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonTopicInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonTopicInfo clone() { + return (GoogleAdsSearchads360V23CommonTopicInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonTransactionAttribute.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonTransactionAttribute.java new file mode 100644 index 00000000000..470d43c760a --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonTransactionAttribute.java @@ -0,0 +1,253 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Attribute of the store sales transaction. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonTransactionAttribute extends com.google.api.client.json.GenericJson { + + /** + * The resource name of conversion action to report conversions to. Required. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String conversionAction; + + /** + * Transaction currency code. ISO 4217 three-letter code is used. Required. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String currencyCode; + + /** + * Value of the custom variable for each transaction. Allowed only if a custom key is provided in + * the store sales metadata. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String customValue; + + /** + * Item attributes of the transaction. Accessible only to customers on the allow-list. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonItemAttribute itemAttribute; + + /** + * Transaction order id. Useful to group transactions which are part of the same order. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String orderId; + + /** + * Store attributes of the transaction. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonStoreAttribute storeAttribute; + + /** + * Transaction amount in micros. Required. Transaction amount in micros needs to be greater than + * 1000. If item Attributes are provided, it represents the total value of the items, after + * multiplying the unit price per item by the quantity provided in the ItemAttributes. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double transactionAmountMicros; + + /** + * Timestamp when transaction occurred. Required. The format is "YYYY-MM-DD HH:MM:SS[+/-HH:MM]", + * where [+/-HH:MM] is an optional timezone offset from UTC. If the offset is absent, the API will + * use the account's timezone as default. Examples: "2018-03-05 09:15:00" or "2018-02-01 + * 14:34:30+03:00" + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String transactionDateTime; + + /** + * The resource name of conversion action to report conversions to. Required. + * @return value or {@code null} for none + */ + public java.lang.String getConversionAction() { + return conversionAction; + } + + /** + * The resource name of conversion action to report conversions to. Required. + * @param conversionAction conversionAction or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonTransactionAttribute setConversionAction(java.lang.String conversionAction) { + this.conversionAction = conversionAction; + return this; + } + + /** + * Transaction currency code. ISO 4217 three-letter code is used. Required. + * @return value or {@code null} for none + */ + public java.lang.String getCurrencyCode() { + return currencyCode; + } + + /** + * Transaction currency code. ISO 4217 three-letter code is used. Required. + * @param currencyCode currencyCode or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonTransactionAttribute setCurrencyCode(java.lang.String currencyCode) { + this.currencyCode = currencyCode; + return this; + } + + /** + * Value of the custom variable for each transaction. Allowed only if a custom key is provided in + * the store sales metadata. + * @return value or {@code null} for none + */ + public java.lang.String getCustomValue() { + return customValue; + } + + /** + * Value of the custom variable for each transaction. Allowed only if a custom key is provided in + * the store sales metadata. + * @param customValue customValue or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonTransactionAttribute setCustomValue(java.lang.String customValue) { + this.customValue = customValue; + return this; + } + + /** + * Item attributes of the transaction. Accessible only to customers on the allow-list. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonItemAttribute getItemAttribute() { + return itemAttribute; + } + + /** + * Item attributes of the transaction. Accessible only to customers on the allow-list. + * @param itemAttribute itemAttribute or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonTransactionAttribute setItemAttribute(GoogleAdsSearchads360V23CommonItemAttribute itemAttribute) { + this.itemAttribute = itemAttribute; + return this; + } + + /** + * Transaction order id. Useful to group transactions which are part of the same order. + * @return value or {@code null} for none + */ + public java.lang.String getOrderId() { + return orderId; + } + + /** + * Transaction order id. Useful to group transactions which are part of the same order. + * @param orderId orderId or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonTransactionAttribute setOrderId(java.lang.String orderId) { + this.orderId = orderId; + return this; + } + + /** + * Store attributes of the transaction. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonStoreAttribute getStoreAttribute() { + return storeAttribute; + } + + /** + * Store attributes of the transaction. + * @param storeAttribute storeAttribute or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonTransactionAttribute setStoreAttribute(GoogleAdsSearchads360V23CommonStoreAttribute storeAttribute) { + this.storeAttribute = storeAttribute; + return this; + } + + /** + * Transaction amount in micros. Required. Transaction amount in micros needs to be greater than + * 1000. If item Attributes are provided, it represents the total value of the items, after + * multiplying the unit price per item by the quantity provided in the ItemAttributes. + * @return value or {@code null} for none + */ + public java.lang.Double getTransactionAmountMicros() { + return transactionAmountMicros; + } + + /** + * Transaction amount in micros. Required. Transaction amount in micros needs to be greater than + * 1000. If item Attributes are provided, it represents the total value of the items, after + * multiplying the unit price per item by the quantity provided in the ItemAttributes. + * @param transactionAmountMicros transactionAmountMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonTransactionAttribute setTransactionAmountMicros(java.lang.Double transactionAmountMicros) { + this.transactionAmountMicros = transactionAmountMicros; + return this; + } + + /** + * Timestamp when transaction occurred. Required. The format is "YYYY-MM-DD HH:MM:SS[+/-HH:MM]", + * where [+/-HH:MM] is an optional timezone offset from UTC. If the offset is absent, the API will + * use the account's timezone as default. Examples: "2018-03-05 09:15:00" or "2018-02-01 + * 14:34:30+03:00" + * @return value or {@code null} for none + */ + public java.lang.String getTransactionDateTime() { + return transactionDateTime; + } + + /** + * Timestamp when transaction occurred. Required. The format is "YYYY-MM-DD HH:MM:SS[+/-HH:MM]", + * where [+/-HH:MM] is an optional timezone offset from UTC. If the offset is absent, the API will + * use the account's timezone as default. Examples: "2018-03-05 09:15:00" or "2018-02-01 + * 14:34:30+03:00" + * @param transactionDateTime transactionDateTime or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonTransactionAttribute setTransactionDateTime(java.lang.String transactionDateTime) { + this.transactionDateTime = transactionDateTime; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonTransactionAttribute set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonTransactionAttribute) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonTransactionAttribute clone() { + return (GoogleAdsSearchads360V23CommonTransactionAttribute) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonTravelAdInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonTravelAdInfo.java new file mode 100644 index 00000000000..521760e083c --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonTravelAdInfo.java @@ -0,0 +1,43 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A travel ad. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonTravelAdInfo extends com.google.api.client.json.GenericJson { + + @Override + public GoogleAdsSearchads360V23CommonTravelAdInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonTravelAdInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonTravelAdInfo clone() { + return (GoogleAdsSearchads360V23CommonTravelAdInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonUnifiedCallAsset.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonUnifiedCallAsset.java new file mode 100644 index 00000000000..540001469ad --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonUnifiedCallAsset.java @@ -0,0 +1,304 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A unified call asset. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonUnifiedCallAsset extends com.google.api.client.json.GenericJson { + + /** + * List of non-overlapping schedules specifying all time intervals for which the asset may serve. + * There can be a maximum of 6 schedules per day, 42 in total. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List adScheduleTargets; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonAdScheduleInfo used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonAdScheduleInfo.class); + } + + /** + * The conversion action to attribute a call conversion to. If not set, the default conversion + * action is used. This field only has effect if call_conversion_reporting_state is set to + * USE_RESOURCE_LEVEL_CALL_CONVERSION_ACTION. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String callConversionAction; + + /** + * Output only. Indicates whether this CallAsset should use its own call conversion setting, + * follow the account level setting, or disable call conversion. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String callConversionReportingState; + + /** + * Whether the call only shows the phone number without a link to the website. Applies to + * Microsoft Ads. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean callOnly; + + /** + * Whether the call should be enabled on call tracking. Applies to Microsoft Ads. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean callTrackingEnabled; + + /** + * Two-letter country code of the phone number. Examples: 'US', 'us'. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String countryCode; + + /** + * Last date of when this asset is effective and still serving, in yyyy-MM-dd format. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String endDate; + + /** + * The advertiser's raw phone number. Examples: '1234567890', '(123)456-7890' + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String phoneNumber; + + /** + * Start date of when this asset is effective and can begin serving, in yyyy-MM-dd format. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String startDate; + + /** + * Whether to show the call extension in search user's time zone. Applies to Microsoft Ads. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean useSearcherTimeZone; + + /** + * List of non-overlapping schedules specifying all time intervals for which the asset may serve. + * There can be a maximum of 6 schedules per day, 42 in total. + * @return value or {@code null} for none + */ + public java.util.List getAdScheduleTargets() { + return adScheduleTargets; + } + + /** + * List of non-overlapping schedules specifying all time intervals for which the asset may serve. + * There can be a maximum of 6 schedules per day, 42 in total. + * @param adScheduleTargets adScheduleTargets or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUnifiedCallAsset setAdScheduleTargets(java.util.List adScheduleTargets) { + this.adScheduleTargets = adScheduleTargets; + return this; + } + + /** + * The conversion action to attribute a call conversion to. If not set, the default conversion + * action is used. This field only has effect if call_conversion_reporting_state is set to + * USE_RESOURCE_LEVEL_CALL_CONVERSION_ACTION. + * @return value or {@code null} for none + */ + public java.lang.String getCallConversionAction() { + return callConversionAction; + } + + /** + * The conversion action to attribute a call conversion to. If not set, the default conversion + * action is used. This field only has effect if call_conversion_reporting_state is set to + * USE_RESOURCE_LEVEL_CALL_CONVERSION_ACTION. + * @param callConversionAction callConversionAction or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUnifiedCallAsset setCallConversionAction(java.lang.String callConversionAction) { + this.callConversionAction = callConversionAction; + return this; + } + + /** + * Output only. Indicates whether this CallAsset should use its own call conversion setting, + * follow the account level setting, or disable call conversion. + * @return value or {@code null} for none + */ + public java.lang.String getCallConversionReportingState() { + return callConversionReportingState; + } + + /** + * Output only. Indicates whether this CallAsset should use its own call conversion setting, + * follow the account level setting, or disable call conversion. + * @param callConversionReportingState callConversionReportingState or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUnifiedCallAsset setCallConversionReportingState(java.lang.String callConversionReportingState) { + this.callConversionReportingState = callConversionReportingState; + return this; + } + + /** + * Whether the call only shows the phone number without a link to the website. Applies to + * Microsoft Ads. + * @return value or {@code null} for none + */ + public java.lang.Boolean getCallOnly() { + return callOnly; + } + + /** + * Whether the call only shows the phone number without a link to the website. Applies to + * Microsoft Ads. + * @param callOnly callOnly or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUnifiedCallAsset setCallOnly(java.lang.Boolean callOnly) { + this.callOnly = callOnly; + return this; + } + + /** + * Whether the call should be enabled on call tracking. Applies to Microsoft Ads. + * @return value or {@code null} for none + */ + public java.lang.Boolean getCallTrackingEnabled() { + return callTrackingEnabled; + } + + /** + * Whether the call should be enabled on call tracking. Applies to Microsoft Ads. + * @param callTrackingEnabled callTrackingEnabled or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUnifiedCallAsset setCallTrackingEnabled(java.lang.Boolean callTrackingEnabled) { + this.callTrackingEnabled = callTrackingEnabled; + return this; + } + + /** + * Two-letter country code of the phone number. Examples: 'US', 'us'. + * @return value or {@code null} for none + */ + public java.lang.String getCountryCode() { + return countryCode; + } + + /** + * Two-letter country code of the phone number. Examples: 'US', 'us'. + * @param countryCode countryCode or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUnifiedCallAsset setCountryCode(java.lang.String countryCode) { + this.countryCode = countryCode; + return this; + } + + /** + * Last date of when this asset is effective and still serving, in yyyy-MM-dd format. + * @return value or {@code null} for none + */ + public java.lang.String getEndDate() { + return endDate; + } + + /** + * Last date of when this asset is effective and still serving, in yyyy-MM-dd format. + * @param endDate endDate or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUnifiedCallAsset setEndDate(java.lang.String endDate) { + this.endDate = endDate; + return this; + } + + /** + * The advertiser's raw phone number. Examples: '1234567890', '(123)456-7890' + * @return value or {@code null} for none + */ + public java.lang.String getPhoneNumber() { + return phoneNumber; + } + + /** + * The advertiser's raw phone number. Examples: '1234567890', '(123)456-7890' + * @param phoneNumber phoneNumber or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUnifiedCallAsset setPhoneNumber(java.lang.String phoneNumber) { + this.phoneNumber = phoneNumber; + return this; + } + + /** + * Start date of when this asset is effective and can begin serving, in yyyy-MM-dd format. + * @return value or {@code null} for none + */ + public java.lang.String getStartDate() { + return startDate; + } + + /** + * Start date of when this asset is effective and can begin serving, in yyyy-MM-dd format. + * @param startDate startDate or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUnifiedCallAsset setStartDate(java.lang.String startDate) { + this.startDate = startDate; + return this; + } + + /** + * Whether to show the call extension in search user's time zone. Applies to Microsoft Ads. + * @return value or {@code null} for none + */ + public java.lang.Boolean getUseSearcherTimeZone() { + return useSearcherTimeZone; + } + + /** + * Whether to show the call extension in search user's time zone. Applies to Microsoft Ads. + * @param useSearcherTimeZone useSearcherTimeZone or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUnifiedCallAsset setUseSearcherTimeZone(java.lang.Boolean useSearcherTimeZone) { + this.useSearcherTimeZone = useSearcherTimeZone; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonUnifiedCallAsset set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonUnifiedCallAsset) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonUnifiedCallAsset clone() { + return (GoogleAdsSearchads360V23CommonUnifiedCallAsset) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonUnifiedCalloutAsset.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonUnifiedCalloutAsset.java new file mode 100644 index 00000000000..c8bda134497 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonUnifiedCalloutAsset.java @@ -0,0 +1,172 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A unified callout asset. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonUnifiedCalloutAsset extends com.google.api.client.json.GenericJson { + + /** + * List of non-overlapping schedules specifying all time intervals for which the asset may serve. + * There can be a maximum of 6 schedules per day, 42 in total. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List adScheduleTargets; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonAdScheduleInfo used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonAdScheduleInfo.class); + } + + /** + * The callout text. The length of this string should be between 1 and 25, inclusive. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String calloutText; + + /** + * Last date of when this asset is effective and still serving, in yyyy-MM-dd format. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String endDate; + + /** + * Start date of when this asset is effective and can begin serving, in yyyy-MM-dd format. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String startDate; + + /** + * Whether to show the asset in search user's time zone. Applies to Microsoft Ads. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean useSearcherTimeZone; + + /** + * List of non-overlapping schedules specifying all time intervals for which the asset may serve. + * There can be a maximum of 6 schedules per day, 42 in total. + * @return value or {@code null} for none + */ + public java.util.List getAdScheduleTargets() { + return adScheduleTargets; + } + + /** + * List of non-overlapping schedules specifying all time intervals for which the asset may serve. + * There can be a maximum of 6 schedules per day, 42 in total. + * @param adScheduleTargets adScheduleTargets or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUnifiedCalloutAsset setAdScheduleTargets(java.util.List adScheduleTargets) { + this.adScheduleTargets = adScheduleTargets; + return this; + } + + /** + * The callout text. The length of this string should be between 1 and 25, inclusive. + * @return value or {@code null} for none + */ + public java.lang.String getCalloutText() { + return calloutText; + } + + /** + * The callout text. The length of this string should be between 1 and 25, inclusive. + * @param calloutText calloutText or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUnifiedCalloutAsset setCalloutText(java.lang.String calloutText) { + this.calloutText = calloutText; + return this; + } + + /** + * Last date of when this asset is effective and still serving, in yyyy-MM-dd format. + * @return value or {@code null} for none + */ + public java.lang.String getEndDate() { + return endDate; + } + + /** + * Last date of when this asset is effective and still serving, in yyyy-MM-dd format. + * @param endDate endDate or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUnifiedCalloutAsset setEndDate(java.lang.String endDate) { + this.endDate = endDate; + return this; + } + + /** + * Start date of when this asset is effective and can begin serving, in yyyy-MM-dd format. + * @return value or {@code null} for none + */ + public java.lang.String getStartDate() { + return startDate; + } + + /** + * Start date of when this asset is effective and can begin serving, in yyyy-MM-dd format. + * @param startDate startDate or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUnifiedCalloutAsset setStartDate(java.lang.String startDate) { + this.startDate = startDate; + return this; + } + + /** + * Whether to show the asset in search user's time zone. Applies to Microsoft Ads. + * @return value or {@code null} for none + */ + public java.lang.Boolean getUseSearcherTimeZone() { + return useSearcherTimeZone; + } + + /** + * Whether to show the asset in search user's time zone. Applies to Microsoft Ads. + * @param useSearcherTimeZone useSearcherTimeZone or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUnifiedCalloutAsset setUseSearcherTimeZone(java.lang.Boolean useSearcherTimeZone) { + this.useSearcherTimeZone = useSearcherTimeZone; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonUnifiedCalloutAsset set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonUnifiedCalloutAsset) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonUnifiedCalloutAsset clone() { + return (GoogleAdsSearchads360V23CommonUnifiedCalloutAsset) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonUnifiedLocationAsset.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonUnifiedLocationAsset.java new file mode 100644 index 00000000000..5ce04ccf873 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonUnifiedLocationAsset.java @@ -0,0 +1,136 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A unified location asset. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonUnifiedLocationAsset extends com.google.api.client.json.GenericJson { + + /** + * The list of business locations for the customer. This will only be returned if the Location + * Asset is syncing from the Business Profile account. It is possible to have multiple Business + * Profile listings under the same account that point to the same Place ID. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List businessProfileLocations; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonBusinessProfileLocation used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonBusinessProfileLocation.class); + } + + /** + * The type of location ownership. If the type is BUSINESS_OWNER, it will be served as a location + * extension. If the type is AFFILIATE, it will be served as an affiliate location. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String locationOwnershipType; + + /** + * Place IDs uniquely identify a place in the Google Places database and on Google Maps. This + * field is unique for a given customer ID and asset type. See + * https://developers.google.com/places/web-service/place-id to learn more about Place ID. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String placeId; + + /** + * The list of business locations for the customer. This will only be returned if the Location + * Asset is syncing from the Business Profile account. It is possible to have multiple Business + * Profile listings under the same account that point to the same Place ID. + * @return value or {@code null} for none + */ + public java.util.List getBusinessProfileLocations() { + return businessProfileLocations; + } + + /** + * The list of business locations for the customer. This will only be returned if the Location + * Asset is syncing from the Business Profile account. It is possible to have multiple Business + * Profile listings under the same account that point to the same Place ID. + * @param businessProfileLocations businessProfileLocations or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUnifiedLocationAsset setBusinessProfileLocations(java.util.List businessProfileLocations) { + this.businessProfileLocations = businessProfileLocations; + return this; + } + + /** + * The type of location ownership. If the type is BUSINESS_OWNER, it will be served as a location + * extension. If the type is AFFILIATE, it will be served as an affiliate location. + * @return value or {@code null} for none + */ + public java.lang.String getLocationOwnershipType() { + return locationOwnershipType; + } + + /** + * The type of location ownership. If the type is BUSINESS_OWNER, it will be served as a location + * extension. If the type is AFFILIATE, it will be served as an affiliate location. + * @param locationOwnershipType locationOwnershipType or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUnifiedLocationAsset setLocationOwnershipType(java.lang.String locationOwnershipType) { + this.locationOwnershipType = locationOwnershipType; + return this; + } + + /** + * Place IDs uniquely identify a place in the Google Places database and on Google Maps. This + * field is unique for a given customer ID and asset type. See + * https://developers.google.com/places/web-service/place-id to learn more about Place ID. + * @return value or {@code null} for none + */ + public java.lang.String getPlaceId() { + return placeId; + } + + /** + * Place IDs uniquely identify a place in the Google Places database and on Google Maps. This + * field is unique for a given customer ID and asset type. See + * https://developers.google.com/places/web-service/place-id to learn more about Place ID. + * @param placeId placeId or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUnifiedLocationAsset setPlaceId(java.lang.String placeId) { + this.placeId = placeId; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonUnifiedLocationAsset set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonUnifiedLocationAsset) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonUnifiedLocationAsset clone() { + return (GoogleAdsSearchads360V23CommonUnifiedLocationAsset) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonUnifiedPageFeedAsset.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonUnifiedPageFeedAsset.java new file mode 100644 index 00000000000..f5fd87f8db0 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonUnifiedPageFeedAsset.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A Unified Page Feed asset. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonUnifiedPageFeedAsset extends com.google.api.client.json.GenericJson { + + /** + * Labels used to group the page urls. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List labels; + + /** + * The webpage that advertisers want to target. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String pageUrl; + + /** + * Labels used to group the page urls. + * @return value or {@code null} for none + */ + public java.util.List getLabels() { + return labels; + } + + /** + * Labels used to group the page urls. + * @param labels labels or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUnifiedPageFeedAsset setLabels(java.util.List labels) { + this.labels = labels; + return this; + } + + /** + * The webpage that advertisers want to target. + * @return value or {@code null} for none + */ + public java.lang.String getPageUrl() { + return pageUrl; + } + + /** + * The webpage that advertisers want to target. + * @param pageUrl pageUrl or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUnifiedPageFeedAsset setPageUrl(java.lang.String pageUrl) { + this.pageUrl = pageUrl; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonUnifiedPageFeedAsset set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonUnifiedPageFeedAsset) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonUnifiedPageFeedAsset clone() { + return (GoogleAdsSearchads360V23CommonUnifiedPageFeedAsset) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonUnifiedSitelinkAsset.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonUnifiedSitelinkAsset.java new file mode 100644 index 00000000000..591271b80f5 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonUnifiedSitelinkAsset.java @@ -0,0 +1,280 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A unified sitelink asset. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonUnifiedSitelinkAsset extends com.google.api.client.json.GenericJson { + + /** + * List of non-overlapping schedules specifying all time intervals for which the asset may serve. + * There can be a maximum of 6 schedules per day, 42 in total. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List adScheduleTargets; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonAdScheduleInfo used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonAdScheduleInfo.class); + } + + /** + * First line of the description for the sitelink. If set, the length should be between 1 and 35, + * inclusive, and description2 must also be set. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String description1; + + /** + * Second line of the description for the sitelink. If set, the length should be between 1 and 35, + * inclusive, and description1 must also be set. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String description2; + + /** + * Last date of when this asset is effective and still serving, in yyyy-MM-dd format. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String endDate; + + /** + * URL display text for the sitelink. The length of this string should be between 1 and 25, + * inclusive. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String linkText; + + /** + * Whether the preference is for the sitelink asset to be displayed on mobile devices. Applies to + * Microsoft Ads. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean mobilePreferred; + + /** + * Start date of when this asset is effective and can begin serving, in yyyy-MM-dd format. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String startDate; + + /** + * ID used for tracking clicks for the sitelink asset. This is a Yahoo! Japan only field. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long trackingId; + + /** + * Whether to show the sitelink asset in search user's time zone. Applies to Microsoft Ads. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean useSearcherTimeZone; + + /** + * List of non-overlapping schedules specifying all time intervals for which the asset may serve. + * There can be a maximum of 6 schedules per day, 42 in total. + * @return value or {@code null} for none + */ + public java.util.List getAdScheduleTargets() { + return adScheduleTargets; + } + + /** + * List of non-overlapping schedules specifying all time intervals for which the asset may serve. + * There can be a maximum of 6 schedules per day, 42 in total. + * @param adScheduleTargets adScheduleTargets or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUnifiedSitelinkAsset setAdScheduleTargets(java.util.List adScheduleTargets) { + this.adScheduleTargets = adScheduleTargets; + return this; + } + + /** + * First line of the description for the sitelink. If set, the length should be between 1 and 35, + * inclusive, and description2 must also be set. + * @return value or {@code null} for none + */ + public java.lang.String getDescription1() { + return description1; + } + + /** + * First line of the description for the sitelink. If set, the length should be between 1 and 35, + * inclusive, and description2 must also be set. + * @param description1 description1 or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUnifiedSitelinkAsset setDescription1(java.lang.String description1) { + this.description1 = description1; + return this; + } + + /** + * Second line of the description for the sitelink. If set, the length should be between 1 and 35, + * inclusive, and description1 must also be set. + * @return value or {@code null} for none + */ + public java.lang.String getDescription2() { + return description2; + } + + /** + * Second line of the description for the sitelink. If set, the length should be between 1 and 35, + * inclusive, and description1 must also be set. + * @param description2 description2 or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUnifiedSitelinkAsset setDescription2(java.lang.String description2) { + this.description2 = description2; + return this; + } + + /** + * Last date of when this asset is effective and still serving, in yyyy-MM-dd format. + * @return value or {@code null} for none + */ + public java.lang.String getEndDate() { + return endDate; + } + + /** + * Last date of when this asset is effective and still serving, in yyyy-MM-dd format. + * @param endDate endDate or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUnifiedSitelinkAsset setEndDate(java.lang.String endDate) { + this.endDate = endDate; + return this; + } + + /** + * URL display text for the sitelink. The length of this string should be between 1 and 25, + * inclusive. + * @return value or {@code null} for none + */ + public java.lang.String getLinkText() { + return linkText; + } + + /** + * URL display text for the sitelink. The length of this string should be between 1 and 25, + * inclusive. + * @param linkText linkText or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUnifiedSitelinkAsset setLinkText(java.lang.String linkText) { + this.linkText = linkText; + return this; + } + + /** + * Whether the preference is for the sitelink asset to be displayed on mobile devices. Applies to + * Microsoft Ads. + * @return value or {@code null} for none + */ + public java.lang.Boolean getMobilePreferred() { + return mobilePreferred; + } + + /** + * Whether the preference is for the sitelink asset to be displayed on mobile devices. Applies to + * Microsoft Ads. + * @param mobilePreferred mobilePreferred or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUnifiedSitelinkAsset setMobilePreferred(java.lang.Boolean mobilePreferred) { + this.mobilePreferred = mobilePreferred; + return this; + } + + /** + * Start date of when this asset is effective and can begin serving, in yyyy-MM-dd format. + * @return value or {@code null} for none + */ + public java.lang.String getStartDate() { + return startDate; + } + + /** + * Start date of when this asset is effective and can begin serving, in yyyy-MM-dd format. + * @param startDate startDate or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUnifiedSitelinkAsset setStartDate(java.lang.String startDate) { + this.startDate = startDate; + return this; + } + + /** + * ID used for tracking clicks for the sitelink asset. This is a Yahoo! Japan only field. + * @return value or {@code null} for none + */ + public java.lang.Long getTrackingId() { + return trackingId; + } + + /** + * ID used for tracking clicks for the sitelink asset. This is a Yahoo! Japan only field. + * @param trackingId trackingId or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUnifiedSitelinkAsset setTrackingId(java.lang.Long trackingId) { + this.trackingId = trackingId; + return this; + } + + /** + * Whether to show the sitelink asset in search user's time zone. Applies to Microsoft Ads. + * @return value or {@code null} for none + */ + public java.lang.Boolean getUseSearcherTimeZone() { + return useSearcherTimeZone; + } + + /** + * Whether to show the sitelink asset in search user's time zone. Applies to Microsoft Ads. + * @param useSearcherTimeZone useSearcherTimeZone or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUnifiedSitelinkAsset setUseSearcherTimeZone(java.lang.Boolean useSearcherTimeZone) { + this.useSearcherTimeZone = useSearcherTimeZone; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonUnifiedSitelinkAsset set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonUnifiedSitelinkAsset) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonUnifiedSitelinkAsset clone() { + return (GoogleAdsSearchads360V23CommonUnifiedSitelinkAsset) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonUnknownListingDimensionInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonUnknownListingDimensionInfo.java new file mode 100644 index 00000000000..f863fb6163f --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonUnknownListingDimensionInfo.java @@ -0,0 +1,43 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Unknown listing dimension. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonUnknownListingDimensionInfo extends com.google.api.client.json.GenericJson { + + @Override + public GoogleAdsSearchads360V23CommonUnknownListingDimensionInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonUnknownListingDimensionInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonUnknownListingDimensionInfo clone() { + return (GoogleAdsSearchads360V23CommonUnknownListingDimensionInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonUrlCollection.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonUrlCollection.java new file mode 100644 index 00000000000..fdb60abf971 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonUrlCollection.java @@ -0,0 +1,139 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Collection of urls that is tagged with a unique identifier. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonUrlCollection extends com.google.api.client.json.GenericJson { + + /** + * A list of possible final mobile URLs. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List finalMobileUrls; + + /** + * A list of possible final URLs. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List finalUrls; + + /** + * URL template for constructing a tracking URL. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String trackingUrlTemplate; + + /** + * Unique identifier for this UrlCollection instance. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String urlCollectionId; + + /** + * A list of possible final mobile URLs. + * @return value or {@code null} for none + */ + public java.util.List getFinalMobileUrls() { + return finalMobileUrls; + } + + /** + * A list of possible final mobile URLs. + * @param finalMobileUrls finalMobileUrls or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUrlCollection setFinalMobileUrls(java.util.List finalMobileUrls) { + this.finalMobileUrls = finalMobileUrls; + return this; + } + + /** + * A list of possible final URLs. + * @return value or {@code null} for none + */ + public java.util.List getFinalUrls() { + return finalUrls; + } + + /** + * A list of possible final URLs. + * @param finalUrls finalUrls or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUrlCollection setFinalUrls(java.util.List finalUrls) { + this.finalUrls = finalUrls; + return this; + } + + /** + * URL template for constructing a tracking URL. + * @return value or {@code null} for none + */ + public java.lang.String getTrackingUrlTemplate() { + return trackingUrlTemplate; + } + + /** + * URL template for constructing a tracking URL. + * @param trackingUrlTemplate trackingUrlTemplate or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUrlCollection setTrackingUrlTemplate(java.lang.String trackingUrlTemplate) { + this.trackingUrlTemplate = trackingUrlTemplate; + return this; + } + + /** + * Unique identifier for this UrlCollection instance. + * @return value or {@code null} for none + */ + public java.lang.String getUrlCollectionId() { + return urlCollectionId; + } + + /** + * Unique identifier for this UrlCollection instance. + * @param urlCollectionId urlCollectionId or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUrlCollection setUrlCollectionId(java.lang.String urlCollectionId) { + this.urlCollectionId = urlCollectionId; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonUrlCollection set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonUrlCollection) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonUrlCollection clone() { + return (GoogleAdsSearchads360V23CommonUrlCollection) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonUserAttribute.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonUserAttribute.java new file mode 100644 index 00000000000..c510c7aca00 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonUserAttribute.java @@ -0,0 +1,319 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * User attribute, can only be used with CUSTOMER_MATCH_WITH_ATTRIBUTES job type. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonUserAttribute extends com.google.api.client.json.GenericJson { + + /** + * Timestamp when the user was acquired. The format is YYYY-MM-DD HH:MM:SS[+/-HH:MM], where + * [+/-HH:MM] is an optional timezone offset from UTC. If the offset is absent, the API will use + * the account's timezone as default. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String acquisitionDateTime; + + /** + * Advertiser defined average number of purchases that are made by the user in a 30 day period. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer averagePurchaseCount; + + /** + * Advertiser defined average purchase value in micros for the user. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long averagePurchaseValueMicros; + + /** + * Optional. Advertiser defined events and their attributes. All the values in the nested fields + * are required. Currently this field is in beta. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List eventAttribute; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonEventAttribute used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonEventAttribute.class); + } + + /** + * Optional. Timestamp of the first purchase made by the user. The format is YYYY-MM-DD + * HH:MM:SS[+/-HH:MM], where [+/-HH:MM] is an optional timezone offset from UTC. If the offset is + * absent, the API will use the account's timezone as default. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String firstPurchaseDateTime; + + /** + * Timestamp of the last purchase made by the user. The format is YYYY-MM-DD HH:MM:SS[+/-HH:MM], + * where [+/-HH:MM] is an optional timezone offset from UTC. If the offset is absent, the API will + * use the account's timezone as default. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String lastPurchaseDateTime; + + /** + * Optional. Advertiser defined lifecycle stage for the user. The accepted values are "Lead", + * "Active" and "Churned". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String lifecycleStage; + + /** + * Advertiser defined lifetime value bucket for the user. The valid range for a lifetime value + * bucket is from 1 (low) to 10 (high), except for remove operation where 0 will also be accepted. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer lifetimeValueBucket; + + /** + * Advertiser defined lifetime value for the user. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long lifetimeValueMicros; + + /** + * The shopping loyalty related data. Shopping utilizes this data to provide users with a better + * experience. Accessible only to merchants on the allow-list with the user's consent. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonShoppingLoyalty shoppingLoyalty; + + /** + * Timestamp when the user was acquired. The format is YYYY-MM-DD HH:MM:SS[+/-HH:MM], where + * [+/-HH:MM] is an optional timezone offset from UTC. If the offset is absent, the API will use + * the account's timezone as default. + * @return value or {@code null} for none + */ + public java.lang.String getAcquisitionDateTime() { + return acquisitionDateTime; + } + + /** + * Timestamp when the user was acquired. The format is YYYY-MM-DD HH:MM:SS[+/-HH:MM], where + * [+/-HH:MM] is an optional timezone offset from UTC. If the offset is absent, the API will use + * the account's timezone as default. + * @param acquisitionDateTime acquisitionDateTime or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUserAttribute setAcquisitionDateTime(java.lang.String acquisitionDateTime) { + this.acquisitionDateTime = acquisitionDateTime; + return this; + } + + /** + * Advertiser defined average number of purchases that are made by the user in a 30 day period. + * @return value or {@code null} for none + */ + public java.lang.Integer getAveragePurchaseCount() { + return averagePurchaseCount; + } + + /** + * Advertiser defined average number of purchases that are made by the user in a 30 day period. + * @param averagePurchaseCount averagePurchaseCount or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUserAttribute setAveragePurchaseCount(java.lang.Integer averagePurchaseCount) { + this.averagePurchaseCount = averagePurchaseCount; + return this; + } + + /** + * Advertiser defined average purchase value in micros for the user. + * @return value or {@code null} for none + */ + public java.lang.Long getAveragePurchaseValueMicros() { + return averagePurchaseValueMicros; + } + + /** + * Advertiser defined average purchase value in micros for the user. + * @param averagePurchaseValueMicros averagePurchaseValueMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUserAttribute setAveragePurchaseValueMicros(java.lang.Long averagePurchaseValueMicros) { + this.averagePurchaseValueMicros = averagePurchaseValueMicros; + return this; + } + + /** + * Optional. Advertiser defined events and their attributes. All the values in the nested fields + * are required. Currently this field is in beta. + * @return value or {@code null} for none + */ + public java.util.List getEventAttribute() { + return eventAttribute; + } + + /** + * Optional. Advertiser defined events and their attributes. All the values in the nested fields + * are required. Currently this field is in beta. + * @param eventAttribute eventAttribute or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUserAttribute setEventAttribute(java.util.List eventAttribute) { + this.eventAttribute = eventAttribute; + return this; + } + + /** + * Optional. Timestamp of the first purchase made by the user. The format is YYYY-MM-DD + * HH:MM:SS[+/-HH:MM], where [+/-HH:MM] is an optional timezone offset from UTC. If the offset is + * absent, the API will use the account's timezone as default. + * @return value or {@code null} for none + */ + public java.lang.String getFirstPurchaseDateTime() { + return firstPurchaseDateTime; + } + + /** + * Optional. Timestamp of the first purchase made by the user. The format is YYYY-MM-DD + * HH:MM:SS[+/-HH:MM], where [+/-HH:MM] is an optional timezone offset from UTC. If the offset is + * absent, the API will use the account's timezone as default. + * @param firstPurchaseDateTime firstPurchaseDateTime or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUserAttribute setFirstPurchaseDateTime(java.lang.String firstPurchaseDateTime) { + this.firstPurchaseDateTime = firstPurchaseDateTime; + return this; + } + + /** + * Timestamp of the last purchase made by the user. The format is YYYY-MM-DD HH:MM:SS[+/-HH:MM], + * where [+/-HH:MM] is an optional timezone offset from UTC. If the offset is absent, the API will + * use the account's timezone as default. + * @return value or {@code null} for none + */ + public java.lang.String getLastPurchaseDateTime() { + return lastPurchaseDateTime; + } + + /** + * Timestamp of the last purchase made by the user. The format is YYYY-MM-DD HH:MM:SS[+/-HH:MM], + * where [+/-HH:MM] is an optional timezone offset from UTC. If the offset is absent, the API will + * use the account's timezone as default. + * @param lastPurchaseDateTime lastPurchaseDateTime or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUserAttribute setLastPurchaseDateTime(java.lang.String lastPurchaseDateTime) { + this.lastPurchaseDateTime = lastPurchaseDateTime; + return this; + } + + /** + * Optional. Advertiser defined lifecycle stage for the user. The accepted values are "Lead", + * "Active" and "Churned". + * @return value or {@code null} for none + */ + public java.lang.String getLifecycleStage() { + return lifecycleStage; + } + + /** + * Optional. Advertiser defined lifecycle stage for the user. The accepted values are "Lead", + * "Active" and "Churned". + * @param lifecycleStage lifecycleStage or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUserAttribute setLifecycleStage(java.lang.String lifecycleStage) { + this.lifecycleStage = lifecycleStage; + return this; + } + + /** + * Advertiser defined lifetime value bucket for the user. The valid range for a lifetime value + * bucket is from 1 (low) to 10 (high), except for remove operation where 0 will also be accepted. + * @return value or {@code null} for none + */ + public java.lang.Integer getLifetimeValueBucket() { + return lifetimeValueBucket; + } + + /** + * Advertiser defined lifetime value bucket for the user. The valid range for a lifetime value + * bucket is from 1 (low) to 10 (high), except for remove operation where 0 will also be accepted. + * @param lifetimeValueBucket lifetimeValueBucket or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUserAttribute setLifetimeValueBucket(java.lang.Integer lifetimeValueBucket) { + this.lifetimeValueBucket = lifetimeValueBucket; + return this; + } + + /** + * Advertiser defined lifetime value for the user. + * @return value or {@code null} for none + */ + public java.lang.Long getLifetimeValueMicros() { + return lifetimeValueMicros; + } + + /** + * Advertiser defined lifetime value for the user. + * @param lifetimeValueMicros lifetimeValueMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUserAttribute setLifetimeValueMicros(java.lang.Long lifetimeValueMicros) { + this.lifetimeValueMicros = lifetimeValueMicros; + return this; + } + + /** + * The shopping loyalty related data. Shopping utilizes this data to provide users with a better + * experience. Accessible only to merchants on the allow-list with the user's consent. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonShoppingLoyalty getShoppingLoyalty() { + return shoppingLoyalty; + } + + /** + * The shopping loyalty related data. Shopping utilizes this data to provide users with a better + * experience. Accessible only to merchants on the allow-list with the user's consent. + * @param shoppingLoyalty shoppingLoyalty or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUserAttribute setShoppingLoyalty(GoogleAdsSearchads360V23CommonShoppingLoyalty shoppingLoyalty) { + this.shoppingLoyalty = shoppingLoyalty; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonUserAttribute set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonUserAttribute) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonUserAttribute clone() { + return (GoogleAdsSearchads360V23CommonUserAttribute) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonUserData.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonUserData.java new file mode 100644 index 00000000000..22083cd6699 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonUserData.java @@ -0,0 +1,145 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * User data holding user identifiers and attributes. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonUserData extends com.google.api.client.json.GenericJson { + + /** + * The consent setting for the user. If set, will override the job level consent for this user. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonConsent consent; + + /** + * Additional transactions/attributes associated with the user. Required when updating store sales + * data. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonTransactionAttribute transactionAttribute; + + /** + * Additional attributes associated with the user. Required when updating customer match + * attributes. These have an expiration of 540 days. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonUserAttribute userAttribute; + + /** + * User identification info. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List userIdentifiers; + + /** + * The consent setting for the user. If set, will override the job level consent for this user. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonConsent getConsent() { + return consent; + } + + /** + * The consent setting for the user. If set, will override the job level consent for this user. + * @param consent consent or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUserData setConsent(GoogleAdsSearchads360V23CommonConsent consent) { + this.consent = consent; + return this; + } + + /** + * Additional transactions/attributes associated with the user. Required when updating store sales + * data. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonTransactionAttribute getTransactionAttribute() { + return transactionAttribute; + } + + /** + * Additional transactions/attributes associated with the user. Required when updating store sales + * data. + * @param transactionAttribute transactionAttribute or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUserData setTransactionAttribute(GoogleAdsSearchads360V23CommonTransactionAttribute transactionAttribute) { + this.transactionAttribute = transactionAttribute; + return this; + } + + /** + * Additional attributes associated with the user. Required when updating customer match + * attributes. These have an expiration of 540 days. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUserAttribute getUserAttribute() { + return userAttribute; + } + + /** + * Additional attributes associated with the user. Required when updating customer match + * attributes. These have an expiration of 540 days. + * @param userAttribute userAttribute or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUserData setUserAttribute(GoogleAdsSearchads360V23CommonUserAttribute userAttribute) { + this.userAttribute = userAttribute; + return this; + } + + /** + * User identification info. + * @return value or {@code null} for none + */ + public java.util.List getUserIdentifiers() { + return userIdentifiers; + } + + /** + * User identification info. + * @param userIdentifiers userIdentifiers or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUserData setUserIdentifiers(java.util.List userIdentifiers) { + this.userIdentifiers = userIdentifiers; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonUserData set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonUserData) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonUserData clone() { + return (GoogleAdsSearchads360V23CommonUserData) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonUserIdentifier.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonUserIdentifier.java new file mode 100644 index 00000000000..073f9bfd70a --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonUserIdentifier.java @@ -0,0 +1,187 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * identifying information. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonUserIdentifier extends com.google.api.client.json.GenericJson { + + /** + * Address information. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonOfflineUserAddressInfo addressInfo; + + /** + * Hashed email address using SHA-256 hash function after normalization. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String hashedEmail; + + /** + * Hashed phone number using SHA-256 hash function after normalization (E164 standard). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String hashedPhoneNumber; + + /** + * Mobile device ID (advertising ID/IDFA). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String mobileId; + + /** + * Advertiser-assigned user ID for Customer Match upload, or third-party-assigned user ID for + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String thirdPartyUserId; + + /** + * Source of the user identifier when the upload is from Store Sales + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String userIdentifierSource; + + /** + * Address information. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonOfflineUserAddressInfo getAddressInfo() { + return addressInfo; + } + + /** + * Address information. + * @param addressInfo addressInfo or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUserIdentifier setAddressInfo(GoogleAdsSearchads360V23CommonOfflineUserAddressInfo addressInfo) { + this.addressInfo = addressInfo; + return this; + } + + /** + * Hashed email address using SHA-256 hash function after normalization. + * @return value or {@code null} for none + */ + public java.lang.String getHashedEmail() { + return hashedEmail; + } + + /** + * Hashed email address using SHA-256 hash function after normalization. + * @param hashedEmail hashedEmail or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUserIdentifier setHashedEmail(java.lang.String hashedEmail) { + this.hashedEmail = hashedEmail; + return this; + } + + /** + * Hashed phone number using SHA-256 hash function after normalization (E164 standard). + * @return value or {@code null} for none + */ + public java.lang.String getHashedPhoneNumber() { + return hashedPhoneNumber; + } + + /** + * Hashed phone number using SHA-256 hash function after normalization (E164 standard). + * @param hashedPhoneNumber hashedPhoneNumber or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUserIdentifier setHashedPhoneNumber(java.lang.String hashedPhoneNumber) { + this.hashedPhoneNumber = hashedPhoneNumber; + return this; + } + + /** + * Mobile device ID (advertising ID/IDFA). + * @return value or {@code null} for none + */ + public java.lang.String getMobileId() { + return mobileId; + } + + /** + * Mobile device ID (advertising ID/IDFA). + * @param mobileId mobileId or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUserIdentifier setMobileId(java.lang.String mobileId) { + this.mobileId = mobileId; + return this; + } + + /** + * Advertiser-assigned user ID for Customer Match upload, or third-party-assigned user ID for + * @return value or {@code null} for none + */ + public java.lang.String getThirdPartyUserId() { + return thirdPartyUserId; + } + + /** + * Advertiser-assigned user ID for Customer Match upload, or third-party-assigned user ID for + * @param thirdPartyUserId thirdPartyUserId or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUserIdentifier setThirdPartyUserId(java.lang.String thirdPartyUserId) { + this.thirdPartyUserId = thirdPartyUserId; + return this; + } + + /** + * Source of the user identifier when the upload is from Store Sales + * @return value or {@code null} for none + */ + public java.lang.String getUserIdentifierSource() { + return userIdentifierSource; + } + + /** + * Source of the user identifier when the upload is from Store Sales + * @param userIdentifierSource userIdentifierSource or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUserIdentifier setUserIdentifierSource(java.lang.String userIdentifierSource) { + this.userIdentifierSource = userIdentifierSource; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonUserIdentifier set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonUserIdentifier) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonUserIdentifier clone() { + return (GoogleAdsSearchads360V23CommonUserIdentifier) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonUserInterestAttributeMetadata.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonUserInterestAttributeMetadata.java new file mode 100644 index 00000000000..f8cd21b92de --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonUserInterestAttributeMetadata.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Metadata associated with a User Interest attribute. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonUserInterestAttributeMetadata extends com.google.api.client.json.GenericJson { + + /** + * English language text description of the user interest category (200 characters max). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String userInterestDescription; + + /** + * English language text description of the user interest category (200 characters max). + * @return value or {@code null} for none + */ + public java.lang.String getUserInterestDescription() { + return userInterestDescription; + } + + /** + * English language text description of the user interest category (200 characters max). + * @param userInterestDescription userInterestDescription or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUserInterestAttributeMetadata setUserInterestDescription(java.lang.String userInterestDescription) { + this.userInterestDescription = userInterestDescription; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonUserInterestAttributeMetadata set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonUserInterestAttributeMetadata) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonUserInterestAttributeMetadata clone() { + return (GoogleAdsSearchads360V23CommonUserInterestAttributeMetadata) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonUserInterestInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonUserInterestInfo.java new file mode 100644 index 00000000000..d83d9ff0761 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonUserInterestInfo.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Represents a particular interest-based topic to be targeted. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonUserInterestInfo extends com.google.api.client.json.GenericJson { + + /** + * The UserInterest resource name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String userInterestCategory; + + /** + * The UserInterest resource name. + * @return value or {@code null} for none + */ + public java.lang.String getUserInterestCategory() { + return userInterestCategory; + } + + /** + * The UserInterest resource name. + * @param userInterestCategory userInterestCategory or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUserInterestInfo setUserInterestCategory(java.lang.String userInterestCategory) { + this.userInterestCategory = userInterestCategory; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonUserInterestInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonUserInterestInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonUserInterestInfo clone() { + return (GoogleAdsSearchads360V23CommonUserInterestInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonUserInterestSegment.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonUserInterestSegment.java new file mode 100644 index 00000000000..954b30aa05d --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonUserInterestSegment.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * User interest segment. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonUserInterestSegment extends com.google.api.client.json.GenericJson { + + /** + * The user interest resource. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String userInterestCategory; + + /** + * The user interest resource. + * @return value or {@code null} for none + */ + public java.lang.String getUserInterestCategory() { + return userInterestCategory; + } + + /** + * The user interest resource. + * @param userInterestCategory userInterestCategory or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUserInterestSegment setUserInterestCategory(java.lang.String userInterestCategory) { + this.userInterestCategory = userInterestCategory; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonUserInterestSegment set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonUserInterestSegment) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonUserInterestSegment clone() { + return (GoogleAdsSearchads360V23CommonUserInterestSegment) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonUserListActionInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonUserListActionInfo.java new file mode 100644 index 00000000000..63cb355cf7c --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonUserListActionInfo.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Represents an action type used for building remarketing user lists. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonUserListActionInfo extends com.google.api.client.json.GenericJson { + + /** + * A conversion action that's not generated from remarketing. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String conversionAction; + + /** + * A remarketing action. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String remarketingAction; + + /** + * A conversion action that's not generated from remarketing. + * @return value or {@code null} for none + */ + public java.lang.String getConversionAction() { + return conversionAction; + } + + /** + * A conversion action that's not generated from remarketing. + * @param conversionAction conversionAction or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUserListActionInfo setConversionAction(java.lang.String conversionAction) { + this.conversionAction = conversionAction; + return this; + } + + /** + * A remarketing action. + * @return value or {@code null} for none + */ + public java.lang.String getRemarketingAction() { + return remarketingAction; + } + + /** + * A remarketing action. + * @param remarketingAction remarketingAction or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUserListActionInfo setRemarketingAction(java.lang.String remarketingAction) { + this.remarketingAction = remarketingAction; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonUserListActionInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonUserListActionInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonUserListActionInfo clone() { + return (GoogleAdsSearchads360V23CommonUserListActionInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonUserListAttributeMetadata.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonUserListAttributeMetadata.java new file mode 100644 index 00000000000..a83e3b66057 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonUserListAttributeMetadata.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Metadata associated with a User List attribute. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonUserListAttributeMetadata extends com.google.api.client.json.GenericJson { + + /** + * The user list type. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String userListType; + + /** + * The user list type. + * @return value or {@code null} for none + */ + public java.lang.String getUserListType() { + return userListType; + } + + /** + * The user list type. + * @param userListType userListType or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUserListAttributeMetadata setUserListType(java.lang.String userListType) { + this.userListType = userListType; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonUserListAttributeMetadata set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonUserListAttributeMetadata) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonUserListAttributeMetadata clone() { + return (GoogleAdsSearchads360V23CommonUserListAttributeMetadata) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonUserListDateRuleItemInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonUserListDateRuleItemInfo.java new file mode 100644 index 00000000000..5a3bccd474f --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonUserListDateRuleItemInfo.java @@ -0,0 +1,124 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A rule item composed of a date operation. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonUserListDateRuleItemInfo extends com.google.api.client.json.GenericJson { + + /** + * The relative date value of the right hand side denoted by number of days offset from now. The + * value field will override this field when both are present. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long offsetInDays; + + /** + * Date comparison operator. This field is required and must be populated when creating new date + * rule item. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String operator; + + /** + * String representing date value to be compared with the rule variable. Supported date format is + * YYYY-MM-DD. Times are reported in the customer's time zone. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String value; + + /** + * The relative date value of the right hand side denoted by number of days offset from now. The + * value field will override this field when both are present. + * @return value or {@code null} for none + */ + public java.lang.Long getOffsetInDays() { + return offsetInDays; + } + + /** + * The relative date value of the right hand side denoted by number of days offset from now. The + * value field will override this field when both are present. + * @param offsetInDays offsetInDays or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUserListDateRuleItemInfo setOffsetInDays(java.lang.Long offsetInDays) { + this.offsetInDays = offsetInDays; + return this; + } + + /** + * Date comparison operator. This field is required and must be populated when creating new date + * rule item. + * @return value or {@code null} for none + */ + public java.lang.String getOperator() { + return operator; + } + + /** + * Date comparison operator. This field is required and must be populated when creating new date + * rule item. + * @param operator operator or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUserListDateRuleItemInfo setOperator(java.lang.String operator) { + this.operator = operator; + return this; + } + + /** + * String representing date value to be compared with the rule variable. Supported date format is + * YYYY-MM-DD. Times are reported in the customer's time zone. + * @return value or {@code null} for none + */ + public java.lang.String getValue() { + return value; + } + + /** + * String representing date value to be compared with the rule variable. Supported date format is + * YYYY-MM-DD. Times are reported in the customer's time zone. + * @param value value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUserListDateRuleItemInfo setValue(java.lang.String value) { + this.value = value; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonUserListDateRuleItemInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonUserListDateRuleItemInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonUserListDateRuleItemInfo clone() { + return (GoogleAdsSearchads360V23CommonUserListDateRuleItemInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonUserListInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonUserListInfo.java new file mode 100644 index 00000000000..f15bf5e821c --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonUserListInfo.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A User List criterion. Represents a user list that is defined by the advertiser to be targeted. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonUserListInfo extends com.google.api.client.json.GenericJson { + + /** + * The User List resource name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String userList; + + /** + * The User List resource name. + * @return value or {@code null} for none + */ + public java.lang.String getUserList() { + return userList; + } + + /** + * The User List resource name. + * @param userList userList or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUserListInfo setUserList(java.lang.String userList) { + this.userList = userList; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonUserListInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonUserListInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonUserListInfo clone() { + return (GoogleAdsSearchads360V23CommonUserListInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonUserListLogicalRuleInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonUserListLogicalRuleInfo.java new file mode 100644 index 00000000000..b474adb8860 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonUserListLogicalRuleInfo.java @@ -0,0 +1,98 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A user list logical rule. A rule has a logical operator (and/or/not) and a list of user lists as + * operands. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonUserListLogicalRuleInfo extends com.google.api.client.json.GenericJson { + + /** + * The logical operator of the rule. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String operator; + + /** + * The list of operands of the rule. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List ruleOperands; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonLogicalUserListOperandInfo used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonLogicalUserListOperandInfo.class); + } + + /** + * The logical operator of the rule. + * @return value or {@code null} for none + */ + public java.lang.String getOperator() { + return operator; + } + + /** + * The logical operator of the rule. + * @param operator operator or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUserListLogicalRuleInfo setOperator(java.lang.String operator) { + this.operator = operator; + return this; + } + + /** + * The list of operands of the rule. + * @return value or {@code null} for none + */ + public java.util.List getRuleOperands() { + return ruleOperands; + } + + /** + * The list of operands of the rule. + * @param ruleOperands ruleOperands or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUserListLogicalRuleInfo setRuleOperands(java.util.List ruleOperands) { + this.ruleOperands = ruleOperands; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonUserListLogicalRuleInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonUserListLogicalRuleInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonUserListLogicalRuleInfo clone() { + return (GoogleAdsSearchads360V23CommonUserListLogicalRuleInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonUserListNumberRuleItemInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonUserListNumberRuleItemInfo.java new file mode 100644 index 00000000000..c7e6df753d6 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonUserListNumberRuleItemInfo.java @@ -0,0 +1,97 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A rule item composed of a number operation. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonUserListNumberRuleItemInfo extends com.google.api.client.json.GenericJson { + + /** + * Number comparison operator. This field is required and must be populated when creating a new + * number rule item. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String operator; + + /** + * Number value to be compared with the variable. This field is required and must be populated + * when creating a new number rule item. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double value; + + /** + * Number comparison operator. This field is required and must be populated when creating a new + * number rule item. + * @return value or {@code null} for none + */ + public java.lang.String getOperator() { + return operator; + } + + /** + * Number comparison operator. This field is required and must be populated when creating a new + * number rule item. + * @param operator operator or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUserListNumberRuleItemInfo setOperator(java.lang.String operator) { + this.operator = operator; + return this; + } + + /** + * Number value to be compared with the variable. This field is required and must be populated + * when creating a new number rule item. + * @return value or {@code null} for none + */ + public java.lang.Double getValue() { + return value; + } + + /** + * Number value to be compared with the variable. This field is required and must be populated + * when creating a new number rule item. + * @param value value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUserListNumberRuleItemInfo setValue(java.lang.Double value) { + this.value = value; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonUserListNumberRuleItemInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonUserListNumberRuleItemInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonUserListNumberRuleItemInfo clone() { + return (GoogleAdsSearchads360V23CommonUserListNumberRuleItemInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonUserListRuleInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonUserListRuleInfo.java new file mode 100644 index 00000000000..bb6f19a73be --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonUserListRuleInfo.java @@ -0,0 +1,103 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A client defined rule based on custom parameters sent by web sites or uploaded by the advertiser. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonUserListRuleInfo extends com.google.api.client.json.GenericJson { + + /** + * List of rule item groups that defines this rule. Rule item groups are grouped together based on + * rule_type. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List ruleItemGroups; + + /** + * Rule type is used to determine how to group rule items. The default is OR of ANDs (disjunctive + * normal form). That is, rule items will be ANDed together within rule item groups and the groups + * themselves will be ORed together. OR of ANDs is the only supported type for + * FlexibleRuleUserList. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String ruleType; + + /** + * List of rule item groups that defines this rule. Rule item groups are grouped together based on + * rule_type. + * @return value or {@code null} for none + */ + public java.util.List getRuleItemGroups() { + return ruleItemGroups; + } + + /** + * List of rule item groups that defines this rule. Rule item groups are grouped together based on + * rule_type. + * @param ruleItemGroups ruleItemGroups or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUserListRuleInfo setRuleItemGroups(java.util.List ruleItemGroups) { + this.ruleItemGroups = ruleItemGroups; + return this; + } + + /** + * Rule type is used to determine how to group rule items. The default is OR of ANDs (disjunctive + * normal form). That is, rule items will be ANDed together within rule item groups and the groups + * themselves will be ORed together. OR of ANDs is the only supported type for + * FlexibleRuleUserList. + * @return value or {@code null} for none + */ + public java.lang.String getRuleType() { + return ruleType; + } + + /** + * Rule type is used to determine how to group rule items. The default is OR of ANDs (disjunctive + * normal form). That is, rule items will be ANDed together within rule item groups and the groups + * themselves will be ORed together. OR of ANDs is the only supported type for + * FlexibleRuleUserList. + * @param ruleType ruleType or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUserListRuleInfo setRuleType(java.lang.String ruleType) { + this.ruleType = ruleType; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonUserListRuleInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonUserListRuleInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonUserListRuleInfo clone() { + return (GoogleAdsSearchads360V23CommonUserListRuleInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonUserListRuleItemGroupInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonUserListRuleItemGroupInfo.java new file mode 100644 index 00000000000..1da9d4dc488 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonUserListRuleItemGroupInfo.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A group of rule items. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonUserListRuleItemGroupInfo extends com.google.api.client.json.GenericJson { + + /** + * Rule items that will be grouped together based on rule_type. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List ruleItems; + + /** + * Rule items that will be grouped together based on rule_type. + * @return value or {@code null} for none + */ + public java.util.List getRuleItems() { + return ruleItems; + } + + /** + * Rule items that will be grouped together based on rule_type. + * @param ruleItems ruleItems or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUserListRuleItemGroupInfo setRuleItems(java.util.List ruleItems) { + this.ruleItems = ruleItems; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonUserListRuleItemGroupInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonUserListRuleItemGroupInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonUserListRuleItemGroupInfo clone() { + return (GoogleAdsSearchads360V23CommonUserListRuleItemGroupInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonUserListRuleItemInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonUserListRuleItemInfo.java new file mode 100644 index 00000000000..630b0c7f1e6 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonUserListRuleItemInfo.java @@ -0,0 +1,151 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * An atomic rule item. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonUserListRuleItemInfo extends com.google.api.client.json.GenericJson { + + /** + * An atomic rule item composed of a date operation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonUserListDateRuleItemInfo dateRuleItem; + + /** + * Rule variable name. It should match the corresponding key name fired by the pixel. A name must + * begin with US-ascii letters or underscore or UTF8 code that is greater than 127 and consist of + * US-ascii letters or digits or underscore or UTF8 code that is greater than 127. For websites, + * there are two built-in variable URL (name = 'url__') and referrer URL (name = 'ref_url__'). + * This field must be populated when creating a new rule item. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * An atomic rule item composed of a number operation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonUserListNumberRuleItemInfo numberRuleItem; + + /** + * An atomic rule item composed of a string operation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonUserListStringRuleItemInfo stringRuleItem; + + /** + * An atomic rule item composed of a date operation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUserListDateRuleItemInfo getDateRuleItem() { + return dateRuleItem; + } + + /** + * An atomic rule item composed of a date operation. + * @param dateRuleItem dateRuleItem or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUserListRuleItemInfo setDateRuleItem(GoogleAdsSearchads360V23CommonUserListDateRuleItemInfo dateRuleItem) { + this.dateRuleItem = dateRuleItem; + return this; + } + + /** + * Rule variable name. It should match the corresponding key name fired by the pixel. A name must + * begin with US-ascii letters or underscore or UTF8 code that is greater than 127 and consist of + * US-ascii letters or digits or underscore or UTF8 code that is greater than 127. For websites, + * there are two built-in variable URL (name = 'url__') and referrer URL (name = 'ref_url__'). + * This field must be populated when creating a new rule item. + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * Rule variable name. It should match the corresponding key name fired by the pixel. A name must + * begin with US-ascii letters or underscore or UTF8 code that is greater than 127 and consist of + * US-ascii letters or digits or underscore or UTF8 code that is greater than 127. For websites, + * there are two built-in variable URL (name = 'url__') and referrer URL (name = 'ref_url__'). + * This field must be populated when creating a new rule item. + * @param name name or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUserListRuleItemInfo setName(java.lang.String name) { + this.name = name; + return this; + } + + /** + * An atomic rule item composed of a number operation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUserListNumberRuleItemInfo getNumberRuleItem() { + return numberRuleItem; + } + + /** + * An atomic rule item composed of a number operation. + * @param numberRuleItem numberRuleItem or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUserListRuleItemInfo setNumberRuleItem(GoogleAdsSearchads360V23CommonUserListNumberRuleItemInfo numberRuleItem) { + this.numberRuleItem = numberRuleItem; + return this; + } + + /** + * An atomic rule item composed of a string operation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUserListStringRuleItemInfo getStringRuleItem() { + return stringRuleItem; + } + + /** + * An atomic rule item composed of a string operation. + * @param stringRuleItem stringRuleItem or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUserListRuleItemInfo setStringRuleItem(GoogleAdsSearchads360V23CommonUserListStringRuleItemInfo stringRuleItem) { + this.stringRuleItem = stringRuleItem; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonUserListRuleItemInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonUserListRuleItemInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonUserListRuleItemInfo clone() { + return (GoogleAdsSearchads360V23CommonUserListRuleItemInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonUserListSegment.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonUserListSegment.java new file mode 100644 index 00000000000..c6cb6b911d3 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonUserListSegment.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * User list segment. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonUserListSegment extends com.google.api.client.json.GenericJson { + + /** + * The user list resource. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String userList; + + /** + * The user list resource. + * @return value or {@code null} for none + */ + public java.lang.String getUserList() { + return userList; + } + + /** + * The user list resource. + * @param userList userList or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUserListSegment setUserList(java.lang.String userList) { + this.userList = userList; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonUserListSegment set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonUserListSegment) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonUserListSegment clone() { + return (GoogleAdsSearchads360V23CommonUserListSegment) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonUserListStringRuleItemInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonUserListStringRuleItemInfo.java new file mode 100644 index 00000000000..c9ac938b9e3 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonUserListStringRuleItemInfo.java @@ -0,0 +1,100 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A rule item composed of a string operation. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonUserListStringRuleItemInfo extends com.google.api.client.json.GenericJson { + + /** + * String comparison operator. This field is required and must be populated when creating a new + * string rule item. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String operator; + + /** + * The right hand side of the string rule item. For URLs or referrer URLs, the value can not + * contain illegal URL chars such as newlines, quotes, tabs, or parentheses. This field is + * required and must be populated when creating a new string rule item. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String value; + + /** + * String comparison operator. This field is required and must be populated when creating a new + * string rule item. + * @return value or {@code null} for none + */ + public java.lang.String getOperator() { + return operator; + } + + /** + * String comparison operator. This field is required and must be populated when creating a new + * string rule item. + * @param operator operator or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUserListStringRuleItemInfo setOperator(java.lang.String operator) { + this.operator = operator; + return this; + } + + /** + * The right hand side of the string rule item. For URLs or referrer URLs, the value can not + * contain illegal URL chars such as newlines, quotes, tabs, or parentheses. This field is + * required and must be populated when creating a new string rule item. + * @return value or {@code null} for none + */ + public java.lang.String getValue() { + return value; + } + + /** + * The right hand side of the string rule item. For URLs or referrer URLs, the value can not + * contain illegal URL chars such as newlines, quotes, tabs, or parentheses. This field is + * required and must be populated when creating a new string rule item. + * @param value value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUserListStringRuleItemInfo setValue(java.lang.String value) { + this.value = value; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonUserListStringRuleItemInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonUserListStringRuleItemInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonUserListStringRuleItemInfo clone() { + return (GoogleAdsSearchads360V23CommonUserListStringRuleItemInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonValue.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonValue.java new file mode 100644 index 00000000000..4ff4d46c365 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonValue.java @@ -0,0 +1,163 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A generic data container. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonValue extends com.google.api.client.json.GenericJson { + + /** + * A boolean. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean booleanValue; + + /** + * A double. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double doubleValue; + + /** + * A float. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Float floatValue; + + /** + * An int64. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long int64Value; + + /** + * A string. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String stringValue; + + /** + * A boolean. + * @return value or {@code null} for none + */ + public java.lang.Boolean getBooleanValue() { + return booleanValue; + } + + /** + * A boolean. + * @param booleanValue booleanValue or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonValue setBooleanValue(java.lang.Boolean booleanValue) { + this.booleanValue = booleanValue; + return this; + } + + /** + * A double. + * @return value or {@code null} for none + */ + public java.lang.Double getDoubleValue() { + return doubleValue; + } + + /** + * A double. + * @param doubleValue doubleValue or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonValue setDoubleValue(java.lang.Double doubleValue) { + this.doubleValue = doubleValue; + return this; + } + + /** + * A float. + * @return value or {@code null} for none + */ + public java.lang.Float getFloatValue() { + return floatValue; + } + + /** + * A float. + * @param floatValue floatValue or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonValue setFloatValue(java.lang.Float floatValue) { + this.floatValue = floatValue; + return this; + } + + /** + * An int64. + * @return value or {@code null} for none + */ + public java.lang.Long getInt64Value() { + return int64Value; + } + + /** + * An int64. + * @param int64Value int64Value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonValue setInt64Value(java.lang.Long int64Value) { + this.int64Value = int64Value; + return this; + } + + /** + * A string. + * @return value or {@code null} for none + */ + public java.lang.String getStringValue() { + return stringValue; + } + + /** + * A string. + * @param stringValue stringValue or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonValue setStringValue(java.lang.String stringValue) { + this.stringValue = stringValue; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonValue set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonValue) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonValue clone() { + return (GoogleAdsSearchads360V23CommonValue) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonVerticalAdsItemGroupRuleInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonVerticalAdsItemGroupRuleInfo.java new file mode 100644 index 00000000000..929a6abd60e --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonVerticalAdsItemGroupRuleInfo.java @@ -0,0 +1,163 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A criterion to represent a single item group rule in Vertical Ads. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonVerticalAdsItemGroupRuleInfo extends com.google.api.client.json.GenericJson { + + /** + * The resource name of the Geo Target Constant for the city. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String cityCriterionId; + + /** + * The resource name of the Geo Target Constant for the country. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String countryCriterionId; + + /** + * Integer value specifying the class rating for a hotel. Ranges from 1 to 5 stars. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long hotelClass; + + /** + * The id specifying a particular Vertical Ad listing. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String itemCode; + + /** + * The resource name of the Geo Target Constant for the region. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String regionCriterionId; + + /** + * The resource name of the Geo Target Constant for the city. + * @return value or {@code null} for none + */ + public java.lang.String getCityCriterionId() { + return cityCriterionId; + } + + /** + * The resource name of the Geo Target Constant for the city. + * @param cityCriterionId cityCriterionId or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonVerticalAdsItemGroupRuleInfo setCityCriterionId(java.lang.String cityCriterionId) { + this.cityCriterionId = cityCriterionId; + return this; + } + + /** + * The resource name of the Geo Target Constant for the country. + * @return value or {@code null} for none + */ + public java.lang.String getCountryCriterionId() { + return countryCriterionId; + } + + /** + * The resource name of the Geo Target Constant for the country. + * @param countryCriterionId countryCriterionId or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonVerticalAdsItemGroupRuleInfo setCountryCriterionId(java.lang.String countryCriterionId) { + this.countryCriterionId = countryCriterionId; + return this; + } + + /** + * Integer value specifying the class rating for a hotel. Ranges from 1 to 5 stars. + * @return value or {@code null} for none + */ + public java.lang.Long getHotelClass() { + return hotelClass; + } + + /** + * Integer value specifying the class rating for a hotel. Ranges from 1 to 5 stars. + * @param hotelClass hotelClass or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonVerticalAdsItemGroupRuleInfo setHotelClass(java.lang.Long hotelClass) { + this.hotelClass = hotelClass; + return this; + } + + /** + * The id specifying a particular Vertical Ad listing. + * @return value or {@code null} for none + */ + public java.lang.String getItemCode() { + return itemCode; + } + + /** + * The id specifying a particular Vertical Ad listing. + * @param itemCode itemCode or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonVerticalAdsItemGroupRuleInfo setItemCode(java.lang.String itemCode) { + this.itemCode = itemCode; + return this; + } + + /** + * The resource name of the Geo Target Constant for the region. + * @return value or {@code null} for none + */ + public java.lang.String getRegionCriterionId() { + return regionCriterionId; + } + + /** + * The resource name of the Geo Target Constant for the region. + * @param regionCriterionId regionCriterionId or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonVerticalAdsItemGroupRuleInfo setRegionCriterionId(java.lang.String regionCriterionId) { + this.regionCriterionId = regionCriterionId; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonVerticalAdsItemGroupRuleInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonVerticalAdsItemGroupRuleInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonVerticalAdsItemGroupRuleInfo clone() { + return (GoogleAdsSearchads360V23CommonVerticalAdsItemGroupRuleInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonVerticalAdsItemGroupRuleListInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonVerticalAdsItemGroupRuleListInfo.java new file mode 100644 index 00000000000..a337ec3c2e1 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonVerticalAdsItemGroupRuleListInfo.java @@ -0,0 +1,68 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A criterion for targeting a shared set of rules for item groups in Vertical Ads (e.g., for hotel + * ads). + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonVerticalAdsItemGroupRuleListInfo extends com.google.api.client.json.GenericJson { + + /** + * The shared set resource name of the vertical ads item group rule list. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String sharedSet; + + /** + * The shared set resource name of the vertical ads item group rule list. + * @return value or {@code null} for none + */ + public java.lang.String getSharedSet() { + return sharedSet; + } + + /** + * The shared set resource name of the vertical ads item group rule list. + * @param sharedSet sharedSet or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonVerticalAdsItemGroupRuleListInfo setSharedSet(java.lang.String sharedSet) { + this.sharedSet = sharedSet; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonVerticalAdsItemGroupRuleListInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonVerticalAdsItemGroupRuleListInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonVerticalAdsItemGroupRuleListInfo clone() { + return (GoogleAdsSearchads360V23CommonVerticalAdsItemGroupRuleListInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonVideoLineupInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonVideoLineupInfo.java new file mode 100644 index 00000000000..07e8b3b465b --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonVideoLineupInfo.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A Video lineup criterion. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonVideoLineupInfo extends com.google.api.client.json.GenericJson { + + /** + * ID for a Video lineup. Contact your Google business development representative for details. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long videoLineupId; + + /** + * ID for a Video lineup. Contact your Google business development representative for details. + * @return value or {@code null} for none + */ + public java.lang.Long getVideoLineupId() { + return videoLineupId; + } + + /** + * ID for a Video lineup. Contact your Google business development representative for details. + * @param videoLineupId videoLineupId or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonVideoLineupInfo setVideoLineupId(java.lang.Long videoLineupId) { + this.videoLineupId = videoLineupId; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonVideoLineupInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonVideoLineupInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonVideoLineupInfo clone() { + return (GoogleAdsSearchads360V23CommonVideoLineupInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonWebhookDelivery.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonWebhookDelivery.java new file mode 100644 index 00000000000..82359687d16 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonWebhookDelivery.java @@ -0,0 +1,116 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Google notifies the advertiser of leads by making HTTP calls to an endpoint they specify. The + * requests contain JSON matching a schema that Google publishes as part of form ads documentation. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonWebhookDelivery extends com.google.api.client.json.GenericJson { + + /** + * Webhook url specified by advertiser to send the lead. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String advertiserWebhookUrl; + + /** + * Anti-spoofing secret set by the advertiser as part of the webhook payload. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String googleSecret; + + /** + * The schema version that this delivery instance will use. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long payloadSchemaVersion; + + /** + * Webhook url specified by advertiser to send the lead. + * @return value or {@code null} for none + */ + public java.lang.String getAdvertiserWebhookUrl() { + return advertiserWebhookUrl; + } + + /** + * Webhook url specified by advertiser to send the lead. + * @param advertiserWebhookUrl advertiserWebhookUrl or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonWebhookDelivery setAdvertiserWebhookUrl(java.lang.String advertiserWebhookUrl) { + this.advertiserWebhookUrl = advertiserWebhookUrl; + return this; + } + + /** + * Anti-spoofing secret set by the advertiser as part of the webhook payload. + * @return value or {@code null} for none + */ + public java.lang.String getGoogleSecret() { + return googleSecret; + } + + /** + * Anti-spoofing secret set by the advertiser as part of the webhook payload. + * @param googleSecret googleSecret or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonWebhookDelivery setGoogleSecret(java.lang.String googleSecret) { + this.googleSecret = googleSecret; + return this; + } + + /** + * The schema version that this delivery instance will use. + * @return value or {@code null} for none + */ + public java.lang.Long getPayloadSchemaVersion() { + return payloadSchemaVersion; + } + + /** + * The schema version that this delivery instance will use. + * @param payloadSchemaVersion payloadSchemaVersion or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonWebhookDelivery setPayloadSchemaVersion(java.lang.Long payloadSchemaVersion) { + this.payloadSchemaVersion = payloadSchemaVersion; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonWebhookDelivery set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonWebhookDelivery) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonWebhookDelivery clone() { + return (GoogleAdsSearchads360V23CommonWebhookDelivery) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonWebpageConditionInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonWebpageConditionInfo.java new file mode 100644 index 00000000000..8497bba64fd --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonWebpageConditionInfo.java @@ -0,0 +1,115 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Logical expression for targeting webpages of an advertiser's website. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonWebpageConditionInfo extends com.google.api.client.json.GenericJson { + + /** + * Argument of webpage targeting condition. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String argument; + + /** + * Operand of webpage targeting condition. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String operand; + + /** + * Operator of webpage targeting condition. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String operator; + + /** + * Argument of webpage targeting condition. + * @return value or {@code null} for none + */ + public java.lang.String getArgument() { + return argument; + } + + /** + * Argument of webpage targeting condition. + * @param argument argument or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonWebpageConditionInfo setArgument(java.lang.String argument) { + this.argument = argument; + return this; + } + + /** + * Operand of webpage targeting condition. + * @return value or {@code null} for none + */ + public java.lang.String getOperand() { + return operand; + } + + /** + * Operand of webpage targeting condition. + * @param operand operand or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonWebpageConditionInfo setOperand(java.lang.String operand) { + this.operand = operand; + return this; + } + + /** + * Operator of webpage targeting condition. + * @return value or {@code null} for none + */ + public java.lang.String getOperator() { + return operator; + } + + /** + * Operator of webpage targeting condition. + * @param operator operator or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonWebpageConditionInfo setOperator(java.lang.String operator) { + this.operator = operator; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonWebpageConditionInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonWebpageConditionInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonWebpageConditionInfo clone() { + return (GoogleAdsSearchads360V23CommonWebpageConditionInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonWebpageInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonWebpageInfo.java new file mode 100644 index 00000000000..967c7a0fde5 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonWebpageInfo.java @@ -0,0 +1,169 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Represents a criterion for targeting webpages of an advertiser's website. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonWebpageInfo extends com.google.api.client.json.GenericJson { + + /** + * Conditions, or logical expressions, for webpage targeting. The list of webpage targeting + * conditions are and-ed together when evaluated for targeting. An empty list of conditions + * indicates all pages of the campaign's website are targeted. This field is required for CREATE + * operations and is prohibited on UPDATE operations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List conditions; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonWebpageConditionInfo used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonWebpageConditionInfo.class); + } + + /** + * Website criteria coverage percentage. This is the computed percentage of website coverage based + * on the website target, negative website target and negative keywords in the ad group and + * campaign. For instance, when coverage returns as 1, it indicates it has 100% coverage. This + * field is read-only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double coveragePercentage; + + /** + * The name of the criterion that is defined by this parameter. The name value will be used for + * identifying, sorting and filtering criteria with this type of parameters. This field is + * required for CREATE operations and is prohibited on UPDATE operations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String criterionName; + + /** + * List of sample urls that match the website target. This field is read-only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonWebpageSampleInfo sample; + + /** + * Conditions, or logical expressions, for webpage targeting. The list of webpage targeting + * conditions are and-ed together when evaluated for targeting. An empty list of conditions + * indicates all pages of the campaign's website are targeted. This field is required for CREATE + * operations and is prohibited on UPDATE operations. + * @return value or {@code null} for none + */ + public java.util.List getConditions() { + return conditions; + } + + /** + * Conditions, or logical expressions, for webpage targeting. The list of webpage targeting + * conditions are and-ed together when evaluated for targeting. An empty list of conditions + * indicates all pages of the campaign's website are targeted. This field is required for CREATE + * operations and is prohibited on UPDATE operations. + * @param conditions conditions or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonWebpageInfo setConditions(java.util.List conditions) { + this.conditions = conditions; + return this; + } + + /** + * Website criteria coverage percentage. This is the computed percentage of website coverage based + * on the website target, negative website target and negative keywords in the ad group and + * campaign. For instance, when coverage returns as 1, it indicates it has 100% coverage. This + * field is read-only. + * @return value or {@code null} for none + */ + public java.lang.Double getCoveragePercentage() { + return coveragePercentage; + } + + /** + * Website criteria coverage percentage. This is the computed percentage of website coverage based + * on the website target, negative website target and negative keywords in the ad group and + * campaign. For instance, when coverage returns as 1, it indicates it has 100% coverage. This + * field is read-only. + * @param coveragePercentage coveragePercentage or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonWebpageInfo setCoveragePercentage(java.lang.Double coveragePercentage) { + this.coveragePercentage = coveragePercentage; + return this; + } + + /** + * The name of the criterion that is defined by this parameter. The name value will be used for + * identifying, sorting and filtering criteria with this type of parameters. This field is + * required for CREATE operations and is prohibited on UPDATE operations. + * @return value or {@code null} for none + */ + public java.lang.String getCriterionName() { + return criterionName; + } + + /** + * The name of the criterion that is defined by this parameter. The name value will be used for + * identifying, sorting and filtering criteria with this type of parameters. This field is + * required for CREATE operations and is prohibited on UPDATE operations. + * @param criterionName criterionName or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonWebpageInfo setCriterionName(java.lang.String criterionName) { + this.criterionName = criterionName; + return this; + } + + /** + * List of sample urls that match the website target. This field is read-only. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonWebpageSampleInfo getSample() { + return sample; + } + + /** + * List of sample urls that match the website target. This field is read-only. + * @param sample sample or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonWebpageInfo setSample(GoogleAdsSearchads360V23CommonWebpageSampleInfo sample) { + this.sample = sample; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonWebpageInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonWebpageInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonWebpageInfo clone() { + return (GoogleAdsSearchads360V23CommonWebpageInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonWebpageListInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonWebpageListInfo.java new file mode 100644 index 00000000000..c1306c02fb8 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonWebpageListInfo.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Represents a list of webpage criteria. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonWebpageListInfo extends com.google.api.client.json.GenericJson { + + /** + * Shared set resource name of the webpage list. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String sharedSet; + + /** + * Shared set resource name of the webpage list. + * @return value or {@code null} for none + */ + public java.lang.String getSharedSet() { + return sharedSet; + } + + /** + * Shared set resource name of the webpage list. + * @param sharedSet sharedSet or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonWebpageListInfo setSharedSet(java.lang.String sharedSet) { + this.sharedSet = sharedSet; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonWebpageListInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonWebpageListInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonWebpageListInfo clone() { + return (GoogleAdsSearchads360V23CommonWebpageListInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonWebpageSampleInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonWebpageSampleInfo.java new file mode 100644 index 00000000000..64682cb108a --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonWebpageSampleInfo.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * List of sample urls that match the website target + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonWebpageSampleInfo extends com.google.api.client.json.GenericJson { + + /** + * Webpage sample urls + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List sampleUrls; + + /** + * Webpage sample urls + * @return value or {@code null} for none + */ + public java.util.List getSampleUrls() { + return sampleUrls; + } + + /** + * Webpage sample urls + * @param sampleUrls sampleUrls or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonWebpageSampleInfo setSampleUrls(java.util.List sampleUrls) { + this.sampleUrls = sampleUrls; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonWebpageSampleInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonWebpageSampleInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonWebpageSampleInfo clone() { + return (GoogleAdsSearchads360V23CommonWebpageSampleInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonWhatsappBusinessMessageInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonWhatsappBusinessMessageInfo.java new file mode 100644 index 00000000000..85ec10c0951 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonWhatsappBusinessMessageInfo.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Whatsapp information to use for messaging. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonWhatsappBusinessMessageInfo extends com.google.api.client.json.GenericJson { + + /** + * Required. Two-letter country code of the phone number. Examples: 'US', 'us'. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String countryCode; + + /** + * Required. Whatsapp phone number of the business. Examples: '1234567890', '(123)456-7890'. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String phoneNumber; + + /** + * Required. Two-letter country code of the phone number. Examples: 'US', 'us'. + * @return value or {@code null} for none + */ + public java.lang.String getCountryCode() { + return countryCode; + } + + /** + * Required. Two-letter country code of the phone number. Examples: 'US', 'us'. + * @param countryCode countryCode or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonWhatsappBusinessMessageInfo setCountryCode(java.lang.String countryCode) { + this.countryCode = countryCode; + return this; + } + + /** + * Required. Whatsapp phone number of the business. Examples: '1234567890', '(123)456-7890'. + * @return value or {@code null} for none + */ + public java.lang.String getPhoneNumber() { + return phoneNumber; + } + + /** + * Required. Whatsapp phone number of the business. Examples: '1234567890', '(123)456-7890'. + * @param phoneNumber phoneNumber or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonWhatsappBusinessMessageInfo setPhoneNumber(java.lang.String phoneNumber) { + this.phoneNumber = phoneNumber; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonWhatsappBusinessMessageInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonWhatsappBusinessMessageInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonWhatsappBusinessMessageInfo clone() { + return (GoogleAdsSearchads360V23CommonWhatsappBusinessMessageInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonYearMonth.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonYearMonth.java new file mode 100644 index 00000000000..7f46d59fa20 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonYearMonth.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Year month. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonYearMonth extends com.google.api.client.json.GenericJson { + + /** + * The month of the year. (for example, FEBRUARY). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String month; + + /** + * The year (for example, 2020). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long year; + + /** + * The month of the year. (for example, FEBRUARY). + * @return value or {@code null} for none + */ + public java.lang.String getMonth() { + return month; + } + + /** + * The month of the year. (for example, FEBRUARY). + * @param month month or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonYearMonth setMonth(java.lang.String month) { + this.month = month; + return this; + } + + /** + * The year (for example, 2020). + * @return value or {@code null} for none + */ + public java.lang.Long getYear() { + return year; + } + + /** + * The year (for example, 2020). + * @param year year or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonYearMonth setYear(java.lang.Long year) { + this.year = year; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonYearMonth set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonYearMonth) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonYearMonth clone() { + return (GoogleAdsSearchads360V23CommonYearMonth) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonYearMonthRange.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonYearMonthRange.java new file mode 100644 index 00000000000..f0ec0509fb0 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonYearMonthRange.java @@ -0,0 +1,92 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The year month range inclusive of the start and end months. Eg: A year month range to represent + * Jan 2020 would be: (Jan 2020, Jan 2020). + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonYearMonthRange extends com.google.api.client.json.GenericJson { + + /** + * The inclusive end year month. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonYearMonth end; + + /** + * The inclusive start year month. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonYearMonth start; + + /** + * The inclusive end year month. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonYearMonth getEnd() { + return end; + } + + /** + * The inclusive end year month. + * @param end end or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonYearMonthRange setEnd(GoogleAdsSearchads360V23CommonYearMonth end) { + this.end = end; + return this; + } + + /** + * The inclusive start year month. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonYearMonth getStart() { + return start; + } + + /** + * The inclusive start year month. + * @param start start or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonYearMonthRange setStart(GoogleAdsSearchads360V23CommonYearMonth start) { + this.start = start; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonYearMonthRange set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonYearMonthRange) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonYearMonthRange clone() { + return (GoogleAdsSearchads360V23CommonYearMonthRange) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonYouTubeChannelAttributeMetadata.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonYouTubeChannelAttributeMetadata.java new file mode 100644 index 00000000000..747b8d53cb3 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonYouTubeChannelAttributeMetadata.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Metadata associated with a YouTube channel attribute. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonYouTubeChannelAttributeMetadata extends com.google.api.client.json.GenericJson { + + /** + * The approximate number of subscribers to the YouTube channel. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long subscriberCount; + + /** + * The approximate number of subscribers to the YouTube channel. + * @return value or {@code null} for none + */ + public java.lang.Long getSubscriberCount() { + return subscriberCount; + } + + /** + * The approximate number of subscribers to the YouTube channel. + * @param subscriberCount subscriberCount or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonYouTubeChannelAttributeMetadata setSubscriberCount(java.lang.Long subscriberCount) { + this.subscriberCount = subscriberCount; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonYouTubeChannelAttributeMetadata set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonYouTubeChannelAttributeMetadata) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonYouTubeChannelAttributeMetadata clone() { + return (GoogleAdsSearchads360V23CommonYouTubeChannelAttributeMetadata) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonYouTubeChannelInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonYouTubeChannelInfo.java new file mode 100644 index 00000000000..cbcf5c3dff4 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonYouTubeChannelInfo.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A YouTube Channel criterion. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonYouTubeChannelInfo extends com.google.api.client.json.GenericJson { + + /** + * The YouTube uploader channel id or the channel code of a YouTube channel. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String channelId; + + /** + * The YouTube uploader channel id or the channel code of a YouTube channel. + * @return value or {@code null} for none + */ + public java.lang.String getChannelId() { + return channelId; + } + + /** + * The YouTube uploader channel id or the channel code of a YouTube channel. + * @param channelId channelId or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonYouTubeChannelInfo setChannelId(java.lang.String channelId) { + this.channelId = channelId; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonYouTubeChannelInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonYouTubeChannelInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonYouTubeChannelInfo clone() { + return (GoogleAdsSearchads360V23CommonYouTubeChannelInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonYouTubeVideoAttributeMetadata.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonYouTubeVideoAttributeMetadata.java new file mode 100644 index 00000000000..37114298991 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonYouTubeVideoAttributeMetadata.java @@ -0,0 +1,211 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Metadata for a YouTube video attribute. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonYouTubeVideoAttributeMetadata extends com.google.api.client.json.GenericJson { + + /** + * The total number of comments. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long commentsCount; + + /** + * The total number of likes. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long likesCount; + + /** + * The date that the video was created. Formatted as "yyyy-mm-dd". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String publishDate; + + /** + * The URL of the video thumbnail, prefixed by "https://img.youtube.com/". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String thumbnailUrl; + + /** + * The properties of this video (such as shorts, live stream). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List videoProperties; + + /** + * The URL of the video, prefixed by "https://www.youtube.com/". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String videoUrl; + + /** + * The total number of views. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long viewsCount; + + /** + * The total number of comments. + * @return value or {@code null} for none + */ + public java.lang.Long getCommentsCount() { + return commentsCount; + } + + /** + * The total number of comments. + * @param commentsCount commentsCount or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonYouTubeVideoAttributeMetadata setCommentsCount(java.lang.Long commentsCount) { + this.commentsCount = commentsCount; + return this; + } + + /** + * The total number of likes. + * @return value or {@code null} for none + */ + public java.lang.Long getLikesCount() { + return likesCount; + } + + /** + * The total number of likes. + * @param likesCount likesCount or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonYouTubeVideoAttributeMetadata setLikesCount(java.lang.Long likesCount) { + this.likesCount = likesCount; + return this; + } + + /** + * The date that the video was created. Formatted as "yyyy-mm-dd". + * @return value or {@code null} for none + */ + public java.lang.String getPublishDate() { + return publishDate; + } + + /** + * The date that the video was created. Formatted as "yyyy-mm-dd". + * @param publishDate publishDate or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonYouTubeVideoAttributeMetadata setPublishDate(java.lang.String publishDate) { + this.publishDate = publishDate; + return this; + } + + /** + * The URL of the video thumbnail, prefixed by "https://img.youtube.com/". + * @return value or {@code null} for none + */ + public java.lang.String getThumbnailUrl() { + return thumbnailUrl; + } + + /** + * The URL of the video thumbnail, prefixed by "https://img.youtube.com/". + * @param thumbnailUrl thumbnailUrl or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonYouTubeVideoAttributeMetadata setThumbnailUrl(java.lang.String thumbnailUrl) { + this.thumbnailUrl = thumbnailUrl; + return this; + } + + /** + * The properties of this video (such as shorts, live stream). + * @return value or {@code null} for none + */ + public java.util.List getVideoProperties() { + return videoProperties; + } + + /** + * The properties of this video (such as shorts, live stream). + * @param videoProperties videoProperties or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonYouTubeVideoAttributeMetadata setVideoProperties(java.util.List videoProperties) { + this.videoProperties = videoProperties; + return this; + } + + /** + * The URL of the video, prefixed by "https://www.youtube.com/". + * @return value or {@code null} for none + */ + public java.lang.String getVideoUrl() { + return videoUrl; + } + + /** + * The URL of the video, prefixed by "https://www.youtube.com/". + * @param videoUrl videoUrl or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonYouTubeVideoAttributeMetadata setVideoUrl(java.lang.String videoUrl) { + this.videoUrl = videoUrl; + return this; + } + + /** + * The total number of views. + * @return value or {@code null} for none + */ + public java.lang.Long getViewsCount() { + return viewsCount; + } + + /** + * The total number of views. + * @param viewsCount viewsCount or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonYouTubeVideoAttributeMetadata setViewsCount(java.lang.Long viewsCount) { + this.viewsCount = viewsCount; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonYouTubeVideoAttributeMetadata set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonYouTubeVideoAttributeMetadata) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonYouTubeVideoAttributeMetadata clone() { + return (GoogleAdsSearchads360V23CommonYouTubeVideoAttributeMetadata) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonYouTubeVideoInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonYouTubeVideoInfo.java new file mode 100644 index 00000000000..b64061e293c --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonYouTubeVideoInfo.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A YouTube Video criterion. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonYouTubeVideoInfo extends com.google.api.client.json.GenericJson { + + /** + * YouTube video id as it appears on the YouTube watch page. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String videoId; + + /** + * YouTube video id as it appears on the YouTube watch page. + * @return value or {@code null} for none + */ + public java.lang.String getVideoId() { + return videoId; + } + + /** + * YouTube video id as it appears on the YouTube watch page. + * @param videoId videoId or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonYouTubeVideoInfo setVideoId(java.lang.String videoId) { + this.videoId = videoId; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonYouTubeVideoInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonYouTubeVideoInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonYouTubeVideoInfo clone() { + return (GoogleAdsSearchads360V23CommonYouTubeVideoInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonYoutubeVideoAsset.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonYoutubeVideoAsset.java new file mode 100644 index 00000000000..32f0df6cba6 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonYoutubeVideoAsset.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A YouTube asset. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonYoutubeVideoAsset extends com.google.api.client.json.GenericJson { + + /** + * YouTube video id. This is the 11 character string value used in the YouTube video URL. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String youtubeVideoId; + + /** + * YouTube video title. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String youtubeVideoTitle; + + /** + * YouTube video id. This is the 11 character string value used in the YouTube video URL. + * @return value or {@code null} for none + */ + public java.lang.String getYoutubeVideoId() { + return youtubeVideoId; + } + + /** + * YouTube video id. This is the 11 character string value used in the YouTube video URL. + * @param youtubeVideoId youtubeVideoId or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonYoutubeVideoAsset setYoutubeVideoId(java.lang.String youtubeVideoId) { + this.youtubeVideoId = youtubeVideoId; + return this; + } + + /** + * YouTube video title. + * @return value or {@code null} for none + */ + public java.lang.String getYoutubeVideoTitle() { + return youtubeVideoTitle; + } + + /** + * YouTube video title. + * @param youtubeVideoTitle youtubeVideoTitle or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonYoutubeVideoAsset setYoutubeVideoTitle(java.lang.String youtubeVideoTitle) { + this.youtubeVideoTitle = youtubeVideoTitle; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonYoutubeVideoAsset set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonYoutubeVideoAsset) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonYoutubeVideoAsset clone() { + return (GoogleAdsSearchads360V23CommonYoutubeVideoAsset) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonZaloBusinessMessageInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonZaloBusinessMessageInfo.java new file mode 100644 index 00000000000..59828d8a1f9 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonZaloBusinessMessageInfo.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Zalo information to use for messaging. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonZaloBusinessMessageInfo extends com.google.api.client.json.GenericJson { + + /** + * Custom name generated by the advertiser for their Zalo Account. These names will usually be + * registered brands or trademarks. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String customName; + + /** + * Zalo Official Account ID of the advertiser. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long oaId; + + /** + * Custom name generated by the advertiser for their Zalo Account. These names will usually be + * registered brands or trademarks. + * @return value or {@code null} for none + */ + public java.lang.String getCustomName() { + return customName; + } + + /** + * Custom name generated by the advertiser for their Zalo Account. These names will usually be + * registered brands or trademarks. + * @param customName customName or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonZaloBusinessMessageInfo setCustomName(java.lang.String customName) { + this.customName = customName; + return this; + } + + /** + * Zalo Official Account ID of the advertiser. + * @return value or {@code null} for none + */ + public java.lang.Long getOaId() { + return oaId; + } + + /** + * Zalo Official Account ID of the advertiser. + * @param oaId oaId or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonZaloBusinessMessageInfo setOaId(java.lang.Long oaId) { + this.oaId = oaId; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonZaloBusinessMessageInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonZaloBusinessMessageInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonZaloBusinessMessageInfo clone() { + return (GoogleAdsSearchads360V23CommonZaloBusinessMessageInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ErrorsBudgetPerDayMinimumErrorDetails.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ErrorsBudgetPerDayMinimumErrorDetails.java new file mode 100644 index 00000000000..974e1d369cb --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ErrorsBudgetPerDayMinimumErrorDetails.java @@ -0,0 +1,208 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Error details for a budget below per-day minimum error. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ErrorsBudgetPerDayMinimumErrorDetails extends com.google.api.client.json.GenericJson { + + /** + * The minimum budget required by the campaign per day, in micros of the advertiser currency. + * Applies to both daily and custom budgets. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long budgetPerDayMinimumMicros; + + /** + * The advertiser's currency, represented as a three-letter ISO 4217 currency code (such as + * "USD"). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String currencyCode; + + /** + * The budget amount value that was rejected as too low, in micros of the advertiser currency. + * Only set if this error is caused by the amount field value. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long failedBudgetAmountMicros; + + /** + * The budget total_amount value that was rejected as too low, in micros of the advertiser + * currency. Only set if this error is caused by the total_amount field value. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long failedBudgetTotalAmountMicros; + + /** + * The minimum value for the budget's amount field required by the campaign, in micros of the + * advertiser currency. Only set if this error is caused by the amount field value. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long minimumBudgetAmountMicros; + + /** + * The minimum value for the budget's total_amount field required by the campaign given its + * configured start and end time, in micros of the advertiser currency. Only set if this error is + * caused by the total_amount field value. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long minimumBudgetTotalAmountMicros; + + /** + * The minimum budget required by the campaign per day, in micros of the advertiser currency. + * Applies to both daily and custom budgets. + * @return value or {@code null} for none + */ + public java.lang.Long getBudgetPerDayMinimumMicros() { + return budgetPerDayMinimumMicros; + } + + /** + * The minimum budget required by the campaign per day, in micros of the advertiser currency. + * Applies to both daily and custom budgets. + * @param budgetPerDayMinimumMicros budgetPerDayMinimumMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsBudgetPerDayMinimumErrorDetails setBudgetPerDayMinimumMicros(java.lang.Long budgetPerDayMinimumMicros) { + this.budgetPerDayMinimumMicros = budgetPerDayMinimumMicros; + return this; + } + + /** + * The advertiser's currency, represented as a three-letter ISO 4217 currency code (such as + * "USD"). + * @return value or {@code null} for none + */ + public java.lang.String getCurrencyCode() { + return currencyCode; + } + + /** + * The advertiser's currency, represented as a three-letter ISO 4217 currency code (such as + * "USD"). + * @param currencyCode currencyCode or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsBudgetPerDayMinimumErrorDetails setCurrencyCode(java.lang.String currencyCode) { + this.currencyCode = currencyCode; + return this; + } + + /** + * The budget amount value that was rejected as too low, in micros of the advertiser currency. + * Only set if this error is caused by the amount field value. + * @return value or {@code null} for none + */ + public java.lang.Long getFailedBudgetAmountMicros() { + return failedBudgetAmountMicros; + } + + /** + * The budget amount value that was rejected as too low, in micros of the advertiser currency. + * Only set if this error is caused by the amount field value. + * @param failedBudgetAmountMicros failedBudgetAmountMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsBudgetPerDayMinimumErrorDetails setFailedBudgetAmountMicros(java.lang.Long failedBudgetAmountMicros) { + this.failedBudgetAmountMicros = failedBudgetAmountMicros; + return this; + } + + /** + * The budget total_amount value that was rejected as too low, in micros of the advertiser + * currency. Only set if this error is caused by the total_amount field value. + * @return value or {@code null} for none + */ + public java.lang.Long getFailedBudgetTotalAmountMicros() { + return failedBudgetTotalAmountMicros; + } + + /** + * The budget total_amount value that was rejected as too low, in micros of the advertiser + * currency. Only set if this error is caused by the total_amount field value. + * @param failedBudgetTotalAmountMicros failedBudgetTotalAmountMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsBudgetPerDayMinimumErrorDetails setFailedBudgetTotalAmountMicros(java.lang.Long failedBudgetTotalAmountMicros) { + this.failedBudgetTotalAmountMicros = failedBudgetTotalAmountMicros; + return this; + } + + /** + * The minimum value for the budget's amount field required by the campaign, in micros of the + * advertiser currency. Only set if this error is caused by the amount field value. + * @return value or {@code null} for none + */ + public java.lang.Long getMinimumBudgetAmountMicros() { + return minimumBudgetAmountMicros; + } + + /** + * The minimum value for the budget's amount field required by the campaign, in micros of the + * advertiser currency. Only set if this error is caused by the amount field value. + * @param minimumBudgetAmountMicros minimumBudgetAmountMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsBudgetPerDayMinimumErrorDetails setMinimumBudgetAmountMicros(java.lang.Long minimumBudgetAmountMicros) { + this.minimumBudgetAmountMicros = minimumBudgetAmountMicros; + return this; + } + + /** + * The minimum value for the budget's total_amount field required by the campaign given its + * configured start and end time, in micros of the advertiser currency. Only set if this error is + * caused by the total_amount field value. + * @return value or {@code null} for none + */ + public java.lang.Long getMinimumBudgetTotalAmountMicros() { + return minimumBudgetTotalAmountMicros; + } + + /** + * The minimum value for the budget's total_amount field required by the campaign given its + * configured start and end time, in micros of the advertiser currency. Only set if this error is + * caused by the total_amount field value. + * @param minimumBudgetTotalAmountMicros minimumBudgetTotalAmountMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsBudgetPerDayMinimumErrorDetails setMinimumBudgetTotalAmountMicros(java.lang.Long minimumBudgetTotalAmountMicros) { + this.minimumBudgetTotalAmountMicros = minimumBudgetTotalAmountMicros; + return this; + } + + @Override + public GoogleAdsSearchads360V23ErrorsBudgetPerDayMinimumErrorDetails set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ErrorsBudgetPerDayMinimumErrorDetails) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ErrorsBudgetPerDayMinimumErrorDetails clone() { + return (GoogleAdsSearchads360V23ErrorsBudgetPerDayMinimumErrorDetails) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ErrorsErrorCode.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ErrorsErrorCode.java new file mode 100644 index 00000000000..a5093c6d9da --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ErrorsErrorCode.java @@ -0,0 +1,4051 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The error reason represented by type and enum. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ErrorsErrorCode extends com.google.api.client.json.GenericJson { + + /** + * The reasons for the access invitation error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String accessInvitationError; + + /** + * The reasons for account budget proposal errors. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String accountBudgetProposalError; + + /** + * The reasons for the account link status change error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String accountLinkError; + + /** + * The reasons for the ad customizer error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String adCustomizerError; + + /** + * An error with an Ad Group Ad mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String adError; + + /** + * The reasons for the ad group ad error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String adGroupAdError; + + /** + * The reasons for the ad group bid modifier error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String adGroupBidModifierError; + + /** + * The reasons for the ad group criterion customizer error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String adGroupCriterionCustomizerError; + + /** + * Indicates failure to properly authenticate user. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String adGroupCriterionError; + + /** + * The reasons for the ad group customizer error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String adGroupCustomizerError; + + /** + * An error with an Ad Group mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String adGroupError; + + /** + * The reasons for the ad group feed error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String adGroupFeedError; + + /** + * The reasons for the ad parameter error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String adParameterError; + + /** + * The reasons for the ad sharing error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String adSharingError; + + /** + * The reasons for the adx error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String adxError; + + /** + * The reasons for the asset error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String assetError; + + /** + * The reasons for the GenAI asset generation error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String assetGenerationError; + + /** + * The reasons for the asset group asset error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String assetGroupAssetError; + + /** + * The reasons for the asset group error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String assetGroupError; + + /** + * The reasons for the asset group listing group filter error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String assetGroupListingGroupFilterError; + + /** + * The reasons for the asset group hint error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String assetGroupSignalError; + + /** + * The reasons for the asset link error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String assetLinkError; + + /** + * The reasons for the asset set asset error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String assetSetAssetError; + + /** + * The reasons for the asset set error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String assetSetError; + + /** + * The reasons for the asset set link error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String assetSetLinkError; + + /** + * The reasons for the audience error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String audienceError; + + /** + * The reasons for the Audience Insights error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String audienceInsightsError; + + /** + * Indicates failure to properly authenticate user. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String authenticationError; + + /** + * An error encountered when trying to authorize a user. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String authorizationError; + + /** + * The reasons for error in automatically created asset removal action. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String automaticallyCreatedAssetRemovalError; + + /** + * The reasons for the batch job error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String batchJobError; + + /** + * The reasons for the Benchmarks error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String benchmarksError; + + /** + * The reasons for the bidding errors + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String biddingError; + + /** + * An error with a Bidding Strategy mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String biddingStrategyError; + + /** + * The reasons for the billing setup error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String billingSetupError; + + /** + * The reasons for the brand guidelines migration error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String brandGuidelinesMigrationError; + + /** + * An error with a Campaign Budget mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String campaignBudgetError; + + /** + * The reasons for the campaign conversion goal error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String campaignConversionGoalError; + + /** + * The reasons for the campaign criterion error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String campaignCriterionError; + + /** + * The reasons for the campaign customizer error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String campaignCustomizerError; + + /** + * The reasons for the campaign draft error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String campaignDraftError; + + /** + * An error with a Campaign mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String campaignError; + + /** + * The reasons for the campaign experiment error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String campaignExperimentError; + + /** + * The reasons for the campaign feed error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String campaignFeedError; + + /** + * The reasons for the campaign goal config error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String campaignGoalConfigError; + + /** + * The reasons for the campaign lifecycle goal error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String campaignLifecycleGoalError; + + /** + * The reasons for the campaign shared set error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String campaignSharedSetError; + + /** + * The reasons for the change event error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String changeEventError; + + /** + * The reasons for the change status error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String changeStatusError; + + /** + * The reasons for the click view error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String clickViewError; + + /** + * The reasons for the collection size error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String collectionSizeError; + + /** + * The reasons for the context error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String contextError; + + /** + * The reasons for the conversion action error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String conversionActionError; + + /** + * The reasons for the conversion adjustment upload error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String conversionAdjustmentUploadError; + + /** + * The reasons for the conversion custom variable error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String conversionCustomVariableError; + + /** + * The reasons for the conversion goal campaign config error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String conversionGoalCampaignConfigError; + + /** + * The reasons for the conversion upload error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String conversionUploadError; + + /** + * The reasons for the conversion value rule error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String conversionValueRuleError; + + /** + * The reasons for the conversion value rule set error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String conversionValueRuleSetError; + + /** + * The reasons for the country code error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String countryCodeError; + + /** + * The reasons for the criterion error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String criterionError; + + /** + * The reasons for the currency code error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String currencyCodeError; + + /** + * The reasons for the currency errors. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String currencyError; + + /** + * The reasons for the custom audience error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String customAudienceError; + + /** + * The reasons for the custom column error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String customColumnError; + + /** + * The reasons for the custom conversion goal error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String customConversionGoalError; + + /** + * The reasons for the custom interest error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String customInterestError; + + /** + * The reasons for the customer client link error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String customerClientLinkError; + + /** + * The reasons for the customer customizer error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String customerCustomizerError; + + /** + * The reasons for the customer error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String customerError; + + /** + * The reasons for the customer feed error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String customerFeedError; + + /** + * The reasons for the customer lifecycle goal error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String customerLifecycleGoalError; + + /** + * The reasons for the customer manager link error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String customerManagerLinkError; + + /** + * The reasons for the customer SK Ad network conversion value schema error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String customerSkAdNetworkConversionValueSchemaError; + + /** + * The reasons for the customer user access mutate error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String customerUserAccessError; + + /** + * The reasons for the customizer attribute error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String customizerAttributeError; + + /** + * The reasons for the data link error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String dataLinkError; + + /** + * The reasons for the database error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String databaseError; + + /** + * The reasons for the date error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String dateError; + + /** + * The reasons for the date range error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String dateRangeError; + + /** + * The reasons for the distinct error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String distinctError; + + /** + * The reason for enum error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String enumError; + + /** + * The reasons for the experiment arm error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String experimentArmError; + + /** + * The reasons for the experiment error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String experimentError; + + /** + * The reasons for the extension feed item error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String extensionFeedItemError; + + /** + * The reasons for the extension setting error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String extensionSettingError; + + /** + * The reasons for the feed attribute reference error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String feedAttributeReferenceError; + + /** + * The reasons for the feed error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String feedError; + + /** + * The reasons for the feed item error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String feedItemError; + + /** + * The reasons for the feed item set error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String feedItemSetError; + + /** + * The reasons for the feed item set link error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String feedItemSetLinkError; + + /** + * The reasons for the feed item target error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String feedItemTargetError; + + /** + * The reasons for the feed item validation error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String feedItemValidationError; + + /** + * The reasons for the feed mapping error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String feedMappingError; + + /** + * The reasons for the field error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String fieldError; + + /** + * An error with a field mask + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String fieldMaskError; + + /** + * The reasons for the final url expansion asset view error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String finalUrlExpansionAssetViewError; + + /** + * The reasons for the function error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String functionError; + + /** + * The reasons for the function parsing error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String functionParsingError; + + /** + * The reasons for the geo target constant suggestion error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String geoTargetConstantSuggestionError; + + /** + * The reasons for the goal error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String goalError; + + /** + * The reasons for the header error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String headerError; + + /** + * The reasons for the id error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String idError; + + /** + * The reasons for an identity verification error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String identityVerificationError; + + /** + * The reasons for the image error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String imageError; + + /** + * The reasons for the incentive error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String incentiveError; + + /** + * An unexpected server-side error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String internalError; + + /** + * The reasons for invalid parameter errors. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String invalidParameterError; + + /** + * The reasons for the invoice error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String invoiceError; + + /** + * The reason for keyword plan ad group error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String keywordPlanAdGroupError; + + /** + * The reason for keyword plan ad group keyword error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String keywordPlanAdGroupKeywordError; + + /** + * The reason for keyword plan campaign error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String keywordPlanCampaignError; + + /** + * The reason for keyword plan campaign keyword error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String keywordPlanCampaignKeywordError; + + /** + * The reason for keyword plan error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String keywordPlanError; + + /** + * The reason for keyword idea error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String keywordPlanIdeaError; + + /** + * The reason for the label error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String labelError; + + /** + * The reasons for the language code error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String languageCodeError; + + /** + * An error with a list operation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String listOperationError; + + /** + * The reasons for the manager link error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String managerLinkError; + + /** + * The reasons for the media bundle error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String mediaBundleError; + + /** + * The reasons for the media file error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String mediaFileError; + + /** + * The reasons for media uploading errors. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String mediaUploadError; + + /** + * Container for enum describing possible merchant center errors. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String merchantCenterError; + + /** + * The reasons for the multiplier error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String multiplierError; + + /** + * An error with a mutate + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String mutateError; + + /** + * The reasons for the new resource creation error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String newResourceCreationError; + + /** + * The reasons for the not allowlisted error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String notAllowlistedError; + + /** + * The reasons for the not empty error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String notEmptyError; + + /** + * The reasons for the null error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String nullError; + + /** + * The reasons for the offline user data job error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String offlineUserDataJobError; + + /** + * The reasons for the operation access denied error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String operationAccessDeniedError; + + /** + * The reasons for the operator error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String operatorError; + + /** + * The reasons for the mutate job error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String partialFailureError; + + /** + * The reasons for errors in payments accounts service + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String paymentsAccountError; + + /** + * The reasons for the policy finding error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String policyFindingError; + + /** + * The reasons for the policy validation parameter error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String policyValidationParameterError; + + /** + * The reasons for the policy violation error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String policyViolationError; + + /** + * The reasons for the product link error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String productLinkError; + + /** + * The reasons for the product link invitation error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String productLinkInvitationError; + + /** + * An error with the query + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String queryError; + + /** + * An error with the amount of quota remaining. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String quotaError; + + /** + * The reasons for the range error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String rangeError; + + /** + * The reasons for the reach plan error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String reachPlanError; + + /** + * The reasons for error in applying a recommendation + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String recommendationError; + + /** + * The reasons for the recommendation subscription error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String recommendationSubscriptionError; + + /** + * The reasons for the region code error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String regionCodeError; + + /** + * An error caused by the request + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String requestError; + + /** + * The reasons for the resource access denied error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceAccessDeniedError; + + /** + * The reasons for the resource count limit exceeded error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceCountLimitExceededError; + + /** + * The reasons for the Search term insight error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String searchTermInsightError; + + /** + * The reasons for the setting error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String settingError; + + /** + * The reasons for the shareable preview error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String shareablePreviewError; + + /** + * The reasons for the shared criterion error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String sharedCriterionError; + + /** + * The reasons for the shared set error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String sharedSetError; + + /** + * The reasons for error in querying shopping product. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String shoppingProductError; + + /** + * The reasons for the size limit error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String sizeLimitError; + + /** + * The reasons for the Smart campaign error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String smartCampaignError; + + /** + * The reasons for the string format error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String stringFormatError; + + /** + * The reasons for the string length error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String stringLengthError; + + /** + * The reasons for the third party app analytics link mutate error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String thirdPartyAppAnalyticsLinkError; + + /** + * The reasons for the time zone error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String timeZoneError; + + /** + * An error with a URL field mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String urlFieldError; + + /** + * The reasons for the user data error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String userDataError; + + /** + * The reasons for a user list customer type error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String userListCustomerTypeError; + + /** + * The reasons for the user list error + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String userListError; + + /** + * An error with a Video Campaign mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String videoCampaignError; + + /** + * The reasons for YouTube video registration errors. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String youtubeVideoRegistrationError; + + /** + * The reasons for the access invitation error + * @return value or {@code null} for none + */ + public java.lang.String getAccessInvitationError() { + return accessInvitationError; + } + + /** + * The reasons for the access invitation error + * @param accessInvitationError accessInvitationError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setAccessInvitationError(java.lang.String accessInvitationError) { + this.accessInvitationError = accessInvitationError; + return this; + } + + /** + * The reasons for account budget proposal errors. + * @return value or {@code null} for none + */ + public java.lang.String getAccountBudgetProposalError() { + return accountBudgetProposalError; + } + + /** + * The reasons for account budget proposal errors. + * @param accountBudgetProposalError accountBudgetProposalError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setAccountBudgetProposalError(java.lang.String accountBudgetProposalError) { + this.accountBudgetProposalError = accountBudgetProposalError; + return this; + } + + /** + * The reasons for the account link status change error + * @return value or {@code null} for none + */ + public java.lang.String getAccountLinkError() { + return accountLinkError; + } + + /** + * The reasons for the account link status change error + * @param accountLinkError accountLinkError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setAccountLinkError(java.lang.String accountLinkError) { + this.accountLinkError = accountLinkError; + return this; + } + + /** + * The reasons for the ad customizer error + * @return value or {@code null} for none + */ + public java.lang.String getAdCustomizerError() { + return adCustomizerError; + } + + /** + * The reasons for the ad customizer error + * @param adCustomizerError adCustomizerError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setAdCustomizerError(java.lang.String adCustomizerError) { + this.adCustomizerError = adCustomizerError; + return this; + } + + /** + * An error with an Ad Group Ad mutate. + * @return value or {@code null} for none + */ + public java.lang.String getAdError() { + return adError; + } + + /** + * An error with an Ad Group Ad mutate. + * @param adError adError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setAdError(java.lang.String adError) { + this.adError = adError; + return this; + } + + /** + * The reasons for the ad group ad error + * @return value or {@code null} for none + */ + public java.lang.String getAdGroupAdError() { + return adGroupAdError; + } + + /** + * The reasons for the ad group ad error + * @param adGroupAdError adGroupAdError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setAdGroupAdError(java.lang.String adGroupAdError) { + this.adGroupAdError = adGroupAdError; + return this; + } + + /** + * The reasons for the ad group bid modifier error + * @return value or {@code null} for none + */ + public java.lang.String getAdGroupBidModifierError() { + return adGroupBidModifierError; + } + + /** + * The reasons for the ad group bid modifier error + * @param adGroupBidModifierError adGroupBidModifierError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setAdGroupBidModifierError(java.lang.String adGroupBidModifierError) { + this.adGroupBidModifierError = adGroupBidModifierError; + return this; + } + + /** + * The reasons for the ad group criterion customizer error. + * @return value or {@code null} for none + */ + public java.lang.String getAdGroupCriterionCustomizerError() { + return adGroupCriterionCustomizerError; + } + + /** + * The reasons for the ad group criterion customizer error. + * @param adGroupCriterionCustomizerError adGroupCriterionCustomizerError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setAdGroupCriterionCustomizerError(java.lang.String adGroupCriterionCustomizerError) { + this.adGroupCriterionCustomizerError = adGroupCriterionCustomizerError; + return this; + } + + /** + * Indicates failure to properly authenticate user. + * @return value or {@code null} for none + */ + public java.lang.String getAdGroupCriterionError() { + return adGroupCriterionError; + } + + /** + * Indicates failure to properly authenticate user. + * @param adGroupCriterionError adGroupCriterionError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setAdGroupCriterionError(java.lang.String adGroupCriterionError) { + this.adGroupCriterionError = adGroupCriterionError; + return this; + } + + /** + * The reasons for the ad group customizer error. + * @return value or {@code null} for none + */ + public java.lang.String getAdGroupCustomizerError() { + return adGroupCustomizerError; + } + + /** + * The reasons for the ad group customizer error. + * @param adGroupCustomizerError adGroupCustomizerError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setAdGroupCustomizerError(java.lang.String adGroupCustomizerError) { + this.adGroupCustomizerError = adGroupCustomizerError; + return this; + } + + /** + * An error with an Ad Group mutate. + * @return value or {@code null} for none + */ + public java.lang.String getAdGroupError() { + return adGroupError; + } + + /** + * An error with an Ad Group mutate. + * @param adGroupError adGroupError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setAdGroupError(java.lang.String adGroupError) { + this.adGroupError = adGroupError; + return this; + } + + /** + * The reasons for the ad group feed error + * @return value or {@code null} for none + */ + public java.lang.String getAdGroupFeedError() { + return adGroupFeedError; + } + + /** + * The reasons for the ad group feed error + * @param adGroupFeedError adGroupFeedError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setAdGroupFeedError(java.lang.String adGroupFeedError) { + this.adGroupFeedError = adGroupFeedError; + return this; + } + + /** + * The reasons for the ad parameter error + * @return value or {@code null} for none + */ + public java.lang.String getAdParameterError() { + return adParameterError; + } + + /** + * The reasons for the ad parameter error + * @param adParameterError adParameterError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setAdParameterError(java.lang.String adParameterError) { + this.adParameterError = adParameterError; + return this; + } + + /** + * The reasons for the ad sharing error + * @return value or {@code null} for none + */ + public java.lang.String getAdSharingError() { + return adSharingError; + } + + /** + * The reasons for the ad sharing error + * @param adSharingError adSharingError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setAdSharingError(java.lang.String adSharingError) { + this.adSharingError = adSharingError; + return this; + } + + /** + * The reasons for the adx error + * @return value or {@code null} for none + */ + public java.lang.String getAdxError() { + return adxError; + } + + /** + * The reasons for the adx error + * @param adxError adxError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setAdxError(java.lang.String adxError) { + this.adxError = adxError; + return this; + } + + /** + * The reasons for the asset error + * @return value or {@code null} for none + */ + public java.lang.String getAssetError() { + return assetError; + } + + /** + * The reasons for the asset error + * @param assetError assetError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setAssetError(java.lang.String assetError) { + this.assetError = assetError; + return this; + } + + /** + * The reasons for the GenAI asset generation error. + * @return value or {@code null} for none + */ + public java.lang.String getAssetGenerationError() { + return assetGenerationError; + } + + /** + * The reasons for the GenAI asset generation error. + * @param assetGenerationError assetGenerationError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setAssetGenerationError(java.lang.String assetGenerationError) { + this.assetGenerationError = assetGenerationError; + return this; + } + + /** + * The reasons for the asset group asset error + * @return value or {@code null} for none + */ + public java.lang.String getAssetGroupAssetError() { + return assetGroupAssetError; + } + + /** + * The reasons for the asset group asset error + * @param assetGroupAssetError assetGroupAssetError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setAssetGroupAssetError(java.lang.String assetGroupAssetError) { + this.assetGroupAssetError = assetGroupAssetError; + return this; + } + + /** + * The reasons for the asset group error + * @return value or {@code null} for none + */ + public java.lang.String getAssetGroupError() { + return assetGroupError; + } + + /** + * The reasons for the asset group error + * @param assetGroupError assetGroupError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setAssetGroupError(java.lang.String assetGroupError) { + this.assetGroupError = assetGroupError; + return this; + } + + /** + * The reasons for the asset group listing group filter error + * @return value or {@code null} for none + */ + public java.lang.String getAssetGroupListingGroupFilterError() { + return assetGroupListingGroupFilterError; + } + + /** + * The reasons for the asset group listing group filter error + * @param assetGroupListingGroupFilterError assetGroupListingGroupFilterError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setAssetGroupListingGroupFilterError(java.lang.String assetGroupListingGroupFilterError) { + this.assetGroupListingGroupFilterError = assetGroupListingGroupFilterError; + return this; + } + + /** + * The reasons for the asset group hint error + * @return value or {@code null} for none + */ + public java.lang.String getAssetGroupSignalError() { + return assetGroupSignalError; + } + + /** + * The reasons for the asset group hint error + * @param assetGroupSignalError assetGroupSignalError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setAssetGroupSignalError(java.lang.String assetGroupSignalError) { + this.assetGroupSignalError = assetGroupSignalError; + return this; + } + + /** + * The reasons for the asset link error + * @return value or {@code null} for none + */ + public java.lang.String getAssetLinkError() { + return assetLinkError; + } + + /** + * The reasons for the asset link error + * @param assetLinkError assetLinkError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setAssetLinkError(java.lang.String assetLinkError) { + this.assetLinkError = assetLinkError; + return this; + } + + /** + * The reasons for the asset set asset error + * @return value or {@code null} for none + */ + public java.lang.String getAssetSetAssetError() { + return assetSetAssetError; + } + + /** + * The reasons for the asset set asset error + * @param assetSetAssetError assetSetAssetError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setAssetSetAssetError(java.lang.String assetSetAssetError) { + this.assetSetAssetError = assetSetAssetError; + return this; + } + + /** + * The reasons for the asset set error + * @return value or {@code null} for none + */ + public java.lang.String getAssetSetError() { + return assetSetError; + } + + /** + * The reasons for the asset set error + * @param assetSetError assetSetError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setAssetSetError(java.lang.String assetSetError) { + this.assetSetError = assetSetError; + return this; + } + + /** + * The reasons for the asset set link error + * @return value or {@code null} for none + */ + public java.lang.String getAssetSetLinkError() { + return assetSetLinkError; + } + + /** + * The reasons for the asset set link error + * @param assetSetLinkError assetSetLinkError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setAssetSetLinkError(java.lang.String assetSetLinkError) { + this.assetSetLinkError = assetSetLinkError; + return this; + } + + /** + * The reasons for the audience error + * @return value or {@code null} for none + */ + public java.lang.String getAudienceError() { + return audienceError; + } + + /** + * The reasons for the audience error + * @param audienceError audienceError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setAudienceError(java.lang.String audienceError) { + this.audienceError = audienceError; + return this; + } + + /** + * The reasons for the Audience Insights error + * @return value or {@code null} for none + */ + public java.lang.String getAudienceInsightsError() { + return audienceInsightsError; + } + + /** + * The reasons for the Audience Insights error + * @param audienceInsightsError audienceInsightsError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setAudienceInsightsError(java.lang.String audienceInsightsError) { + this.audienceInsightsError = audienceInsightsError; + return this; + } + + /** + * Indicates failure to properly authenticate user. + * @return value or {@code null} for none + */ + public java.lang.String getAuthenticationError() { + return authenticationError; + } + + /** + * Indicates failure to properly authenticate user. + * @param authenticationError authenticationError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setAuthenticationError(java.lang.String authenticationError) { + this.authenticationError = authenticationError; + return this; + } + + /** + * An error encountered when trying to authorize a user. + * @return value or {@code null} for none + */ + public java.lang.String getAuthorizationError() { + return authorizationError; + } + + /** + * An error encountered when trying to authorize a user. + * @param authorizationError authorizationError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setAuthorizationError(java.lang.String authorizationError) { + this.authorizationError = authorizationError; + return this; + } + + /** + * The reasons for error in automatically created asset removal action. + * @return value or {@code null} for none + */ + public java.lang.String getAutomaticallyCreatedAssetRemovalError() { + return automaticallyCreatedAssetRemovalError; + } + + /** + * The reasons for error in automatically created asset removal action. + * @param automaticallyCreatedAssetRemovalError automaticallyCreatedAssetRemovalError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setAutomaticallyCreatedAssetRemovalError(java.lang.String automaticallyCreatedAssetRemovalError) { + this.automaticallyCreatedAssetRemovalError = automaticallyCreatedAssetRemovalError; + return this; + } + + /** + * The reasons for the batch job error + * @return value or {@code null} for none + */ + public java.lang.String getBatchJobError() { + return batchJobError; + } + + /** + * The reasons for the batch job error + * @param batchJobError batchJobError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setBatchJobError(java.lang.String batchJobError) { + this.batchJobError = batchJobError; + return this; + } + + /** + * The reasons for the Benchmarks error. + * @return value or {@code null} for none + */ + public java.lang.String getBenchmarksError() { + return benchmarksError; + } + + /** + * The reasons for the Benchmarks error. + * @param benchmarksError benchmarksError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setBenchmarksError(java.lang.String benchmarksError) { + this.benchmarksError = benchmarksError; + return this; + } + + /** + * The reasons for the bidding errors + * @return value or {@code null} for none + */ + public java.lang.String getBiddingError() { + return biddingError; + } + + /** + * The reasons for the bidding errors + * @param biddingError biddingError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setBiddingError(java.lang.String biddingError) { + this.biddingError = biddingError; + return this; + } + + /** + * An error with a Bidding Strategy mutate. + * @return value or {@code null} for none + */ + public java.lang.String getBiddingStrategyError() { + return biddingStrategyError; + } + + /** + * An error with a Bidding Strategy mutate. + * @param biddingStrategyError biddingStrategyError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setBiddingStrategyError(java.lang.String biddingStrategyError) { + this.biddingStrategyError = biddingStrategyError; + return this; + } + + /** + * The reasons for the billing setup error + * @return value or {@code null} for none + */ + public java.lang.String getBillingSetupError() { + return billingSetupError; + } + + /** + * The reasons for the billing setup error + * @param billingSetupError billingSetupError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setBillingSetupError(java.lang.String billingSetupError) { + this.billingSetupError = billingSetupError; + return this; + } + + /** + * The reasons for the brand guidelines migration error. + * @return value or {@code null} for none + */ + public java.lang.String getBrandGuidelinesMigrationError() { + return brandGuidelinesMigrationError; + } + + /** + * The reasons for the brand guidelines migration error. + * @param brandGuidelinesMigrationError brandGuidelinesMigrationError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setBrandGuidelinesMigrationError(java.lang.String brandGuidelinesMigrationError) { + this.brandGuidelinesMigrationError = brandGuidelinesMigrationError; + return this; + } + + /** + * An error with a Campaign Budget mutate. + * @return value or {@code null} for none + */ + public java.lang.String getCampaignBudgetError() { + return campaignBudgetError; + } + + /** + * An error with a Campaign Budget mutate. + * @param campaignBudgetError campaignBudgetError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setCampaignBudgetError(java.lang.String campaignBudgetError) { + this.campaignBudgetError = campaignBudgetError; + return this; + } + + /** + * The reasons for the campaign conversion goal error + * @return value or {@code null} for none + */ + public java.lang.String getCampaignConversionGoalError() { + return campaignConversionGoalError; + } + + /** + * The reasons for the campaign conversion goal error + * @param campaignConversionGoalError campaignConversionGoalError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setCampaignConversionGoalError(java.lang.String campaignConversionGoalError) { + this.campaignConversionGoalError = campaignConversionGoalError; + return this; + } + + /** + * The reasons for the campaign criterion error + * @return value or {@code null} for none + */ + public java.lang.String getCampaignCriterionError() { + return campaignCriterionError; + } + + /** + * The reasons for the campaign criterion error + * @param campaignCriterionError campaignCriterionError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setCampaignCriterionError(java.lang.String campaignCriterionError) { + this.campaignCriterionError = campaignCriterionError; + return this; + } + + /** + * The reasons for the campaign customizer error. + * @return value or {@code null} for none + */ + public java.lang.String getCampaignCustomizerError() { + return campaignCustomizerError; + } + + /** + * The reasons for the campaign customizer error. + * @param campaignCustomizerError campaignCustomizerError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setCampaignCustomizerError(java.lang.String campaignCustomizerError) { + this.campaignCustomizerError = campaignCustomizerError; + return this; + } + + /** + * The reasons for the campaign draft error + * @return value or {@code null} for none + */ + public java.lang.String getCampaignDraftError() { + return campaignDraftError; + } + + /** + * The reasons for the campaign draft error + * @param campaignDraftError campaignDraftError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setCampaignDraftError(java.lang.String campaignDraftError) { + this.campaignDraftError = campaignDraftError; + return this; + } + + /** + * An error with a Campaign mutate. + * @return value or {@code null} for none + */ + public java.lang.String getCampaignError() { + return campaignError; + } + + /** + * An error with a Campaign mutate. + * @param campaignError campaignError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setCampaignError(java.lang.String campaignError) { + this.campaignError = campaignError; + return this; + } + + /** + * The reasons for the campaign experiment error + * @return value or {@code null} for none + */ + public java.lang.String getCampaignExperimentError() { + return campaignExperimentError; + } + + /** + * The reasons for the campaign experiment error + * @param campaignExperimentError campaignExperimentError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setCampaignExperimentError(java.lang.String campaignExperimentError) { + this.campaignExperimentError = campaignExperimentError; + return this; + } + + /** + * The reasons for the campaign feed error + * @return value or {@code null} for none + */ + public java.lang.String getCampaignFeedError() { + return campaignFeedError; + } + + /** + * The reasons for the campaign feed error + * @param campaignFeedError campaignFeedError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setCampaignFeedError(java.lang.String campaignFeedError) { + this.campaignFeedError = campaignFeedError; + return this; + } + + /** + * The reasons for the campaign goal config error. + * @return value or {@code null} for none + */ + public java.lang.String getCampaignGoalConfigError() { + return campaignGoalConfigError; + } + + /** + * The reasons for the campaign goal config error. + * @param campaignGoalConfigError campaignGoalConfigError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setCampaignGoalConfigError(java.lang.String campaignGoalConfigError) { + this.campaignGoalConfigError = campaignGoalConfigError; + return this; + } + + /** + * The reasons for the campaign lifecycle goal error + * @return value or {@code null} for none + */ + public java.lang.String getCampaignLifecycleGoalError() { + return campaignLifecycleGoalError; + } + + /** + * The reasons for the campaign lifecycle goal error + * @param campaignLifecycleGoalError campaignLifecycleGoalError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setCampaignLifecycleGoalError(java.lang.String campaignLifecycleGoalError) { + this.campaignLifecycleGoalError = campaignLifecycleGoalError; + return this; + } + + /** + * The reasons for the campaign shared set error + * @return value or {@code null} for none + */ + public java.lang.String getCampaignSharedSetError() { + return campaignSharedSetError; + } + + /** + * The reasons for the campaign shared set error + * @param campaignSharedSetError campaignSharedSetError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setCampaignSharedSetError(java.lang.String campaignSharedSetError) { + this.campaignSharedSetError = campaignSharedSetError; + return this; + } + + /** + * The reasons for the change event error + * @return value or {@code null} for none + */ + public java.lang.String getChangeEventError() { + return changeEventError; + } + + /** + * The reasons for the change event error + * @param changeEventError changeEventError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setChangeEventError(java.lang.String changeEventError) { + this.changeEventError = changeEventError; + return this; + } + + /** + * The reasons for the change status error + * @return value or {@code null} for none + */ + public java.lang.String getChangeStatusError() { + return changeStatusError; + } + + /** + * The reasons for the change status error + * @param changeStatusError changeStatusError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setChangeStatusError(java.lang.String changeStatusError) { + this.changeStatusError = changeStatusError; + return this; + } + + /** + * The reasons for the click view error + * @return value or {@code null} for none + */ + public java.lang.String getClickViewError() { + return clickViewError; + } + + /** + * The reasons for the click view error + * @param clickViewError clickViewError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setClickViewError(java.lang.String clickViewError) { + this.clickViewError = clickViewError; + return this; + } + + /** + * The reasons for the collection size error + * @return value or {@code null} for none + */ + public java.lang.String getCollectionSizeError() { + return collectionSizeError; + } + + /** + * The reasons for the collection size error + * @param collectionSizeError collectionSizeError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setCollectionSizeError(java.lang.String collectionSizeError) { + this.collectionSizeError = collectionSizeError; + return this; + } + + /** + * The reasons for the context error + * @return value or {@code null} for none + */ + public java.lang.String getContextError() { + return contextError; + } + + /** + * The reasons for the context error + * @param contextError contextError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setContextError(java.lang.String contextError) { + this.contextError = contextError; + return this; + } + + /** + * The reasons for the conversion action error + * @return value or {@code null} for none + */ + public java.lang.String getConversionActionError() { + return conversionActionError; + } + + /** + * The reasons for the conversion action error + * @param conversionActionError conversionActionError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setConversionActionError(java.lang.String conversionActionError) { + this.conversionActionError = conversionActionError; + return this; + } + + /** + * The reasons for the conversion adjustment upload error + * @return value or {@code null} for none + */ + public java.lang.String getConversionAdjustmentUploadError() { + return conversionAdjustmentUploadError; + } + + /** + * The reasons for the conversion adjustment upload error + * @param conversionAdjustmentUploadError conversionAdjustmentUploadError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setConversionAdjustmentUploadError(java.lang.String conversionAdjustmentUploadError) { + this.conversionAdjustmentUploadError = conversionAdjustmentUploadError; + return this; + } + + /** + * The reasons for the conversion custom variable error + * @return value or {@code null} for none + */ + public java.lang.String getConversionCustomVariableError() { + return conversionCustomVariableError; + } + + /** + * The reasons for the conversion custom variable error + * @param conversionCustomVariableError conversionCustomVariableError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setConversionCustomVariableError(java.lang.String conversionCustomVariableError) { + this.conversionCustomVariableError = conversionCustomVariableError; + return this; + } + + /** + * The reasons for the conversion goal campaign config error + * @return value or {@code null} for none + */ + public java.lang.String getConversionGoalCampaignConfigError() { + return conversionGoalCampaignConfigError; + } + + /** + * The reasons for the conversion goal campaign config error + * @param conversionGoalCampaignConfigError conversionGoalCampaignConfigError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setConversionGoalCampaignConfigError(java.lang.String conversionGoalCampaignConfigError) { + this.conversionGoalCampaignConfigError = conversionGoalCampaignConfigError; + return this; + } + + /** + * The reasons for the conversion upload error + * @return value or {@code null} for none + */ + public java.lang.String getConversionUploadError() { + return conversionUploadError; + } + + /** + * The reasons for the conversion upload error + * @param conversionUploadError conversionUploadError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setConversionUploadError(java.lang.String conversionUploadError) { + this.conversionUploadError = conversionUploadError; + return this; + } + + /** + * The reasons for the conversion value rule error + * @return value or {@code null} for none + */ + public java.lang.String getConversionValueRuleError() { + return conversionValueRuleError; + } + + /** + * The reasons for the conversion value rule error + * @param conversionValueRuleError conversionValueRuleError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setConversionValueRuleError(java.lang.String conversionValueRuleError) { + this.conversionValueRuleError = conversionValueRuleError; + return this; + } + + /** + * The reasons for the conversion value rule set error + * @return value or {@code null} for none + */ + public java.lang.String getConversionValueRuleSetError() { + return conversionValueRuleSetError; + } + + /** + * The reasons for the conversion value rule set error + * @param conversionValueRuleSetError conversionValueRuleSetError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setConversionValueRuleSetError(java.lang.String conversionValueRuleSetError) { + this.conversionValueRuleSetError = conversionValueRuleSetError; + return this; + } + + /** + * The reasons for the country code error + * @return value or {@code null} for none + */ + public java.lang.String getCountryCodeError() { + return countryCodeError; + } + + /** + * The reasons for the country code error + * @param countryCodeError countryCodeError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setCountryCodeError(java.lang.String countryCodeError) { + this.countryCodeError = countryCodeError; + return this; + } + + /** + * The reasons for the criterion error + * @return value or {@code null} for none + */ + public java.lang.String getCriterionError() { + return criterionError; + } + + /** + * The reasons for the criterion error + * @param criterionError criterionError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setCriterionError(java.lang.String criterionError) { + this.criterionError = criterionError; + return this; + } + + /** + * The reasons for the currency code error + * @return value or {@code null} for none + */ + public java.lang.String getCurrencyCodeError() { + return currencyCodeError; + } + + /** + * The reasons for the currency code error + * @param currencyCodeError currencyCodeError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setCurrencyCodeError(java.lang.String currencyCodeError) { + this.currencyCodeError = currencyCodeError; + return this; + } + + /** + * The reasons for the currency errors. + * @return value or {@code null} for none + */ + public java.lang.String getCurrencyError() { + return currencyError; + } + + /** + * The reasons for the currency errors. + * @param currencyError currencyError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setCurrencyError(java.lang.String currencyError) { + this.currencyError = currencyError; + return this; + } + + /** + * The reasons for the custom audience error + * @return value or {@code null} for none + */ + public java.lang.String getCustomAudienceError() { + return customAudienceError; + } + + /** + * The reasons for the custom audience error + * @param customAudienceError customAudienceError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setCustomAudienceError(java.lang.String customAudienceError) { + this.customAudienceError = customAudienceError; + return this; + } + + /** + * The reasons for the custom column error + * @return value or {@code null} for none + */ + public java.lang.String getCustomColumnError() { + return customColumnError; + } + + /** + * The reasons for the custom column error + * @param customColumnError customColumnError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setCustomColumnError(java.lang.String customColumnError) { + this.customColumnError = customColumnError; + return this; + } + + /** + * The reasons for the custom conversion goal error + * @return value or {@code null} for none + */ + public java.lang.String getCustomConversionGoalError() { + return customConversionGoalError; + } + + /** + * The reasons for the custom conversion goal error + * @param customConversionGoalError customConversionGoalError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setCustomConversionGoalError(java.lang.String customConversionGoalError) { + this.customConversionGoalError = customConversionGoalError; + return this; + } + + /** + * The reasons for the custom interest error + * @return value or {@code null} for none + */ + public java.lang.String getCustomInterestError() { + return customInterestError; + } + + /** + * The reasons for the custom interest error + * @param customInterestError customInterestError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setCustomInterestError(java.lang.String customInterestError) { + this.customInterestError = customInterestError; + return this; + } + + /** + * The reasons for the customer client link error + * @return value or {@code null} for none + */ + public java.lang.String getCustomerClientLinkError() { + return customerClientLinkError; + } + + /** + * The reasons for the customer client link error + * @param customerClientLinkError customerClientLinkError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setCustomerClientLinkError(java.lang.String customerClientLinkError) { + this.customerClientLinkError = customerClientLinkError; + return this; + } + + /** + * The reasons for the customer customizer error. + * @return value or {@code null} for none + */ + public java.lang.String getCustomerCustomizerError() { + return customerCustomizerError; + } + + /** + * The reasons for the customer customizer error. + * @param customerCustomizerError customerCustomizerError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setCustomerCustomizerError(java.lang.String customerCustomizerError) { + this.customerCustomizerError = customerCustomizerError; + return this; + } + + /** + * The reasons for the customer error + * @return value or {@code null} for none + */ + public java.lang.String getCustomerError() { + return customerError; + } + + /** + * The reasons for the customer error + * @param customerError customerError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setCustomerError(java.lang.String customerError) { + this.customerError = customerError; + return this; + } + + /** + * The reasons for the customer feed error + * @return value or {@code null} for none + */ + public java.lang.String getCustomerFeedError() { + return customerFeedError; + } + + /** + * The reasons for the customer feed error + * @param customerFeedError customerFeedError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setCustomerFeedError(java.lang.String customerFeedError) { + this.customerFeedError = customerFeedError; + return this; + } + + /** + * The reasons for the customer lifecycle goal error + * @return value or {@code null} for none + */ + public java.lang.String getCustomerLifecycleGoalError() { + return customerLifecycleGoalError; + } + + /** + * The reasons for the customer lifecycle goal error + * @param customerLifecycleGoalError customerLifecycleGoalError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setCustomerLifecycleGoalError(java.lang.String customerLifecycleGoalError) { + this.customerLifecycleGoalError = customerLifecycleGoalError; + return this; + } + + /** + * The reasons for the customer manager link error + * @return value or {@code null} for none + */ + public java.lang.String getCustomerManagerLinkError() { + return customerManagerLinkError; + } + + /** + * The reasons for the customer manager link error + * @param customerManagerLinkError customerManagerLinkError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setCustomerManagerLinkError(java.lang.String customerManagerLinkError) { + this.customerManagerLinkError = customerManagerLinkError; + return this; + } + + /** + * The reasons for the customer SK Ad network conversion value schema error + * @return value or {@code null} for none + */ + public java.lang.String getCustomerSkAdNetworkConversionValueSchemaError() { + return customerSkAdNetworkConversionValueSchemaError; + } + + /** + * The reasons for the customer SK Ad network conversion value schema error + * @param customerSkAdNetworkConversionValueSchemaError customerSkAdNetworkConversionValueSchemaError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setCustomerSkAdNetworkConversionValueSchemaError(java.lang.String customerSkAdNetworkConversionValueSchemaError) { + this.customerSkAdNetworkConversionValueSchemaError = customerSkAdNetworkConversionValueSchemaError; + return this; + } + + /** + * The reasons for the customer user access mutate error + * @return value or {@code null} for none + */ + public java.lang.String getCustomerUserAccessError() { + return customerUserAccessError; + } + + /** + * The reasons for the customer user access mutate error + * @param customerUserAccessError customerUserAccessError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setCustomerUserAccessError(java.lang.String customerUserAccessError) { + this.customerUserAccessError = customerUserAccessError; + return this; + } + + /** + * The reasons for the customizer attribute error. + * @return value or {@code null} for none + */ + public java.lang.String getCustomizerAttributeError() { + return customizerAttributeError; + } + + /** + * The reasons for the customizer attribute error. + * @param customizerAttributeError customizerAttributeError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setCustomizerAttributeError(java.lang.String customizerAttributeError) { + this.customizerAttributeError = customizerAttributeError; + return this; + } + + /** + * The reasons for the data link error + * @return value or {@code null} for none + */ + public java.lang.String getDataLinkError() { + return dataLinkError; + } + + /** + * The reasons for the data link error + * @param dataLinkError dataLinkError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setDataLinkError(java.lang.String dataLinkError) { + this.dataLinkError = dataLinkError; + return this; + } + + /** + * The reasons for the database error. + * @return value or {@code null} for none + */ + public java.lang.String getDatabaseError() { + return databaseError; + } + + /** + * The reasons for the database error. + * @param databaseError databaseError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setDatabaseError(java.lang.String databaseError) { + this.databaseError = databaseError; + return this; + } + + /** + * The reasons for the date error + * @return value or {@code null} for none + */ + public java.lang.String getDateError() { + return dateError; + } + + /** + * The reasons for the date error + * @param dateError dateError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setDateError(java.lang.String dateError) { + this.dateError = dateError; + return this; + } + + /** + * The reasons for the date range error + * @return value or {@code null} for none + */ + public java.lang.String getDateRangeError() { + return dateRangeError; + } + + /** + * The reasons for the date range error + * @param dateRangeError dateRangeError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setDateRangeError(java.lang.String dateRangeError) { + this.dateRangeError = dateRangeError; + return this; + } + + /** + * The reasons for the distinct error + * @return value or {@code null} for none + */ + public java.lang.String getDistinctError() { + return distinctError; + } + + /** + * The reasons for the distinct error + * @param distinctError distinctError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setDistinctError(java.lang.String distinctError) { + this.distinctError = distinctError; + return this; + } + + /** + * The reason for enum error. + * @return value or {@code null} for none + */ + public java.lang.String getEnumError() { + return enumError; + } + + /** + * The reason for enum error. + * @param enumError enumError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setEnumError(java.lang.String enumError) { + this.enumError = enumError; + return this; + } + + /** + * The reasons for the experiment arm error + * @return value or {@code null} for none + */ + public java.lang.String getExperimentArmError() { + return experimentArmError; + } + + /** + * The reasons for the experiment arm error + * @param experimentArmError experimentArmError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setExperimentArmError(java.lang.String experimentArmError) { + this.experimentArmError = experimentArmError; + return this; + } + + /** + * The reasons for the experiment error + * @return value or {@code null} for none + */ + public java.lang.String getExperimentError() { + return experimentError; + } + + /** + * The reasons for the experiment error + * @param experimentError experimentError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setExperimentError(java.lang.String experimentError) { + this.experimentError = experimentError; + return this; + } + + /** + * The reasons for the extension feed item error + * @return value or {@code null} for none + */ + public java.lang.String getExtensionFeedItemError() { + return extensionFeedItemError; + } + + /** + * The reasons for the extension feed item error + * @param extensionFeedItemError extensionFeedItemError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setExtensionFeedItemError(java.lang.String extensionFeedItemError) { + this.extensionFeedItemError = extensionFeedItemError; + return this; + } + + /** + * The reasons for the extension setting error + * @return value or {@code null} for none + */ + public java.lang.String getExtensionSettingError() { + return extensionSettingError; + } + + /** + * The reasons for the extension setting error + * @param extensionSettingError extensionSettingError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setExtensionSettingError(java.lang.String extensionSettingError) { + this.extensionSettingError = extensionSettingError; + return this; + } + + /** + * The reasons for the feed attribute reference error + * @return value or {@code null} for none + */ + public java.lang.String getFeedAttributeReferenceError() { + return feedAttributeReferenceError; + } + + /** + * The reasons for the feed attribute reference error + * @param feedAttributeReferenceError feedAttributeReferenceError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setFeedAttributeReferenceError(java.lang.String feedAttributeReferenceError) { + this.feedAttributeReferenceError = feedAttributeReferenceError; + return this; + } + + /** + * The reasons for the feed error + * @return value or {@code null} for none + */ + public java.lang.String getFeedError() { + return feedError; + } + + /** + * The reasons for the feed error + * @param feedError feedError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setFeedError(java.lang.String feedError) { + this.feedError = feedError; + return this; + } + + /** + * The reasons for the feed item error + * @return value or {@code null} for none + */ + public java.lang.String getFeedItemError() { + return feedItemError; + } + + /** + * The reasons for the feed item error + * @param feedItemError feedItemError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setFeedItemError(java.lang.String feedItemError) { + this.feedItemError = feedItemError; + return this; + } + + /** + * The reasons for the feed item set error + * @return value or {@code null} for none + */ + public java.lang.String getFeedItemSetError() { + return feedItemSetError; + } + + /** + * The reasons for the feed item set error + * @param feedItemSetError feedItemSetError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setFeedItemSetError(java.lang.String feedItemSetError) { + this.feedItemSetError = feedItemSetError; + return this; + } + + /** + * The reasons for the feed item set link error + * @return value or {@code null} for none + */ + public java.lang.String getFeedItemSetLinkError() { + return feedItemSetLinkError; + } + + /** + * The reasons for the feed item set link error + * @param feedItemSetLinkError feedItemSetLinkError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setFeedItemSetLinkError(java.lang.String feedItemSetLinkError) { + this.feedItemSetLinkError = feedItemSetLinkError; + return this; + } + + /** + * The reasons for the feed item target error + * @return value or {@code null} for none + */ + public java.lang.String getFeedItemTargetError() { + return feedItemTargetError; + } + + /** + * The reasons for the feed item target error + * @param feedItemTargetError feedItemTargetError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setFeedItemTargetError(java.lang.String feedItemTargetError) { + this.feedItemTargetError = feedItemTargetError; + return this; + } + + /** + * The reasons for the feed item validation error + * @return value or {@code null} for none + */ + public java.lang.String getFeedItemValidationError() { + return feedItemValidationError; + } + + /** + * The reasons for the feed item validation error + * @param feedItemValidationError feedItemValidationError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setFeedItemValidationError(java.lang.String feedItemValidationError) { + this.feedItemValidationError = feedItemValidationError; + return this; + } + + /** + * The reasons for the feed mapping error + * @return value or {@code null} for none + */ + public java.lang.String getFeedMappingError() { + return feedMappingError; + } + + /** + * The reasons for the feed mapping error + * @param feedMappingError feedMappingError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setFeedMappingError(java.lang.String feedMappingError) { + this.feedMappingError = feedMappingError; + return this; + } + + /** + * The reasons for the field error + * @return value or {@code null} for none + */ + public java.lang.String getFieldError() { + return fieldError; + } + + /** + * The reasons for the field error + * @param fieldError fieldError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setFieldError(java.lang.String fieldError) { + this.fieldError = fieldError; + return this; + } + + /** + * An error with a field mask + * @return value or {@code null} for none + */ + public java.lang.String getFieldMaskError() { + return fieldMaskError; + } + + /** + * An error with a field mask + * @param fieldMaskError fieldMaskError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setFieldMaskError(java.lang.String fieldMaskError) { + this.fieldMaskError = fieldMaskError; + return this; + } + + /** + * The reasons for the final url expansion asset view error + * @return value or {@code null} for none + */ + public java.lang.String getFinalUrlExpansionAssetViewError() { + return finalUrlExpansionAssetViewError; + } + + /** + * The reasons for the final url expansion asset view error + * @param finalUrlExpansionAssetViewError finalUrlExpansionAssetViewError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setFinalUrlExpansionAssetViewError(java.lang.String finalUrlExpansionAssetViewError) { + this.finalUrlExpansionAssetViewError = finalUrlExpansionAssetViewError; + return this; + } + + /** + * The reasons for the function error + * @return value or {@code null} for none + */ + public java.lang.String getFunctionError() { + return functionError; + } + + /** + * The reasons for the function error + * @param functionError functionError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setFunctionError(java.lang.String functionError) { + this.functionError = functionError; + return this; + } + + /** + * The reasons for the function parsing error + * @return value or {@code null} for none + */ + public java.lang.String getFunctionParsingError() { + return functionParsingError; + } + + /** + * The reasons for the function parsing error + * @param functionParsingError functionParsingError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setFunctionParsingError(java.lang.String functionParsingError) { + this.functionParsingError = functionParsingError; + return this; + } + + /** + * The reasons for the geo target constant suggestion error. + * @return value or {@code null} for none + */ + public java.lang.String getGeoTargetConstantSuggestionError() { + return geoTargetConstantSuggestionError; + } + + /** + * The reasons for the geo target constant suggestion error. + * @param geoTargetConstantSuggestionError geoTargetConstantSuggestionError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setGeoTargetConstantSuggestionError(java.lang.String geoTargetConstantSuggestionError) { + this.geoTargetConstantSuggestionError = geoTargetConstantSuggestionError; + return this; + } + + /** + * The reasons for the goal error. + * @return value or {@code null} for none + */ + public java.lang.String getGoalError() { + return goalError; + } + + /** + * The reasons for the goal error. + * @param goalError goalError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setGoalError(java.lang.String goalError) { + this.goalError = goalError; + return this; + } + + /** + * The reasons for the header error. + * @return value or {@code null} for none + */ + public java.lang.String getHeaderError() { + return headerError; + } + + /** + * The reasons for the header error. + * @param headerError headerError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setHeaderError(java.lang.String headerError) { + this.headerError = headerError; + return this; + } + + /** + * The reasons for the id error + * @return value or {@code null} for none + */ + public java.lang.String getIdError() { + return idError; + } + + /** + * The reasons for the id error + * @param idError idError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setIdError(java.lang.String idError) { + this.idError = idError; + return this; + } + + /** + * The reasons for an identity verification error. + * @return value or {@code null} for none + */ + public java.lang.String getIdentityVerificationError() { + return identityVerificationError; + } + + /** + * The reasons for an identity verification error. + * @param identityVerificationError identityVerificationError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setIdentityVerificationError(java.lang.String identityVerificationError) { + this.identityVerificationError = identityVerificationError; + return this; + } + + /** + * The reasons for the image error + * @return value or {@code null} for none + */ + public java.lang.String getImageError() { + return imageError; + } + + /** + * The reasons for the image error + * @param imageError imageError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setImageError(java.lang.String imageError) { + this.imageError = imageError; + return this; + } + + /** + * The reasons for the incentive error + * @return value or {@code null} for none + */ + public java.lang.String getIncentiveError() { + return incentiveError; + } + + /** + * The reasons for the incentive error + * @param incentiveError incentiveError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setIncentiveError(java.lang.String incentiveError) { + this.incentiveError = incentiveError; + return this; + } + + /** + * An unexpected server-side error. + * @return value or {@code null} for none + */ + public java.lang.String getInternalError() { + return internalError; + } + + /** + * An unexpected server-side error. + * @param internalError internalError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setInternalError(java.lang.String internalError) { + this.internalError = internalError; + return this; + } + + /** + * The reasons for invalid parameter errors. + * @return value or {@code null} for none + */ + public java.lang.String getInvalidParameterError() { + return invalidParameterError; + } + + /** + * The reasons for invalid parameter errors. + * @param invalidParameterError invalidParameterError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setInvalidParameterError(java.lang.String invalidParameterError) { + this.invalidParameterError = invalidParameterError; + return this; + } + + /** + * The reasons for the invoice error + * @return value or {@code null} for none + */ + public java.lang.String getInvoiceError() { + return invoiceError; + } + + /** + * The reasons for the invoice error + * @param invoiceError invoiceError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setInvoiceError(java.lang.String invoiceError) { + this.invoiceError = invoiceError; + return this; + } + + /** + * The reason for keyword plan ad group error. + * @return value or {@code null} for none + */ + public java.lang.String getKeywordPlanAdGroupError() { + return keywordPlanAdGroupError; + } + + /** + * The reason for keyword plan ad group error. + * @param keywordPlanAdGroupError keywordPlanAdGroupError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setKeywordPlanAdGroupError(java.lang.String keywordPlanAdGroupError) { + this.keywordPlanAdGroupError = keywordPlanAdGroupError; + return this; + } + + /** + * The reason for keyword plan ad group keyword error. + * @return value or {@code null} for none + */ + public java.lang.String getKeywordPlanAdGroupKeywordError() { + return keywordPlanAdGroupKeywordError; + } + + /** + * The reason for keyword plan ad group keyword error. + * @param keywordPlanAdGroupKeywordError keywordPlanAdGroupKeywordError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setKeywordPlanAdGroupKeywordError(java.lang.String keywordPlanAdGroupKeywordError) { + this.keywordPlanAdGroupKeywordError = keywordPlanAdGroupKeywordError; + return this; + } + + /** + * The reason for keyword plan campaign error. + * @return value or {@code null} for none + */ + public java.lang.String getKeywordPlanCampaignError() { + return keywordPlanCampaignError; + } + + /** + * The reason for keyword plan campaign error. + * @param keywordPlanCampaignError keywordPlanCampaignError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setKeywordPlanCampaignError(java.lang.String keywordPlanCampaignError) { + this.keywordPlanCampaignError = keywordPlanCampaignError; + return this; + } + + /** + * The reason for keyword plan campaign keyword error. + * @return value or {@code null} for none + */ + public java.lang.String getKeywordPlanCampaignKeywordError() { + return keywordPlanCampaignKeywordError; + } + + /** + * The reason for keyword plan campaign keyword error. + * @param keywordPlanCampaignKeywordError keywordPlanCampaignKeywordError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setKeywordPlanCampaignKeywordError(java.lang.String keywordPlanCampaignKeywordError) { + this.keywordPlanCampaignKeywordError = keywordPlanCampaignKeywordError; + return this; + } + + /** + * The reason for keyword plan error. + * @return value or {@code null} for none + */ + public java.lang.String getKeywordPlanError() { + return keywordPlanError; + } + + /** + * The reason for keyword plan error. + * @param keywordPlanError keywordPlanError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setKeywordPlanError(java.lang.String keywordPlanError) { + this.keywordPlanError = keywordPlanError; + return this; + } + + /** + * The reason for keyword idea error. + * @return value or {@code null} for none + */ + public java.lang.String getKeywordPlanIdeaError() { + return keywordPlanIdeaError; + } + + /** + * The reason for keyword idea error. + * @param keywordPlanIdeaError keywordPlanIdeaError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setKeywordPlanIdeaError(java.lang.String keywordPlanIdeaError) { + this.keywordPlanIdeaError = keywordPlanIdeaError; + return this; + } + + /** + * The reason for the label error. + * @return value or {@code null} for none + */ + public java.lang.String getLabelError() { + return labelError; + } + + /** + * The reason for the label error. + * @param labelError labelError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setLabelError(java.lang.String labelError) { + this.labelError = labelError; + return this; + } + + /** + * The reasons for the language code error + * @return value or {@code null} for none + */ + public java.lang.String getLanguageCodeError() { + return languageCodeError; + } + + /** + * The reasons for the language code error + * @param languageCodeError languageCodeError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setLanguageCodeError(java.lang.String languageCodeError) { + this.languageCodeError = languageCodeError; + return this; + } + + /** + * An error with a list operation. + * @return value or {@code null} for none + */ + public java.lang.String getListOperationError() { + return listOperationError; + } + + /** + * An error with a list operation. + * @param listOperationError listOperationError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setListOperationError(java.lang.String listOperationError) { + this.listOperationError = listOperationError; + return this; + } + + /** + * The reasons for the manager link error + * @return value or {@code null} for none + */ + public java.lang.String getManagerLinkError() { + return managerLinkError; + } + + /** + * The reasons for the manager link error + * @param managerLinkError managerLinkError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setManagerLinkError(java.lang.String managerLinkError) { + this.managerLinkError = managerLinkError; + return this; + } + + /** + * The reasons for the media bundle error + * @return value or {@code null} for none + */ + public java.lang.String getMediaBundleError() { + return mediaBundleError; + } + + /** + * The reasons for the media bundle error + * @param mediaBundleError mediaBundleError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setMediaBundleError(java.lang.String mediaBundleError) { + this.mediaBundleError = mediaBundleError; + return this; + } + + /** + * The reasons for the media file error + * @return value or {@code null} for none + */ + public java.lang.String getMediaFileError() { + return mediaFileError; + } + + /** + * The reasons for the media file error + * @param mediaFileError mediaFileError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setMediaFileError(java.lang.String mediaFileError) { + this.mediaFileError = mediaFileError; + return this; + } + + /** + * The reasons for media uploading errors. + * @return value or {@code null} for none + */ + public java.lang.String getMediaUploadError() { + return mediaUploadError; + } + + /** + * The reasons for media uploading errors. + * @param mediaUploadError mediaUploadError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setMediaUploadError(java.lang.String mediaUploadError) { + this.mediaUploadError = mediaUploadError; + return this; + } + + /** + * Container for enum describing possible merchant center errors. + * @return value or {@code null} for none + */ + public java.lang.String getMerchantCenterError() { + return merchantCenterError; + } + + /** + * Container for enum describing possible merchant center errors. + * @param merchantCenterError merchantCenterError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setMerchantCenterError(java.lang.String merchantCenterError) { + this.merchantCenterError = merchantCenterError; + return this; + } + + /** + * The reasons for the multiplier error + * @return value or {@code null} for none + */ + public java.lang.String getMultiplierError() { + return multiplierError; + } + + /** + * The reasons for the multiplier error + * @param multiplierError multiplierError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setMultiplierError(java.lang.String multiplierError) { + this.multiplierError = multiplierError; + return this; + } + + /** + * An error with a mutate + * @return value or {@code null} for none + */ + public java.lang.String getMutateError() { + return mutateError; + } + + /** + * An error with a mutate + * @param mutateError mutateError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setMutateError(java.lang.String mutateError) { + this.mutateError = mutateError; + return this; + } + + /** + * The reasons for the new resource creation error + * @return value or {@code null} for none + */ + public java.lang.String getNewResourceCreationError() { + return newResourceCreationError; + } + + /** + * The reasons for the new resource creation error + * @param newResourceCreationError newResourceCreationError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setNewResourceCreationError(java.lang.String newResourceCreationError) { + this.newResourceCreationError = newResourceCreationError; + return this; + } + + /** + * The reasons for the not allowlisted error + * @return value or {@code null} for none + */ + public java.lang.String getNotAllowlistedError() { + return notAllowlistedError; + } + + /** + * The reasons for the not allowlisted error + * @param notAllowlistedError notAllowlistedError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setNotAllowlistedError(java.lang.String notAllowlistedError) { + this.notAllowlistedError = notAllowlistedError; + return this; + } + + /** + * The reasons for the not empty error + * @return value or {@code null} for none + */ + public java.lang.String getNotEmptyError() { + return notEmptyError; + } + + /** + * The reasons for the not empty error + * @param notEmptyError notEmptyError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setNotEmptyError(java.lang.String notEmptyError) { + this.notEmptyError = notEmptyError; + return this; + } + + /** + * The reasons for the null error + * @return value or {@code null} for none + */ + public java.lang.String getNullError() { + return nullError; + } + + /** + * The reasons for the null error + * @param nullError nullError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setNullError(java.lang.String nullError) { + this.nullError = nullError; + return this; + } + + /** + * The reasons for the offline user data job error. + * @return value or {@code null} for none + */ + public java.lang.String getOfflineUserDataJobError() { + return offlineUserDataJobError; + } + + /** + * The reasons for the offline user data job error. + * @param offlineUserDataJobError offlineUserDataJobError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setOfflineUserDataJobError(java.lang.String offlineUserDataJobError) { + this.offlineUserDataJobError = offlineUserDataJobError; + return this; + } + + /** + * The reasons for the operation access denied error + * @return value or {@code null} for none + */ + public java.lang.String getOperationAccessDeniedError() { + return operationAccessDeniedError; + } + + /** + * The reasons for the operation access denied error + * @param operationAccessDeniedError operationAccessDeniedError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setOperationAccessDeniedError(java.lang.String operationAccessDeniedError) { + this.operationAccessDeniedError = operationAccessDeniedError; + return this; + } + + /** + * The reasons for the operator error + * @return value or {@code null} for none + */ + public java.lang.String getOperatorError() { + return operatorError; + } + + /** + * The reasons for the operator error + * @param operatorError operatorError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setOperatorError(java.lang.String operatorError) { + this.operatorError = operatorError; + return this; + } + + /** + * The reasons for the mutate job error + * @return value or {@code null} for none + */ + public java.lang.String getPartialFailureError() { + return partialFailureError; + } + + /** + * The reasons for the mutate job error + * @param partialFailureError partialFailureError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setPartialFailureError(java.lang.String partialFailureError) { + this.partialFailureError = partialFailureError; + return this; + } + + /** + * The reasons for errors in payments accounts service + * @return value or {@code null} for none + */ + public java.lang.String getPaymentsAccountError() { + return paymentsAccountError; + } + + /** + * The reasons for errors in payments accounts service + * @param paymentsAccountError paymentsAccountError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setPaymentsAccountError(java.lang.String paymentsAccountError) { + this.paymentsAccountError = paymentsAccountError; + return this; + } + + /** + * The reasons for the policy finding error. + * @return value or {@code null} for none + */ + public java.lang.String getPolicyFindingError() { + return policyFindingError; + } + + /** + * The reasons for the policy finding error. + * @param policyFindingError policyFindingError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setPolicyFindingError(java.lang.String policyFindingError) { + this.policyFindingError = policyFindingError; + return this; + } + + /** + * The reasons for the policy validation parameter error + * @return value or {@code null} for none + */ + public java.lang.String getPolicyValidationParameterError() { + return policyValidationParameterError; + } + + /** + * The reasons for the policy validation parameter error + * @param policyValidationParameterError policyValidationParameterError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setPolicyValidationParameterError(java.lang.String policyValidationParameterError) { + this.policyValidationParameterError = policyValidationParameterError; + return this; + } + + /** + * The reasons for the policy violation error + * @return value or {@code null} for none + */ + public java.lang.String getPolicyViolationError() { + return policyViolationError; + } + + /** + * The reasons for the policy violation error + * @param policyViolationError policyViolationError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setPolicyViolationError(java.lang.String policyViolationError) { + this.policyViolationError = policyViolationError; + return this; + } + + /** + * The reasons for the product link error + * @return value or {@code null} for none + */ + public java.lang.String getProductLinkError() { + return productLinkError; + } + + /** + * The reasons for the product link error + * @param productLinkError productLinkError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setProductLinkError(java.lang.String productLinkError) { + this.productLinkError = productLinkError; + return this; + } + + /** + * The reasons for the product link invitation error + * @return value or {@code null} for none + */ + public java.lang.String getProductLinkInvitationError() { + return productLinkInvitationError; + } + + /** + * The reasons for the product link invitation error + * @param productLinkInvitationError productLinkInvitationError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setProductLinkInvitationError(java.lang.String productLinkInvitationError) { + this.productLinkInvitationError = productLinkInvitationError; + return this; + } + + /** + * An error with the query + * @return value or {@code null} for none + */ + public java.lang.String getQueryError() { + return queryError; + } + + /** + * An error with the query + * @param queryError queryError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setQueryError(java.lang.String queryError) { + this.queryError = queryError; + return this; + } + + /** + * An error with the amount of quota remaining. + * @return value or {@code null} for none + */ + public java.lang.String getQuotaError() { + return quotaError; + } + + /** + * An error with the amount of quota remaining. + * @param quotaError quotaError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setQuotaError(java.lang.String quotaError) { + this.quotaError = quotaError; + return this; + } + + /** + * The reasons for the range error + * @return value or {@code null} for none + */ + public java.lang.String getRangeError() { + return rangeError; + } + + /** + * The reasons for the range error + * @param rangeError rangeError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setRangeError(java.lang.String rangeError) { + this.rangeError = rangeError; + return this; + } + + /** + * The reasons for the reach plan error + * @return value or {@code null} for none + */ + public java.lang.String getReachPlanError() { + return reachPlanError; + } + + /** + * The reasons for the reach plan error + * @param reachPlanError reachPlanError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setReachPlanError(java.lang.String reachPlanError) { + this.reachPlanError = reachPlanError; + return this; + } + + /** + * The reasons for error in applying a recommendation + * @return value or {@code null} for none + */ + public java.lang.String getRecommendationError() { + return recommendationError; + } + + /** + * The reasons for error in applying a recommendation + * @param recommendationError recommendationError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setRecommendationError(java.lang.String recommendationError) { + this.recommendationError = recommendationError; + return this; + } + + /** + * The reasons for the recommendation subscription error. + * @return value or {@code null} for none + */ + public java.lang.String getRecommendationSubscriptionError() { + return recommendationSubscriptionError; + } + + /** + * The reasons for the recommendation subscription error. + * @param recommendationSubscriptionError recommendationSubscriptionError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setRecommendationSubscriptionError(java.lang.String recommendationSubscriptionError) { + this.recommendationSubscriptionError = recommendationSubscriptionError; + return this; + } + + /** + * The reasons for the region code error + * @return value or {@code null} for none + */ + public java.lang.String getRegionCodeError() { + return regionCodeError; + } + + /** + * The reasons for the region code error + * @param regionCodeError regionCodeError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setRegionCodeError(java.lang.String regionCodeError) { + this.regionCodeError = regionCodeError; + return this; + } + + /** + * An error caused by the request + * @return value or {@code null} for none + */ + public java.lang.String getRequestError() { + return requestError; + } + + /** + * An error caused by the request + * @param requestError requestError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setRequestError(java.lang.String requestError) { + this.requestError = requestError; + return this; + } + + /** + * The reasons for the resource access denied error + * @return value or {@code null} for none + */ + public java.lang.String getResourceAccessDeniedError() { + return resourceAccessDeniedError; + } + + /** + * The reasons for the resource access denied error + * @param resourceAccessDeniedError resourceAccessDeniedError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setResourceAccessDeniedError(java.lang.String resourceAccessDeniedError) { + this.resourceAccessDeniedError = resourceAccessDeniedError; + return this; + } + + /** + * The reasons for the resource count limit exceeded error + * @return value or {@code null} for none + */ + public java.lang.String getResourceCountLimitExceededError() { + return resourceCountLimitExceededError; + } + + /** + * The reasons for the resource count limit exceeded error + * @param resourceCountLimitExceededError resourceCountLimitExceededError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setResourceCountLimitExceededError(java.lang.String resourceCountLimitExceededError) { + this.resourceCountLimitExceededError = resourceCountLimitExceededError; + return this; + } + + /** + * The reasons for the Search term insight error + * @return value or {@code null} for none + */ + public java.lang.String getSearchTermInsightError() { + return searchTermInsightError; + } + + /** + * The reasons for the Search term insight error + * @param searchTermInsightError searchTermInsightError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setSearchTermInsightError(java.lang.String searchTermInsightError) { + this.searchTermInsightError = searchTermInsightError; + return this; + } + + /** + * The reasons for the setting error + * @return value or {@code null} for none + */ + public java.lang.String getSettingError() { + return settingError; + } + + /** + * The reasons for the setting error + * @param settingError settingError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setSettingError(java.lang.String settingError) { + this.settingError = settingError; + return this; + } + + /** + * The reasons for the shareable preview error. + * @return value or {@code null} for none + */ + public java.lang.String getShareablePreviewError() { + return shareablePreviewError; + } + + /** + * The reasons for the shareable preview error. + * @param shareablePreviewError shareablePreviewError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setShareablePreviewError(java.lang.String shareablePreviewError) { + this.shareablePreviewError = shareablePreviewError; + return this; + } + + /** + * The reasons for the shared criterion error + * @return value or {@code null} for none + */ + public java.lang.String getSharedCriterionError() { + return sharedCriterionError; + } + + /** + * The reasons for the shared criterion error + * @param sharedCriterionError sharedCriterionError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setSharedCriterionError(java.lang.String sharedCriterionError) { + this.sharedCriterionError = sharedCriterionError; + return this; + } + + /** + * The reasons for the shared set error + * @return value or {@code null} for none + */ + public java.lang.String getSharedSetError() { + return sharedSetError; + } + + /** + * The reasons for the shared set error + * @param sharedSetError sharedSetError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setSharedSetError(java.lang.String sharedSetError) { + this.sharedSetError = sharedSetError; + return this; + } + + /** + * The reasons for error in querying shopping product. + * @return value or {@code null} for none + */ + public java.lang.String getShoppingProductError() { + return shoppingProductError; + } + + /** + * The reasons for error in querying shopping product. + * @param shoppingProductError shoppingProductError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setShoppingProductError(java.lang.String shoppingProductError) { + this.shoppingProductError = shoppingProductError; + return this; + } + + /** + * The reasons for the size limit error + * @return value or {@code null} for none + */ + public java.lang.String getSizeLimitError() { + return sizeLimitError; + } + + /** + * The reasons for the size limit error + * @param sizeLimitError sizeLimitError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setSizeLimitError(java.lang.String sizeLimitError) { + this.sizeLimitError = sizeLimitError; + return this; + } + + /** + * The reasons for the Smart campaign error + * @return value or {@code null} for none + */ + public java.lang.String getSmartCampaignError() { + return smartCampaignError; + } + + /** + * The reasons for the Smart campaign error + * @param smartCampaignError smartCampaignError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setSmartCampaignError(java.lang.String smartCampaignError) { + this.smartCampaignError = smartCampaignError; + return this; + } + + /** + * The reasons for the string format error + * @return value or {@code null} for none + */ + public java.lang.String getStringFormatError() { + return stringFormatError; + } + + /** + * The reasons for the string format error + * @param stringFormatError stringFormatError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setStringFormatError(java.lang.String stringFormatError) { + this.stringFormatError = stringFormatError; + return this; + } + + /** + * The reasons for the string length error + * @return value or {@code null} for none + */ + public java.lang.String getStringLengthError() { + return stringLengthError; + } + + /** + * The reasons for the string length error + * @param stringLengthError stringLengthError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setStringLengthError(java.lang.String stringLengthError) { + this.stringLengthError = stringLengthError; + return this; + } + + /** + * The reasons for the third party app analytics link mutate error + * @return value or {@code null} for none + */ + public java.lang.String getThirdPartyAppAnalyticsLinkError() { + return thirdPartyAppAnalyticsLinkError; + } + + /** + * The reasons for the third party app analytics link mutate error + * @param thirdPartyAppAnalyticsLinkError thirdPartyAppAnalyticsLinkError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setThirdPartyAppAnalyticsLinkError(java.lang.String thirdPartyAppAnalyticsLinkError) { + this.thirdPartyAppAnalyticsLinkError = thirdPartyAppAnalyticsLinkError; + return this; + } + + /** + * The reasons for the time zone error + * @return value or {@code null} for none + */ + public java.lang.String getTimeZoneError() { + return timeZoneError; + } + + /** + * The reasons for the time zone error + * @param timeZoneError timeZoneError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setTimeZoneError(java.lang.String timeZoneError) { + this.timeZoneError = timeZoneError; + return this; + } + + /** + * An error with a URL field mutate. + * @return value or {@code null} for none + */ + public java.lang.String getUrlFieldError() { + return urlFieldError; + } + + /** + * An error with a URL field mutate. + * @param urlFieldError urlFieldError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setUrlFieldError(java.lang.String urlFieldError) { + this.urlFieldError = urlFieldError; + return this; + } + + /** + * The reasons for the user data error. + * @return value or {@code null} for none + */ + public java.lang.String getUserDataError() { + return userDataError; + } + + /** + * The reasons for the user data error. + * @param userDataError userDataError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setUserDataError(java.lang.String userDataError) { + this.userDataError = userDataError; + return this; + } + + /** + * The reasons for a user list customer type error. + * @return value or {@code null} for none + */ + public java.lang.String getUserListCustomerTypeError() { + return userListCustomerTypeError; + } + + /** + * The reasons for a user list customer type error. + * @param userListCustomerTypeError userListCustomerTypeError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setUserListCustomerTypeError(java.lang.String userListCustomerTypeError) { + this.userListCustomerTypeError = userListCustomerTypeError; + return this; + } + + /** + * The reasons for the user list error + * @return value or {@code null} for none + */ + public java.lang.String getUserListError() { + return userListError; + } + + /** + * The reasons for the user list error + * @param userListError userListError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setUserListError(java.lang.String userListError) { + this.userListError = userListError; + return this; + } + + /** + * An error with a Video Campaign mutate. + * @return value or {@code null} for none + */ + public java.lang.String getVideoCampaignError() { + return videoCampaignError; + } + + /** + * An error with a Video Campaign mutate. + * @param videoCampaignError videoCampaignError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setVideoCampaignError(java.lang.String videoCampaignError) { + this.videoCampaignError = videoCampaignError; + return this; + } + + /** + * The reasons for YouTube video registration errors. + * @return value or {@code null} for none + */ + public java.lang.String getYoutubeVideoRegistrationError() { + return youtubeVideoRegistrationError; + } + + /** + * The reasons for YouTube video registration errors. + * @param youtubeVideoRegistrationError youtubeVideoRegistrationError or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode setYoutubeVideoRegistrationError(java.lang.String youtubeVideoRegistrationError) { + this.youtubeVideoRegistrationError = youtubeVideoRegistrationError; + return this; + } + + @Override + public GoogleAdsSearchads360V23ErrorsErrorCode set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ErrorsErrorCode) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ErrorsErrorCode clone() { + return (GoogleAdsSearchads360V23ErrorsErrorCode) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ErrorsErrorDetails.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ErrorsErrorDetails.java new file mode 100644 index 00000000000..7b426b40d20 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ErrorsErrorDetails.java @@ -0,0 +1,193 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Additional error details. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ErrorsErrorDetails extends com.google.api.client.json.GenericJson { + + /** + * Details for a budget below per-day minimum error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ErrorsBudgetPerDayMinimumErrorDetails budgetPerDayMinimumErrorDetails; + + /** + * Describes policy violation findings. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ErrorsPolicyFindingDetails policyFindingDetails; + + /** + * Describes an ad policy violation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ErrorsPolicyViolationDetails policyViolationDetails; + + /** + * Details on the quota error, including the scope (account or developer), the rate bucket name + * and the retry delay. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ErrorsQuotaErrorDetails quotaErrorDetails; + + /** + * Details for a resource count limit exceeded error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ErrorsResourceCountDetails resourceCountDetails; + + /** + * The error code that should have been returned, but wasn't. This is used when the error code is + * not published in the client specified version. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String unpublishedErrorCode; + + /** + * Details for a budget below per-day minimum error. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsBudgetPerDayMinimumErrorDetails getBudgetPerDayMinimumErrorDetails() { + return budgetPerDayMinimumErrorDetails; + } + + /** + * Details for a budget below per-day minimum error. + * @param budgetPerDayMinimumErrorDetails budgetPerDayMinimumErrorDetails or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorDetails setBudgetPerDayMinimumErrorDetails(GoogleAdsSearchads360V23ErrorsBudgetPerDayMinimumErrorDetails budgetPerDayMinimumErrorDetails) { + this.budgetPerDayMinimumErrorDetails = budgetPerDayMinimumErrorDetails; + return this; + } + + /** + * Describes policy violation findings. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsPolicyFindingDetails getPolicyFindingDetails() { + return policyFindingDetails; + } + + /** + * Describes policy violation findings. + * @param policyFindingDetails policyFindingDetails or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorDetails setPolicyFindingDetails(GoogleAdsSearchads360V23ErrorsPolicyFindingDetails policyFindingDetails) { + this.policyFindingDetails = policyFindingDetails; + return this; + } + + /** + * Describes an ad policy violation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsPolicyViolationDetails getPolicyViolationDetails() { + return policyViolationDetails; + } + + /** + * Describes an ad policy violation. + * @param policyViolationDetails policyViolationDetails or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorDetails setPolicyViolationDetails(GoogleAdsSearchads360V23ErrorsPolicyViolationDetails policyViolationDetails) { + this.policyViolationDetails = policyViolationDetails; + return this; + } + + /** + * Details on the quota error, including the scope (account or developer), the rate bucket name + * and the retry delay. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsQuotaErrorDetails getQuotaErrorDetails() { + return quotaErrorDetails; + } + + /** + * Details on the quota error, including the scope (account or developer), the rate bucket name + * and the retry delay. + * @param quotaErrorDetails quotaErrorDetails or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorDetails setQuotaErrorDetails(GoogleAdsSearchads360V23ErrorsQuotaErrorDetails quotaErrorDetails) { + this.quotaErrorDetails = quotaErrorDetails; + return this; + } + + /** + * Details for a resource count limit exceeded error. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsResourceCountDetails getResourceCountDetails() { + return resourceCountDetails; + } + + /** + * Details for a resource count limit exceeded error. + * @param resourceCountDetails resourceCountDetails or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorDetails setResourceCountDetails(GoogleAdsSearchads360V23ErrorsResourceCountDetails resourceCountDetails) { + this.resourceCountDetails = resourceCountDetails; + return this; + } + + /** + * The error code that should have been returned, but wasn't. This is used when the error code is + * not published in the client specified version. + * @return value or {@code null} for none + */ + public java.lang.String getUnpublishedErrorCode() { + return unpublishedErrorCode; + } + + /** + * The error code that should have been returned, but wasn't. This is used when the error code is + * not published in the client specified version. + * @param unpublishedErrorCode unpublishedErrorCode or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorDetails setUnpublishedErrorCode(java.lang.String unpublishedErrorCode) { + this.unpublishedErrorCode = unpublishedErrorCode; + return this; + } + + @Override + public GoogleAdsSearchads360V23ErrorsErrorDetails set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ErrorsErrorDetails) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ErrorsErrorDetails clone() { + return (GoogleAdsSearchads360V23ErrorsErrorDetails) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ErrorsErrorLocation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ErrorsErrorLocation.java new file mode 100644 index 00000000000..c09abb10723 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ErrorsErrorLocation.java @@ -0,0 +1,73 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Describes the part of the request proto that caused the error. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ErrorsErrorLocation extends com.google.api.client.json.GenericJson { + + /** + * A field path that indicates which field was invalid in the request. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List fieldPathElements; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ErrorsErrorLocationFieldPathElement used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ErrorsErrorLocationFieldPathElement.class); + } + + /** + * A field path that indicates which field was invalid in the request. + * @return value or {@code null} for none + */ + public java.util.List getFieldPathElements() { + return fieldPathElements; + } + + /** + * A field path that indicates which field was invalid in the request. + * @param fieldPathElements fieldPathElements or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorLocation setFieldPathElements(java.util.List fieldPathElements) { + this.fieldPathElements = fieldPathElements; + return this; + } + + @Override + public GoogleAdsSearchads360V23ErrorsErrorLocation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ErrorsErrorLocation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ErrorsErrorLocation clone() { + return (GoogleAdsSearchads360V23ErrorsErrorLocation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ErrorsErrorLocationFieldPathElement.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ErrorsErrorLocationFieldPathElement.java new file mode 100644 index 00000000000..7bbaba82bf4 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ErrorsErrorLocationFieldPathElement.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A part of a field path. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ErrorsErrorLocationFieldPathElement extends com.google.api.client.json.GenericJson { + + /** + * The name of a field or a oneof + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String fieldName; + + /** + * If field_name is a repeated field, this is the element that failed + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer index; + + /** + * The name of a field or a oneof + * @return value or {@code null} for none + */ + public java.lang.String getFieldName() { + return fieldName; + } + + /** + * The name of a field or a oneof + * @param fieldName fieldName or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorLocationFieldPathElement setFieldName(java.lang.String fieldName) { + this.fieldName = fieldName; + return this; + } + + /** + * If field_name is a repeated field, this is the element that failed + * @return value or {@code null} for none + */ + public java.lang.Integer getIndex() { + return index; + } + + /** + * If field_name is a repeated field, this is the element that failed + * @param index index or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorLocationFieldPathElement setIndex(java.lang.Integer index) { + this.index = index; + return this; + } + + @Override + public GoogleAdsSearchads360V23ErrorsErrorLocationFieldPathElement set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ErrorsErrorLocationFieldPathElement) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ErrorsErrorLocationFieldPathElement clone() { + return (GoogleAdsSearchads360V23ErrorsErrorLocationFieldPathElement) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ErrorsPolicyFindingDetails.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ErrorsPolicyFindingDetails.java new file mode 100644 index 00000000000..6fe454159b6 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ErrorsPolicyFindingDetails.java @@ -0,0 +1,80 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Error returned as part of a mutate response. This error indicates one or more policy findings in + * the fields of a resource. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ErrorsPolicyFindingDetails extends com.google.api.client.json.GenericJson { + + /** + * The list of policy topics for the resource. Contains the PROHIBITED or FULLY_LIMITED policy + * topic entries that prevented the resource from being saved (among any other entries the + * resource may also have). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List policyTopicEntries; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonPolicyTopicEntry used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonPolicyTopicEntry.class); + } + + /** + * The list of policy topics for the resource. Contains the PROHIBITED or FULLY_LIMITED policy + * topic entries that prevented the resource from being saved (among any other entries the + * resource may also have). + * @return value or {@code null} for none + */ + public java.util.List getPolicyTopicEntries() { + return policyTopicEntries; + } + + /** + * The list of policy topics for the resource. Contains the PROHIBITED or FULLY_LIMITED policy + * topic entries that prevented the resource from being saved (among any other entries the + * resource may also have). + * @param policyTopicEntries policyTopicEntries or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsPolicyFindingDetails setPolicyTopicEntries(java.util.List policyTopicEntries) { + this.policyTopicEntries = policyTopicEntries; + return this; + } + + @Override + public GoogleAdsSearchads360V23ErrorsPolicyFindingDetails set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ErrorsPolicyFindingDetails) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ErrorsPolicyFindingDetails clone() { + return (GoogleAdsSearchads360V23ErrorsPolicyFindingDetails) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ErrorsPolicyViolationDetails.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ErrorsPolicyViolationDetails.java new file mode 100644 index 00000000000..fd0615927fb --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ErrorsPolicyViolationDetails.java @@ -0,0 +1,143 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Error returned as part of a mutate response. This error indicates single policy violation by some + * text in one of the fields. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ErrorsPolicyViolationDetails extends com.google.api.client.json.GenericJson { + + /** + * Human readable description of policy violation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String externalPolicyDescription; + + /** + * Human readable name of the policy. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String externalPolicyName; + + /** + * Whether user can file an exemption request for this violation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean isExemptible; + + /** + * Unique identifier for this violation. If policy is exemptible, this key may be used to request + * exemption. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonPolicyViolationKey key; + + /** + * Human readable description of policy violation. + * @return value or {@code null} for none + */ + public java.lang.String getExternalPolicyDescription() { + return externalPolicyDescription; + } + + /** + * Human readable description of policy violation. + * @param externalPolicyDescription externalPolicyDescription or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsPolicyViolationDetails setExternalPolicyDescription(java.lang.String externalPolicyDescription) { + this.externalPolicyDescription = externalPolicyDescription; + return this; + } + + /** + * Human readable name of the policy. + * @return value or {@code null} for none + */ + public java.lang.String getExternalPolicyName() { + return externalPolicyName; + } + + /** + * Human readable name of the policy. + * @param externalPolicyName externalPolicyName or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsPolicyViolationDetails setExternalPolicyName(java.lang.String externalPolicyName) { + this.externalPolicyName = externalPolicyName; + return this; + } + + /** + * Whether user can file an exemption request for this violation. + * @return value or {@code null} for none + */ + public java.lang.Boolean getIsExemptible() { + return isExemptible; + } + + /** + * Whether user can file an exemption request for this violation. + * @param isExemptible isExemptible or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsPolicyViolationDetails setIsExemptible(java.lang.Boolean isExemptible) { + this.isExemptible = isExemptible; + return this; + } + + /** + * Unique identifier for this violation. If policy is exemptible, this key may be used to request + * exemption. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPolicyViolationKey getKey() { + return key; + } + + /** + * Unique identifier for this violation. If policy is exemptible, this key may be used to request + * exemption. + * @param key key or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsPolicyViolationDetails setKey(GoogleAdsSearchads360V23CommonPolicyViolationKey key) { + this.key = key; + return this; + } + + @Override + public GoogleAdsSearchads360V23ErrorsPolicyViolationDetails set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ErrorsPolicyViolationDetails) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ErrorsPolicyViolationDetails clone() { + return (GoogleAdsSearchads360V23ErrorsPolicyViolationDetails) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ErrorsQuotaErrorDetails.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ErrorsQuotaErrorDetails.java new file mode 100644 index 00000000000..ebe10dc3544 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ErrorsQuotaErrorDetails.java @@ -0,0 +1,118 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Additional quota error details when there is QuotaError. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ErrorsQuotaErrorDetails extends com.google.api.client.json.GenericJson { + + /** + * The high level description of the quota bucket. Examples are "Get requests for standard access" + * or "Requests per account". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String rateName; + + /** + * The rate scope of the quota limit. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String rateScope; + + /** + * Backoff period that customers should wait before sending next request. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String retryDelay; + + /** + * The high level description of the quota bucket. Examples are "Get requests for standard access" + * or "Requests per account". + * @return value or {@code null} for none + */ + public java.lang.String getRateName() { + return rateName; + } + + /** + * The high level description of the quota bucket. Examples are "Get requests for standard access" + * or "Requests per account". + * @param rateName rateName or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsQuotaErrorDetails setRateName(java.lang.String rateName) { + this.rateName = rateName; + return this; + } + + /** + * The rate scope of the quota limit. + * @return value or {@code null} for none + */ + public java.lang.String getRateScope() { + return rateScope; + } + + /** + * The rate scope of the quota limit. + * @param rateScope rateScope or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsQuotaErrorDetails setRateScope(java.lang.String rateScope) { + this.rateScope = rateScope; + return this; + } + + /** + * Backoff period that customers should wait before sending next request. + * @return value or {@code null} for none + */ + public String getRetryDelay() { + return retryDelay; + } + + /** + * Backoff period that customers should wait before sending next request. + * @param retryDelay retryDelay or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsQuotaErrorDetails setRetryDelay(String retryDelay) { + this.retryDelay = retryDelay; + return this; + } + + @Override + public GoogleAdsSearchads360V23ErrorsQuotaErrorDetails set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ErrorsQuotaErrorDetails) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ErrorsQuotaErrorDetails clone() { + return (GoogleAdsSearchads360V23ErrorsQuotaErrorDetails) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ErrorsResourceCountDetails.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ErrorsResourceCountDetails.java new file mode 100644 index 00000000000..69946252325 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ErrorsResourceCountDetails.java @@ -0,0 +1,166 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Error details returned when an resource count limit was exceeded. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ErrorsResourceCountDetails extends com.google.api.client.json.GenericJson { + + /** + * The ID of the resource whose limit was exceeded. External customer ID if the limit is for a + * customer. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String enclosingId; + + /** + * The name of the resource ( etc.) whose limit was exceeded. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String enclosingResource; + + /** + * The count of existing entities. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer existingCount; + + /** + * The limit which was exceeded. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer limit; + + /** + * The resource limit type which was exceeded. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String limitType; + + /** + * The ID of the resource whose limit was exceeded. External customer ID if the limit is for a + * customer. + * @return value or {@code null} for none + */ + public java.lang.String getEnclosingId() { + return enclosingId; + } + + /** + * The ID of the resource whose limit was exceeded. External customer ID if the limit is for a + * customer. + * @param enclosingId enclosingId or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsResourceCountDetails setEnclosingId(java.lang.String enclosingId) { + this.enclosingId = enclosingId; + return this; + } + + /** + * The name of the resource ( etc.) whose limit was exceeded. + * @return value or {@code null} for none + */ + public java.lang.String getEnclosingResource() { + return enclosingResource; + } + + /** + * The name of the resource ( etc.) whose limit was exceeded. + * @param enclosingResource enclosingResource or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsResourceCountDetails setEnclosingResource(java.lang.String enclosingResource) { + this.enclosingResource = enclosingResource; + return this; + } + + /** + * The count of existing entities. + * @return value or {@code null} for none + */ + public java.lang.Integer getExistingCount() { + return existingCount; + } + + /** + * The count of existing entities. + * @param existingCount existingCount or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsResourceCountDetails setExistingCount(java.lang.Integer existingCount) { + this.existingCount = existingCount; + return this; + } + + /** + * The limit which was exceeded. + * @return value or {@code null} for none + */ + public java.lang.Integer getLimit() { + return limit; + } + + /** + * The limit which was exceeded. + * @param limit limit or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsResourceCountDetails setLimit(java.lang.Integer limit) { + this.limit = limit; + return this; + } + + /** + * The resource limit type which was exceeded. + * @return value or {@code null} for none + */ + public java.lang.String getLimitType() { + return limitType; + } + + /** + * The resource limit type which was exceeded. + * @param limitType limitType or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsResourceCountDetails setLimitType(java.lang.String limitType) { + this.limitType = limitType; + return this; + } + + @Override + public GoogleAdsSearchads360V23ErrorsResourceCountDetails set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ErrorsResourceCountDetails) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ErrorsResourceCountDetails clone() { + return (GoogleAdsSearchads360V23ErrorsResourceCountDetails) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ErrorsSearchAds360Error.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ErrorsSearchAds360Error.java new file mode 100644 index 00000000000..f880a96c29a --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ErrorsSearchAds360Error.java @@ -0,0 +1,166 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Search Ads 360-specific error. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ErrorsSearchAds360Error extends com.google.api.client.json.GenericJson { + + /** + * Additional error details, which are returned by certain error codes. Most error codes do not + * include details. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ErrorsErrorDetails details; + + /** + * An enum value that indicates which error occurred. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ErrorsErrorCode errorCode; + + /** + * Describes the part of the request proto that caused the error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ErrorsErrorLocation location; + + /** + * A human-readable description of the error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String message; + + /** + * The value that triggered the error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonValue trigger; + + /** + * Additional error details, which are returned by certain error codes. Most error codes do not + * include details. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorDetails getDetails() { + return details; + } + + /** + * Additional error details, which are returned by certain error codes. Most error codes do not + * include details. + * @param details details or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsSearchAds360Error setDetails(GoogleAdsSearchads360V23ErrorsErrorDetails details) { + this.details = details; + return this; + } + + /** + * An enum value that indicates which error occurred. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorCode getErrorCode() { + return errorCode; + } + + /** + * An enum value that indicates which error occurred. + * @param errorCode errorCode or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsSearchAds360Error setErrorCode(GoogleAdsSearchads360V23ErrorsErrorCode errorCode) { + this.errorCode = errorCode; + return this; + } + + /** + * Describes the part of the request proto that caused the error. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsErrorLocation getLocation() { + return location; + } + + /** + * Describes the part of the request proto that caused the error. + * @param location location or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsSearchAds360Error setLocation(GoogleAdsSearchads360V23ErrorsErrorLocation location) { + this.location = location; + return this; + } + + /** + * A human-readable description of the error. + * @return value or {@code null} for none + */ + public java.lang.String getMessage() { + return message; + } + + /** + * A human-readable description of the error. + * @param message message or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsSearchAds360Error setMessage(java.lang.String message) { + this.message = message; + return this; + } + + /** + * The value that triggered the error. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonValue getTrigger() { + return trigger; + } + + /** + * The value that triggered the error. + * @param trigger trigger or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsSearchAds360Error setTrigger(GoogleAdsSearchads360V23CommonValue trigger) { + this.trigger = trigger; + return this; + } + + @Override + public GoogleAdsSearchads360V23ErrorsSearchAds360Error set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ErrorsSearchAds360Error) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ErrorsSearchAds360Error clone() { + return (GoogleAdsSearchads360V23ErrorsSearchAds360Error) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ErrorsSearchAds360Failure.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ErrorsSearchAds360Failure.java new file mode 100644 index 00000000000..717aab7bcc7 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ErrorsSearchAds360Failure.java @@ -0,0 +1,98 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Describes how a Search Ads 360 API call failed. It's returned inside google.rpc.Status.details + * when a call fails. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ErrorsSearchAds360Failure extends com.google.api.client.json.GenericJson { + + /** + * The list of errors that occurred. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List errors; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ErrorsSearchAds360Error used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ErrorsSearchAds360Error.class); + } + + /** + * The unique ID of the request that is used for debugging purposes. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String requestId; + + /** + * The list of errors that occurred. + * @return value or {@code null} for none + */ + public java.util.List getErrors() { + return errors; + } + + /** + * The list of errors that occurred. + * @param errors errors or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsSearchAds360Failure setErrors(java.util.List errors) { + this.errors = errors; + return this; + } + + /** + * The unique ID of the request that is used for debugging purposes. + * @return value or {@code null} for none + */ + public java.lang.String getRequestId() { + return requestId; + } + + /** + * The unique ID of the request that is used for debugging purposes. + * @param requestId requestId or {@code null} for none + */ + public GoogleAdsSearchads360V23ErrorsSearchAds360Failure setRequestId(java.lang.String requestId) { + this.requestId = requestId; + return this; + } + + @Override + public GoogleAdsSearchads360V23ErrorsSearchAds360Failure set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ErrorsSearchAds360Failure) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ErrorsSearchAds360Failure clone() { + return (GoogleAdsSearchads360V23ErrorsSearchAds360Failure) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategy.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategy.java new file mode 100644 index 00000000000..a8fed8b1908 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategy.java @@ -0,0 +1,358 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Represents a view of BiddingStrategies owned by and shared with the customer. In contrast to + * BiddingStrategy, this resource includes strategies owned by managers of the customer and shared + * with this customer - in addition to strategies owned by this customer. This resource does not + * provide metrics and only exposes a limited subset of the BiddingStrategy attributes. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategy extends com.google.api.client.json.GenericJson { + + /** + * Output only. The ID of the bidding strategy. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long id; + + /** + * Output only. An automated bidding strategy to help get the most conversion value for your + * campaigns while spending your budget. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategyMaximizeConversionValue maximizeConversionValue; + + /** + * Output only. An automated bidding strategy to help get the most conversions for your campaigns + * while spending your budget. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategyMaximizeConversions maximizeConversions; + + /** + * Output only. The name of the bidding strategy. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * Output only. The ID of the Customer which owns the bidding strategy. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long ownerCustomerId; + + /** + * Output only. descriptive_name of the Customer which owns the bidding strategy. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String ownerDescriptiveName; + + /** + * Output only. The resource name of the accessible bidding strategy. AccessibleBiddingStrategy + * resource names have the form: + * `customers/{customer_id}/accessibleBiddingStrategies/{bidding_strategy_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. A bidding strategy that sets bids to help get as many conversions as possible at + * the target cost-per-acquisition (CPA) you set. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategyTargetCpa targetCpa; + + /** + * Output only. A bidding strategy that automatically optimizes towards a chosen percentage of + * impressions. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategyTargetImpressionShare targetImpressionShare; + + /** + * Output only. A bidding strategy that helps you maximize revenue while averaging a specific + * target Return On Ad Spend (ROAS). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategyTargetRoas targetRoas; + + /** + * Output only. A bid strategy that sets your bids to help get as many clicks as possible within + * your budget. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategyTargetSpend targetSpend; + + /** + * Output only. The type of the bidding strategy. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String type; + + /** + * Output only. The ID of the bidding strategy. + * @return value or {@code null} for none + */ + public java.lang.Long getId() { + return id; + } + + /** + * Output only. The ID of the bidding strategy. + * @param id id or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategy setId(java.lang.Long id) { + this.id = id; + return this; + } + + /** + * Output only. An automated bidding strategy to help get the most conversion value for your + * campaigns while spending your budget. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategyMaximizeConversionValue getMaximizeConversionValue() { + return maximizeConversionValue; + } + + /** + * Output only. An automated bidding strategy to help get the most conversion value for your + * campaigns while spending your budget. + * @param maximizeConversionValue maximizeConversionValue or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategy setMaximizeConversionValue(GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategyMaximizeConversionValue maximizeConversionValue) { + this.maximizeConversionValue = maximizeConversionValue; + return this; + } + + /** + * Output only. An automated bidding strategy to help get the most conversions for your campaigns + * while spending your budget. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategyMaximizeConversions getMaximizeConversions() { + return maximizeConversions; + } + + /** + * Output only. An automated bidding strategy to help get the most conversions for your campaigns + * while spending your budget. + * @param maximizeConversions maximizeConversions or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategy setMaximizeConversions(GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategyMaximizeConversions maximizeConversions) { + this.maximizeConversions = maximizeConversions; + return this; + } + + /** + * Output only. The name of the bidding strategy. + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * Output only. The name of the bidding strategy. + * @param name name or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategy setName(java.lang.String name) { + this.name = name; + return this; + } + + /** + * Output only. The ID of the Customer which owns the bidding strategy. + * @return value or {@code null} for none + */ + public java.lang.Long getOwnerCustomerId() { + return ownerCustomerId; + } + + /** + * Output only. The ID of the Customer which owns the bidding strategy. + * @param ownerCustomerId ownerCustomerId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategy setOwnerCustomerId(java.lang.Long ownerCustomerId) { + this.ownerCustomerId = ownerCustomerId; + return this; + } + + /** + * Output only. descriptive_name of the Customer which owns the bidding strategy. + * @return value or {@code null} for none + */ + public java.lang.String getOwnerDescriptiveName() { + return ownerDescriptiveName; + } + + /** + * Output only. descriptive_name of the Customer which owns the bidding strategy. + * @param ownerDescriptiveName ownerDescriptiveName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategy setOwnerDescriptiveName(java.lang.String ownerDescriptiveName) { + this.ownerDescriptiveName = ownerDescriptiveName; + return this; + } + + /** + * Output only. The resource name of the accessible bidding strategy. AccessibleBiddingStrategy + * resource names have the form: + * `customers/{customer_id}/accessibleBiddingStrategies/{bidding_strategy_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Output only. The resource name of the accessible bidding strategy. AccessibleBiddingStrategy + * resource names have the form: + * `customers/{customer_id}/accessibleBiddingStrategies/{bidding_strategy_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategy setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Output only. A bidding strategy that sets bids to help get as many conversions as possible at + * the target cost-per-acquisition (CPA) you set. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategyTargetCpa getTargetCpa() { + return targetCpa; + } + + /** + * Output only. A bidding strategy that sets bids to help get as many conversions as possible at + * the target cost-per-acquisition (CPA) you set. + * @param targetCpa targetCpa or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategy setTargetCpa(GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategyTargetCpa targetCpa) { + this.targetCpa = targetCpa; + return this; + } + + /** + * Output only. A bidding strategy that automatically optimizes towards a chosen percentage of + * impressions. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategyTargetImpressionShare getTargetImpressionShare() { + return targetImpressionShare; + } + + /** + * Output only. A bidding strategy that automatically optimizes towards a chosen percentage of + * impressions. + * @param targetImpressionShare targetImpressionShare or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategy setTargetImpressionShare(GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategyTargetImpressionShare targetImpressionShare) { + this.targetImpressionShare = targetImpressionShare; + return this; + } + + /** + * Output only. A bidding strategy that helps you maximize revenue while averaging a specific + * target Return On Ad Spend (ROAS). + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategyTargetRoas getTargetRoas() { + return targetRoas; + } + + /** + * Output only. A bidding strategy that helps you maximize revenue while averaging a specific + * target Return On Ad Spend (ROAS). + * @param targetRoas targetRoas or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategy setTargetRoas(GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategyTargetRoas targetRoas) { + this.targetRoas = targetRoas; + return this; + } + + /** + * Output only. A bid strategy that sets your bids to help get as many clicks as possible within + * your budget. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategyTargetSpend getTargetSpend() { + return targetSpend; + } + + /** + * Output only. A bid strategy that sets your bids to help get as many clicks as possible within + * your budget. + * @param targetSpend targetSpend or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategy setTargetSpend(GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategyTargetSpend targetSpend) { + this.targetSpend = targetSpend; + return this; + } + + /** + * Output only. The type of the bidding strategy. + * @return value or {@code null} for none + */ + public java.lang.String getType() { + return type; + } + + /** + * Output only. The type of the bidding strategy. + * @param type type or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategy setType(java.lang.String type) { + this.type = type; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategy set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategy) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategy clone() { + return (GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategy) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategyMaximizeConversionValue.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategyMaximizeConversionValue.java new file mode 100644 index 00000000000..e87c9ea2454 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategyMaximizeConversionValue.java @@ -0,0 +1,77 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * An automated bidding strategy to help get the most conversion value for your campaigns while + * spending your budget. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategyMaximizeConversionValue extends com.google.api.client.json.GenericJson { + + /** + * Output only. The target return on ad spend (ROAS) option. If set, the bid strategy will + * maximize revenue while averaging the target return on ad spend. If the target ROAS is high, the + * bid strategy may not be able to spend the full budget. If the target ROAS is not set, the bid + * strategy will aim to achieve the highest possible ROAS for the budget. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double targetRoas; + + /** + * Output only. The target return on ad spend (ROAS) option. If set, the bid strategy will + * maximize revenue while averaging the target return on ad spend. If the target ROAS is high, the + * bid strategy may not be able to spend the full budget. If the target ROAS is not set, the bid + * strategy will aim to achieve the highest possible ROAS for the budget. + * @return value or {@code null} for none + */ + public java.lang.Double getTargetRoas() { + return targetRoas; + } + + /** + * Output only. The target return on ad spend (ROAS) option. If set, the bid strategy will + * maximize revenue while averaging the target return on ad spend. If the target ROAS is high, the + * bid strategy may not be able to spend the full budget. If the target ROAS is not set, the bid + * strategy will aim to achieve the highest possible ROAS for the budget. + * @param targetRoas targetRoas or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategyMaximizeConversionValue setTargetRoas(java.lang.Double targetRoas) { + this.targetRoas = targetRoas; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategyMaximizeConversionValue set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategyMaximizeConversionValue) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategyMaximizeConversionValue clone() { + return (GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategyMaximizeConversionValue) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategyMaximizeConversions.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategyMaximizeConversions.java new file mode 100644 index 00000000000..069e8e44b9a --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategyMaximizeConversions.java @@ -0,0 +1,71 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * An automated bidding strategy to help get the most conversions for your campaigns while spending + * your budget. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategyMaximizeConversions extends com.google.api.client.json.GenericJson { + + /** + * Output only. The target cost per acquisition (CPA) option. This is the average amount that you + * would like to spend per acquisition. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long targetCpaMicros; + + /** + * Output only. The target cost per acquisition (CPA) option. This is the average amount that you + * would like to spend per acquisition. + * @return value or {@code null} for none + */ + public java.lang.Long getTargetCpaMicros() { + return targetCpaMicros; + } + + /** + * Output only. The target cost per acquisition (CPA) option. This is the average amount that you + * would like to spend per acquisition. + * @param targetCpaMicros targetCpaMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategyMaximizeConversions setTargetCpaMicros(java.lang.Long targetCpaMicros) { + this.targetCpaMicros = targetCpaMicros; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategyMaximizeConversions set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategyMaximizeConversions) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategyMaximizeConversions clone() { + return (GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategyMaximizeConversions) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategyTargetCpa.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategyTargetCpa.java new file mode 100644 index 00000000000..e1ffd374a9a --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategyTargetCpa.java @@ -0,0 +1,71 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * An automated bid strategy that sets bids to help get as many conversions as possible at the + * target cost-per-acquisition (CPA) you set. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategyTargetCpa extends com.google.api.client.json.GenericJson { + + /** + * Output only. Average CPA target. This target should be greater than or equal to minimum + * billable unit based on the currency for the account. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long targetCpaMicros; + + /** + * Output only. Average CPA target. This target should be greater than or equal to minimum + * billable unit based on the currency for the account. + * @return value or {@code null} for none + */ + public java.lang.Long getTargetCpaMicros() { + return targetCpaMicros; + } + + /** + * Output only. Average CPA target. This target should be greater than or equal to minimum + * billable unit based on the currency for the account. + * @param targetCpaMicros targetCpaMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategyTargetCpa setTargetCpaMicros(java.lang.Long targetCpaMicros) { + this.targetCpaMicros = targetCpaMicros; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategyTargetCpa set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategyTargetCpa) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategyTargetCpa clone() { + return (GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategyTargetCpa) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategyTargetImpressionShare.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategyTargetImpressionShare.java new file mode 100644 index 00000000000..9aa73311b36 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategyTargetImpressionShare.java @@ -0,0 +1,122 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * An automated bidding strategy that sets bids so that a certain percentage of search ads are shown + * at the top of the first page (or other targeted location). + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategyTargetImpressionShare extends com.google.api.client.json.GenericJson { + + /** + * Output only. The highest CPC bid the automated bidding system is permitted to specify. This is + * a required field entered by the advertiser that sets the ceiling and specified in local micros. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long cpcBidCeilingMicros; + + /** + * Output only. The targeted location on the search results page. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String location; + + /** + * The chosen fraction of ads to be shown in the targeted location in micros. For example, 1% + * equals 10,000. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long locationFractionMicros; + + /** + * Output only. The highest CPC bid the automated bidding system is permitted to specify. This is + * a required field entered by the advertiser that sets the ceiling and specified in local micros. + * @return value or {@code null} for none + */ + public java.lang.Long getCpcBidCeilingMicros() { + return cpcBidCeilingMicros; + } + + /** + * Output only. The highest CPC bid the automated bidding system is permitted to specify. This is + * a required field entered by the advertiser that sets the ceiling and specified in local micros. + * @param cpcBidCeilingMicros cpcBidCeilingMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategyTargetImpressionShare setCpcBidCeilingMicros(java.lang.Long cpcBidCeilingMicros) { + this.cpcBidCeilingMicros = cpcBidCeilingMicros; + return this; + } + + /** + * Output only. The targeted location on the search results page. + * @return value or {@code null} for none + */ + public java.lang.String getLocation() { + return location; + } + + /** + * Output only. The targeted location on the search results page. + * @param location location or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategyTargetImpressionShare setLocation(java.lang.String location) { + this.location = location; + return this; + } + + /** + * The chosen fraction of ads to be shown in the targeted location in micros. For example, 1% + * equals 10,000. + * @return value or {@code null} for none + */ + public java.lang.Long getLocationFractionMicros() { + return locationFractionMicros; + } + + /** + * The chosen fraction of ads to be shown in the targeted location in micros. For example, 1% + * equals 10,000. + * @param locationFractionMicros locationFractionMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategyTargetImpressionShare setLocationFractionMicros(java.lang.Long locationFractionMicros) { + this.locationFractionMicros = locationFractionMicros; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategyTargetImpressionShare set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategyTargetImpressionShare) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategyTargetImpressionShare clone() { + return (GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategyTargetImpressionShare) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategyTargetRoas.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategyTargetRoas.java new file mode 100644 index 00000000000..b5a98b49709 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategyTargetRoas.java @@ -0,0 +1,68 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * An automated bidding strategy that helps you maximize revenue while averaging a specific target + * return on ad spend (ROAS). + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategyTargetRoas extends com.google.api.client.json.GenericJson { + + /** + * Output only. The chosen revenue (based on conversion data) per unit of spend. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double targetRoas; + + /** + * Output only. The chosen revenue (based on conversion data) per unit of spend. + * @return value or {@code null} for none + */ + public java.lang.Double getTargetRoas() { + return targetRoas; + } + + /** + * Output only. The chosen revenue (based on conversion data) per unit of spend. + * @param targetRoas targetRoas or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategyTargetRoas setTargetRoas(java.lang.Double targetRoas) { + this.targetRoas = targetRoas; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategyTargetRoas set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategyTargetRoas) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategyTargetRoas clone() { + return (GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategyTargetRoas) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategyTargetSpend.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategyTargetSpend.java new file mode 100644 index 00000000000..b1aa3271152 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategyTargetSpend.java @@ -0,0 +1,107 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * An automated bid strategy that sets your bids to help get as many clicks as possible within your + * budget. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategyTargetSpend extends com.google.api.client.json.GenericJson { + + /** + * Output only. Maximum bid limit that can be set by the bid strategy. The limit applies to all + * keywords managed by the strategy. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long cpcBidCeilingMicros; + + /** + * Output only. The spend target under which to maximize clicks. A TargetSpend bidder will attempt + * to spend the smaller of this value or the natural throttling spend amount. If not specified, + * the budget is used as the spend target. This field is deprecated and should no longer be used. + * See https://ads-developers.googleblog.com/2020/05/reminder-about-sunset-creation-of.html for + * details. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long targetSpendMicros; + + /** + * Output only. Maximum bid limit that can be set by the bid strategy. The limit applies to all + * keywords managed by the strategy. + * @return value or {@code null} for none + */ + public java.lang.Long getCpcBidCeilingMicros() { + return cpcBidCeilingMicros; + } + + /** + * Output only. Maximum bid limit that can be set by the bid strategy. The limit applies to all + * keywords managed by the strategy. + * @param cpcBidCeilingMicros cpcBidCeilingMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategyTargetSpend setCpcBidCeilingMicros(java.lang.Long cpcBidCeilingMicros) { + this.cpcBidCeilingMicros = cpcBidCeilingMicros; + return this; + } + + /** + * Output only. The spend target under which to maximize clicks. A TargetSpend bidder will attempt + * to spend the smaller of this value or the natural throttling spend amount. If not specified, + * the budget is used as the spend target. This field is deprecated and should no longer be used. + * See https://ads-developers.googleblog.com/2020/05/reminder-about-sunset-creation-of.html for + * details. + * @return value or {@code null} for none + */ + public java.lang.Long getTargetSpendMicros() { + return targetSpendMicros; + } + + /** + * Output only. The spend target under which to maximize clicks. A TargetSpend bidder will attempt + * to spend the smaller of this value or the natural throttling spend amount. If not specified, + * the budget is used as the spend target. This field is deprecated and should no longer be used. + * See https://ads-developers.googleblog.com/2020/05/reminder-about-sunset-creation-of.html for + * details. + * @param targetSpendMicros targetSpendMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategyTargetSpend setTargetSpendMicros(java.lang.Long targetSpendMicros) { + this.targetSpendMicros = targetSpendMicros; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategyTargetSpend set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategyTargetSpend) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategyTargetSpend clone() { + return (GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategyTargetSpend) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAccountBudget.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAccountBudget.java new file mode 100644 index 00000000000..44f3676124d --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAccountBudget.java @@ -0,0 +1,635 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * An account-level budget. It contains information about the budget itself, as well as the most + * recently approved changes to the budget and proposed changes that are pending approval. The + * proposed changes that are pending approval, if any, are found in 'pending_proposal'. Effective + * details about the budget are found in fields prefixed 'approved_', 'adjusted_' and those without + * a prefix. Since some effective details may differ from what the user had originally requested + * (for example, spending limit), these differences are juxtaposed through 'proposed_', 'approved_', + * and possibly 'adjusted_' fields. This resource is mutated using AccountBudgetProposal and cannot + * be mutated directly. A budget may have at most one pending proposal at any given time. It is read + * through pending_proposal. Once approved, a budget may be subject to adjustments, such as credit + * adjustments. Adjustments create differences between the 'approved' and 'adjusted' fields, which + * would otherwise be identical. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesAccountBudget extends com.google.api.client.json.GenericJson { + + /** + * Output only. The adjusted spending limit in micros. One million is equivalent to one unit. If + * the approved spending limit is finite, the adjusted spending limit may vary depending on the + * types of adjustments applied to this budget, if applicable. The different kinds of adjustments + * are described here: https://support.google.com/google-ads/answer/1704323 For example, a debit + * adjustment reduces how much the account is allowed to spend. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long adjustedSpendingLimitMicros; + + /** + * Output only. The adjusted spending limit as a well-defined type, for example, INFINITE. This + * will only be populated if the adjusted spending limit is INFINITE, which is guaranteed to be + * true if the approved spending limit is INFINITE. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String adjustedSpendingLimitType; + + /** + * Output only. The value of Ads that have been served, in micros. This includes overdelivery + * costs, in which case a credit might be automatically applied to the budget (see + * total_adjustments_micros). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long amountServedMicros; + + /** + * Output only. The approved end time in yyyy-MM-dd HH:mm:ss format. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String approvedEndDateTime; + + /** + * Output only. The approved end time as a well-defined type, for example, FOREVER. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String approvedEndTimeType; + + /** + * Output only. The approved spending limit in micros. One million is equivalent to one unit. This + * will only be populated if the proposed spending limit is finite, and will always be greater + * than or equal to the proposed spending limit. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long approvedSpendingLimitMicros; + + /** + * Output only. The approved spending limit as a well-defined type, for example, INFINITE. This + * will only be populated if the approved spending limit is INFINITE. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String approvedSpendingLimitType; + + /** + * Output only. The approved start time of the account-level budget in yyyy-MM-dd HH:mm:ss format. + * For example, if a new budget is approved after the proposed start time, the approved start time + * is the time of approval. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String approvedStartDateTime; + + /** + * Output only. The resource name of the billing setup associated with this account-level budget. + * BillingSetup resource names have the form: + * `customers/{customer_id}/billingSetups/{billing_setup_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String billingSetup; + + /** + * Output only. The ID of the account-level budget. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long id; + + /** + * Output only. The name of the account-level budget. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * Output only. Notes associated with the budget. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String notes; + + /** + * Output only. The pending proposal to modify this budget, if applicable. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAccountBudgetPendingAccountBudgetProposal pendingProposal; + + /** + * Output only. The proposed end time in yyyy-MM-dd HH:mm:ss format. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String proposedEndDateTime; + + /** + * Output only. The proposed end time as a well-defined type, for example, FOREVER. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String proposedEndTimeType; + + /** + * Output only. The proposed spending limit in micros. One million is equivalent to one unit. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long proposedSpendingLimitMicros; + + /** + * Output only. The proposed spending limit as a well-defined type, for example, INFINITE. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String proposedSpendingLimitType; + + /** + * Output only. The proposed start time of the account-level budget in yyyy-MM-dd HH:mm:ss format. + * If a start time type of NOW was proposed, this is the time of request. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String proposedStartDateTime; + + /** + * Output only. A purchase order number is a value that helps users reference this budget in their + * monthly invoices. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String purchaseOrderNumber; + + /** + * Output only. The resource name of the account-level budget. AccountBudget resource names have + * the form: `customers/{customer_id}/accountBudgets/{account_budget_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. The status of this account-level budget. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String status; + + /** + * Output only. The total adjustments amount. An example of an adjustment is courtesy credits. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long totalAdjustmentsMicros; + + /** + * Output only. The adjusted spending limit in micros. One million is equivalent to one unit. If + * the approved spending limit is finite, the adjusted spending limit may vary depending on the + * types of adjustments applied to this budget, if applicable. The different kinds of adjustments + * are described here: https://support.google.com/google-ads/answer/1704323 For example, a debit + * adjustment reduces how much the account is allowed to spend. + * @return value or {@code null} for none + */ + public java.lang.Long getAdjustedSpendingLimitMicros() { + return adjustedSpendingLimitMicros; + } + + /** + * Output only. The adjusted spending limit in micros. One million is equivalent to one unit. If + * the approved spending limit is finite, the adjusted spending limit may vary depending on the + * types of adjustments applied to this budget, if applicable. The different kinds of adjustments + * are described here: https://support.google.com/google-ads/answer/1704323 For example, a debit + * adjustment reduces how much the account is allowed to spend. + * @param adjustedSpendingLimitMicros adjustedSpendingLimitMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAccountBudget setAdjustedSpendingLimitMicros(java.lang.Long adjustedSpendingLimitMicros) { + this.adjustedSpendingLimitMicros = adjustedSpendingLimitMicros; + return this; + } + + /** + * Output only. The adjusted spending limit as a well-defined type, for example, INFINITE. This + * will only be populated if the adjusted spending limit is INFINITE, which is guaranteed to be + * true if the approved spending limit is INFINITE. + * @return value or {@code null} for none + */ + public java.lang.String getAdjustedSpendingLimitType() { + return adjustedSpendingLimitType; + } + + /** + * Output only. The adjusted spending limit as a well-defined type, for example, INFINITE. This + * will only be populated if the adjusted spending limit is INFINITE, which is guaranteed to be + * true if the approved spending limit is INFINITE. + * @param adjustedSpendingLimitType adjustedSpendingLimitType or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAccountBudget setAdjustedSpendingLimitType(java.lang.String adjustedSpendingLimitType) { + this.adjustedSpendingLimitType = adjustedSpendingLimitType; + return this; + } + + /** + * Output only. The value of Ads that have been served, in micros. This includes overdelivery + * costs, in which case a credit might be automatically applied to the budget (see + * total_adjustments_micros). + * @return value or {@code null} for none + */ + public java.lang.Long getAmountServedMicros() { + return amountServedMicros; + } + + /** + * Output only. The value of Ads that have been served, in micros. This includes overdelivery + * costs, in which case a credit might be automatically applied to the budget (see + * total_adjustments_micros). + * @param amountServedMicros amountServedMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAccountBudget setAmountServedMicros(java.lang.Long amountServedMicros) { + this.amountServedMicros = amountServedMicros; + return this; + } + + /** + * Output only. The approved end time in yyyy-MM-dd HH:mm:ss format. + * @return value or {@code null} for none + */ + public java.lang.String getApprovedEndDateTime() { + return approvedEndDateTime; + } + + /** + * Output only. The approved end time in yyyy-MM-dd HH:mm:ss format. + * @param approvedEndDateTime approvedEndDateTime or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAccountBudget setApprovedEndDateTime(java.lang.String approvedEndDateTime) { + this.approvedEndDateTime = approvedEndDateTime; + return this; + } + + /** + * Output only. The approved end time as a well-defined type, for example, FOREVER. + * @return value or {@code null} for none + */ + public java.lang.String getApprovedEndTimeType() { + return approvedEndTimeType; + } + + /** + * Output only. The approved end time as a well-defined type, for example, FOREVER. + * @param approvedEndTimeType approvedEndTimeType or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAccountBudget setApprovedEndTimeType(java.lang.String approvedEndTimeType) { + this.approvedEndTimeType = approvedEndTimeType; + return this; + } + + /** + * Output only. The approved spending limit in micros. One million is equivalent to one unit. This + * will only be populated if the proposed spending limit is finite, and will always be greater + * than or equal to the proposed spending limit. + * @return value or {@code null} for none + */ + public java.lang.Long getApprovedSpendingLimitMicros() { + return approvedSpendingLimitMicros; + } + + /** + * Output only. The approved spending limit in micros. One million is equivalent to one unit. This + * will only be populated if the proposed spending limit is finite, and will always be greater + * than or equal to the proposed spending limit. + * @param approvedSpendingLimitMicros approvedSpendingLimitMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAccountBudget setApprovedSpendingLimitMicros(java.lang.Long approvedSpendingLimitMicros) { + this.approvedSpendingLimitMicros = approvedSpendingLimitMicros; + return this; + } + + /** + * Output only. The approved spending limit as a well-defined type, for example, INFINITE. This + * will only be populated if the approved spending limit is INFINITE. + * @return value or {@code null} for none + */ + public java.lang.String getApprovedSpendingLimitType() { + return approvedSpendingLimitType; + } + + /** + * Output only. The approved spending limit as a well-defined type, for example, INFINITE. This + * will only be populated if the approved spending limit is INFINITE. + * @param approvedSpendingLimitType approvedSpendingLimitType or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAccountBudget setApprovedSpendingLimitType(java.lang.String approvedSpendingLimitType) { + this.approvedSpendingLimitType = approvedSpendingLimitType; + return this; + } + + /** + * Output only. The approved start time of the account-level budget in yyyy-MM-dd HH:mm:ss format. + * For example, if a new budget is approved after the proposed start time, the approved start time + * is the time of approval. + * @return value or {@code null} for none + */ + public java.lang.String getApprovedStartDateTime() { + return approvedStartDateTime; + } + + /** + * Output only. The approved start time of the account-level budget in yyyy-MM-dd HH:mm:ss format. + * For example, if a new budget is approved after the proposed start time, the approved start time + * is the time of approval. + * @param approvedStartDateTime approvedStartDateTime or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAccountBudget setApprovedStartDateTime(java.lang.String approvedStartDateTime) { + this.approvedStartDateTime = approvedStartDateTime; + return this; + } + + /** + * Output only. The resource name of the billing setup associated with this account-level budget. + * BillingSetup resource names have the form: + * `customers/{customer_id}/billingSetups/{billing_setup_id}` + * @return value or {@code null} for none + */ + public java.lang.String getBillingSetup() { + return billingSetup; + } + + /** + * Output only. The resource name of the billing setup associated with this account-level budget. + * BillingSetup resource names have the form: + * `customers/{customer_id}/billingSetups/{billing_setup_id}` + * @param billingSetup billingSetup or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAccountBudget setBillingSetup(java.lang.String billingSetup) { + this.billingSetup = billingSetup; + return this; + } + + /** + * Output only. The ID of the account-level budget. + * @return value or {@code null} for none + */ + public java.lang.Long getId() { + return id; + } + + /** + * Output only. The ID of the account-level budget. + * @param id id or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAccountBudget setId(java.lang.Long id) { + this.id = id; + return this; + } + + /** + * Output only. The name of the account-level budget. + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * Output only. The name of the account-level budget. + * @param name name or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAccountBudget setName(java.lang.String name) { + this.name = name; + return this; + } + + /** + * Output only. Notes associated with the budget. + * @return value or {@code null} for none + */ + public java.lang.String getNotes() { + return notes; + } + + /** + * Output only. Notes associated with the budget. + * @param notes notes or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAccountBudget setNotes(java.lang.String notes) { + this.notes = notes; + return this; + } + + /** + * Output only. The pending proposal to modify this budget, if applicable. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAccountBudgetPendingAccountBudgetProposal getPendingProposal() { + return pendingProposal; + } + + /** + * Output only. The pending proposal to modify this budget, if applicable. + * @param pendingProposal pendingProposal or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAccountBudget setPendingProposal(GoogleAdsSearchads360V23ResourcesAccountBudgetPendingAccountBudgetProposal pendingProposal) { + this.pendingProposal = pendingProposal; + return this; + } + + /** + * Output only. The proposed end time in yyyy-MM-dd HH:mm:ss format. + * @return value or {@code null} for none + */ + public java.lang.String getProposedEndDateTime() { + return proposedEndDateTime; + } + + /** + * Output only. The proposed end time in yyyy-MM-dd HH:mm:ss format. + * @param proposedEndDateTime proposedEndDateTime or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAccountBudget setProposedEndDateTime(java.lang.String proposedEndDateTime) { + this.proposedEndDateTime = proposedEndDateTime; + return this; + } + + /** + * Output only. The proposed end time as a well-defined type, for example, FOREVER. + * @return value or {@code null} for none + */ + public java.lang.String getProposedEndTimeType() { + return proposedEndTimeType; + } + + /** + * Output only. The proposed end time as a well-defined type, for example, FOREVER. + * @param proposedEndTimeType proposedEndTimeType or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAccountBudget setProposedEndTimeType(java.lang.String proposedEndTimeType) { + this.proposedEndTimeType = proposedEndTimeType; + return this; + } + + /** + * Output only. The proposed spending limit in micros. One million is equivalent to one unit. + * @return value or {@code null} for none + */ + public java.lang.Long getProposedSpendingLimitMicros() { + return proposedSpendingLimitMicros; + } + + /** + * Output only. The proposed spending limit in micros. One million is equivalent to one unit. + * @param proposedSpendingLimitMicros proposedSpendingLimitMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAccountBudget setProposedSpendingLimitMicros(java.lang.Long proposedSpendingLimitMicros) { + this.proposedSpendingLimitMicros = proposedSpendingLimitMicros; + return this; + } + + /** + * Output only. The proposed spending limit as a well-defined type, for example, INFINITE. + * @return value or {@code null} for none + */ + public java.lang.String getProposedSpendingLimitType() { + return proposedSpendingLimitType; + } + + /** + * Output only. The proposed spending limit as a well-defined type, for example, INFINITE. + * @param proposedSpendingLimitType proposedSpendingLimitType or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAccountBudget setProposedSpendingLimitType(java.lang.String proposedSpendingLimitType) { + this.proposedSpendingLimitType = proposedSpendingLimitType; + return this; + } + + /** + * Output only. The proposed start time of the account-level budget in yyyy-MM-dd HH:mm:ss format. + * If a start time type of NOW was proposed, this is the time of request. + * @return value or {@code null} for none + */ + public java.lang.String getProposedStartDateTime() { + return proposedStartDateTime; + } + + /** + * Output only. The proposed start time of the account-level budget in yyyy-MM-dd HH:mm:ss format. + * If a start time type of NOW was proposed, this is the time of request. + * @param proposedStartDateTime proposedStartDateTime or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAccountBudget setProposedStartDateTime(java.lang.String proposedStartDateTime) { + this.proposedStartDateTime = proposedStartDateTime; + return this; + } + + /** + * Output only. A purchase order number is a value that helps users reference this budget in their + * monthly invoices. + * @return value or {@code null} for none + */ + public java.lang.String getPurchaseOrderNumber() { + return purchaseOrderNumber; + } + + /** + * Output only. A purchase order number is a value that helps users reference this budget in their + * monthly invoices. + * @param purchaseOrderNumber purchaseOrderNumber or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAccountBudget setPurchaseOrderNumber(java.lang.String purchaseOrderNumber) { + this.purchaseOrderNumber = purchaseOrderNumber; + return this; + } + + /** + * Output only. The resource name of the account-level budget. AccountBudget resource names have + * the form: `customers/{customer_id}/accountBudgets/{account_budget_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Output only. The resource name of the account-level budget. AccountBudget resource names have + * the form: `customers/{customer_id}/accountBudgets/{account_budget_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAccountBudget setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Output only. The status of this account-level budget. + * @return value or {@code null} for none + */ + public java.lang.String getStatus() { + return status; + } + + /** + * Output only. The status of this account-level budget. + * @param status status or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAccountBudget setStatus(java.lang.String status) { + this.status = status; + return this; + } + + /** + * Output only. The total adjustments amount. An example of an adjustment is courtesy credits. + * @return value or {@code null} for none + */ + public java.lang.Long getTotalAdjustmentsMicros() { + return totalAdjustmentsMicros; + } + + /** + * Output only. The total adjustments amount. An example of an adjustment is courtesy credits. + * @param totalAdjustmentsMicros totalAdjustmentsMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAccountBudget setTotalAdjustmentsMicros(java.lang.Long totalAdjustmentsMicros) { + this.totalAdjustmentsMicros = totalAdjustmentsMicros; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesAccountBudget set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesAccountBudget) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesAccountBudget clone() { + return (GoogleAdsSearchads360V23ResourcesAccountBudget) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAccountBudgetPendingAccountBudgetProposal.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAccountBudgetPendingAccountBudgetProposal.java new file mode 100644 index 00000000000..eed2f03a874 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAccountBudgetPendingAccountBudgetProposal.java @@ -0,0 +1,319 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A pending proposal associated with the enclosing account-level budget, if applicable. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesAccountBudgetPendingAccountBudgetProposal extends com.google.api.client.json.GenericJson { + + /** + * Output only. The resource name of the proposal. AccountBudgetProposal resource names have the + * form: `customers/{customer_id}/accountBudgetProposals/{account_budget_proposal_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String accountBudgetProposal; + + /** + * Output only. The time when this account-level budget proposal was created. Formatted as yyyy- + * MM-dd HH:mm:ss. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String creationDateTime; + + /** + * Output only. The end time in yyyy-MM-dd HH:mm:ss format. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String endDateTime; + + /** + * Output only. The end time as a well-defined type, for example, FOREVER. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String endTimeType; + + /** + * Output only. The name to assign to the account-level budget. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * Output only. Notes associated with this budget. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String notes; + + /** + * Output only. The type of this proposal, for example, END to end the budget associated with this + * proposal. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String proposalType; + + /** + * Output only. A purchase order number is a value that helps users reference this budget in their + * monthly invoices. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String purchaseOrderNumber; + + /** + * Output only. The spending limit in micros. One million is equivalent to one unit. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long spendingLimitMicros; + + /** + * Output only. The spending limit as a well-defined type, for example, INFINITE. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String spendingLimitType; + + /** + * Output only. The start time in yyyy-MM-dd HH:mm:ss format. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String startDateTime; + + /** + * Output only. The resource name of the proposal. AccountBudgetProposal resource names have the + * form: `customers/{customer_id}/accountBudgetProposals/{account_budget_proposal_id}` + * @return value or {@code null} for none + */ + public java.lang.String getAccountBudgetProposal() { + return accountBudgetProposal; + } + + /** + * Output only. The resource name of the proposal. AccountBudgetProposal resource names have the + * form: `customers/{customer_id}/accountBudgetProposals/{account_budget_proposal_id}` + * @param accountBudgetProposal accountBudgetProposal or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAccountBudgetPendingAccountBudgetProposal setAccountBudgetProposal(java.lang.String accountBudgetProposal) { + this.accountBudgetProposal = accountBudgetProposal; + return this; + } + + /** + * Output only. The time when this account-level budget proposal was created. Formatted as yyyy- + * MM-dd HH:mm:ss. + * @return value or {@code null} for none + */ + public java.lang.String getCreationDateTime() { + return creationDateTime; + } + + /** + * Output only. The time when this account-level budget proposal was created. Formatted as yyyy- + * MM-dd HH:mm:ss. + * @param creationDateTime creationDateTime or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAccountBudgetPendingAccountBudgetProposal setCreationDateTime(java.lang.String creationDateTime) { + this.creationDateTime = creationDateTime; + return this; + } + + /** + * Output only. The end time in yyyy-MM-dd HH:mm:ss format. + * @return value or {@code null} for none + */ + public java.lang.String getEndDateTime() { + return endDateTime; + } + + /** + * Output only. The end time in yyyy-MM-dd HH:mm:ss format. + * @param endDateTime endDateTime or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAccountBudgetPendingAccountBudgetProposal setEndDateTime(java.lang.String endDateTime) { + this.endDateTime = endDateTime; + return this; + } + + /** + * Output only. The end time as a well-defined type, for example, FOREVER. + * @return value or {@code null} for none + */ + public java.lang.String getEndTimeType() { + return endTimeType; + } + + /** + * Output only. The end time as a well-defined type, for example, FOREVER. + * @param endTimeType endTimeType or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAccountBudgetPendingAccountBudgetProposal setEndTimeType(java.lang.String endTimeType) { + this.endTimeType = endTimeType; + return this; + } + + /** + * Output only. The name to assign to the account-level budget. + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * Output only. The name to assign to the account-level budget. + * @param name name or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAccountBudgetPendingAccountBudgetProposal setName(java.lang.String name) { + this.name = name; + return this; + } + + /** + * Output only. Notes associated with this budget. + * @return value or {@code null} for none + */ + public java.lang.String getNotes() { + return notes; + } + + /** + * Output only. Notes associated with this budget. + * @param notes notes or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAccountBudgetPendingAccountBudgetProposal setNotes(java.lang.String notes) { + this.notes = notes; + return this; + } + + /** + * Output only. The type of this proposal, for example, END to end the budget associated with this + * proposal. + * @return value or {@code null} for none + */ + public java.lang.String getProposalType() { + return proposalType; + } + + /** + * Output only. The type of this proposal, for example, END to end the budget associated with this + * proposal. + * @param proposalType proposalType or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAccountBudgetPendingAccountBudgetProposal setProposalType(java.lang.String proposalType) { + this.proposalType = proposalType; + return this; + } + + /** + * Output only. A purchase order number is a value that helps users reference this budget in their + * monthly invoices. + * @return value or {@code null} for none + */ + public java.lang.String getPurchaseOrderNumber() { + return purchaseOrderNumber; + } + + /** + * Output only. A purchase order number is a value that helps users reference this budget in their + * monthly invoices. + * @param purchaseOrderNumber purchaseOrderNumber or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAccountBudgetPendingAccountBudgetProposal setPurchaseOrderNumber(java.lang.String purchaseOrderNumber) { + this.purchaseOrderNumber = purchaseOrderNumber; + return this; + } + + /** + * Output only. The spending limit in micros. One million is equivalent to one unit. + * @return value or {@code null} for none + */ + public java.lang.Long getSpendingLimitMicros() { + return spendingLimitMicros; + } + + /** + * Output only. The spending limit in micros. One million is equivalent to one unit. + * @param spendingLimitMicros spendingLimitMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAccountBudgetPendingAccountBudgetProposal setSpendingLimitMicros(java.lang.Long spendingLimitMicros) { + this.spendingLimitMicros = spendingLimitMicros; + return this; + } + + /** + * Output only. The spending limit as a well-defined type, for example, INFINITE. + * @return value or {@code null} for none + */ + public java.lang.String getSpendingLimitType() { + return spendingLimitType; + } + + /** + * Output only. The spending limit as a well-defined type, for example, INFINITE. + * @param spendingLimitType spendingLimitType or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAccountBudgetPendingAccountBudgetProposal setSpendingLimitType(java.lang.String spendingLimitType) { + this.spendingLimitType = spendingLimitType; + return this; + } + + /** + * Output only. The start time in yyyy-MM-dd HH:mm:ss format. + * @return value or {@code null} for none + */ + public java.lang.String getStartDateTime() { + return startDateTime; + } + + /** + * Output only. The start time in yyyy-MM-dd HH:mm:ss format. + * @param startDateTime startDateTime or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAccountBudgetPendingAccountBudgetProposal setStartDateTime(java.lang.String startDateTime) { + this.startDateTime = startDateTime; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesAccountBudgetPendingAccountBudgetProposal set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesAccountBudgetPendingAccountBudgetProposal) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesAccountBudgetPendingAccountBudgetProposal clone() { + return (GoogleAdsSearchads360V23ResourcesAccountBudgetPendingAccountBudgetProposal) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAccountBudgetProposal.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAccountBudgetProposal.java new file mode 100644 index 00000000000..569750b05ab --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAccountBudgetProposal.java @@ -0,0 +1,590 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * An account-level budget proposal. All fields prefixed with 'proposed' may not necessarily be + * applied directly. For example, proposed spending limits may be adjusted before their application. + * This is true if the 'proposed' field has an 'approved' counterpart, for example, spending limits. + * Note that the proposal type (proposal_type) changes which fields are required and which must + * remain empty. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesAccountBudgetProposal extends com.google.api.client.json.GenericJson { + + /** + * Immutable. The resource name of the account-level budget associated with this proposal. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String accountBudget; + + /** + * Output only. The date time when this account-level budget was approved, if applicable. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String approvalDateTime; + + /** + * Output only. The approved end date time in yyyy-mm-dd hh:mm:ss format. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String approvedEndDateTime; + + /** + * Output only. The approved end date time as a well-defined type, for example, FOREVER. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String approvedEndTimeType; + + /** + * Output only. The approved spending limit in micros. One million is equivalent to one unit. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long approvedSpendingLimitMicros; + + /** + * Output only. The approved spending limit as a well-defined type, for example, INFINITE. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String approvedSpendingLimitType; + + /** + * Output only. The approved start date time in yyyy-mm-dd hh:mm:ss format. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String approvedStartDateTime; + + /** + * Immutable. The resource name of the billing setup associated with this proposal. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String billingSetup; + + /** + * Output only. The date time when this account-level budget proposal was created, which is not + * the same as its approval date time, if applicable. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String creationDateTime; + + /** + * Output only. The ID of the proposal. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long id; + + /** + * Immutable. The type of this proposal, for example, END to end the budget associated with this + * proposal. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String proposalType; + + /** + * Immutable. The proposed end date time in yyyy-mm-dd hh:mm:ss format. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String proposedEndDateTime; + + /** + * Immutable. The proposed end date time as a well-defined type, for example, FOREVER. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String proposedEndTimeType; + + /** + * Immutable. The name to assign to the account-level budget. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String proposedName; + + /** + * Immutable. Notes associated with this budget. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String proposedNotes; + + /** + * Immutable. A purchase order number is a value that enables the user to help them reference this + * budget in their monthly invoices. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String proposedPurchaseOrderNumber; + + /** + * Immutable. The proposed spending limit in micros. One million is equivalent to one unit. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long proposedSpendingLimitMicros; + + /** + * Immutable. The proposed spending limit as a well-defined type, for example, INFINITE. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String proposedSpendingLimitType; + + /** + * Immutable. The proposed start date time in yyyy-mm-dd hh:mm:ss format. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String proposedStartDateTime; + + /** + * Immutable. The proposed start date time as a well-defined type, for example, NOW. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String proposedStartTimeType; + + /** + * Immutable. The resource name of the proposal. AccountBudgetProposal resource names have the + * form: `customers/{customer_id}/accountBudgetProposals/{account_budget_proposal_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. The status of this proposal. When a new proposal is created, the status defaults + * to PENDING. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String status; + + /** + * Immutable. The resource name of the account-level budget associated with this proposal. + * @return value or {@code null} for none + */ + public java.lang.String getAccountBudget() { + return accountBudget; + } + + /** + * Immutable. The resource name of the account-level budget associated with this proposal. + * @param accountBudget accountBudget or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAccountBudgetProposal setAccountBudget(java.lang.String accountBudget) { + this.accountBudget = accountBudget; + return this; + } + + /** + * Output only. The date time when this account-level budget was approved, if applicable. + * @return value or {@code null} for none + */ + public java.lang.String getApprovalDateTime() { + return approvalDateTime; + } + + /** + * Output only. The date time when this account-level budget was approved, if applicable. + * @param approvalDateTime approvalDateTime or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAccountBudgetProposal setApprovalDateTime(java.lang.String approvalDateTime) { + this.approvalDateTime = approvalDateTime; + return this; + } + + /** + * Output only. The approved end date time in yyyy-mm-dd hh:mm:ss format. + * @return value or {@code null} for none + */ + public java.lang.String getApprovedEndDateTime() { + return approvedEndDateTime; + } + + /** + * Output only. The approved end date time in yyyy-mm-dd hh:mm:ss format. + * @param approvedEndDateTime approvedEndDateTime or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAccountBudgetProposal setApprovedEndDateTime(java.lang.String approvedEndDateTime) { + this.approvedEndDateTime = approvedEndDateTime; + return this; + } + + /** + * Output only. The approved end date time as a well-defined type, for example, FOREVER. + * @return value or {@code null} for none + */ + public java.lang.String getApprovedEndTimeType() { + return approvedEndTimeType; + } + + /** + * Output only. The approved end date time as a well-defined type, for example, FOREVER. + * @param approvedEndTimeType approvedEndTimeType or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAccountBudgetProposal setApprovedEndTimeType(java.lang.String approvedEndTimeType) { + this.approvedEndTimeType = approvedEndTimeType; + return this; + } + + /** + * Output only. The approved spending limit in micros. One million is equivalent to one unit. + * @return value or {@code null} for none + */ + public java.lang.Long getApprovedSpendingLimitMicros() { + return approvedSpendingLimitMicros; + } + + /** + * Output only. The approved spending limit in micros. One million is equivalent to one unit. + * @param approvedSpendingLimitMicros approvedSpendingLimitMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAccountBudgetProposal setApprovedSpendingLimitMicros(java.lang.Long approvedSpendingLimitMicros) { + this.approvedSpendingLimitMicros = approvedSpendingLimitMicros; + return this; + } + + /** + * Output only. The approved spending limit as a well-defined type, for example, INFINITE. + * @return value or {@code null} for none + */ + public java.lang.String getApprovedSpendingLimitType() { + return approvedSpendingLimitType; + } + + /** + * Output only. The approved spending limit as a well-defined type, for example, INFINITE. + * @param approvedSpendingLimitType approvedSpendingLimitType or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAccountBudgetProposal setApprovedSpendingLimitType(java.lang.String approvedSpendingLimitType) { + this.approvedSpendingLimitType = approvedSpendingLimitType; + return this; + } + + /** + * Output only. The approved start date time in yyyy-mm-dd hh:mm:ss format. + * @return value or {@code null} for none + */ + public java.lang.String getApprovedStartDateTime() { + return approvedStartDateTime; + } + + /** + * Output only. The approved start date time in yyyy-mm-dd hh:mm:ss format. + * @param approvedStartDateTime approvedStartDateTime or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAccountBudgetProposal setApprovedStartDateTime(java.lang.String approvedStartDateTime) { + this.approvedStartDateTime = approvedStartDateTime; + return this; + } + + /** + * Immutable. The resource name of the billing setup associated with this proposal. + * @return value or {@code null} for none + */ + public java.lang.String getBillingSetup() { + return billingSetup; + } + + /** + * Immutable. The resource name of the billing setup associated with this proposal. + * @param billingSetup billingSetup or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAccountBudgetProposal setBillingSetup(java.lang.String billingSetup) { + this.billingSetup = billingSetup; + return this; + } + + /** + * Output only. The date time when this account-level budget proposal was created, which is not + * the same as its approval date time, if applicable. + * @return value or {@code null} for none + */ + public java.lang.String getCreationDateTime() { + return creationDateTime; + } + + /** + * Output only. The date time when this account-level budget proposal was created, which is not + * the same as its approval date time, if applicable. + * @param creationDateTime creationDateTime or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAccountBudgetProposal setCreationDateTime(java.lang.String creationDateTime) { + this.creationDateTime = creationDateTime; + return this; + } + + /** + * Output only. The ID of the proposal. + * @return value or {@code null} for none + */ + public java.lang.Long getId() { + return id; + } + + /** + * Output only. The ID of the proposal. + * @param id id or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAccountBudgetProposal setId(java.lang.Long id) { + this.id = id; + return this; + } + + /** + * Immutable. The type of this proposal, for example, END to end the budget associated with this + * proposal. + * @return value or {@code null} for none + */ + public java.lang.String getProposalType() { + return proposalType; + } + + /** + * Immutable. The type of this proposal, for example, END to end the budget associated with this + * proposal. + * @param proposalType proposalType or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAccountBudgetProposal setProposalType(java.lang.String proposalType) { + this.proposalType = proposalType; + return this; + } + + /** + * Immutable. The proposed end date time in yyyy-mm-dd hh:mm:ss format. + * @return value or {@code null} for none + */ + public java.lang.String getProposedEndDateTime() { + return proposedEndDateTime; + } + + /** + * Immutable. The proposed end date time in yyyy-mm-dd hh:mm:ss format. + * @param proposedEndDateTime proposedEndDateTime or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAccountBudgetProposal setProposedEndDateTime(java.lang.String proposedEndDateTime) { + this.proposedEndDateTime = proposedEndDateTime; + return this; + } + + /** + * Immutable. The proposed end date time as a well-defined type, for example, FOREVER. + * @return value or {@code null} for none + */ + public java.lang.String getProposedEndTimeType() { + return proposedEndTimeType; + } + + /** + * Immutable. The proposed end date time as a well-defined type, for example, FOREVER. + * @param proposedEndTimeType proposedEndTimeType or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAccountBudgetProposal setProposedEndTimeType(java.lang.String proposedEndTimeType) { + this.proposedEndTimeType = proposedEndTimeType; + return this; + } + + /** + * Immutable. The name to assign to the account-level budget. + * @return value or {@code null} for none + */ + public java.lang.String getProposedName() { + return proposedName; + } + + /** + * Immutable. The name to assign to the account-level budget. + * @param proposedName proposedName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAccountBudgetProposal setProposedName(java.lang.String proposedName) { + this.proposedName = proposedName; + return this; + } + + /** + * Immutable. Notes associated with this budget. + * @return value or {@code null} for none + */ + public java.lang.String getProposedNotes() { + return proposedNotes; + } + + /** + * Immutable. Notes associated with this budget. + * @param proposedNotes proposedNotes or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAccountBudgetProposal setProposedNotes(java.lang.String proposedNotes) { + this.proposedNotes = proposedNotes; + return this; + } + + /** + * Immutable. A purchase order number is a value that enables the user to help them reference this + * budget in their monthly invoices. + * @return value or {@code null} for none + */ + public java.lang.String getProposedPurchaseOrderNumber() { + return proposedPurchaseOrderNumber; + } + + /** + * Immutable. A purchase order number is a value that enables the user to help them reference this + * budget in their monthly invoices. + * @param proposedPurchaseOrderNumber proposedPurchaseOrderNumber or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAccountBudgetProposal setProposedPurchaseOrderNumber(java.lang.String proposedPurchaseOrderNumber) { + this.proposedPurchaseOrderNumber = proposedPurchaseOrderNumber; + return this; + } + + /** + * Immutable. The proposed spending limit in micros. One million is equivalent to one unit. + * @return value or {@code null} for none + */ + public java.lang.Long getProposedSpendingLimitMicros() { + return proposedSpendingLimitMicros; + } + + /** + * Immutable. The proposed spending limit in micros. One million is equivalent to one unit. + * @param proposedSpendingLimitMicros proposedSpendingLimitMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAccountBudgetProposal setProposedSpendingLimitMicros(java.lang.Long proposedSpendingLimitMicros) { + this.proposedSpendingLimitMicros = proposedSpendingLimitMicros; + return this; + } + + /** + * Immutable. The proposed spending limit as a well-defined type, for example, INFINITE. + * @return value or {@code null} for none + */ + public java.lang.String getProposedSpendingLimitType() { + return proposedSpendingLimitType; + } + + /** + * Immutable. The proposed spending limit as a well-defined type, for example, INFINITE. + * @param proposedSpendingLimitType proposedSpendingLimitType or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAccountBudgetProposal setProposedSpendingLimitType(java.lang.String proposedSpendingLimitType) { + this.proposedSpendingLimitType = proposedSpendingLimitType; + return this; + } + + /** + * Immutable. The proposed start date time in yyyy-mm-dd hh:mm:ss format. + * @return value or {@code null} for none + */ + public java.lang.String getProposedStartDateTime() { + return proposedStartDateTime; + } + + /** + * Immutable. The proposed start date time in yyyy-mm-dd hh:mm:ss format. + * @param proposedStartDateTime proposedStartDateTime or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAccountBudgetProposal setProposedStartDateTime(java.lang.String proposedStartDateTime) { + this.proposedStartDateTime = proposedStartDateTime; + return this; + } + + /** + * Immutable. The proposed start date time as a well-defined type, for example, NOW. + * @return value or {@code null} for none + */ + public java.lang.String getProposedStartTimeType() { + return proposedStartTimeType; + } + + /** + * Immutable. The proposed start date time as a well-defined type, for example, NOW. + * @param proposedStartTimeType proposedStartTimeType or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAccountBudgetProposal setProposedStartTimeType(java.lang.String proposedStartTimeType) { + this.proposedStartTimeType = proposedStartTimeType; + return this; + } + + /** + * Immutable. The resource name of the proposal. AccountBudgetProposal resource names have the + * form: `customers/{customer_id}/accountBudgetProposals/{account_budget_proposal_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Immutable. The resource name of the proposal. AccountBudgetProposal resource names have the + * form: `customers/{customer_id}/accountBudgetProposals/{account_budget_proposal_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAccountBudgetProposal setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Output only. The status of this proposal. When a new proposal is created, the status defaults + * to PENDING. + * @return value or {@code null} for none + */ + public java.lang.String getStatus() { + return status; + } + + /** + * Output only. The status of this proposal. When a new proposal is created, the status defaults + * to PENDING. + * @param status status or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAccountBudgetProposal setStatus(java.lang.String status) { + this.status = status; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesAccountBudgetProposal set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesAccountBudgetProposal) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesAccountBudgetProposal clone() { + return (GoogleAdsSearchads360V23ResourcesAccountBudgetProposal) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAccountLink.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAccountLink.java new file mode 100644 index 00000000000..ed82e63a553 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAccountLink.java @@ -0,0 +1,166 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Represents the data sharing connection between a Google Ads account and another account + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesAccountLink extends com.google.api.client.json.GenericJson { + + /** + * Output only. The ID of the link. This field is read only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long accountLinkId; + + /** + * Immutable. Resource name of the account link. AccountLink resource names have the form: + * `customers/{customer_id}/accountLinks/{account_link_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * The status of the link. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String status; + + /** + * Immutable. A third party app analytics link. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesThirdPartyAppAnalyticsLinkIdentifier thirdPartyAppAnalytics; + + /** + * Output only. The type of the linked account. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String type; + + /** + * Output only. The ID of the link. This field is read only. + * @return value or {@code null} for none + */ + public java.lang.Long getAccountLinkId() { + return accountLinkId; + } + + /** + * Output only. The ID of the link. This field is read only. + * @param accountLinkId accountLinkId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAccountLink setAccountLinkId(java.lang.Long accountLinkId) { + this.accountLinkId = accountLinkId; + return this; + } + + /** + * Immutable. Resource name of the account link. AccountLink resource names have the form: + * `customers/{customer_id}/accountLinks/{account_link_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Immutable. Resource name of the account link. AccountLink resource names have the form: + * `customers/{customer_id}/accountLinks/{account_link_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAccountLink setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * The status of the link. + * @return value or {@code null} for none + */ + public java.lang.String getStatus() { + return status; + } + + /** + * The status of the link. + * @param status status or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAccountLink setStatus(java.lang.String status) { + this.status = status; + return this; + } + + /** + * Immutable. A third party app analytics link. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesThirdPartyAppAnalyticsLinkIdentifier getThirdPartyAppAnalytics() { + return thirdPartyAppAnalytics; + } + + /** + * Immutable. A third party app analytics link. + * @param thirdPartyAppAnalytics thirdPartyAppAnalytics or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAccountLink setThirdPartyAppAnalytics(GoogleAdsSearchads360V23ResourcesThirdPartyAppAnalyticsLinkIdentifier thirdPartyAppAnalytics) { + this.thirdPartyAppAnalytics = thirdPartyAppAnalytics; + return this; + } + + /** + * Output only. The type of the linked account. + * @return value or {@code null} for none + */ + public java.lang.String getType() { + return type; + } + + /** + * Output only. The type of the linked account. + * @param type type or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAccountLink setType(java.lang.String type) { + this.type = type; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesAccountLink set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesAccountLink) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesAccountLink clone() { + return (GoogleAdsSearchads360V23ResourcesAccountLink) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAd.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAd.java new file mode 100644 index 00000000000..7c9535323ef --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAd.java @@ -0,0 +1,1138 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * An ad. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesAd extends com.google.api.client.json.GenericJson { + + /** + * Output only. Indicates if this ad was automatically added by Google Ads and not by a user. For + * example, this could happen when ads are automatically created as suggestions for new ads based + * on knowledge of how existing ads are performing. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean addedByGoogleAds; + + /** + * Details pertaining to an app ad. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonAppAdInfo appAd; + + /** + * Details pertaining to an app engagement ad. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonAppEngagementAdInfo appEngagementAd; + + /** + * Details pertaining to an app pre-registration ad. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonAppPreRegistrationAdInfo appPreRegistrationAd; + + /** + * Details pertaining to a Demand Gen carousel ad. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonDemandGenCarouselAdInfo demandGenCarouselAd; + + /** + * Details pertaining to a Demand Gen multi asset ad. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonDemandGenMultiAssetAdInfo demandGenMultiAssetAd; + + /** + * Details pertaining to a Demand Gen product ad. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonDemandGenProductAdInfo demandGenProductAd; + + /** + * Details pertaining to a Demand Gen video responsive ad. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonDemandGenVideoResponsiveAdInfo demandGenVideoResponsiveAd; + + /** + * The device preference for the ad. You can only specify a preference for mobile devices. When + * this preference is set the ad will be preferred over other ads when being displayed on a mobile + * device. The ad can still be displayed on other device types, for example, if no other ads are + * available. If unspecified (no device preference), all devices are targeted. This is only + * supported by some ad types. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String devicePreference; + + /** + * Details pertaining to a display upload ad. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonDisplayUploadAdInfo displayUploadAd; + + /** + * The URL that appears in the ad description for some ad formats. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String displayUrl; + + /** + * Immutable. Details pertaining to an Expanded Dynamic Search Ad. This type of ad has its + * headline, final URLs, and display URL auto-generated at serving time according to domain name + * specific information provided by `dynamic_search_ads_setting` linked at the campaign level. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonExpandedDynamicSearchAdInfo expandedDynamicSearchAd; + + /** + * Details pertaining to an expanded text ad. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonExpandedTextAdInfo expandedTextAd; + + /** + * A list of final app URLs that will be used on mobile if the user has the specific app + * installed. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List finalAppUrls; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonFinalAppUrl used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonFinalAppUrl.class); + } + + /** + * The list of possible final mobile URLs after all cross-domain redirects for the ad. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List finalMobileUrls; + + /** + * The suffix to use when constructing a final URL. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String finalUrlSuffix; + + /** + * The list of possible final URLs after all cross-domain redirects for the ad. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List finalUrls; + + /** + * Details pertaining to a hotel ad. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonHotelAdInfo hotelAd; + + /** + * Output only. The ID of the ad. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long id; + + /** + * Immutable. Details pertaining to an Image ad. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonImageAdInfo imageAd; + + /** + * Immutable. Details pertaining to a legacy app install ad. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonLegacyAppInstallAdInfo legacyAppInstallAd; + + /** + * Details pertaining to a legacy responsive display ad. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonLegacyResponsiveDisplayAdInfo legacyResponsiveDisplayAd; + + /** + * Details pertaining to a local ad. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonLocalAdInfo localAd; + + /** + * Immutable. The name of the ad. This is only used to be able to identify the ad. It does not + * need to be unique and does not affect the served ad. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * Immutable. Details pertaining to a product ad. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonSearchAds360ProductAdInfo productAd; + + /** + * Immutable. The resource name of the ad. Ad resource names have the form: + * `customers/{customer_id}/ads/{ad_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Details pertaining to a responsive display ad. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonResponsiveDisplayAdInfo responsiveDisplayAd; + + /** + * Details pertaining to a responsive search ad. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonResponsiveSearchAdInfo responsiveSearchAd; + + /** + * Immutable. Details pertaining to an expanded dynamic search ad. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonSearchAds360ExpandedDynamicSearchAdInfo searchAds360ExpandedDynamicSearchAd; + + /** + * Immutable. Details pertaining to an expanded text ad. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonSearchAds360ExpandedTextAdInfo searchAds360ExpandedTextAd; + + /** + * Immutable. Details pertaining to a responsive search ad. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonSearchAds360ResponsiveSearchAdInfo searchAds360ResponsiveSearchAd; + + /** + * Immutable. Details pertaining to a text ad. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonSearchAds360TextAdInfo searchAds360TextAd; + + /** + * Details pertaining to a Shopping Comparison Listing ad. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonShoppingComparisonListingAdInfo shoppingComparisonListingAd; + + /** + * Details pertaining to a Shopping product ad. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonShoppingProductAdInfo shoppingProductAd; + + /** + * Details pertaining to a Smart Shopping ad. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonShoppingSmartAdInfo shoppingSmartAd; + + /** + * Details pertaining to a Smart campaign ad. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonSmartCampaignAdInfo smartCampaignAd; + + /** + * Output only. If this ad is system managed, then this field will indicate the source. This field + * is read-only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String systemManagedResourceSource; + + /** + * Immutable. Details pertaining to a text ad. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonTextAdInfo textAd; + + /** + * The URL template for constructing a tracking URL. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String trackingUrlTemplate; + + /** + * Details pertaining to a travel ad. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonTravelAdInfo travelAd; + + /** + * Output only. The type of ad. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String type; + + /** + * Additional URLs for the ad that are tagged with a unique identifier that can be referenced from + * other fields in the ad. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List urlCollections; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonUrlCollection used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonUrlCollection.class); + } + + /** + * The list of mappings that can be used to substitute custom parameter tags in a + * `tracking_url_template`, `final_urls`, or `mobile_final_urls`. For mutates, use url custom + * parameter operations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List urlCustomParameters; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonCustomParameter used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonCustomParameter.class); + } + + /** + * Output only. Indicates if this ad was automatically added by Google Ads and not by a user. For + * example, this could happen when ads are automatically created as suggestions for new ads based + * on knowledge of how existing ads are performing. + * @return value or {@code null} for none + */ + public java.lang.Boolean getAddedByGoogleAds() { + return addedByGoogleAds; + } + + /** + * Output only. Indicates if this ad was automatically added by Google Ads and not by a user. For + * example, this could happen when ads are automatically created as suggestions for new ads based + * on knowledge of how existing ads are performing. + * @param addedByGoogleAds addedByGoogleAds or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAd setAddedByGoogleAds(java.lang.Boolean addedByGoogleAds) { + this.addedByGoogleAds = addedByGoogleAds; + return this; + } + + /** + * Details pertaining to an app ad. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAppAdInfo getAppAd() { + return appAd; + } + + /** + * Details pertaining to an app ad. + * @param appAd appAd or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAd setAppAd(GoogleAdsSearchads360V23CommonAppAdInfo appAd) { + this.appAd = appAd; + return this; + } + + /** + * Details pertaining to an app engagement ad. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAppEngagementAdInfo getAppEngagementAd() { + return appEngagementAd; + } + + /** + * Details pertaining to an app engagement ad. + * @param appEngagementAd appEngagementAd or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAd setAppEngagementAd(GoogleAdsSearchads360V23CommonAppEngagementAdInfo appEngagementAd) { + this.appEngagementAd = appEngagementAd; + return this; + } + + /** + * Details pertaining to an app pre-registration ad. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAppPreRegistrationAdInfo getAppPreRegistrationAd() { + return appPreRegistrationAd; + } + + /** + * Details pertaining to an app pre-registration ad. + * @param appPreRegistrationAd appPreRegistrationAd or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAd setAppPreRegistrationAd(GoogleAdsSearchads360V23CommonAppPreRegistrationAdInfo appPreRegistrationAd) { + this.appPreRegistrationAd = appPreRegistrationAd; + return this; + } + + /** + * Details pertaining to a Demand Gen carousel ad. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDemandGenCarouselAdInfo getDemandGenCarouselAd() { + return demandGenCarouselAd; + } + + /** + * Details pertaining to a Demand Gen carousel ad. + * @param demandGenCarouselAd demandGenCarouselAd or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAd setDemandGenCarouselAd(GoogleAdsSearchads360V23CommonDemandGenCarouselAdInfo demandGenCarouselAd) { + this.demandGenCarouselAd = demandGenCarouselAd; + return this; + } + + /** + * Details pertaining to a Demand Gen multi asset ad. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDemandGenMultiAssetAdInfo getDemandGenMultiAssetAd() { + return demandGenMultiAssetAd; + } + + /** + * Details pertaining to a Demand Gen multi asset ad. + * @param demandGenMultiAssetAd demandGenMultiAssetAd or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAd setDemandGenMultiAssetAd(GoogleAdsSearchads360V23CommonDemandGenMultiAssetAdInfo demandGenMultiAssetAd) { + this.demandGenMultiAssetAd = demandGenMultiAssetAd; + return this; + } + + /** + * Details pertaining to a Demand Gen product ad. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDemandGenProductAdInfo getDemandGenProductAd() { + return demandGenProductAd; + } + + /** + * Details pertaining to a Demand Gen product ad. + * @param demandGenProductAd demandGenProductAd or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAd setDemandGenProductAd(GoogleAdsSearchads360V23CommonDemandGenProductAdInfo demandGenProductAd) { + this.demandGenProductAd = demandGenProductAd; + return this; + } + + /** + * Details pertaining to a Demand Gen video responsive ad. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDemandGenVideoResponsiveAdInfo getDemandGenVideoResponsiveAd() { + return demandGenVideoResponsiveAd; + } + + /** + * Details pertaining to a Demand Gen video responsive ad. + * @param demandGenVideoResponsiveAd demandGenVideoResponsiveAd or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAd setDemandGenVideoResponsiveAd(GoogleAdsSearchads360V23CommonDemandGenVideoResponsiveAdInfo demandGenVideoResponsiveAd) { + this.demandGenVideoResponsiveAd = demandGenVideoResponsiveAd; + return this; + } + + /** + * The device preference for the ad. You can only specify a preference for mobile devices. When + * this preference is set the ad will be preferred over other ads when being displayed on a mobile + * device. The ad can still be displayed on other device types, for example, if no other ads are + * available. If unspecified (no device preference), all devices are targeted. This is only + * supported by some ad types. + * @return value or {@code null} for none + */ + public java.lang.String getDevicePreference() { + return devicePreference; + } + + /** + * The device preference for the ad. You can only specify a preference for mobile devices. When + * this preference is set the ad will be preferred over other ads when being displayed on a mobile + * device. The ad can still be displayed on other device types, for example, if no other ads are + * available. If unspecified (no device preference), all devices are targeted. This is only + * supported by some ad types. + * @param devicePreference devicePreference or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAd setDevicePreference(java.lang.String devicePreference) { + this.devicePreference = devicePreference; + return this; + } + + /** + * Details pertaining to a display upload ad. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDisplayUploadAdInfo getDisplayUploadAd() { + return displayUploadAd; + } + + /** + * Details pertaining to a display upload ad. + * @param displayUploadAd displayUploadAd or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAd setDisplayUploadAd(GoogleAdsSearchads360V23CommonDisplayUploadAdInfo displayUploadAd) { + this.displayUploadAd = displayUploadAd; + return this; + } + + /** + * The URL that appears in the ad description for some ad formats. + * @return value or {@code null} for none + */ + public java.lang.String getDisplayUrl() { + return displayUrl; + } + + /** + * The URL that appears in the ad description for some ad formats. + * @param displayUrl displayUrl or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAd setDisplayUrl(java.lang.String displayUrl) { + this.displayUrl = displayUrl; + return this; + } + + /** + * Immutable. Details pertaining to an Expanded Dynamic Search Ad. This type of ad has its + * headline, final URLs, and display URL auto-generated at serving time according to domain name + * specific information provided by `dynamic_search_ads_setting` linked at the campaign level. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonExpandedDynamicSearchAdInfo getExpandedDynamicSearchAd() { + return expandedDynamicSearchAd; + } + + /** + * Immutable. Details pertaining to an Expanded Dynamic Search Ad. This type of ad has its + * headline, final URLs, and display URL auto-generated at serving time according to domain name + * specific information provided by `dynamic_search_ads_setting` linked at the campaign level. + * @param expandedDynamicSearchAd expandedDynamicSearchAd or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAd setExpandedDynamicSearchAd(GoogleAdsSearchads360V23CommonExpandedDynamicSearchAdInfo expandedDynamicSearchAd) { + this.expandedDynamicSearchAd = expandedDynamicSearchAd; + return this; + } + + /** + * Details pertaining to an expanded text ad. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonExpandedTextAdInfo getExpandedTextAd() { + return expandedTextAd; + } + + /** + * Details pertaining to an expanded text ad. + * @param expandedTextAd expandedTextAd or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAd setExpandedTextAd(GoogleAdsSearchads360V23CommonExpandedTextAdInfo expandedTextAd) { + this.expandedTextAd = expandedTextAd; + return this; + } + + /** + * A list of final app URLs that will be used on mobile if the user has the specific app + * installed. + * @return value or {@code null} for none + */ + public java.util.List getFinalAppUrls() { + return finalAppUrls; + } + + /** + * A list of final app URLs that will be used on mobile if the user has the specific app + * installed. + * @param finalAppUrls finalAppUrls or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAd setFinalAppUrls(java.util.List finalAppUrls) { + this.finalAppUrls = finalAppUrls; + return this; + } + + /** + * The list of possible final mobile URLs after all cross-domain redirects for the ad. + * @return value or {@code null} for none + */ + public java.util.List getFinalMobileUrls() { + return finalMobileUrls; + } + + /** + * The list of possible final mobile URLs after all cross-domain redirects for the ad. + * @param finalMobileUrls finalMobileUrls or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAd setFinalMobileUrls(java.util.List finalMobileUrls) { + this.finalMobileUrls = finalMobileUrls; + return this; + } + + /** + * The suffix to use when constructing a final URL. + * @return value or {@code null} for none + */ + public java.lang.String getFinalUrlSuffix() { + return finalUrlSuffix; + } + + /** + * The suffix to use when constructing a final URL. + * @param finalUrlSuffix finalUrlSuffix or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAd setFinalUrlSuffix(java.lang.String finalUrlSuffix) { + this.finalUrlSuffix = finalUrlSuffix; + return this; + } + + /** + * The list of possible final URLs after all cross-domain redirects for the ad. + * @return value or {@code null} for none + */ + public java.util.List getFinalUrls() { + return finalUrls; + } + + /** + * The list of possible final URLs after all cross-domain redirects for the ad. + * @param finalUrls finalUrls or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAd setFinalUrls(java.util.List finalUrls) { + this.finalUrls = finalUrls; + return this; + } + + /** + * Details pertaining to a hotel ad. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonHotelAdInfo getHotelAd() { + return hotelAd; + } + + /** + * Details pertaining to a hotel ad. + * @param hotelAd hotelAd or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAd setHotelAd(GoogleAdsSearchads360V23CommonHotelAdInfo hotelAd) { + this.hotelAd = hotelAd; + return this; + } + + /** + * Output only. The ID of the ad. + * @return value or {@code null} for none + */ + public java.lang.Long getId() { + return id; + } + + /** + * Output only. The ID of the ad. + * @param id id or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAd setId(java.lang.Long id) { + this.id = id; + return this; + } + + /** + * Immutable. Details pertaining to an Image ad. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonImageAdInfo getImageAd() { + return imageAd; + } + + /** + * Immutable. Details pertaining to an Image ad. + * @param imageAd imageAd or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAd setImageAd(GoogleAdsSearchads360V23CommonImageAdInfo imageAd) { + this.imageAd = imageAd; + return this; + } + + /** + * Immutable. Details pertaining to a legacy app install ad. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLegacyAppInstallAdInfo getLegacyAppInstallAd() { + return legacyAppInstallAd; + } + + /** + * Immutable. Details pertaining to a legacy app install ad. + * @param legacyAppInstallAd legacyAppInstallAd or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAd setLegacyAppInstallAd(GoogleAdsSearchads360V23CommonLegacyAppInstallAdInfo legacyAppInstallAd) { + this.legacyAppInstallAd = legacyAppInstallAd; + return this; + } + + /** + * Details pertaining to a legacy responsive display ad. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLegacyResponsiveDisplayAdInfo getLegacyResponsiveDisplayAd() { + return legacyResponsiveDisplayAd; + } + + /** + * Details pertaining to a legacy responsive display ad. + * @param legacyResponsiveDisplayAd legacyResponsiveDisplayAd or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAd setLegacyResponsiveDisplayAd(GoogleAdsSearchads360V23CommonLegacyResponsiveDisplayAdInfo legacyResponsiveDisplayAd) { + this.legacyResponsiveDisplayAd = legacyResponsiveDisplayAd; + return this; + } + + /** + * Details pertaining to a local ad. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLocalAdInfo getLocalAd() { + return localAd; + } + + /** + * Details pertaining to a local ad. + * @param localAd localAd or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAd setLocalAd(GoogleAdsSearchads360V23CommonLocalAdInfo localAd) { + this.localAd = localAd; + return this; + } + + /** + * Immutable. The name of the ad. This is only used to be able to identify the ad. It does not + * need to be unique and does not affect the served ad. + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * Immutable. The name of the ad. This is only used to be able to identify the ad. It does not + * need to be unique and does not affect the served ad. + * @param name name or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAd setName(java.lang.String name) { + this.name = name; + return this; + } + + /** + * Immutable. Details pertaining to a product ad. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSearchAds360ProductAdInfo getProductAd() { + return productAd; + } + + /** + * Immutable. Details pertaining to a product ad. + * @param productAd productAd or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAd setProductAd(GoogleAdsSearchads360V23CommonSearchAds360ProductAdInfo productAd) { + this.productAd = productAd; + return this; + } + + /** + * Immutable. The resource name of the ad. Ad resource names have the form: + * `customers/{customer_id}/ads/{ad_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Immutable. The resource name of the ad. Ad resource names have the form: + * `customers/{customer_id}/ads/{ad_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAd setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Details pertaining to a responsive display ad. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonResponsiveDisplayAdInfo getResponsiveDisplayAd() { + return responsiveDisplayAd; + } + + /** + * Details pertaining to a responsive display ad. + * @param responsiveDisplayAd responsiveDisplayAd or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAd setResponsiveDisplayAd(GoogleAdsSearchads360V23CommonResponsiveDisplayAdInfo responsiveDisplayAd) { + this.responsiveDisplayAd = responsiveDisplayAd; + return this; + } + + /** + * Details pertaining to a responsive search ad. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonResponsiveSearchAdInfo getResponsiveSearchAd() { + return responsiveSearchAd; + } + + /** + * Details pertaining to a responsive search ad. + * @param responsiveSearchAd responsiveSearchAd or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAd setResponsiveSearchAd(GoogleAdsSearchads360V23CommonResponsiveSearchAdInfo responsiveSearchAd) { + this.responsiveSearchAd = responsiveSearchAd; + return this; + } + + /** + * Immutable. Details pertaining to an expanded dynamic search ad. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSearchAds360ExpandedDynamicSearchAdInfo getSearchAds360ExpandedDynamicSearchAd() { + return searchAds360ExpandedDynamicSearchAd; + } + + /** + * Immutable. Details pertaining to an expanded dynamic search ad. + * @param searchAds360ExpandedDynamicSearchAd searchAds360ExpandedDynamicSearchAd or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAd setSearchAds360ExpandedDynamicSearchAd(GoogleAdsSearchads360V23CommonSearchAds360ExpandedDynamicSearchAdInfo searchAds360ExpandedDynamicSearchAd) { + this.searchAds360ExpandedDynamicSearchAd = searchAds360ExpandedDynamicSearchAd; + return this; + } + + /** + * Immutable. Details pertaining to an expanded text ad. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSearchAds360ExpandedTextAdInfo getSearchAds360ExpandedTextAd() { + return searchAds360ExpandedTextAd; + } + + /** + * Immutable. Details pertaining to an expanded text ad. + * @param searchAds360ExpandedTextAd searchAds360ExpandedTextAd or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAd setSearchAds360ExpandedTextAd(GoogleAdsSearchads360V23CommonSearchAds360ExpandedTextAdInfo searchAds360ExpandedTextAd) { + this.searchAds360ExpandedTextAd = searchAds360ExpandedTextAd; + return this; + } + + /** + * Immutable. Details pertaining to a responsive search ad. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSearchAds360ResponsiveSearchAdInfo getSearchAds360ResponsiveSearchAd() { + return searchAds360ResponsiveSearchAd; + } + + /** + * Immutable. Details pertaining to a responsive search ad. + * @param searchAds360ResponsiveSearchAd searchAds360ResponsiveSearchAd or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAd setSearchAds360ResponsiveSearchAd(GoogleAdsSearchads360V23CommonSearchAds360ResponsiveSearchAdInfo searchAds360ResponsiveSearchAd) { + this.searchAds360ResponsiveSearchAd = searchAds360ResponsiveSearchAd; + return this; + } + + /** + * Immutable. Details pertaining to a text ad. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSearchAds360TextAdInfo getSearchAds360TextAd() { + return searchAds360TextAd; + } + + /** + * Immutable. Details pertaining to a text ad. + * @param searchAds360TextAd searchAds360TextAd or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAd setSearchAds360TextAd(GoogleAdsSearchads360V23CommonSearchAds360TextAdInfo searchAds360TextAd) { + this.searchAds360TextAd = searchAds360TextAd; + return this; + } + + /** + * Details pertaining to a Shopping Comparison Listing ad. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonShoppingComparisonListingAdInfo getShoppingComparisonListingAd() { + return shoppingComparisonListingAd; + } + + /** + * Details pertaining to a Shopping Comparison Listing ad. + * @param shoppingComparisonListingAd shoppingComparisonListingAd or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAd setShoppingComparisonListingAd(GoogleAdsSearchads360V23CommonShoppingComparisonListingAdInfo shoppingComparisonListingAd) { + this.shoppingComparisonListingAd = shoppingComparisonListingAd; + return this; + } + + /** + * Details pertaining to a Shopping product ad. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonShoppingProductAdInfo getShoppingProductAd() { + return shoppingProductAd; + } + + /** + * Details pertaining to a Shopping product ad. + * @param shoppingProductAd shoppingProductAd or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAd setShoppingProductAd(GoogleAdsSearchads360V23CommonShoppingProductAdInfo shoppingProductAd) { + this.shoppingProductAd = shoppingProductAd; + return this; + } + + /** + * Details pertaining to a Smart Shopping ad. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonShoppingSmartAdInfo getShoppingSmartAd() { + return shoppingSmartAd; + } + + /** + * Details pertaining to a Smart Shopping ad. + * @param shoppingSmartAd shoppingSmartAd or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAd setShoppingSmartAd(GoogleAdsSearchads360V23CommonShoppingSmartAdInfo shoppingSmartAd) { + this.shoppingSmartAd = shoppingSmartAd; + return this; + } + + /** + * Details pertaining to a Smart campaign ad. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSmartCampaignAdInfo getSmartCampaignAd() { + return smartCampaignAd; + } + + /** + * Details pertaining to a Smart campaign ad. + * @param smartCampaignAd smartCampaignAd or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAd setSmartCampaignAd(GoogleAdsSearchads360V23CommonSmartCampaignAdInfo smartCampaignAd) { + this.smartCampaignAd = smartCampaignAd; + return this; + } + + /** + * Output only. If this ad is system managed, then this field will indicate the source. This field + * is read-only. + * @return value or {@code null} for none + */ + public java.lang.String getSystemManagedResourceSource() { + return systemManagedResourceSource; + } + + /** + * Output only. If this ad is system managed, then this field will indicate the source. This field + * is read-only. + * @param systemManagedResourceSource systemManagedResourceSource or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAd setSystemManagedResourceSource(java.lang.String systemManagedResourceSource) { + this.systemManagedResourceSource = systemManagedResourceSource; + return this; + } + + /** + * Immutable. Details pertaining to a text ad. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonTextAdInfo getTextAd() { + return textAd; + } + + /** + * Immutable. Details pertaining to a text ad. + * @param textAd textAd or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAd setTextAd(GoogleAdsSearchads360V23CommonTextAdInfo textAd) { + this.textAd = textAd; + return this; + } + + /** + * The URL template for constructing a tracking URL. + * @return value or {@code null} for none + */ + public java.lang.String getTrackingUrlTemplate() { + return trackingUrlTemplate; + } + + /** + * The URL template for constructing a tracking URL. + * @param trackingUrlTemplate trackingUrlTemplate or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAd setTrackingUrlTemplate(java.lang.String trackingUrlTemplate) { + this.trackingUrlTemplate = trackingUrlTemplate; + return this; + } + + /** + * Details pertaining to a travel ad. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonTravelAdInfo getTravelAd() { + return travelAd; + } + + /** + * Details pertaining to a travel ad. + * @param travelAd travelAd or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAd setTravelAd(GoogleAdsSearchads360V23CommonTravelAdInfo travelAd) { + this.travelAd = travelAd; + return this; + } + + /** + * Output only. The type of ad. + * @return value or {@code null} for none + */ + public java.lang.String getType() { + return type; + } + + /** + * Output only. The type of ad. + * @param type type or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAd setType(java.lang.String type) { + this.type = type; + return this; + } + + /** + * Additional URLs for the ad that are tagged with a unique identifier that can be referenced from + * other fields in the ad. + * @return value or {@code null} for none + */ + public java.util.List getUrlCollections() { + return urlCollections; + } + + /** + * Additional URLs for the ad that are tagged with a unique identifier that can be referenced from + * other fields in the ad. + * @param urlCollections urlCollections or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAd setUrlCollections(java.util.List urlCollections) { + this.urlCollections = urlCollections; + return this; + } + + /** + * The list of mappings that can be used to substitute custom parameter tags in a + * `tracking_url_template`, `final_urls`, or `mobile_final_urls`. For mutates, use url custom + * parameter operations. + * @return value or {@code null} for none + */ + public java.util.List getUrlCustomParameters() { + return urlCustomParameters; + } + + /** + * The list of mappings that can be used to substitute custom parameter tags in a + * `tracking_url_template`, `final_urls`, or `mobile_final_urls`. For mutates, use url custom + * parameter operations. + * @param urlCustomParameters urlCustomParameters or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAd setUrlCustomParameters(java.util.List urlCustomParameters) { + this.urlCustomParameters = urlCustomParameters; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesAd set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesAd) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesAd clone() { + return (GoogleAdsSearchads360V23ResourcesAd) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroup.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroup.java new file mode 100644 index 00000000000..b0350042f8b --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroup.java @@ -0,0 +1,1384 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * An ad group. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesAdGroup extends com.google.api.client.json.GenericJson { + + /** + * The ad rotation mode of the ad group. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String adRotationMode; + + /** + * Settings for AI Max feature in standard search adgroups. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAdGroupAiMaxAdGroupSetting aiMaxAdGroupSetting; + + /** + * Immutable. Setting for audience related features. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAdGroupAudienceSetting audienceSetting; + + /** + * Output only. For draft or experiment ad groups, this field is the resource name of the base ad + * group from which this ad group was created. If a draft or experiment ad group does not have a + * base ad group, then this field is null. For base ad groups, this field equals the ad group + * resource name. This field is read-only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String baseAdGroup; + + /** + * Immutable. The campaign to which the ad group belongs. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String campaign; + + /** + * The maximum CPC (cost-per-click) bid. This field is used when the ad group's effective bidding + * strategy is Manual CPC. This field is not applicable and will be ignored if the ad group's + * campaign is using a portfolio bidding strategy. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long cpcBidMicros; + + /** + * The maximum CPM (cost-per-thousand viewable impressions) bid. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long cpmBidMicros; + + /** + * The CPV (cost-per-view) bid. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long cpvBidMicros; + + /** + * Output only. The timestamp when this ad_group was created. The timestamp is in the customer's + * time zone and in "yyyy-MM-dd HH:mm:ss" format. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String creationTime; + + /** + * Settings for Demand Gen ad groups. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAdGroupDemandGenAdGroupSettings demandGenAdGroupSettings; + + /** + * Lets advertisers specify a targeting dimension on which to place absolute bids. This is only + * applicable for campaigns that target only the display network and not search. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String displayCustomBidDimension; + + /** + * Output only. Value will be same as that of the CPC (cost-per-click) bid value when the bidding + * strategy is one of manual cpc, enhanced cpc, page one promoted or target outrank share, + * otherwise the value will be null. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long effectiveCpcBidMicros; + + /** + * Output only. The resource names of effective labels attached to this ad group. An effective + * label is a label inherited or directly assigned to this ad group. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List effectiveLabels; + + /** + * Output only. The effective target CPA (cost-per-acquisition). This field is read-only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long effectiveTargetCpaMicros; + + /** + * Output only. Source of the effective target CPA. This field is read-only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String effectiveTargetCpaSource; + + /** + * Output only. The effective target CPC (cost-per-click). This field is read-only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long effectiveTargetCpc; + + /** + * Output only. Source of the effective target CPC. This field is read-only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String effectiveTargetCpcSource; + + /** + * Output only. The effective target ROAS (return-on-ad-spend). This field is read-only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double effectiveTargetRoas; + + /** + * Output only. Source of the effective target ROAS. This field is read-only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String effectiveTargetRoasSource; + + /** + * Output only. Date when the ad group ends serving ads. By default, the ad group ends on the ad + * group's end date. If this field is set, then the ad group ends at the end of the specified date + * in the customer's time zone. This field is only available for Microsoft Advertising and + * Facebook gateway accounts. Format: YYYY-MM-DD Example: 2019-03-14 + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String endDate; + + /** + * Output only. ID of the ad group in the external engine account. This field is for non-Google + * Ads account only, for example, Yahoo Japan, Microsoft, Baidu etc. For Google Ads entity, use + * "ad_group.id" instead. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String engineId; + + /** + * Output only. The Engine Status for ad group. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String engineStatus; + + /** + * When this value is true, demographics will be excluded from the types of targeting which are + * expanded when optimized_targeting_enabled is true. When optimized_targeting_enabled is false, + * this field is ignored. Default is false. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean excludeDemographicExpansion; + + /** + * The asset field types that should be excluded from this ad group. Asset links with these field + * types will not be inherited by this ad group from the upper levels. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List excludedParentAssetFieldTypes; + + /** + * The asset set types that should be excluded from this ad group. Asset set links with these + * types will not be inherited by this ad group from the upper levels. Location group types + * (GMB_DYNAMIC_LOCATION_GROUP, CHAIN_DYNAMIC_LOCATION_GROUP, and STATIC_LOCATION_GROUP) are child + * types of LOCATION_SYNC. Therefore, if LOCATION_SYNC is set for this field, all location group + * asset sets are not allowed to be linked to this ad group, and all Location Extension (LE) and + * Affiliate Location Extensions (ALE) will not be served under this ad group. Only LOCATION_SYNC + * is currently supported. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List excludedParentAssetSetTypes; + + /** + * URL template for appending params to Final URL. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String finalUrlSuffix; + + /** + * The fixed amount in micros that the advertiser pays for every thousand impressions of the ad. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long fixedCpmMicros; + + /** + * Output only. The ID of the ad group. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long id; + + /** + * Output only. The resource names of labels attached to this ad group. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List labels; + + /** + * Output only. The language of the ads and keywords in an ad group. This field is only available + * for Microsoft Advertising accounts. More details: https://docs.microsoft.com/en- + * us/advertising/guides/ad-languages?view=bingads-13#adlanguage + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String languageCode; + + /** + * Output only. The datetime when this ad group was last modified. The datetime is in the + * customer's time zone and in "yyyy-MM-dd HH:mm:ss.ssssss" format. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String lastModifiedTime; + + /** + * The name of the ad group. This field is required and should not be empty when creating new ad + * groups. It must contain fewer than 255 UTF-8 full-width characters. It must not contain any + * null (code point 0x0), NL line feed (code point 0xA) or carriage return (code point 0xD) + * characters. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * True if optimized targeting is enabled. Optimized Targeting is the replacement for Audience + * Expansion. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean optimizedTargetingEnabled; + + /** + * The percent cpc bid amount, expressed as a fraction of the advertised price for some good or + * service. The valid range for the fraction is [0,1) and the value stored here is 1,000,000 * + * [fraction]. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long percentCpcBidMicros; + + /** + * Output only. Provides aggregated view into why an ad group is not serving or not serving + * optimally. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String primaryStatus; + + /** + * Output only. Provides reasons for why an ad group is not serving or not serving optimally. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List primaryStatusReasons; + + /** + * Immutable. The resource name of the ad group. Ad group resource names have the form: + * `customers/{customer_id}/adGroups/{ad_group_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. Date when this ad group starts serving ads. By default, the ad group starts now or + * the ad group's start date, whichever is later. If this field is set, then the ad group starts + * at the beginning of the specified date in the customer's time zone. This field is only + * available for Microsoft Advertising and Facebook gateway accounts. Format: YYYY-MM-DD Example: + * 2019-03-14 + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String startDate; + + /** + * The status of the ad group. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String status; + + /** + * The target CPA (cost-per-acquisition). If the ad group's campaign bidding strategy is TargetCpa + * or MaximizeConversions (with its target_cpa field set), then this field overrides the target + * CPA specified in the campaign's bidding strategy. Otherwise, this value is ignored. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long targetCpaMicros; + + /** + * Average amount in micros that the advertiser is willing to pay for every ad click. Overrides + * the target CPC configured at the campaign level. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long targetCpcMicros; + + /** + * Average amount in micros that the advertiser is willing to pay for every thousand times the ad + * is shown. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long targetCpmMicros; + + /** + * Average amount in micros that the advertiser is willing to pay for every ad view. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long targetCpvMicros; + + /** + * The target ROAS (return-on-ad-spend) for this ad group. This field lets you override the target + * ROAS specified in the campaign's bidding strategy, but only if the campaign is using a standard + * (not portfolio) `TargetRoas` strategy or a standard `MaximizeConversionValue` strategy with its + * `target_roas` field set. If the campaign is using a portfolio bidding strategy, this field + * cannot be set and attempting to do so will result in an error. For any other bidding + * strategies, this value is ignored. To see the actual target ROAS being used by the ad group, + * considering potential overrides, query the `effective_target_roas` and + * `effective_target_roas_source` fields. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double targetRoas; + + /** + * Setting for targeting related features. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonTargetingSetting targetingSetting; + + /** + * The URL template for constructing a tracking URL. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String trackingUrlTemplate; + + /** + * Immutable. The type of the ad group. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String type; + + /** + * The list of mappings used to substitute custom parameter tags in a `tracking_url_template`, + * `final_urls`, or `mobile_final_urls`. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List urlCustomParameters; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonCustomParameter used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonCustomParameter.class); + } + + /** + * Vertical ads setting feature to enable/disable ad group format controls in search campaigns. + * This setting requires AiMaxAdGroupSetting to be enabled and a travel feed to be attached to the + * campaign. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAdGroupVerticalAdsFormatSetting verticalAdsFormatSetting; + + /** + * The ad rotation mode of the ad group. + * @return value or {@code null} for none + */ + public java.lang.String getAdRotationMode() { + return adRotationMode; + } + + /** + * The ad rotation mode of the ad group. + * @param adRotationMode adRotationMode or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroup setAdRotationMode(java.lang.String adRotationMode) { + this.adRotationMode = adRotationMode; + return this; + } + + /** + * Settings for AI Max feature in standard search adgroups. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupAiMaxAdGroupSetting getAiMaxAdGroupSetting() { + return aiMaxAdGroupSetting; + } + + /** + * Settings for AI Max feature in standard search adgroups. + * @param aiMaxAdGroupSetting aiMaxAdGroupSetting or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroup setAiMaxAdGroupSetting(GoogleAdsSearchads360V23ResourcesAdGroupAiMaxAdGroupSetting aiMaxAdGroupSetting) { + this.aiMaxAdGroupSetting = aiMaxAdGroupSetting; + return this; + } + + /** + * Immutable. Setting for audience related features. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupAudienceSetting getAudienceSetting() { + return audienceSetting; + } + + /** + * Immutable. Setting for audience related features. + * @param audienceSetting audienceSetting or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroup setAudienceSetting(GoogleAdsSearchads360V23ResourcesAdGroupAudienceSetting audienceSetting) { + this.audienceSetting = audienceSetting; + return this; + } + + /** + * Output only. For draft or experiment ad groups, this field is the resource name of the base ad + * group from which this ad group was created. If a draft or experiment ad group does not have a + * base ad group, then this field is null. For base ad groups, this field equals the ad group + * resource name. This field is read-only. + * @return value or {@code null} for none + */ + public java.lang.String getBaseAdGroup() { + return baseAdGroup; + } + + /** + * Output only. For draft or experiment ad groups, this field is the resource name of the base ad + * group from which this ad group was created. If a draft or experiment ad group does not have a + * base ad group, then this field is null. For base ad groups, this field equals the ad group + * resource name. This field is read-only. + * @param baseAdGroup baseAdGroup or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroup setBaseAdGroup(java.lang.String baseAdGroup) { + this.baseAdGroup = baseAdGroup; + return this; + } + + /** + * Immutable. The campaign to which the ad group belongs. + * @return value or {@code null} for none + */ + public java.lang.String getCampaign() { + return campaign; + } + + /** + * Immutable. The campaign to which the ad group belongs. + * @param campaign campaign or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroup setCampaign(java.lang.String campaign) { + this.campaign = campaign; + return this; + } + + /** + * The maximum CPC (cost-per-click) bid. This field is used when the ad group's effective bidding + * strategy is Manual CPC. This field is not applicable and will be ignored if the ad group's + * campaign is using a portfolio bidding strategy. + * @return value or {@code null} for none + */ + public java.lang.Long getCpcBidMicros() { + return cpcBidMicros; + } + + /** + * The maximum CPC (cost-per-click) bid. This field is used when the ad group's effective bidding + * strategy is Manual CPC. This field is not applicable and will be ignored if the ad group's + * campaign is using a portfolio bidding strategy. + * @param cpcBidMicros cpcBidMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroup setCpcBidMicros(java.lang.Long cpcBidMicros) { + this.cpcBidMicros = cpcBidMicros; + return this; + } + + /** + * The maximum CPM (cost-per-thousand viewable impressions) bid. + * @return value or {@code null} for none + */ + public java.lang.Long getCpmBidMicros() { + return cpmBidMicros; + } + + /** + * The maximum CPM (cost-per-thousand viewable impressions) bid. + * @param cpmBidMicros cpmBidMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroup setCpmBidMicros(java.lang.Long cpmBidMicros) { + this.cpmBidMicros = cpmBidMicros; + return this; + } + + /** + * The CPV (cost-per-view) bid. + * @return value or {@code null} for none + */ + public java.lang.Long getCpvBidMicros() { + return cpvBidMicros; + } + + /** + * The CPV (cost-per-view) bid. + * @param cpvBidMicros cpvBidMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroup setCpvBidMicros(java.lang.Long cpvBidMicros) { + this.cpvBidMicros = cpvBidMicros; + return this; + } + + /** + * Output only. The timestamp when this ad_group was created. The timestamp is in the customer's + * time zone and in "yyyy-MM-dd HH:mm:ss" format. + * @return value or {@code null} for none + */ + public java.lang.String getCreationTime() { + return creationTime; + } + + /** + * Output only. The timestamp when this ad_group was created. The timestamp is in the customer's + * time zone and in "yyyy-MM-dd HH:mm:ss" format. + * @param creationTime creationTime or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroup setCreationTime(java.lang.String creationTime) { + this.creationTime = creationTime; + return this; + } + + /** + * Settings for Demand Gen ad groups. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupDemandGenAdGroupSettings getDemandGenAdGroupSettings() { + return demandGenAdGroupSettings; + } + + /** + * Settings for Demand Gen ad groups. + * @param demandGenAdGroupSettings demandGenAdGroupSettings or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroup setDemandGenAdGroupSettings(GoogleAdsSearchads360V23ResourcesAdGroupDemandGenAdGroupSettings demandGenAdGroupSettings) { + this.demandGenAdGroupSettings = demandGenAdGroupSettings; + return this; + } + + /** + * Lets advertisers specify a targeting dimension on which to place absolute bids. This is only + * applicable for campaigns that target only the display network and not search. + * @return value or {@code null} for none + */ + public java.lang.String getDisplayCustomBidDimension() { + return displayCustomBidDimension; + } + + /** + * Lets advertisers specify a targeting dimension on which to place absolute bids. This is only + * applicable for campaigns that target only the display network and not search. + * @param displayCustomBidDimension displayCustomBidDimension or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroup setDisplayCustomBidDimension(java.lang.String displayCustomBidDimension) { + this.displayCustomBidDimension = displayCustomBidDimension; + return this; + } + + /** + * Output only. Value will be same as that of the CPC (cost-per-click) bid value when the bidding + * strategy is one of manual cpc, enhanced cpc, page one promoted or target outrank share, + * otherwise the value will be null. + * @return value or {@code null} for none + */ + public java.lang.Long getEffectiveCpcBidMicros() { + return effectiveCpcBidMicros; + } + + /** + * Output only. Value will be same as that of the CPC (cost-per-click) bid value when the bidding + * strategy is one of manual cpc, enhanced cpc, page one promoted or target outrank share, + * otherwise the value will be null. + * @param effectiveCpcBidMicros effectiveCpcBidMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroup setEffectiveCpcBidMicros(java.lang.Long effectiveCpcBidMicros) { + this.effectiveCpcBidMicros = effectiveCpcBidMicros; + return this; + } + + /** + * Output only. The resource names of effective labels attached to this ad group. An effective + * label is a label inherited or directly assigned to this ad group. + * @return value or {@code null} for none + */ + public java.util.List getEffectiveLabels() { + return effectiveLabels; + } + + /** + * Output only. The resource names of effective labels attached to this ad group. An effective + * label is a label inherited or directly assigned to this ad group. + * @param effectiveLabels effectiveLabels or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroup setEffectiveLabels(java.util.List effectiveLabels) { + this.effectiveLabels = effectiveLabels; + return this; + } + + /** + * Output only. The effective target CPA (cost-per-acquisition). This field is read-only. + * @return value or {@code null} for none + */ + public java.lang.Long getEffectiveTargetCpaMicros() { + return effectiveTargetCpaMicros; + } + + /** + * Output only. The effective target CPA (cost-per-acquisition). This field is read-only. + * @param effectiveTargetCpaMicros effectiveTargetCpaMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroup setEffectiveTargetCpaMicros(java.lang.Long effectiveTargetCpaMicros) { + this.effectiveTargetCpaMicros = effectiveTargetCpaMicros; + return this; + } + + /** + * Output only. Source of the effective target CPA. This field is read-only. + * @return value or {@code null} for none + */ + public java.lang.String getEffectiveTargetCpaSource() { + return effectiveTargetCpaSource; + } + + /** + * Output only. Source of the effective target CPA. This field is read-only. + * @param effectiveTargetCpaSource effectiveTargetCpaSource or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroup setEffectiveTargetCpaSource(java.lang.String effectiveTargetCpaSource) { + this.effectiveTargetCpaSource = effectiveTargetCpaSource; + return this; + } + + /** + * Output only. The effective target CPC (cost-per-click). This field is read-only. + * @return value or {@code null} for none + */ + public java.lang.Long getEffectiveTargetCpc() { + return effectiveTargetCpc; + } + + /** + * Output only. The effective target CPC (cost-per-click). This field is read-only. + * @param effectiveTargetCpc effectiveTargetCpc or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroup setEffectiveTargetCpc(java.lang.Long effectiveTargetCpc) { + this.effectiveTargetCpc = effectiveTargetCpc; + return this; + } + + /** + * Output only. Source of the effective target CPC. This field is read-only. + * @return value or {@code null} for none + */ + public java.lang.String getEffectiveTargetCpcSource() { + return effectiveTargetCpcSource; + } + + /** + * Output only. Source of the effective target CPC. This field is read-only. + * @param effectiveTargetCpcSource effectiveTargetCpcSource or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroup setEffectiveTargetCpcSource(java.lang.String effectiveTargetCpcSource) { + this.effectiveTargetCpcSource = effectiveTargetCpcSource; + return this; + } + + /** + * Output only. The effective target ROAS (return-on-ad-spend). This field is read-only. + * @return value or {@code null} for none + */ + public java.lang.Double getEffectiveTargetRoas() { + return effectiveTargetRoas; + } + + /** + * Output only. The effective target ROAS (return-on-ad-spend). This field is read-only. + * @param effectiveTargetRoas effectiveTargetRoas or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroup setEffectiveTargetRoas(java.lang.Double effectiveTargetRoas) { + this.effectiveTargetRoas = effectiveTargetRoas; + return this; + } + + /** + * Output only. Source of the effective target ROAS. This field is read-only. + * @return value or {@code null} for none + */ + public java.lang.String getEffectiveTargetRoasSource() { + return effectiveTargetRoasSource; + } + + /** + * Output only. Source of the effective target ROAS. This field is read-only. + * @param effectiveTargetRoasSource effectiveTargetRoasSource or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroup setEffectiveTargetRoasSource(java.lang.String effectiveTargetRoasSource) { + this.effectiveTargetRoasSource = effectiveTargetRoasSource; + return this; + } + + /** + * Output only. Date when the ad group ends serving ads. By default, the ad group ends on the ad + * group's end date. If this field is set, then the ad group ends at the end of the specified date + * in the customer's time zone. This field is only available for Microsoft Advertising and + * Facebook gateway accounts. Format: YYYY-MM-DD Example: 2019-03-14 + * @return value or {@code null} for none + */ + public java.lang.String getEndDate() { + return endDate; + } + + /** + * Output only. Date when the ad group ends serving ads. By default, the ad group ends on the ad + * group's end date. If this field is set, then the ad group ends at the end of the specified date + * in the customer's time zone. This field is only available for Microsoft Advertising and + * Facebook gateway accounts. Format: YYYY-MM-DD Example: 2019-03-14 + * @param endDate endDate or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroup setEndDate(java.lang.String endDate) { + this.endDate = endDate; + return this; + } + + /** + * Output only. ID of the ad group in the external engine account. This field is for non-Google + * Ads account only, for example, Yahoo Japan, Microsoft, Baidu etc. For Google Ads entity, use + * "ad_group.id" instead. + * @return value or {@code null} for none + */ + public java.lang.String getEngineId() { + return engineId; + } + + /** + * Output only. ID of the ad group in the external engine account. This field is for non-Google + * Ads account only, for example, Yahoo Japan, Microsoft, Baidu etc. For Google Ads entity, use + * "ad_group.id" instead. + * @param engineId engineId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroup setEngineId(java.lang.String engineId) { + this.engineId = engineId; + return this; + } + + /** + * Output only. The Engine Status for ad group. + * @return value or {@code null} for none + */ + public java.lang.String getEngineStatus() { + return engineStatus; + } + + /** + * Output only. The Engine Status for ad group. + * @param engineStatus engineStatus or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroup setEngineStatus(java.lang.String engineStatus) { + this.engineStatus = engineStatus; + return this; + } + + /** + * When this value is true, demographics will be excluded from the types of targeting which are + * expanded when optimized_targeting_enabled is true. When optimized_targeting_enabled is false, + * this field is ignored. Default is false. + * @return value or {@code null} for none + */ + public java.lang.Boolean getExcludeDemographicExpansion() { + return excludeDemographicExpansion; + } + + /** + * When this value is true, demographics will be excluded from the types of targeting which are + * expanded when optimized_targeting_enabled is true. When optimized_targeting_enabled is false, + * this field is ignored. Default is false. + * @param excludeDemographicExpansion excludeDemographicExpansion or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroup setExcludeDemographicExpansion(java.lang.Boolean excludeDemographicExpansion) { + this.excludeDemographicExpansion = excludeDemographicExpansion; + return this; + } + + /** + * The asset field types that should be excluded from this ad group. Asset links with these field + * types will not be inherited by this ad group from the upper levels. + * @return value or {@code null} for none + */ + public java.util.List getExcludedParentAssetFieldTypes() { + return excludedParentAssetFieldTypes; + } + + /** + * The asset field types that should be excluded from this ad group. Asset links with these field + * types will not be inherited by this ad group from the upper levels. + * @param excludedParentAssetFieldTypes excludedParentAssetFieldTypes or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroup setExcludedParentAssetFieldTypes(java.util.List excludedParentAssetFieldTypes) { + this.excludedParentAssetFieldTypes = excludedParentAssetFieldTypes; + return this; + } + + /** + * The asset set types that should be excluded from this ad group. Asset set links with these + * types will not be inherited by this ad group from the upper levels. Location group types + * (GMB_DYNAMIC_LOCATION_GROUP, CHAIN_DYNAMIC_LOCATION_GROUP, and STATIC_LOCATION_GROUP) are child + * types of LOCATION_SYNC. Therefore, if LOCATION_SYNC is set for this field, all location group + * asset sets are not allowed to be linked to this ad group, and all Location Extension (LE) and + * Affiliate Location Extensions (ALE) will not be served under this ad group. Only LOCATION_SYNC + * is currently supported. + * @return value or {@code null} for none + */ + public java.util.List getExcludedParentAssetSetTypes() { + return excludedParentAssetSetTypes; + } + + /** + * The asset set types that should be excluded from this ad group. Asset set links with these + * types will not be inherited by this ad group from the upper levels. Location group types + * (GMB_DYNAMIC_LOCATION_GROUP, CHAIN_DYNAMIC_LOCATION_GROUP, and STATIC_LOCATION_GROUP) are child + * types of LOCATION_SYNC. Therefore, if LOCATION_SYNC is set for this field, all location group + * asset sets are not allowed to be linked to this ad group, and all Location Extension (LE) and + * Affiliate Location Extensions (ALE) will not be served under this ad group. Only LOCATION_SYNC + * is currently supported. + * @param excludedParentAssetSetTypes excludedParentAssetSetTypes or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroup setExcludedParentAssetSetTypes(java.util.List excludedParentAssetSetTypes) { + this.excludedParentAssetSetTypes = excludedParentAssetSetTypes; + return this; + } + + /** + * URL template for appending params to Final URL. + * @return value or {@code null} for none + */ + public java.lang.String getFinalUrlSuffix() { + return finalUrlSuffix; + } + + /** + * URL template for appending params to Final URL. + * @param finalUrlSuffix finalUrlSuffix or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroup setFinalUrlSuffix(java.lang.String finalUrlSuffix) { + this.finalUrlSuffix = finalUrlSuffix; + return this; + } + + /** + * The fixed amount in micros that the advertiser pays for every thousand impressions of the ad. + * @return value or {@code null} for none + */ + public java.lang.Long getFixedCpmMicros() { + return fixedCpmMicros; + } + + /** + * The fixed amount in micros that the advertiser pays for every thousand impressions of the ad. + * @param fixedCpmMicros fixedCpmMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroup setFixedCpmMicros(java.lang.Long fixedCpmMicros) { + this.fixedCpmMicros = fixedCpmMicros; + return this; + } + + /** + * Output only. The ID of the ad group. + * @return value or {@code null} for none + */ + public java.lang.Long getId() { + return id; + } + + /** + * Output only. The ID of the ad group. + * @param id id or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroup setId(java.lang.Long id) { + this.id = id; + return this; + } + + /** + * Output only. The resource names of labels attached to this ad group. + * @return value or {@code null} for none + */ + public java.util.List getLabels() { + return labels; + } + + /** + * Output only. The resource names of labels attached to this ad group. + * @param labels labels or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroup setLabels(java.util.List labels) { + this.labels = labels; + return this; + } + + /** + * Output only. The language of the ads and keywords in an ad group. This field is only available + * for Microsoft Advertising accounts. More details: https://docs.microsoft.com/en- + * us/advertising/guides/ad-languages?view=bingads-13#adlanguage + * @return value or {@code null} for none + */ + public java.lang.String getLanguageCode() { + return languageCode; + } + + /** + * Output only. The language of the ads and keywords in an ad group. This field is only available + * for Microsoft Advertising accounts. More details: https://docs.microsoft.com/en- + * us/advertising/guides/ad-languages?view=bingads-13#adlanguage + * @param languageCode languageCode or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroup setLanguageCode(java.lang.String languageCode) { + this.languageCode = languageCode; + return this; + } + + /** + * Output only. The datetime when this ad group was last modified. The datetime is in the + * customer's time zone and in "yyyy-MM-dd HH:mm:ss.ssssss" format. + * @return value or {@code null} for none + */ + public java.lang.String getLastModifiedTime() { + return lastModifiedTime; + } + + /** + * Output only. The datetime when this ad group was last modified. The datetime is in the + * customer's time zone and in "yyyy-MM-dd HH:mm:ss.ssssss" format. + * @param lastModifiedTime lastModifiedTime or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroup setLastModifiedTime(java.lang.String lastModifiedTime) { + this.lastModifiedTime = lastModifiedTime; + return this; + } + + /** + * The name of the ad group. This field is required and should not be empty when creating new ad + * groups. It must contain fewer than 255 UTF-8 full-width characters. It must not contain any + * null (code point 0x0), NL line feed (code point 0xA) or carriage return (code point 0xD) + * characters. + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * The name of the ad group. This field is required and should not be empty when creating new ad + * groups. It must contain fewer than 255 UTF-8 full-width characters. It must not contain any + * null (code point 0x0), NL line feed (code point 0xA) or carriage return (code point 0xD) + * characters. + * @param name name or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroup setName(java.lang.String name) { + this.name = name; + return this; + } + + /** + * True if optimized targeting is enabled. Optimized Targeting is the replacement for Audience + * Expansion. + * @return value or {@code null} for none + */ + public java.lang.Boolean getOptimizedTargetingEnabled() { + return optimizedTargetingEnabled; + } + + /** + * True if optimized targeting is enabled. Optimized Targeting is the replacement for Audience + * Expansion. + * @param optimizedTargetingEnabled optimizedTargetingEnabled or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroup setOptimizedTargetingEnabled(java.lang.Boolean optimizedTargetingEnabled) { + this.optimizedTargetingEnabled = optimizedTargetingEnabled; + return this; + } + + /** + * The percent cpc bid amount, expressed as a fraction of the advertised price for some good or + * service. The valid range for the fraction is [0,1) and the value stored here is 1,000,000 * + * [fraction]. + * @return value or {@code null} for none + */ + public java.lang.Long getPercentCpcBidMicros() { + return percentCpcBidMicros; + } + + /** + * The percent cpc bid amount, expressed as a fraction of the advertised price for some good or + * service. The valid range for the fraction is [0,1) and the value stored here is 1,000,000 * + * [fraction]. + * @param percentCpcBidMicros percentCpcBidMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroup setPercentCpcBidMicros(java.lang.Long percentCpcBidMicros) { + this.percentCpcBidMicros = percentCpcBidMicros; + return this; + } + + /** + * Output only. Provides aggregated view into why an ad group is not serving or not serving + * optimally. + * @return value or {@code null} for none + */ + public java.lang.String getPrimaryStatus() { + return primaryStatus; + } + + /** + * Output only. Provides aggregated view into why an ad group is not serving or not serving + * optimally. + * @param primaryStatus primaryStatus or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroup setPrimaryStatus(java.lang.String primaryStatus) { + this.primaryStatus = primaryStatus; + return this; + } + + /** + * Output only. Provides reasons for why an ad group is not serving or not serving optimally. + * @return value or {@code null} for none + */ + public java.util.List getPrimaryStatusReasons() { + return primaryStatusReasons; + } + + /** + * Output only. Provides reasons for why an ad group is not serving or not serving optimally. + * @param primaryStatusReasons primaryStatusReasons or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroup setPrimaryStatusReasons(java.util.List primaryStatusReasons) { + this.primaryStatusReasons = primaryStatusReasons; + return this; + } + + /** + * Immutable. The resource name of the ad group. Ad group resource names have the form: + * `customers/{customer_id}/adGroups/{ad_group_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Immutable. The resource name of the ad group. Ad group resource names have the form: + * `customers/{customer_id}/adGroups/{ad_group_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroup setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Output only. Date when this ad group starts serving ads. By default, the ad group starts now or + * the ad group's start date, whichever is later. If this field is set, then the ad group starts + * at the beginning of the specified date in the customer's time zone. This field is only + * available for Microsoft Advertising and Facebook gateway accounts. Format: YYYY-MM-DD Example: + * 2019-03-14 + * @return value or {@code null} for none + */ + public java.lang.String getStartDate() { + return startDate; + } + + /** + * Output only. Date when this ad group starts serving ads. By default, the ad group starts now or + * the ad group's start date, whichever is later. If this field is set, then the ad group starts + * at the beginning of the specified date in the customer's time zone. This field is only + * available for Microsoft Advertising and Facebook gateway accounts. Format: YYYY-MM-DD Example: + * 2019-03-14 + * @param startDate startDate or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroup setStartDate(java.lang.String startDate) { + this.startDate = startDate; + return this; + } + + /** + * The status of the ad group. + * @return value or {@code null} for none + */ + public java.lang.String getStatus() { + return status; + } + + /** + * The status of the ad group. + * @param status status or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroup setStatus(java.lang.String status) { + this.status = status; + return this; + } + + /** + * The target CPA (cost-per-acquisition). If the ad group's campaign bidding strategy is TargetCpa + * or MaximizeConversions (with its target_cpa field set), then this field overrides the target + * CPA specified in the campaign's bidding strategy. Otherwise, this value is ignored. + * @return value or {@code null} for none + */ + public java.lang.Long getTargetCpaMicros() { + return targetCpaMicros; + } + + /** + * The target CPA (cost-per-acquisition). If the ad group's campaign bidding strategy is TargetCpa + * or MaximizeConversions (with its target_cpa field set), then this field overrides the target + * CPA specified in the campaign's bidding strategy. Otherwise, this value is ignored. + * @param targetCpaMicros targetCpaMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroup setTargetCpaMicros(java.lang.Long targetCpaMicros) { + this.targetCpaMicros = targetCpaMicros; + return this; + } + + /** + * Average amount in micros that the advertiser is willing to pay for every ad click. Overrides + * the target CPC configured at the campaign level. + * @return value or {@code null} for none + */ + public java.lang.Long getTargetCpcMicros() { + return targetCpcMicros; + } + + /** + * Average amount in micros that the advertiser is willing to pay for every ad click. Overrides + * the target CPC configured at the campaign level. + * @param targetCpcMicros targetCpcMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroup setTargetCpcMicros(java.lang.Long targetCpcMicros) { + this.targetCpcMicros = targetCpcMicros; + return this; + } + + /** + * Average amount in micros that the advertiser is willing to pay for every thousand times the ad + * is shown. + * @return value or {@code null} for none + */ + public java.lang.Long getTargetCpmMicros() { + return targetCpmMicros; + } + + /** + * Average amount in micros that the advertiser is willing to pay for every thousand times the ad + * is shown. + * @param targetCpmMicros targetCpmMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroup setTargetCpmMicros(java.lang.Long targetCpmMicros) { + this.targetCpmMicros = targetCpmMicros; + return this; + } + + /** + * Average amount in micros that the advertiser is willing to pay for every ad view. + * @return value or {@code null} for none + */ + public java.lang.Long getTargetCpvMicros() { + return targetCpvMicros; + } + + /** + * Average amount in micros that the advertiser is willing to pay for every ad view. + * @param targetCpvMicros targetCpvMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroup setTargetCpvMicros(java.lang.Long targetCpvMicros) { + this.targetCpvMicros = targetCpvMicros; + return this; + } + + /** + * The target ROAS (return-on-ad-spend) for this ad group. This field lets you override the target + * ROAS specified in the campaign's bidding strategy, but only if the campaign is using a standard + * (not portfolio) `TargetRoas` strategy or a standard `MaximizeConversionValue` strategy with its + * `target_roas` field set. If the campaign is using a portfolio bidding strategy, this field + * cannot be set and attempting to do so will result in an error. For any other bidding + * strategies, this value is ignored. To see the actual target ROAS being used by the ad group, + * considering potential overrides, query the `effective_target_roas` and + * `effective_target_roas_source` fields. + * @return value or {@code null} for none + */ + public java.lang.Double getTargetRoas() { + return targetRoas; + } + + /** + * The target ROAS (return-on-ad-spend) for this ad group. This field lets you override the target + * ROAS specified in the campaign's bidding strategy, but only if the campaign is using a standard + * (not portfolio) `TargetRoas` strategy or a standard `MaximizeConversionValue` strategy with its + * `target_roas` field set. If the campaign is using a portfolio bidding strategy, this field + * cannot be set and attempting to do so will result in an error. For any other bidding + * strategies, this value is ignored. To see the actual target ROAS being used by the ad group, + * considering potential overrides, query the `effective_target_roas` and + * `effective_target_roas_source` fields. + * @param targetRoas targetRoas or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroup setTargetRoas(java.lang.Double targetRoas) { + this.targetRoas = targetRoas; + return this; + } + + /** + * Setting for targeting related features. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonTargetingSetting getTargetingSetting() { + return targetingSetting; + } + + /** + * Setting for targeting related features. + * @param targetingSetting targetingSetting or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroup setTargetingSetting(GoogleAdsSearchads360V23CommonTargetingSetting targetingSetting) { + this.targetingSetting = targetingSetting; + return this; + } + + /** + * The URL template for constructing a tracking URL. + * @return value or {@code null} for none + */ + public java.lang.String getTrackingUrlTemplate() { + return trackingUrlTemplate; + } + + /** + * The URL template for constructing a tracking URL. + * @param trackingUrlTemplate trackingUrlTemplate or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroup setTrackingUrlTemplate(java.lang.String trackingUrlTemplate) { + this.trackingUrlTemplate = trackingUrlTemplate; + return this; + } + + /** + * Immutable. The type of the ad group. + * @return value or {@code null} for none + */ + public java.lang.String getType() { + return type; + } + + /** + * Immutable. The type of the ad group. + * @param type type or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroup setType(java.lang.String type) { + this.type = type; + return this; + } + + /** + * The list of mappings used to substitute custom parameter tags in a `tracking_url_template`, + * `final_urls`, or `mobile_final_urls`. + * @return value or {@code null} for none + */ + public java.util.List getUrlCustomParameters() { + return urlCustomParameters; + } + + /** + * The list of mappings used to substitute custom parameter tags in a `tracking_url_template`, + * `final_urls`, or `mobile_final_urls`. + * @param urlCustomParameters urlCustomParameters or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroup setUrlCustomParameters(java.util.List urlCustomParameters) { + this.urlCustomParameters = urlCustomParameters; + return this; + } + + /** + * Vertical ads setting feature to enable/disable ad group format controls in search campaigns. + * This setting requires AiMaxAdGroupSetting to be enabled and a travel feed to be attached to the + * campaign. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupVerticalAdsFormatSetting getVerticalAdsFormatSetting() { + return verticalAdsFormatSetting; + } + + /** + * Vertical ads setting feature to enable/disable ad group format controls in search campaigns. + * This setting requires AiMaxAdGroupSetting to be enabled and a travel feed to be attached to the + * campaign. + * @param verticalAdsFormatSetting verticalAdsFormatSetting or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroup setVerticalAdsFormatSetting(GoogleAdsSearchads360V23ResourcesAdGroupVerticalAdsFormatSetting verticalAdsFormatSetting) { + this.verticalAdsFormatSetting = verticalAdsFormatSetting; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesAdGroup set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesAdGroup) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesAdGroup clone() { + return (GoogleAdsSearchads360V23ResourcesAdGroup) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupAd.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupAd.java new file mode 100644 index 00000000000..d541b872735 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupAd.java @@ -0,0 +1,457 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * An ad group ad. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesAdGroupAd extends com.google.api.client.json.GenericJson { + + /** + * Output only. A list of recommendations to improve the ad strength. For example, a + * recommendation could be "Try adding a few more unique headlines or unpinning some assets.". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List actionItems; + + /** + * Immutable. The ad. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAd ad; + + /** + * Immutable. The ad group to which the ad belongs. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String adGroup; + + /** + * Settings that control the types of asset automation. See the AssetAutomationTypeEnum + * documentation for the default opt in/out behavior of each type. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List adGroupAdAssetAutomationSettings; + + /** + * Output only. Overall ad strength for this ad group ad. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String adStrength; + + /** + * Output only. The timestamp when this ad_group_ad was created. The datetime is in the customer's + * time zone and in "yyyy-MM-dd HH:mm:ss.ssssss" format. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String creationTime; + + /** + * Output only. The resource names of effective labels attached to this ad. An effective label is + * a label inherited or directly assigned to this ad. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List effectiveLabels; + + /** + * Output only. ID of the ad in the external engine account. This field is for Search Ads 360 + * account only, for example, Yahoo Japan, Microsoft, Baidu etc. For non-Search Ads 360 entity, + * use "ad_group_ad.ad.id" instead. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String engineId; + + /** + * Output only. Additional status of the ad in the external engine account. Possible statuses + * (depending on the type of external account) include active, eligible, pending review, etc. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String engineStatus; + + /** + * Output only. The resource names of labels attached to this ad group ad. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List labels; + + /** + * Output only. The datetime when this ad group ad was last modified. The datetime is in the + * customer's time zone and in "yyyy-MM-dd HH:mm:ss.ssssss" format. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String lastModifiedTime; + + /** + * Output only. Policy information for the ad. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAdGroupAdPolicySummary policySummary; + + /** + * Output only. Provides aggregated view into why an ad group ad is not serving or not serving + * optimally. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String primaryStatus; + + /** + * Output only. Provides reasons for why an ad group ad is not serving or not serving optimally. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List primaryStatusReasons; + + /** + * Immutable. The resource name of the ad. Ad group ad resource names have the form: + * `customers/{customer_id}/adGroupAds/{ad_group_id}~{ad_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * The status of the ad. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String status; + + /** + * Output only. A list of recommendations to improve the ad strength. For example, a + * recommendation could be "Try adding a few more unique headlines or unpinning some assets.". + * @return value or {@code null} for none + */ + public java.util.List getActionItems() { + return actionItems; + } + + /** + * Output only. A list of recommendations to improve the ad strength. For example, a + * recommendation could be "Try adding a few more unique headlines or unpinning some assets.". + * @param actionItems actionItems or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupAd setActionItems(java.util.List actionItems) { + this.actionItems = actionItems; + return this; + } + + /** + * Immutable. The ad. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAd getAd() { + return ad; + } + + /** + * Immutable. The ad. + * @param ad ad or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupAd setAd(GoogleAdsSearchads360V23ResourcesAd ad) { + this.ad = ad; + return this; + } + + /** + * Immutable. The ad group to which the ad belongs. + * @return value or {@code null} for none + */ + public java.lang.String getAdGroup() { + return adGroup; + } + + /** + * Immutable. The ad group to which the ad belongs. + * @param adGroup adGroup or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupAd setAdGroup(java.lang.String adGroup) { + this.adGroup = adGroup; + return this; + } + + /** + * Settings that control the types of asset automation. See the AssetAutomationTypeEnum + * documentation for the default opt in/out behavior of each type. + * @return value or {@code null} for none + */ + public java.util.List getAdGroupAdAssetAutomationSettings() { + return adGroupAdAssetAutomationSettings; + } + + /** + * Settings that control the types of asset automation. See the AssetAutomationTypeEnum + * documentation for the default opt in/out behavior of each type. + * @param adGroupAdAssetAutomationSettings adGroupAdAssetAutomationSettings or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupAd setAdGroupAdAssetAutomationSettings(java.util.List adGroupAdAssetAutomationSettings) { + this.adGroupAdAssetAutomationSettings = adGroupAdAssetAutomationSettings; + return this; + } + + /** + * Output only. Overall ad strength for this ad group ad. + * @return value or {@code null} for none + */ + public java.lang.String getAdStrength() { + return adStrength; + } + + /** + * Output only. Overall ad strength for this ad group ad. + * @param adStrength adStrength or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupAd setAdStrength(java.lang.String adStrength) { + this.adStrength = adStrength; + return this; + } + + /** + * Output only. The timestamp when this ad_group_ad was created. The datetime is in the customer's + * time zone and in "yyyy-MM-dd HH:mm:ss.ssssss" format. + * @return value or {@code null} for none + */ + public java.lang.String getCreationTime() { + return creationTime; + } + + /** + * Output only. The timestamp when this ad_group_ad was created. The datetime is in the customer's + * time zone and in "yyyy-MM-dd HH:mm:ss.ssssss" format. + * @param creationTime creationTime or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupAd setCreationTime(java.lang.String creationTime) { + this.creationTime = creationTime; + return this; + } + + /** + * Output only. The resource names of effective labels attached to this ad. An effective label is + * a label inherited or directly assigned to this ad. + * @return value or {@code null} for none + */ + public java.util.List getEffectiveLabels() { + return effectiveLabels; + } + + /** + * Output only. The resource names of effective labels attached to this ad. An effective label is + * a label inherited or directly assigned to this ad. + * @param effectiveLabels effectiveLabels or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupAd setEffectiveLabels(java.util.List effectiveLabels) { + this.effectiveLabels = effectiveLabels; + return this; + } + + /** + * Output only. ID of the ad in the external engine account. This field is for Search Ads 360 + * account only, for example, Yahoo Japan, Microsoft, Baidu etc. For non-Search Ads 360 entity, + * use "ad_group_ad.ad.id" instead. + * @return value or {@code null} for none + */ + public java.lang.String getEngineId() { + return engineId; + } + + /** + * Output only. ID of the ad in the external engine account. This field is for Search Ads 360 + * account only, for example, Yahoo Japan, Microsoft, Baidu etc. For non-Search Ads 360 entity, + * use "ad_group_ad.ad.id" instead. + * @param engineId engineId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupAd setEngineId(java.lang.String engineId) { + this.engineId = engineId; + return this; + } + + /** + * Output only. Additional status of the ad in the external engine account. Possible statuses + * (depending on the type of external account) include active, eligible, pending review, etc. + * @return value or {@code null} for none + */ + public java.lang.String getEngineStatus() { + return engineStatus; + } + + /** + * Output only. Additional status of the ad in the external engine account. Possible statuses + * (depending on the type of external account) include active, eligible, pending review, etc. + * @param engineStatus engineStatus or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupAd setEngineStatus(java.lang.String engineStatus) { + this.engineStatus = engineStatus; + return this; + } + + /** + * Output only. The resource names of labels attached to this ad group ad. + * @return value or {@code null} for none + */ + public java.util.List getLabels() { + return labels; + } + + /** + * Output only. The resource names of labels attached to this ad group ad. + * @param labels labels or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupAd setLabels(java.util.List labels) { + this.labels = labels; + return this; + } + + /** + * Output only. The datetime when this ad group ad was last modified. The datetime is in the + * customer's time zone and in "yyyy-MM-dd HH:mm:ss.ssssss" format. + * @return value or {@code null} for none + */ + public java.lang.String getLastModifiedTime() { + return lastModifiedTime; + } + + /** + * Output only. The datetime when this ad group ad was last modified. The datetime is in the + * customer's time zone and in "yyyy-MM-dd HH:mm:ss.ssssss" format. + * @param lastModifiedTime lastModifiedTime or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupAd setLastModifiedTime(java.lang.String lastModifiedTime) { + this.lastModifiedTime = lastModifiedTime; + return this; + } + + /** + * Output only. Policy information for the ad. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupAdPolicySummary getPolicySummary() { + return policySummary; + } + + /** + * Output only. Policy information for the ad. + * @param policySummary policySummary or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupAd setPolicySummary(GoogleAdsSearchads360V23ResourcesAdGroupAdPolicySummary policySummary) { + this.policySummary = policySummary; + return this; + } + + /** + * Output only. Provides aggregated view into why an ad group ad is not serving or not serving + * optimally. + * @return value or {@code null} for none + */ + public java.lang.String getPrimaryStatus() { + return primaryStatus; + } + + /** + * Output only. Provides aggregated view into why an ad group ad is not serving or not serving + * optimally. + * @param primaryStatus primaryStatus or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupAd setPrimaryStatus(java.lang.String primaryStatus) { + this.primaryStatus = primaryStatus; + return this; + } + + /** + * Output only. Provides reasons for why an ad group ad is not serving or not serving optimally. + * @return value or {@code null} for none + */ + public java.util.List getPrimaryStatusReasons() { + return primaryStatusReasons; + } + + /** + * Output only. Provides reasons for why an ad group ad is not serving or not serving optimally. + * @param primaryStatusReasons primaryStatusReasons or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupAd setPrimaryStatusReasons(java.util.List primaryStatusReasons) { + this.primaryStatusReasons = primaryStatusReasons; + return this; + } + + /** + * Immutable. The resource name of the ad. Ad group ad resource names have the form: + * `customers/{customer_id}/adGroupAds/{ad_group_id}~{ad_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Immutable. The resource name of the ad. Ad group ad resource names have the form: + * `customers/{customer_id}/adGroupAds/{ad_group_id}~{ad_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupAd setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * The status of the ad. + * @return value or {@code null} for none + */ + public java.lang.String getStatus() { + return status; + } + + /** + * The status of the ad. + * @param status status or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupAd setStatus(java.lang.String status) { + this.status = status; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesAdGroupAd set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesAdGroupAd) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesAdGroupAd clone() { + return (GoogleAdsSearchads360V23ResourcesAdGroupAd) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupAdAssetAutomationSetting.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupAdAssetAutomationSetting.java new file mode 100644 index 00000000000..a2b5ed85563 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupAdAssetAutomationSetting.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Asset automation setting for an AdGroupAd. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesAdGroupAdAssetAutomationSetting extends com.google.api.client.json.GenericJson { + + /** + * The opt-in/out status for the specified asset automation type. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String assetAutomationStatus; + + /** + * The asset automation type that this setting configures. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String assetAutomationType; + + /** + * The opt-in/out status for the specified asset automation type. + * @return value or {@code null} for none + */ + public java.lang.String getAssetAutomationStatus() { + return assetAutomationStatus; + } + + /** + * The opt-in/out status for the specified asset automation type. + * @param assetAutomationStatus assetAutomationStatus or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupAdAssetAutomationSetting setAssetAutomationStatus(java.lang.String assetAutomationStatus) { + this.assetAutomationStatus = assetAutomationStatus; + return this; + } + + /** + * The asset automation type that this setting configures. + * @return value or {@code null} for none + */ + public java.lang.String getAssetAutomationType() { + return assetAutomationType; + } + + /** + * The asset automation type that this setting configures. + * @param assetAutomationType assetAutomationType or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupAdAssetAutomationSetting setAssetAutomationType(java.lang.String assetAutomationType) { + this.assetAutomationType = assetAutomationType; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesAdGroupAdAssetAutomationSetting set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesAdGroupAdAssetAutomationSetting) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesAdGroupAdAssetAutomationSetting clone() { + return (GoogleAdsSearchads360V23ResourcesAdGroupAdAssetAutomationSetting) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupAdAssetCombinationView.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupAdAssetCombinationView.java new file mode 100644 index 00000000000..7a8146d93e7 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupAdAssetCombinationView.java @@ -0,0 +1,147 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A view on the usage of ad group ad asset combination. Now we only support + * AdGroupAdAssetCombinationView for Responsive Search Ads, with more ad types planned for the + * future. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesAdGroupAdAssetCombinationView extends com.google.api.client.json.GenericJson { + + /** + * Output only. The status between the asset combination and the latest version of the ad. If + * true, the asset combination is linked to the latest version of the ad. If false, it means the + * link once existed but has been removed and is no longer present in the latest version of the + * ad. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean enabled; + + /** + * Output only. The resource name of the ad group ad asset combination view. The combination ID is + * 128 bits long, where the upper 64 bits are stored in asset_combination_id_high, and the lower + * 64 bits are stored in asset_combination_id_low. AdGroupAd Asset Combination view resource names + * have the form: `customers/{customer_id}/adGroupAdAssetCombinationViews/{AdGroupAd.ad_group_id}~ + * {AdGroupAd.ad.ad_id}~{AssetCombination.asset_combination_id_low}~{AssetCombination.asset_combin + * ation_id_high}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. Served assets. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List servedAssets; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonAssetUsage used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonAssetUsage.class); + } + + /** + * Output only. The status between the asset combination and the latest version of the ad. If + * true, the asset combination is linked to the latest version of the ad. If false, it means the + * link once existed but has been removed and is no longer present in the latest version of the + * ad. + * @return value or {@code null} for none + */ + public java.lang.Boolean getEnabled() { + return enabled; + } + + /** + * Output only. The status between the asset combination and the latest version of the ad. If + * true, the asset combination is linked to the latest version of the ad. If false, it means the + * link once existed but has been removed and is no longer present in the latest version of the + * ad. + * @param enabled enabled or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupAdAssetCombinationView setEnabled(java.lang.Boolean enabled) { + this.enabled = enabled; + return this; + } + + /** + * Output only. The resource name of the ad group ad asset combination view. The combination ID is + * 128 bits long, where the upper 64 bits are stored in asset_combination_id_high, and the lower + * 64 bits are stored in asset_combination_id_low. AdGroupAd Asset Combination view resource names + * have the form: `customers/{customer_id}/adGroupAdAssetCombinationViews/{AdGroupAd.ad_group_id}~ + * {AdGroupAd.ad.ad_id}~{AssetCombination.asset_combination_id_low}~{AssetCombination.asset_combin + * ation_id_high}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Output only. The resource name of the ad group ad asset combination view. The combination ID is + * 128 bits long, where the upper 64 bits are stored in asset_combination_id_high, and the lower + * 64 bits are stored in asset_combination_id_low. AdGroupAd Asset Combination view resource names + * have the form: `customers/{customer_id}/adGroupAdAssetCombinationViews/{AdGroupAd.ad_group_id}~ + * {AdGroupAd.ad.ad_id}~{AssetCombination.asset_combination_id_low}~{AssetCombination.asset_combin + * ation_id_high}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupAdAssetCombinationView setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Output only. Served assets. + * @return value or {@code null} for none + */ + public java.util.List getServedAssets() { + return servedAssets; + } + + /** + * Output only. Served assets. + * @param servedAssets servedAssets or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupAdAssetCombinationView setServedAssets(java.util.List servedAssets) { + this.servedAssets = servedAssets; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesAdGroupAdAssetCombinationView set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesAdGroupAdAssetCombinationView) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesAdGroupAdAssetCombinationView clone() { + return (GoogleAdsSearchads360V23ResourcesAdGroupAdAssetCombinationView) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupAdAssetPolicySummary.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupAdAssetPolicySummary.java new file mode 100644 index 00000000000..e4eb464e494 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupAdAssetPolicySummary.java @@ -0,0 +1,124 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Contains policy information for an ad group ad asset. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesAdGroupAdAssetPolicySummary extends com.google.api.client.json.GenericJson { + + /** + * Output only. The overall approval status of this ad group ad asset, calculated based on the + * status of its individual policy topic entries. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String approvalStatus; + + /** + * Output only. The list of policy findings for the ad group ad asset. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List policyTopicEntries; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonPolicyTopicEntry used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonPolicyTopicEntry.class); + } + + /** + * Output only. Where in the review process this ad group ad asset is. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String reviewStatus; + + /** + * Output only. The overall approval status of this ad group ad asset, calculated based on the + * status of its individual policy topic entries. + * @return value or {@code null} for none + */ + public java.lang.String getApprovalStatus() { + return approvalStatus; + } + + /** + * Output only. The overall approval status of this ad group ad asset, calculated based on the + * status of its individual policy topic entries. + * @param approvalStatus approvalStatus or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupAdAssetPolicySummary setApprovalStatus(java.lang.String approvalStatus) { + this.approvalStatus = approvalStatus; + return this; + } + + /** + * Output only. The list of policy findings for the ad group ad asset. + * @return value or {@code null} for none + */ + public java.util.List getPolicyTopicEntries() { + return policyTopicEntries; + } + + /** + * Output only. The list of policy findings for the ad group ad asset. + * @param policyTopicEntries policyTopicEntries or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupAdAssetPolicySummary setPolicyTopicEntries(java.util.List policyTopicEntries) { + this.policyTopicEntries = policyTopicEntries; + return this; + } + + /** + * Output only. Where in the review process this ad group ad asset is. + * @return value or {@code null} for none + */ + public java.lang.String getReviewStatus() { + return reviewStatus; + } + + /** + * Output only. Where in the review process this ad group ad asset is. + * @param reviewStatus reviewStatus or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupAdAssetPolicySummary setReviewStatus(java.lang.String reviewStatus) { + this.reviewStatus = reviewStatus; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesAdGroupAdAssetPolicySummary set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesAdGroupAdAssetPolicySummary) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesAdGroupAdAssetPolicySummary clone() { + return (GoogleAdsSearchads360V23ResourcesAdGroupAdAssetPolicySummary) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupAdAssetView.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupAdAssetView.java new file mode 100644 index 00000000000..8f5aa11bfe1 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupAdAssetView.java @@ -0,0 +1,283 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Represents a link between an AdGroupAd and an Asset. This view provides insights into the + * performance of assets within specific ads. AdGroupAdAssetView supports the following ad types: * + * App Ads * Demand Gen campaigns * Responsive Search Ads It does not support Responsive Display + * Ads. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesAdGroupAdAssetView extends com.google.api.client.json.GenericJson { + + /** + * Output only. The ad group ad to which the asset is linked. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String adGroupAd; + + /** + * Output only. The asset which is linked to the ad group ad. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String asset; + + /** + * Output only. The status between the asset and the latest version of the ad. If true, the asset + * is linked to the latest version of the ad. If false, it means the link once existed but has + * been removed and is no longer present in the latest version of the ad. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean enabled; + + /** + * Output only. Role that the asset takes in the ad. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String fieldType; + + /** + * Output only. Performance of an asset linkage. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String performanceLabel; + + /** + * Output only. Pinned field. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String pinnedField; + + /** + * Output only. Policy information for the ad group ad asset. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAdGroupAdAssetPolicySummary policySummary; + + /** + * Output only. The resource name of the ad group ad asset view. Ad group ad asset view resource + * names have the form (Before V4): `customers/{customer_id}/adGroupAdAssets/{AdGroupAdAsset.ad_gr + * oup_id}~{AdGroupAdAsset.ad.ad_id}~{AdGroupAdAsset.asset_id}~{AdGroupAdAsset.field_type}` Ad + * group ad asset view resource names have the form (Beginning from V4): `customers/{customer_id}/ + * adGroupAdAssetViews/{AdGroupAdAsset.ad_group_id}~{AdGroupAdAsset.ad_id}~{AdGroupAdAsset.asset_i + * d}~{AdGroupAdAsset.field_type}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. Source of the ad group ad asset. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String source; + + /** + * Output only. The ad group ad to which the asset is linked. + * @return value or {@code null} for none + */ + public java.lang.String getAdGroupAd() { + return adGroupAd; + } + + /** + * Output only. The ad group ad to which the asset is linked. + * @param adGroupAd adGroupAd or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupAdAssetView setAdGroupAd(java.lang.String adGroupAd) { + this.adGroupAd = adGroupAd; + return this; + } + + /** + * Output only. The asset which is linked to the ad group ad. + * @return value or {@code null} for none + */ + public java.lang.String getAsset() { + return asset; + } + + /** + * Output only. The asset which is linked to the ad group ad. + * @param asset asset or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupAdAssetView setAsset(java.lang.String asset) { + this.asset = asset; + return this; + } + + /** + * Output only. The status between the asset and the latest version of the ad. If true, the asset + * is linked to the latest version of the ad. If false, it means the link once existed but has + * been removed and is no longer present in the latest version of the ad. + * @return value or {@code null} for none + */ + public java.lang.Boolean getEnabled() { + return enabled; + } + + /** + * Output only. The status between the asset and the latest version of the ad. If true, the asset + * is linked to the latest version of the ad. If false, it means the link once existed but has + * been removed and is no longer present in the latest version of the ad. + * @param enabled enabled or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupAdAssetView setEnabled(java.lang.Boolean enabled) { + this.enabled = enabled; + return this; + } + + /** + * Output only. Role that the asset takes in the ad. + * @return value or {@code null} for none + */ + public java.lang.String getFieldType() { + return fieldType; + } + + /** + * Output only. Role that the asset takes in the ad. + * @param fieldType fieldType or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupAdAssetView setFieldType(java.lang.String fieldType) { + this.fieldType = fieldType; + return this; + } + + /** + * Output only. Performance of an asset linkage. + * @return value or {@code null} for none + */ + public java.lang.String getPerformanceLabel() { + return performanceLabel; + } + + /** + * Output only. Performance of an asset linkage. + * @param performanceLabel performanceLabel or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupAdAssetView setPerformanceLabel(java.lang.String performanceLabel) { + this.performanceLabel = performanceLabel; + return this; + } + + /** + * Output only. Pinned field. + * @return value or {@code null} for none + */ + public java.lang.String getPinnedField() { + return pinnedField; + } + + /** + * Output only. Pinned field. + * @param pinnedField pinnedField or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupAdAssetView setPinnedField(java.lang.String pinnedField) { + this.pinnedField = pinnedField; + return this; + } + + /** + * Output only. Policy information for the ad group ad asset. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupAdAssetPolicySummary getPolicySummary() { + return policySummary; + } + + /** + * Output only. Policy information for the ad group ad asset. + * @param policySummary policySummary or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupAdAssetView setPolicySummary(GoogleAdsSearchads360V23ResourcesAdGroupAdAssetPolicySummary policySummary) { + this.policySummary = policySummary; + return this; + } + + /** + * Output only. The resource name of the ad group ad asset view. Ad group ad asset view resource + * names have the form (Before V4): `customers/{customer_id}/adGroupAdAssets/{AdGroupAdAsset.ad_gr + * oup_id}~{AdGroupAdAsset.ad.ad_id}~{AdGroupAdAsset.asset_id}~{AdGroupAdAsset.field_type}` Ad + * group ad asset view resource names have the form (Beginning from V4): `customers/{customer_id}/ + * adGroupAdAssetViews/{AdGroupAdAsset.ad_group_id}~{AdGroupAdAsset.ad_id}~{AdGroupAdAsset.asset_i + * d}~{AdGroupAdAsset.field_type}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Output only. The resource name of the ad group ad asset view. Ad group ad asset view resource + * names have the form (Before V4): `customers/{customer_id}/adGroupAdAssets/{AdGroupAdAsset.ad_gr + * oup_id}~{AdGroupAdAsset.ad.ad_id}~{AdGroupAdAsset.asset_id}~{AdGroupAdAsset.field_type}` Ad + * group ad asset view resource names have the form (Beginning from V4): `customers/{customer_id}/ + * adGroupAdAssetViews/{AdGroupAdAsset.ad_group_id}~{AdGroupAdAsset.ad_id}~{AdGroupAdAsset.asset_i + * d}~{AdGroupAdAsset.field_type}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupAdAssetView setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Output only. Source of the ad group ad asset. + * @return value or {@code null} for none + */ + public java.lang.String getSource() { + return source; + } + + /** + * Output only. Source of the ad group ad asset. + * @param source source or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupAdAssetView setSource(java.lang.String source) { + this.source = source; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesAdGroupAdAssetView set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesAdGroupAdAssetView) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesAdGroupAdAssetView clone() { + return (GoogleAdsSearchads360V23ResourcesAdGroupAdAssetView) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupAdEffectiveLabel.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupAdEffectiveLabel.java new file mode 100644 index 00000000000..9e6f164bf5e --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupAdEffectiveLabel.java @@ -0,0 +1,146 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A relationship between an ad group ad and an effective label. An effective label is a label + * inherited or directly assigned to this ad group ad. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesAdGroupAdEffectiveLabel extends com.google.api.client.json.GenericJson { + + /** + * Immutable. The ad group ad to which the effective label is attached. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String adGroupAd; + + /** + * Immutable. The effective label assigned to the ad group ad. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String label; + + /** + * Output only. The ID of the Customer which owns the effective label. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long ownerCustomerId; + + /** + * Immutable. The resource name of the ad group ad effective label. Ad group ad effective label + * resource names have the form: + * `customers/{owner_customer_id}/adGroupAdEffectiveLabels/{ad_group_id}~{ad_id}~{label_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Immutable. The ad group ad to which the effective label is attached. + * @return value or {@code null} for none + */ + public java.lang.String getAdGroupAd() { + return adGroupAd; + } + + /** + * Immutable. The ad group ad to which the effective label is attached. + * @param adGroupAd adGroupAd or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupAdEffectiveLabel setAdGroupAd(java.lang.String adGroupAd) { + this.adGroupAd = adGroupAd; + return this; + } + + /** + * Immutable. The effective label assigned to the ad group ad. + * @return value or {@code null} for none + */ + public java.lang.String getLabel() { + return label; + } + + /** + * Immutable. The effective label assigned to the ad group ad. + * @param label label or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupAdEffectiveLabel setLabel(java.lang.String label) { + this.label = label; + return this; + } + + /** + * Output only. The ID of the Customer which owns the effective label. + * @return value or {@code null} for none + */ + public java.lang.Long getOwnerCustomerId() { + return ownerCustomerId; + } + + /** + * Output only. The ID of the Customer which owns the effective label. + * @param ownerCustomerId ownerCustomerId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupAdEffectiveLabel setOwnerCustomerId(java.lang.Long ownerCustomerId) { + this.ownerCustomerId = ownerCustomerId; + return this; + } + + /** + * Immutable. The resource name of the ad group ad effective label. Ad group ad effective label + * resource names have the form: + * `customers/{owner_customer_id}/adGroupAdEffectiveLabels/{ad_group_id}~{ad_id}~{label_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Immutable. The resource name of the ad group ad effective label. Ad group ad effective label + * resource names have the form: + * `customers/{owner_customer_id}/adGroupAdEffectiveLabels/{ad_group_id}~{ad_id}~{label_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupAdEffectiveLabel setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesAdGroupAdEffectiveLabel set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesAdGroupAdEffectiveLabel) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesAdGroupAdEffectiveLabel clone() { + return (GoogleAdsSearchads360V23ResourcesAdGroupAdEffectiveLabel) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupAdLabel.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupAdLabel.java new file mode 100644 index 00000000000..b8631779974 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupAdLabel.java @@ -0,0 +1,142 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A relationship between an ad group ad and a label. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesAdGroupAdLabel extends com.google.api.client.json.GenericJson { + + /** + * Immutable. The ad group ad to which the label is attached. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String adGroupAd; + + /** + * Immutable. The label assigned to the ad group ad. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String label; + + /** + * Output only. The ID of the Customer which owns the label. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long ownerCustomerId; + + /** + * Immutable. The resource name of the ad group ad label. Ad group ad label resource names have + * the form: `customers/{owner_customer_id}/adGroupAdLabels/{ad_group_id}~{ad_id}~{label_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Immutable. The ad group ad to which the label is attached. + * @return value or {@code null} for none + */ + public java.lang.String getAdGroupAd() { + return adGroupAd; + } + + /** + * Immutable. The ad group ad to which the label is attached. + * @param adGroupAd adGroupAd or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupAdLabel setAdGroupAd(java.lang.String adGroupAd) { + this.adGroupAd = adGroupAd; + return this; + } + + /** + * Immutable. The label assigned to the ad group ad. + * @return value or {@code null} for none + */ + public java.lang.String getLabel() { + return label; + } + + /** + * Immutable. The label assigned to the ad group ad. + * @param label label or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupAdLabel setLabel(java.lang.String label) { + this.label = label; + return this; + } + + /** + * Output only. The ID of the Customer which owns the label. + * @return value or {@code null} for none + */ + public java.lang.Long getOwnerCustomerId() { + return ownerCustomerId; + } + + /** + * Output only. The ID of the Customer which owns the label. + * @param ownerCustomerId ownerCustomerId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupAdLabel setOwnerCustomerId(java.lang.Long ownerCustomerId) { + this.ownerCustomerId = ownerCustomerId; + return this; + } + + /** + * Immutable. The resource name of the ad group ad label. Ad group ad label resource names have + * the form: `customers/{owner_customer_id}/adGroupAdLabels/{ad_group_id}~{ad_id}~{label_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Immutable. The resource name of the ad group ad label. Ad group ad label resource names have + * the form: `customers/{owner_customer_id}/adGroupAdLabels/{ad_group_id}~{ad_id}~{label_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupAdLabel setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesAdGroupAdLabel set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesAdGroupAdLabel) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesAdGroupAdLabel clone() { + return (GoogleAdsSearchads360V23ResourcesAdGroupAdLabel) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupAdPolicySummary.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupAdPolicySummary.java new file mode 100644 index 00000000000..98047c80816 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupAdPolicySummary.java @@ -0,0 +1,124 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Contains policy information for an ad. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesAdGroupAdPolicySummary extends com.google.api.client.json.GenericJson { + + /** + * Output only. The overall approval status of this ad, calculated based on the status of its + * individual policy topic entries. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String approvalStatus; + + /** + * Output only. The list of policy findings for this ad. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List policyTopicEntries; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonPolicyTopicEntry used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonPolicyTopicEntry.class); + } + + /** + * Output only. Where in the review process this ad is. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String reviewStatus; + + /** + * Output only. The overall approval status of this ad, calculated based on the status of its + * individual policy topic entries. + * @return value or {@code null} for none + */ + public java.lang.String getApprovalStatus() { + return approvalStatus; + } + + /** + * Output only. The overall approval status of this ad, calculated based on the status of its + * individual policy topic entries. + * @param approvalStatus approvalStatus or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupAdPolicySummary setApprovalStatus(java.lang.String approvalStatus) { + this.approvalStatus = approvalStatus; + return this; + } + + /** + * Output only. The list of policy findings for this ad. + * @return value or {@code null} for none + */ + public java.util.List getPolicyTopicEntries() { + return policyTopicEntries; + } + + /** + * Output only. The list of policy findings for this ad. + * @param policyTopicEntries policyTopicEntries or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupAdPolicySummary setPolicyTopicEntries(java.util.List policyTopicEntries) { + this.policyTopicEntries = policyTopicEntries; + return this; + } + + /** + * Output only. Where in the review process this ad is. + * @return value or {@code null} for none + */ + public java.lang.String getReviewStatus() { + return reviewStatus; + } + + /** + * Output only. Where in the review process this ad is. + * @param reviewStatus reviewStatus or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupAdPolicySummary setReviewStatus(java.lang.String reviewStatus) { + this.reviewStatus = reviewStatus; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesAdGroupAdPolicySummary set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesAdGroupAdPolicySummary) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesAdGroupAdPolicySummary clone() { + return (GoogleAdsSearchads360V23ResourcesAdGroupAdPolicySummary) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupAiMaxAdGroupSetting.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupAiMaxAdGroupSetting.java new file mode 100644 index 00000000000..1746a07bc1b --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupAiMaxAdGroupSetting.java @@ -0,0 +1,70 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Settings for AI Max feature in standard search adgroups. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesAdGroupAiMaxAdGroupSetting extends com.google.api.client.json.GenericJson { + + /** + * Disable search term matching for this adgroup when AI Max is enabled. Search term matching uses + * broad match, asset-based, and landing page-based technology to improve reach. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean disableSearchTermMatching; + + /** + * Disable search term matching for this adgroup when AI Max is enabled. Search term matching uses + * broad match, asset-based, and landing page-based technology to improve reach. + * @return value or {@code null} for none + */ + public java.lang.Boolean getDisableSearchTermMatching() { + return disableSearchTermMatching; + } + + /** + * Disable search term matching for this adgroup when AI Max is enabled. Search term matching uses + * broad match, asset-based, and landing page-based technology to improve reach. + * @param disableSearchTermMatching disableSearchTermMatching or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupAiMaxAdGroupSetting setDisableSearchTermMatching(java.lang.Boolean disableSearchTermMatching) { + this.disableSearchTermMatching = disableSearchTermMatching; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesAdGroupAiMaxAdGroupSetting set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesAdGroupAiMaxAdGroupSetting) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesAdGroupAiMaxAdGroupSetting clone() { + return (GoogleAdsSearchads360V23ResourcesAdGroupAiMaxAdGroupSetting) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupAsset.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupAsset.java new file mode 100644 index 00000000000..90703289c41 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupAsset.java @@ -0,0 +1,283 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A link between an ad group and an asset. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesAdGroupAsset extends com.google.api.client.json.GenericJson { + + /** + * Required. Immutable. The ad group to which the asset is linked. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String adGroup; + + /** + * Required. Immutable. The asset which is linked to the ad group. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String asset; + + /** + * Required. Immutable. Role that the asset takes under the linked ad group. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String fieldType; + + /** + * Output only. Provides the PrimaryStatus of this asset link. Primary status is meant essentially + * to differentiate between the plain "status" field, which has advertiser set values of enabled, + * paused, or removed. The primary status takes into account other signals (for assets its mainly + * policy and quality approvals) to come up with a more comprehensive status to indicate its + * serving state. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String primaryStatus; + + /** + * Output only. Provides the details of the primary status and its associated reasons. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List primaryStatusDetails; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonAssetLinkPrimaryStatusDetails used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonAssetLinkPrimaryStatusDetails.class); + } + + /** + * Output only. Provides a list of reasons for why an asset is not serving or not serving at full + * capacity. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List primaryStatusReasons; + + /** + * Immutable. The resource name of the ad group asset. AdGroupAsset resource names have the form: + * `customers/{customer_id}/adGroupAssets/{ad_group_id}~{asset_id}~{field_type}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. Source of the adgroup asset link. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String source; + + /** + * Status of the ad group asset. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String status; + + /** + * Required. Immutable. The ad group to which the asset is linked. + * @return value or {@code null} for none + */ + public java.lang.String getAdGroup() { + return adGroup; + } + + /** + * Required. Immutable. The ad group to which the asset is linked. + * @param adGroup adGroup or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupAsset setAdGroup(java.lang.String adGroup) { + this.adGroup = adGroup; + return this; + } + + /** + * Required. Immutable. The asset which is linked to the ad group. + * @return value or {@code null} for none + */ + public java.lang.String getAsset() { + return asset; + } + + /** + * Required. Immutable. The asset which is linked to the ad group. + * @param asset asset or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupAsset setAsset(java.lang.String asset) { + this.asset = asset; + return this; + } + + /** + * Required. Immutable. Role that the asset takes under the linked ad group. + * @return value or {@code null} for none + */ + public java.lang.String getFieldType() { + return fieldType; + } + + /** + * Required. Immutable. Role that the asset takes under the linked ad group. + * @param fieldType fieldType or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupAsset setFieldType(java.lang.String fieldType) { + this.fieldType = fieldType; + return this; + } + + /** + * Output only. Provides the PrimaryStatus of this asset link. Primary status is meant essentially + * to differentiate between the plain "status" field, which has advertiser set values of enabled, + * paused, or removed. The primary status takes into account other signals (for assets its mainly + * policy and quality approvals) to come up with a more comprehensive status to indicate its + * serving state. + * @return value or {@code null} for none + */ + public java.lang.String getPrimaryStatus() { + return primaryStatus; + } + + /** + * Output only. Provides the PrimaryStatus of this asset link. Primary status is meant essentially + * to differentiate between the plain "status" field, which has advertiser set values of enabled, + * paused, or removed. The primary status takes into account other signals (for assets its mainly + * policy and quality approvals) to come up with a more comprehensive status to indicate its + * serving state. + * @param primaryStatus primaryStatus or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupAsset setPrimaryStatus(java.lang.String primaryStatus) { + this.primaryStatus = primaryStatus; + return this; + } + + /** + * Output only. Provides the details of the primary status and its associated reasons. + * @return value or {@code null} for none + */ + public java.util.List getPrimaryStatusDetails() { + return primaryStatusDetails; + } + + /** + * Output only. Provides the details of the primary status and its associated reasons. + * @param primaryStatusDetails primaryStatusDetails or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupAsset setPrimaryStatusDetails(java.util.List primaryStatusDetails) { + this.primaryStatusDetails = primaryStatusDetails; + return this; + } + + /** + * Output only. Provides a list of reasons for why an asset is not serving or not serving at full + * capacity. + * @return value or {@code null} for none + */ + public java.util.List getPrimaryStatusReasons() { + return primaryStatusReasons; + } + + /** + * Output only. Provides a list of reasons for why an asset is not serving or not serving at full + * capacity. + * @param primaryStatusReasons primaryStatusReasons or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupAsset setPrimaryStatusReasons(java.util.List primaryStatusReasons) { + this.primaryStatusReasons = primaryStatusReasons; + return this; + } + + /** + * Immutable. The resource name of the ad group asset. AdGroupAsset resource names have the form: + * `customers/{customer_id}/adGroupAssets/{ad_group_id}~{asset_id}~{field_type}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Immutable. The resource name of the ad group asset. AdGroupAsset resource names have the form: + * `customers/{customer_id}/adGroupAssets/{ad_group_id}~{asset_id}~{field_type}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupAsset setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Output only. Source of the adgroup asset link. + * @return value or {@code null} for none + */ + public java.lang.String getSource() { + return source; + } + + /** + * Output only. Source of the adgroup asset link. + * @param source source or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupAsset setSource(java.lang.String source) { + this.source = source; + return this; + } + + /** + * Status of the ad group asset. + * @return value or {@code null} for none + */ + public java.lang.String getStatus() { + return status; + } + + /** + * Status of the ad group asset. + * @param status status or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupAsset setStatus(java.lang.String status) { + this.status = status; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesAdGroupAsset set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesAdGroupAsset) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesAdGroupAsset clone() { + return (GoogleAdsSearchads360V23ResourcesAdGroupAsset) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupAssetSet.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupAssetSet.java new file mode 100644 index 00000000000..5c9c9ebeed4 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupAssetSet.java @@ -0,0 +1,143 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * AdGroupAssetSet is the linkage between an ad group and an asset set. Creating an AdGroupAssetSet + * links an asset set with an ad group. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesAdGroupAssetSet extends com.google.api.client.json.GenericJson { + + /** + * Immutable. The ad group to which this asset set is linked. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String adGroup; + + /** + * Immutable. The asset set which is linked to the ad group. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String assetSet; + + /** + * Immutable. The resource name of the ad group asset set. Ad group asset set resource names have + * the form: `customers/{customer_id}/adGroupAssetSets/{ad_group_id}~{asset_set_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. The status of the ad group asset set. Read-only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String status; + + /** + * Immutable. The ad group to which this asset set is linked. + * @return value or {@code null} for none + */ + public java.lang.String getAdGroup() { + return adGroup; + } + + /** + * Immutable. The ad group to which this asset set is linked. + * @param adGroup adGroup or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupAssetSet setAdGroup(java.lang.String adGroup) { + this.adGroup = adGroup; + return this; + } + + /** + * Immutable. The asset set which is linked to the ad group. + * @return value or {@code null} for none + */ + public java.lang.String getAssetSet() { + return assetSet; + } + + /** + * Immutable. The asset set which is linked to the ad group. + * @param assetSet assetSet or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupAssetSet setAssetSet(java.lang.String assetSet) { + this.assetSet = assetSet; + return this; + } + + /** + * Immutable. The resource name of the ad group asset set. Ad group asset set resource names have + * the form: `customers/{customer_id}/adGroupAssetSets/{ad_group_id}~{asset_set_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Immutable. The resource name of the ad group asset set. Ad group asset set resource names have + * the form: `customers/{customer_id}/adGroupAssetSets/{ad_group_id}~{asset_set_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupAssetSet setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Output only. The status of the ad group asset set. Read-only. + * @return value or {@code null} for none + */ + public java.lang.String getStatus() { + return status; + } + + /** + * Output only. The status of the ad group asset set. Read-only. + * @param status status or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupAssetSet setStatus(java.lang.String status) { + this.status = status; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesAdGroupAssetSet set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesAdGroupAssetSet) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesAdGroupAssetSet clone() { + return (GoogleAdsSearchads360V23ResourcesAdGroupAssetSet) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupAudienceSetting.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupAudienceSetting.java new file mode 100644 index 00000000000..ede33db4894 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupAudienceSetting.java @@ -0,0 +1,70 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Settings for the audience targeting. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesAdGroupAudienceSetting extends com.google.api.client.json.GenericJson { + + /** + * Immutable. If true, this ad group uses an Audience resource for audience targeting. If false, + * this ad group may use audience segment criteria instead. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean useAudienceGrouped; + + /** + * Immutable. If true, this ad group uses an Audience resource for audience targeting. If false, + * this ad group may use audience segment criteria instead. + * @return value or {@code null} for none + */ + public java.lang.Boolean getUseAudienceGrouped() { + return useAudienceGrouped; + } + + /** + * Immutable. If true, this ad group uses an Audience resource for audience targeting. If false, + * this ad group may use audience segment criteria instead. + * @param useAudienceGrouped useAudienceGrouped or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupAudienceSetting setUseAudienceGrouped(java.lang.Boolean useAudienceGrouped) { + this.useAudienceGrouped = useAudienceGrouped; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesAdGroupAudienceSetting set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesAdGroupAudienceSetting) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesAdGroupAudienceSetting clone() { + return (GoogleAdsSearchads360V23ResourcesAdGroupAudienceSetting) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupAudienceView.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupAudienceView.java new file mode 100644 index 00000000000..1ca7c42e193 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupAudienceView.java @@ -0,0 +1,75 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * An ad group audience view. Includes performance data from interests and remarketing lists for + * Display Network and YouTube Network ads, and remarketing lists for search ads (RLSA), aggregated + * at the audience level. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesAdGroupAudienceView extends com.google.api.client.json.GenericJson { + + /** + * Output only. The resource name of the ad group audience view. Ad group audience view resource + * names have the form: + * `customers/{customer_id}/adGroupAudienceViews/{ad_group_id}~{criterion_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. The resource name of the ad group audience view. Ad group audience view resource + * names have the form: + * `customers/{customer_id}/adGroupAudienceViews/{ad_group_id}~{criterion_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Output only. The resource name of the ad group audience view. Ad group audience view resource + * names have the form: + * `customers/{customer_id}/adGroupAudienceViews/{ad_group_id}~{criterion_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupAudienceView setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesAdGroupAudienceView set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesAdGroupAudienceView) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesAdGroupAudienceView clone() { + return (GoogleAdsSearchads360V23ResourcesAdGroupAudienceView) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupBidModifier.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupBidModifier.java new file mode 100644 index 00000000000..c0c2d4bd135 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupBidModifier.java @@ -0,0 +1,346 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Represents an ad group bid modifier. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesAdGroupBidModifier extends com.google.api.client.json.GenericJson { + + /** + * Immutable. The ad group to which this criterion belongs. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String adGroup; + + /** + * Output only. The base ad group from which this draft/trial adgroup bid modifier was created. If + * ad_group is a base ad group then this field will be equal to ad_group. If the ad group was + * created in the draft or trial and has no corresponding base ad group, then this field will be + * null. This field is readonly. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String baseAdGroup; + + /** + * The modifier for the bid when the criterion matches. The modifier must be in the range: 0.1 - + * 10.0. Use 0 to opt out of a Device type. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double bidModifier; + + /** + * Output only. Bid modifier source. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String bidModifierSource; + + /** + * Output only. The ID of the criterion to bid modify. This field is ignored for mutates. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long criterionId; + + /** + * Immutable. A device criterion. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonDeviceInfo device; + + /** + * Immutable. Criterion for number of days prior to the stay the booking is being made. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonHotelAdvanceBookingWindowInfo hotelAdvanceBookingWindow; + + /** + * Immutable. Criterion for a hotel check-in date range. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonHotelCheckInDateRangeInfo hotelCheckInDateRange; + + /** + * Immutable. Criterion for day of the week the booking is for. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonHotelCheckInDayInfo hotelCheckInDay; + + /** + * Immutable. Criterion for hotel date selection (default dates versus user selected). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonHotelDateSelectionTypeInfo hotelDateSelectionType; + + /** + * Immutable. Criterion for length of hotel stay in nights. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonHotelLengthOfStayInfo hotelLengthOfStay; + + /** + * Immutable. The resource name of the ad group bid modifier. Ad group bid modifier resource names + * have the form: `customers/{customer_id}/adGroupBidModifiers/{ad_group_id}~{criterion_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Immutable. The ad group to which this criterion belongs. + * @return value or {@code null} for none + */ + public java.lang.String getAdGroup() { + return adGroup; + } + + /** + * Immutable. The ad group to which this criterion belongs. + * @param adGroup adGroup or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupBidModifier setAdGroup(java.lang.String adGroup) { + this.adGroup = adGroup; + return this; + } + + /** + * Output only. The base ad group from which this draft/trial adgroup bid modifier was created. If + * ad_group is a base ad group then this field will be equal to ad_group. If the ad group was + * created in the draft or trial and has no corresponding base ad group, then this field will be + * null. This field is readonly. + * @return value or {@code null} for none + */ + public java.lang.String getBaseAdGroup() { + return baseAdGroup; + } + + /** + * Output only. The base ad group from which this draft/trial adgroup bid modifier was created. If + * ad_group is a base ad group then this field will be equal to ad_group. If the ad group was + * created in the draft or trial and has no corresponding base ad group, then this field will be + * null. This field is readonly. + * @param baseAdGroup baseAdGroup or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupBidModifier setBaseAdGroup(java.lang.String baseAdGroup) { + this.baseAdGroup = baseAdGroup; + return this; + } + + /** + * The modifier for the bid when the criterion matches. The modifier must be in the range: 0.1 - + * 10.0. Use 0 to opt out of a Device type. + * @return value or {@code null} for none + */ + public java.lang.Double getBidModifier() { + return bidModifier; + } + + /** + * The modifier for the bid when the criterion matches. The modifier must be in the range: 0.1 - + * 10.0. Use 0 to opt out of a Device type. + * @param bidModifier bidModifier or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupBidModifier setBidModifier(java.lang.Double bidModifier) { + this.bidModifier = bidModifier; + return this; + } + + /** + * Output only. Bid modifier source. + * @return value or {@code null} for none + */ + public java.lang.String getBidModifierSource() { + return bidModifierSource; + } + + /** + * Output only. Bid modifier source. + * @param bidModifierSource bidModifierSource or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupBidModifier setBidModifierSource(java.lang.String bidModifierSource) { + this.bidModifierSource = bidModifierSource; + return this; + } + + /** + * Output only. The ID of the criterion to bid modify. This field is ignored for mutates. + * @return value or {@code null} for none + */ + public java.lang.Long getCriterionId() { + return criterionId; + } + + /** + * Output only. The ID of the criterion to bid modify. This field is ignored for mutates. + * @param criterionId criterionId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupBidModifier setCriterionId(java.lang.Long criterionId) { + this.criterionId = criterionId; + return this; + } + + /** + * Immutable. A device criterion. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDeviceInfo getDevice() { + return device; + } + + /** + * Immutable. A device criterion. + * @param device device or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupBidModifier setDevice(GoogleAdsSearchads360V23CommonDeviceInfo device) { + this.device = device; + return this; + } + + /** + * Immutable. Criterion for number of days prior to the stay the booking is being made. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonHotelAdvanceBookingWindowInfo getHotelAdvanceBookingWindow() { + return hotelAdvanceBookingWindow; + } + + /** + * Immutable. Criterion for number of days prior to the stay the booking is being made. + * @param hotelAdvanceBookingWindow hotelAdvanceBookingWindow or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupBidModifier setHotelAdvanceBookingWindow(GoogleAdsSearchads360V23CommonHotelAdvanceBookingWindowInfo hotelAdvanceBookingWindow) { + this.hotelAdvanceBookingWindow = hotelAdvanceBookingWindow; + return this; + } + + /** + * Immutable. Criterion for a hotel check-in date range. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonHotelCheckInDateRangeInfo getHotelCheckInDateRange() { + return hotelCheckInDateRange; + } + + /** + * Immutable. Criterion for a hotel check-in date range. + * @param hotelCheckInDateRange hotelCheckInDateRange or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupBidModifier setHotelCheckInDateRange(GoogleAdsSearchads360V23CommonHotelCheckInDateRangeInfo hotelCheckInDateRange) { + this.hotelCheckInDateRange = hotelCheckInDateRange; + return this; + } + + /** + * Immutable. Criterion for day of the week the booking is for. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonHotelCheckInDayInfo getHotelCheckInDay() { + return hotelCheckInDay; + } + + /** + * Immutable. Criterion for day of the week the booking is for. + * @param hotelCheckInDay hotelCheckInDay or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupBidModifier setHotelCheckInDay(GoogleAdsSearchads360V23CommonHotelCheckInDayInfo hotelCheckInDay) { + this.hotelCheckInDay = hotelCheckInDay; + return this; + } + + /** + * Immutable. Criterion for hotel date selection (default dates versus user selected). + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonHotelDateSelectionTypeInfo getHotelDateSelectionType() { + return hotelDateSelectionType; + } + + /** + * Immutable. Criterion for hotel date selection (default dates versus user selected). + * @param hotelDateSelectionType hotelDateSelectionType or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupBidModifier setHotelDateSelectionType(GoogleAdsSearchads360V23CommonHotelDateSelectionTypeInfo hotelDateSelectionType) { + this.hotelDateSelectionType = hotelDateSelectionType; + return this; + } + + /** + * Immutable. Criterion for length of hotel stay in nights. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonHotelLengthOfStayInfo getHotelLengthOfStay() { + return hotelLengthOfStay; + } + + /** + * Immutable. Criterion for length of hotel stay in nights. + * @param hotelLengthOfStay hotelLengthOfStay or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupBidModifier setHotelLengthOfStay(GoogleAdsSearchads360V23CommonHotelLengthOfStayInfo hotelLengthOfStay) { + this.hotelLengthOfStay = hotelLengthOfStay; + return this; + } + + /** + * Immutable. The resource name of the ad group bid modifier. Ad group bid modifier resource names + * have the form: `customers/{customer_id}/adGroupBidModifiers/{ad_group_id}~{criterion_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Immutable. The resource name of the ad group bid modifier. Ad group bid modifier resource names + * have the form: `customers/{customer_id}/adGroupBidModifiers/{ad_group_id}~{criterion_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupBidModifier setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesAdGroupBidModifier set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesAdGroupBidModifier) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesAdGroupBidModifier clone() { + return (GoogleAdsSearchads360V23ResourcesAdGroupBidModifier) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupCriterion.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupCriterion.java new file mode 100644 index 00000000000..9955098dc8d --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupCriterion.java @@ -0,0 +1,1688 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * An ad group criterion. The ad_group_criterion report only returns criteria that were explicitly + * added to the ad group. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesAdGroupCriterion extends com.google.api.client.json.GenericJson { + + /** + * Immutable. The ad group to which the criterion belongs. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String adGroup; + + /** + * Immutable. Age range. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonAgeRangeInfo ageRange; + + /** + * Immutable. App Payment Model. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonAppPaymentModelInfo appPaymentModel; + + /** + * Output only. Approval status of the criterion. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String approvalStatus; + + /** + * Immutable. Audience. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonAudienceInfo audience; + + /** + * The modifier for the bid when the criterion matches. The modifier must be in the range: 0.1 - + * 10.0. Most targetable criteria types support modifiers. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double bidModifier; + + /** + * Immutable. Brand list criterion. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonBrandListInfo brandList; + + /** + * Immutable. Combined Audience. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonCombinedAudienceInfo combinedAudience; + + /** + * The CPC (cost-per-click) bid. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long cpcBidMicros; + + /** + * The CPM (cost-per-thousand viewable impressions) bid. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long cpmBidMicros; + + /** + * The CPV (cost-per-view) bid. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long cpvBidMicros; + + /** + * Output only. The timestamp when this ad group criterion was created. The timestamp is in the + * customer's time zone and in "yyyy-MM-dd HH:mm:ss" format. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String creationTime; + + /** + * Output only. The ID of the criterion. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long criterionId; + + /** + * Immutable. Custom Affinity. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonCustomAffinityInfo customAffinity; + + /** + * Immutable. Custom Audience. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonCustomAudienceInfo customAudience; + + /** + * Immutable. Custom Intent. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonCustomIntentInfo customIntent; + + /** + * Output only. List of disapproval reasons of the criterion. The different reasons for + * disapproving a criterion can be found here: https://support.google.com/adspolicy/answer/6008942 + * This field is read-only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List disapprovalReasons; + + /** + * Output only. The display name of the criterion. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String displayName; + + /** + * Output only. The effective CPC (cost-per-click) bid. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long effectiveCpcBidMicros; + + /** + * Output only. Source of the effective CPC bid. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String effectiveCpcBidSource; + + /** + * Output only. The effective CPM (cost-per-thousand viewable impressions) bid. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long effectiveCpmBidMicros; + + /** + * Output only. Source of the effective CPM bid. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String effectiveCpmBidSource; + + /** + * Output only. The effective CPV (cost-per-view) bid. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long effectiveCpvBidMicros; + + /** + * Output only. Source of the effective CPV bid. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String effectiveCpvBidSource; + + /** + * Output only. The resource names of effective labels attached to this ad group criterion. An + * effective label is a label inherited or directly assigned to this ad group criterion. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List effectiveLabels; + + /** + * Output only. The effective Percent CPC bid amount. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long effectivePercentCpcBidMicros; + + /** + * Output only. Source of the effective Percent CPC bid. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String effectivePercentCpcBidSource; + + /** + * Output only. ID of the ad group criterion in the external engine account. This field is for + * non-Google Ads account only, for example, Yahoo Japan, Microsoft, Baidu etc. For Google Ads + * entity, use "ad_group_criterion.criterion_id" instead. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String engineId; + + /** + * Output only. The Engine Status for ad group criterion. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String engineStatus; + + /** + * Immutable. Extended demographic criterion. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonExtendedDemographicInfo extendedDemographic; + + /** + * The list of possible final mobile URLs after all cross-domain redirects. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List finalMobileUrls; + + /** + * URL template for appending params to final URL. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String finalUrlSuffix; + + /** + * The list of possible final URLs after all cross-domain redirects for the ad. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List finalUrls; + + /** + * Immutable. Gender. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonGenderInfo gender; + + /** + * Immutable. Income range. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonIncomeRangeInfo incomeRange; + + /** + * Immutable. Keyword. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonKeywordInfo keyword; + + /** + * Output only. The resource names of labels attached to this ad group criterion. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List labels; + + /** + * Immutable. Language. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonLanguageInfo language; + + /** + * Output only. The datetime when this ad group criterion was last modified. The datetime is in + * the customer's time zone and in "yyyy-MM-dd HH:mm:ss.ssssss" format. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String lastModifiedTime; + + /** + * Immutable. Life event campaign criterion. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonLifeEventInfo lifeEvent; + + /** + * Immutable. Listing group. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonListingGroupInfo listingGroup; + + /** + * Immutable. Location. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonLocationInfo location; + + /** + * Immutable. Mobile app category. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonMobileAppCategoryInfo mobileAppCategory; + + /** + * Immutable. Mobile application. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonMobileApplicationInfo mobileApplication; + + /** + * Immutable. Whether to target (`false`) or exclude (`true`) the criterion. This field is + * immutable. To switch a criterion from positive to negative, remove then re-add it. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean negative; + + /** + * Immutable. Parental status. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonParentalStatusInfo parentalStatus; + + /** + * The CPC bid amount, expressed as a fraction of the advertised price for some good or service. + * The valid range for the fraction is [0,1) and the value stored here is 1,000,000 * [fraction]. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long percentCpcBidMicros; + + /** + * Immutable. Placement. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonPlacementInfo placement; + + /** + * Output only. Estimates for criterion bids at various positions. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAdGroupCriterionPositionEstimates positionEstimates; + + /** + * Output only. The primary status for the ad group criterion. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String primaryStatus; + + /** + * Output only. The primary status reasons for the ad group criterion. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List primaryStatusReasons; + + /** + * Output only. Information regarding the quality of the criterion. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAdGroupCriterionQualityInfo qualityInfo; + + /** + * Immutable. The resource name of the ad group criterion. Ad group criterion resource names have + * the form: `customers/{customer_id}/adGroupCriteria/{ad_group_id}~{criterion_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * The status of the criterion. This is the status of the ad group criterion entity, set by the + * client. Note: UI reports may incorporate additional information that affects whether a + * criterion is eligible to run. In some cases a criterion that's REMOVED in the API can still + * show as enabled in the UI. For example, campaigns by default show to users of all age ranges + * unless excluded. The UI will show each age range as "enabled", since they're eligible to see + * the ads; but AdGroupCriterion.status will show "removed", since no positive criterion was + * added. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String status; + + /** + * Output only. Serving status of the criterion. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String systemServingStatus; + + /** + * Immutable. Topic. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonTopicInfo topic; + + /** + * The URL template for constructing a tracking URL. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String trackingUrlTemplate; + + /** + * Output only. The type of the criterion. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String type; + + /** + * The list of mappings used to substitute custom parameter tags in a `tracking_url_template`, + * `final_urls`, or `mobile_final_urls`. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List urlCustomParameters; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonCustomParameter used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonCustomParameter.class); + } + + /** + * Immutable. User Interest. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonUserInterestInfo userInterest; + + /** + * Immutable. User List. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonUserListInfo userList; + + /** + * Immutable. Vertical ads item group rule list criterion. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonVerticalAdsItemGroupRuleListInfo verticalAdsItemGroupRuleList; + + /** + * Immutable. Video lineup criterion. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonVideoLineupInfo videoLineup; + + /** + * Immutable. Webpage + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonWebpageInfo webpage; + + /** + * Immutable. YouTube Channel. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonYouTubeChannelInfo youtubeChannel; + + /** + * Immutable. YouTube Video. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonYouTubeVideoInfo youtubeVideo; + + /** + * Immutable. The ad group to which the criterion belongs. + * @return value or {@code null} for none + */ + public java.lang.String getAdGroup() { + return adGroup; + } + + /** + * Immutable. The ad group to which the criterion belongs. + * @param adGroup adGroup or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterion setAdGroup(java.lang.String adGroup) { + this.adGroup = adGroup; + return this; + } + + /** + * Immutable. Age range. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAgeRangeInfo getAgeRange() { + return ageRange; + } + + /** + * Immutable. Age range. + * @param ageRange ageRange or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterion setAgeRange(GoogleAdsSearchads360V23CommonAgeRangeInfo ageRange) { + this.ageRange = ageRange; + return this; + } + + /** + * Immutable. App Payment Model. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAppPaymentModelInfo getAppPaymentModel() { + return appPaymentModel; + } + + /** + * Immutable. App Payment Model. + * @param appPaymentModel appPaymentModel or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterion setAppPaymentModel(GoogleAdsSearchads360V23CommonAppPaymentModelInfo appPaymentModel) { + this.appPaymentModel = appPaymentModel; + return this; + } + + /** + * Output only. Approval status of the criterion. + * @return value or {@code null} for none + */ + public java.lang.String getApprovalStatus() { + return approvalStatus; + } + + /** + * Output only. Approval status of the criterion. + * @param approvalStatus approvalStatus or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterion setApprovalStatus(java.lang.String approvalStatus) { + this.approvalStatus = approvalStatus; + return this; + } + + /** + * Immutable. Audience. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAudienceInfo getAudience() { + return audience; + } + + /** + * Immutable. Audience. + * @param audience audience or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterion setAudience(GoogleAdsSearchads360V23CommonAudienceInfo audience) { + this.audience = audience; + return this; + } + + /** + * The modifier for the bid when the criterion matches. The modifier must be in the range: 0.1 - + * 10.0. Most targetable criteria types support modifiers. + * @return value or {@code null} for none + */ + public java.lang.Double getBidModifier() { + return bidModifier; + } + + /** + * The modifier for the bid when the criterion matches. The modifier must be in the range: 0.1 - + * 10.0. Most targetable criteria types support modifiers. + * @param bidModifier bidModifier or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterion setBidModifier(java.lang.Double bidModifier) { + this.bidModifier = bidModifier; + return this; + } + + /** + * Immutable. Brand list criterion. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonBrandListInfo getBrandList() { + return brandList; + } + + /** + * Immutable. Brand list criterion. + * @param brandList brandList or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterion setBrandList(GoogleAdsSearchads360V23CommonBrandListInfo brandList) { + this.brandList = brandList; + return this; + } + + /** + * Immutable. Combined Audience. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCombinedAudienceInfo getCombinedAudience() { + return combinedAudience; + } + + /** + * Immutable. Combined Audience. + * @param combinedAudience combinedAudience or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterion setCombinedAudience(GoogleAdsSearchads360V23CommonCombinedAudienceInfo combinedAudience) { + this.combinedAudience = combinedAudience; + return this; + } + + /** + * The CPC (cost-per-click) bid. + * @return value or {@code null} for none + */ + public java.lang.Long getCpcBidMicros() { + return cpcBidMicros; + } + + /** + * The CPC (cost-per-click) bid. + * @param cpcBidMicros cpcBidMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterion setCpcBidMicros(java.lang.Long cpcBidMicros) { + this.cpcBidMicros = cpcBidMicros; + return this; + } + + /** + * The CPM (cost-per-thousand viewable impressions) bid. + * @return value or {@code null} for none + */ + public java.lang.Long getCpmBidMicros() { + return cpmBidMicros; + } + + /** + * The CPM (cost-per-thousand viewable impressions) bid. + * @param cpmBidMicros cpmBidMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterion setCpmBidMicros(java.lang.Long cpmBidMicros) { + this.cpmBidMicros = cpmBidMicros; + return this; + } + + /** + * The CPV (cost-per-view) bid. + * @return value or {@code null} for none + */ + public java.lang.Long getCpvBidMicros() { + return cpvBidMicros; + } + + /** + * The CPV (cost-per-view) bid. + * @param cpvBidMicros cpvBidMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterion setCpvBidMicros(java.lang.Long cpvBidMicros) { + this.cpvBidMicros = cpvBidMicros; + return this; + } + + /** + * Output only. The timestamp when this ad group criterion was created. The timestamp is in the + * customer's time zone and in "yyyy-MM-dd HH:mm:ss" format. + * @return value or {@code null} for none + */ + public java.lang.String getCreationTime() { + return creationTime; + } + + /** + * Output only. The timestamp when this ad group criterion was created. The timestamp is in the + * customer's time zone and in "yyyy-MM-dd HH:mm:ss" format. + * @param creationTime creationTime or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterion setCreationTime(java.lang.String creationTime) { + this.creationTime = creationTime; + return this; + } + + /** + * Output only. The ID of the criterion. + * @return value or {@code null} for none + */ + public java.lang.Long getCriterionId() { + return criterionId; + } + + /** + * Output only. The ID of the criterion. + * @param criterionId criterionId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterion setCriterionId(java.lang.Long criterionId) { + this.criterionId = criterionId; + return this; + } + + /** + * Immutable. Custom Affinity. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCustomAffinityInfo getCustomAffinity() { + return customAffinity; + } + + /** + * Immutable. Custom Affinity. + * @param customAffinity customAffinity or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterion setCustomAffinity(GoogleAdsSearchads360V23CommonCustomAffinityInfo customAffinity) { + this.customAffinity = customAffinity; + return this; + } + + /** + * Immutable. Custom Audience. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCustomAudienceInfo getCustomAudience() { + return customAudience; + } + + /** + * Immutable. Custom Audience. + * @param customAudience customAudience or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterion setCustomAudience(GoogleAdsSearchads360V23CommonCustomAudienceInfo customAudience) { + this.customAudience = customAudience; + return this; + } + + /** + * Immutable. Custom Intent. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCustomIntentInfo getCustomIntent() { + return customIntent; + } + + /** + * Immutable. Custom Intent. + * @param customIntent customIntent or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterion setCustomIntent(GoogleAdsSearchads360V23CommonCustomIntentInfo customIntent) { + this.customIntent = customIntent; + return this; + } + + /** + * Output only. List of disapproval reasons of the criterion. The different reasons for + * disapproving a criterion can be found here: https://support.google.com/adspolicy/answer/6008942 + * This field is read-only. + * @return value or {@code null} for none + */ + public java.util.List getDisapprovalReasons() { + return disapprovalReasons; + } + + /** + * Output only. List of disapproval reasons of the criterion. The different reasons for + * disapproving a criterion can be found here: https://support.google.com/adspolicy/answer/6008942 + * This field is read-only. + * @param disapprovalReasons disapprovalReasons or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterion setDisapprovalReasons(java.util.List disapprovalReasons) { + this.disapprovalReasons = disapprovalReasons; + return this; + } + + /** + * Output only. The display name of the criterion. + * @return value or {@code null} for none + */ + public java.lang.String getDisplayName() { + return displayName; + } + + /** + * Output only. The display name of the criterion. + * @param displayName displayName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterion setDisplayName(java.lang.String displayName) { + this.displayName = displayName; + return this; + } + + /** + * Output only. The effective CPC (cost-per-click) bid. + * @return value or {@code null} for none + */ + public java.lang.Long getEffectiveCpcBidMicros() { + return effectiveCpcBidMicros; + } + + /** + * Output only. The effective CPC (cost-per-click) bid. + * @param effectiveCpcBidMicros effectiveCpcBidMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterion setEffectiveCpcBidMicros(java.lang.Long effectiveCpcBidMicros) { + this.effectiveCpcBidMicros = effectiveCpcBidMicros; + return this; + } + + /** + * Output only. Source of the effective CPC bid. + * @return value or {@code null} for none + */ + public java.lang.String getEffectiveCpcBidSource() { + return effectiveCpcBidSource; + } + + /** + * Output only. Source of the effective CPC bid. + * @param effectiveCpcBidSource effectiveCpcBidSource or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterion setEffectiveCpcBidSource(java.lang.String effectiveCpcBidSource) { + this.effectiveCpcBidSource = effectiveCpcBidSource; + return this; + } + + /** + * Output only. The effective CPM (cost-per-thousand viewable impressions) bid. + * @return value or {@code null} for none + */ + public java.lang.Long getEffectiveCpmBidMicros() { + return effectiveCpmBidMicros; + } + + /** + * Output only. The effective CPM (cost-per-thousand viewable impressions) bid. + * @param effectiveCpmBidMicros effectiveCpmBidMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterion setEffectiveCpmBidMicros(java.lang.Long effectiveCpmBidMicros) { + this.effectiveCpmBidMicros = effectiveCpmBidMicros; + return this; + } + + /** + * Output only. Source of the effective CPM bid. + * @return value or {@code null} for none + */ + public java.lang.String getEffectiveCpmBidSource() { + return effectiveCpmBidSource; + } + + /** + * Output only. Source of the effective CPM bid. + * @param effectiveCpmBidSource effectiveCpmBidSource or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterion setEffectiveCpmBidSource(java.lang.String effectiveCpmBidSource) { + this.effectiveCpmBidSource = effectiveCpmBidSource; + return this; + } + + /** + * Output only. The effective CPV (cost-per-view) bid. + * @return value or {@code null} for none + */ + public java.lang.Long getEffectiveCpvBidMicros() { + return effectiveCpvBidMicros; + } + + /** + * Output only. The effective CPV (cost-per-view) bid. + * @param effectiveCpvBidMicros effectiveCpvBidMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterion setEffectiveCpvBidMicros(java.lang.Long effectiveCpvBidMicros) { + this.effectiveCpvBidMicros = effectiveCpvBidMicros; + return this; + } + + /** + * Output only. Source of the effective CPV bid. + * @return value or {@code null} for none + */ + public java.lang.String getEffectiveCpvBidSource() { + return effectiveCpvBidSource; + } + + /** + * Output only. Source of the effective CPV bid. + * @param effectiveCpvBidSource effectiveCpvBidSource or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterion setEffectiveCpvBidSource(java.lang.String effectiveCpvBidSource) { + this.effectiveCpvBidSource = effectiveCpvBidSource; + return this; + } + + /** + * Output only. The resource names of effective labels attached to this ad group criterion. An + * effective label is a label inherited or directly assigned to this ad group criterion. + * @return value or {@code null} for none + */ + public java.util.List getEffectiveLabels() { + return effectiveLabels; + } + + /** + * Output only. The resource names of effective labels attached to this ad group criterion. An + * effective label is a label inherited or directly assigned to this ad group criterion. + * @param effectiveLabels effectiveLabels or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterion setEffectiveLabels(java.util.List effectiveLabels) { + this.effectiveLabels = effectiveLabels; + return this; + } + + /** + * Output only. The effective Percent CPC bid amount. + * @return value or {@code null} for none + */ + public java.lang.Long getEffectivePercentCpcBidMicros() { + return effectivePercentCpcBidMicros; + } + + /** + * Output only. The effective Percent CPC bid amount. + * @param effectivePercentCpcBidMicros effectivePercentCpcBidMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterion setEffectivePercentCpcBidMicros(java.lang.Long effectivePercentCpcBidMicros) { + this.effectivePercentCpcBidMicros = effectivePercentCpcBidMicros; + return this; + } + + /** + * Output only. Source of the effective Percent CPC bid. + * @return value or {@code null} for none + */ + public java.lang.String getEffectivePercentCpcBidSource() { + return effectivePercentCpcBidSource; + } + + /** + * Output only. Source of the effective Percent CPC bid. + * @param effectivePercentCpcBidSource effectivePercentCpcBidSource or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterion setEffectivePercentCpcBidSource(java.lang.String effectivePercentCpcBidSource) { + this.effectivePercentCpcBidSource = effectivePercentCpcBidSource; + return this; + } + + /** + * Output only. ID of the ad group criterion in the external engine account. This field is for + * non-Google Ads account only, for example, Yahoo Japan, Microsoft, Baidu etc. For Google Ads + * entity, use "ad_group_criterion.criterion_id" instead. + * @return value or {@code null} for none + */ + public java.lang.String getEngineId() { + return engineId; + } + + /** + * Output only. ID of the ad group criterion in the external engine account. This field is for + * non-Google Ads account only, for example, Yahoo Japan, Microsoft, Baidu etc. For Google Ads + * entity, use "ad_group_criterion.criterion_id" instead. + * @param engineId engineId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterion setEngineId(java.lang.String engineId) { + this.engineId = engineId; + return this; + } + + /** + * Output only. The Engine Status for ad group criterion. + * @return value or {@code null} for none + */ + public java.lang.String getEngineStatus() { + return engineStatus; + } + + /** + * Output only. The Engine Status for ad group criterion. + * @param engineStatus engineStatus or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterion setEngineStatus(java.lang.String engineStatus) { + this.engineStatus = engineStatus; + return this; + } + + /** + * Immutable. Extended demographic criterion. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonExtendedDemographicInfo getExtendedDemographic() { + return extendedDemographic; + } + + /** + * Immutable. Extended demographic criterion. + * @param extendedDemographic extendedDemographic or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterion setExtendedDemographic(GoogleAdsSearchads360V23CommonExtendedDemographicInfo extendedDemographic) { + this.extendedDemographic = extendedDemographic; + return this; + } + + /** + * The list of possible final mobile URLs after all cross-domain redirects. + * @return value or {@code null} for none + */ + public java.util.List getFinalMobileUrls() { + return finalMobileUrls; + } + + /** + * The list of possible final mobile URLs after all cross-domain redirects. + * @param finalMobileUrls finalMobileUrls or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterion setFinalMobileUrls(java.util.List finalMobileUrls) { + this.finalMobileUrls = finalMobileUrls; + return this; + } + + /** + * URL template for appending params to final URL. + * @return value or {@code null} for none + */ + public java.lang.String getFinalUrlSuffix() { + return finalUrlSuffix; + } + + /** + * URL template for appending params to final URL. + * @param finalUrlSuffix finalUrlSuffix or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterion setFinalUrlSuffix(java.lang.String finalUrlSuffix) { + this.finalUrlSuffix = finalUrlSuffix; + return this; + } + + /** + * The list of possible final URLs after all cross-domain redirects for the ad. + * @return value or {@code null} for none + */ + public java.util.List getFinalUrls() { + return finalUrls; + } + + /** + * The list of possible final URLs after all cross-domain redirects for the ad. + * @param finalUrls finalUrls or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterion setFinalUrls(java.util.List finalUrls) { + this.finalUrls = finalUrls; + return this; + } + + /** + * Immutable. Gender. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonGenderInfo getGender() { + return gender; + } + + /** + * Immutable. Gender. + * @param gender gender or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterion setGender(GoogleAdsSearchads360V23CommonGenderInfo gender) { + this.gender = gender; + return this; + } + + /** + * Immutable. Income range. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonIncomeRangeInfo getIncomeRange() { + return incomeRange; + } + + /** + * Immutable. Income range. + * @param incomeRange incomeRange or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterion setIncomeRange(GoogleAdsSearchads360V23CommonIncomeRangeInfo incomeRange) { + this.incomeRange = incomeRange; + return this; + } + + /** + * Immutable. Keyword. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonKeywordInfo getKeyword() { + return keyword; + } + + /** + * Immutable. Keyword. + * @param keyword keyword or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterion setKeyword(GoogleAdsSearchads360V23CommonKeywordInfo keyword) { + this.keyword = keyword; + return this; + } + + /** + * Output only. The resource names of labels attached to this ad group criterion. + * @return value or {@code null} for none + */ + public java.util.List getLabels() { + return labels; + } + + /** + * Output only. The resource names of labels attached to this ad group criterion. + * @param labels labels or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterion setLabels(java.util.List labels) { + this.labels = labels; + return this; + } + + /** + * Immutable. Language. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLanguageInfo getLanguage() { + return language; + } + + /** + * Immutable. Language. + * @param language language or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterion setLanguage(GoogleAdsSearchads360V23CommonLanguageInfo language) { + this.language = language; + return this; + } + + /** + * Output only. The datetime when this ad group criterion was last modified. The datetime is in + * the customer's time zone and in "yyyy-MM-dd HH:mm:ss.ssssss" format. + * @return value or {@code null} for none + */ + public java.lang.String getLastModifiedTime() { + return lastModifiedTime; + } + + /** + * Output only. The datetime when this ad group criterion was last modified. The datetime is in + * the customer's time zone and in "yyyy-MM-dd HH:mm:ss.ssssss" format. + * @param lastModifiedTime lastModifiedTime or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterion setLastModifiedTime(java.lang.String lastModifiedTime) { + this.lastModifiedTime = lastModifiedTime; + return this; + } + + /** + * Immutable. Life event campaign criterion. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLifeEventInfo getLifeEvent() { + return lifeEvent; + } + + /** + * Immutable. Life event campaign criterion. + * @param lifeEvent lifeEvent or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterion setLifeEvent(GoogleAdsSearchads360V23CommonLifeEventInfo lifeEvent) { + this.lifeEvent = lifeEvent; + return this; + } + + /** + * Immutable. Listing group. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonListingGroupInfo getListingGroup() { + return listingGroup; + } + + /** + * Immutable. Listing group. + * @param listingGroup listingGroup or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterion setListingGroup(GoogleAdsSearchads360V23CommonListingGroupInfo listingGroup) { + this.listingGroup = listingGroup; + return this; + } + + /** + * Immutable. Location. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLocationInfo getLocation() { + return location; + } + + /** + * Immutable. Location. + * @param location location or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterion setLocation(GoogleAdsSearchads360V23CommonLocationInfo location) { + this.location = location; + return this; + } + + /** + * Immutable. Mobile app category. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMobileAppCategoryInfo getMobileAppCategory() { + return mobileAppCategory; + } + + /** + * Immutable. Mobile app category. + * @param mobileAppCategory mobileAppCategory or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterion setMobileAppCategory(GoogleAdsSearchads360V23CommonMobileAppCategoryInfo mobileAppCategory) { + this.mobileAppCategory = mobileAppCategory; + return this; + } + + /** + * Immutable. Mobile application. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMobileApplicationInfo getMobileApplication() { + return mobileApplication; + } + + /** + * Immutable. Mobile application. + * @param mobileApplication mobileApplication or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterion setMobileApplication(GoogleAdsSearchads360V23CommonMobileApplicationInfo mobileApplication) { + this.mobileApplication = mobileApplication; + return this; + } + + /** + * Immutable. Whether to target (`false`) or exclude (`true`) the criterion. This field is + * immutable. To switch a criterion from positive to negative, remove then re-add it. + * @return value or {@code null} for none + */ + public java.lang.Boolean getNegative() { + return negative; + } + + /** + * Immutable. Whether to target (`false`) or exclude (`true`) the criterion. This field is + * immutable. To switch a criterion from positive to negative, remove then re-add it. + * @param negative negative or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterion setNegative(java.lang.Boolean negative) { + this.negative = negative; + return this; + } + + /** + * Immutable. Parental status. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonParentalStatusInfo getParentalStatus() { + return parentalStatus; + } + + /** + * Immutable. Parental status. + * @param parentalStatus parentalStatus or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterion setParentalStatus(GoogleAdsSearchads360V23CommonParentalStatusInfo parentalStatus) { + this.parentalStatus = parentalStatus; + return this; + } + + /** + * The CPC bid amount, expressed as a fraction of the advertised price for some good or service. + * The valid range for the fraction is [0,1) and the value stored here is 1,000,000 * [fraction]. + * @return value or {@code null} for none + */ + public java.lang.Long getPercentCpcBidMicros() { + return percentCpcBidMicros; + } + + /** + * The CPC bid amount, expressed as a fraction of the advertised price for some good or service. + * The valid range for the fraction is [0,1) and the value stored here is 1,000,000 * [fraction]. + * @param percentCpcBidMicros percentCpcBidMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterion setPercentCpcBidMicros(java.lang.Long percentCpcBidMicros) { + this.percentCpcBidMicros = percentCpcBidMicros; + return this; + } + + /** + * Immutable. Placement. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPlacementInfo getPlacement() { + return placement; + } + + /** + * Immutable. Placement. + * @param placement placement or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterion setPlacement(GoogleAdsSearchads360V23CommonPlacementInfo placement) { + this.placement = placement; + return this; + } + + /** + * Output only. Estimates for criterion bids at various positions. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterionPositionEstimates getPositionEstimates() { + return positionEstimates; + } + + /** + * Output only. Estimates for criterion bids at various positions. + * @param positionEstimates positionEstimates or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterion setPositionEstimates(GoogleAdsSearchads360V23ResourcesAdGroupCriterionPositionEstimates positionEstimates) { + this.positionEstimates = positionEstimates; + return this; + } + + /** + * Output only. The primary status for the ad group criterion. + * @return value or {@code null} for none + */ + public java.lang.String getPrimaryStatus() { + return primaryStatus; + } + + /** + * Output only. The primary status for the ad group criterion. + * @param primaryStatus primaryStatus or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterion setPrimaryStatus(java.lang.String primaryStatus) { + this.primaryStatus = primaryStatus; + return this; + } + + /** + * Output only. The primary status reasons for the ad group criterion. + * @return value or {@code null} for none + */ + public java.util.List getPrimaryStatusReasons() { + return primaryStatusReasons; + } + + /** + * Output only. The primary status reasons for the ad group criterion. + * @param primaryStatusReasons primaryStatusReasons or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterion setPrimaryStatusReasons(java.util.List primaryStatusReasons) { + this.primaryStatusReasons = primaryStatusReasons; + return this; + } + + /** + * Output only. Information regarding the quality of the criterion. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterionQualityInfo getQualityInfo() { + return qualityInfo; + } + + /** + * Output only. Information regarding the quality of the criterion. + * @param qualityInfo qualityInfo or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterion setQualityInfo(GoogleAdsSearchads360V23ResourcesAdGroupCriterionQualityInfo qualityInfo) { + this.qualityInfo = qualityInfo; + return this; + } + + /** + * Immutable. The resource name of the ad group criterion. Ad group criterion resource names have + * the form: `customers/{customer_id}/adGroupCriteria/{ad_group_id}~{criterion_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Immutable. The resource name of the ad group criterion. Ad group criterion resource names have + * the form: `customers/{customer_id}/adGroupCriteria/{ad_group_id}~{criterion_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterion setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * The status of the criterion. This is the status of the ad group criterion entity, set by the + * client. Note: UI reports may incorporate additional information that affects whether a + * criterion is eligible to run. In some cases a criterion that's REMOVED in the API can still + * show as enabled in the UI. For example, campaigns by default show to users of all age ranges + * unless excluded. The UI will show each age range as "enabled", since they're eligible to see + * the ads; but AdGroupCriterion.status will show "removed", since no positive criterion was + * added. + * @return value or {@code null} for none + */ + public java.lang.String getStatus() { + return status; + } + + /** + * The status of the criterion. This is the status of the ad group criterion entity, set by the + * client. Note: UI reports may incorporate additional information that affects whether a + * criterion is eligible to run. In some cases a criterion that's REMOVED in the API can still + * show as enabled in the UI. For example, campaigns by default show to users of all age ranges + * unless excluded. The UI will show each age range as "enabled", since they're eligible to see + * the ads; but AdGroupCriterion.status will show "removed", since no positive criterion was + * added. + * @param status status or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterion setStatus(java.lang.String status) { + this.status = status; + return this; + } + + /** + * Output only. Serving status of the criterion. + * @return value or {@code null} for none + */ + public java.lang.String getSystemServingStatus() { + return systemServingStatus; + } + + /** + * Output only. Serving status of the criterion. + * @param systemServingStatus systemServingStatus or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterion setSystemServingStatus(java.lang.String systemServingStatus) { + this.systemServingStatus = systemServingStatus; + return this; + } + + /** + * Immutable. Topic. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonTopicInfo getTopic() { + return topic; + } + + /** + * Immutable. Topic. + * @param topic topic or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterion setTopic(GoogleAdsSearchads360V23CommonTopicInfo topic) { + this.topic = topic; + return this; + } + + /** + * The URL template for constructing a tracking URL. + * @return value or {@code null} for none + */ + public java.lang.String getTrackingUrlTemplate() { + return trackingUrlTemplate; + } + + /** + * The URL template for constructing a tracking URL. + * @param trackingUrlTemplate trackingUrlTemplate or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterion setTrackingUrlTemplate(java.lang.String trackingUrlTemplate) { + this.trackingUrlTemplate = trackingUrlTemplate; + return this; + } + + /** + * Output only. The type of the criterion. + * @return value or {@code null} for none + */ + public java.lang.String getType() { + return type; + } + + /** + * Output only. The type of the criterion. + * @param type type or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterion setType(java.lang.String type) { + this.type = type; + return this; + } + + /** + * The list of mappings used to substitute custom parameter tags in a `tracking_url_template`, + * `final_urls`, or `mobile_final_urls`. + * @return value or {@code null} for none + */ + public java.util.List getUrlCustomParameters() { + return urlCustomParameters; + } + + /** + * The list of mappings used to substitute custom parameter tags in a `tracking_url_template`, + * `final_urls`, or `mobile_final_urls`. + * @param urlCustomParameters urlCustomParameters or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterion setUrlCustomParameters(java.util.List urlCustomParameters) { + this.urlCustomParameters = urlCustomParameters; + return this; + } + + /** + * Immutable. User Interest. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUserInterestInfo getUserInterest() { + return userInterest; + } + + /** + * Immutable. User Interest. + * @param userInterest userInterest or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterion setUserInterest(GoogleAdsSearchads360V23CommonUserInterestInfo userInterest) { + this.userInterest = userInterest; + return this; + } + + /** + * Immutable. User List. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUserListInfo getUserList() { + return userList; + } + + /** + * Immutable. User List. + * @param userList userList or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterion setUserList(GoogleAdsSearchads360V23CommonUserListInfo userList) { + this.userList = userList; + return this; + } + + /** + * Immutable. Vertical ads item group rule list criterion. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonVerticalAdsItemGroupRuleListInfo getVerticalAdsItemGroupRuleList() { + return verticalAdsItemGroupRuleList; + } + + /** + * Immutable. Vertical ads item group rule list criterion. + * @param verticalAdsItemGroupRuleList verticalAdsItemGroupRuleList or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterion setVerticalAdsItemGroupRuleList(GoogleAdsSearchads360V23CommonVerticalAdsItemGroupRuleListInfo verticalAdsItemGroupRuleList) { + this.verticalAdsItemGroupRuleList = verticalAdsItemGroupRuleList; + return this; + } + + /** + * Immutable. Video lineup criterion. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonVideoLineupInfo getVideoLineup() { + return videoLineup; + } + + /** + * Immutable. Video lineup criterion. + * @param videoLineup videoLineup or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterion setVideoLineup(GoogleAdsSearchads360V23CommonVideoLineupInfo videoLineup) { + this.videoLineup = videoLineup; + return this; + } + + /** + * Immutable. Webpage + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonWebpageInfo getWebpage() { + return webpage; + } + + /** + * Immutable. Webpage + * @param webpage webpage or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterion setWebpage(GoogleAdsSearchads360V23CommonWebpageInfo webpage) { + this.webpage = webpage; + return this; + } + + /** + * Immutable. YouTube Channel. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonYouTubeChannelInfo getYoutubeChannel() { + return youtubeChannel; + } + + /** + * Immutable. YouTube Channel. + * @param youtubeChannel youtubeChannel or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterion setYoutubeChannel(GoogleAdsSearchads360V23CommonYouTubeChannelInfo youtubeChannel) { + this.youtubeChannel = youtubeChannel; + return this; + } + + /** + * Immutable. YouTube Video. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonYouTubeVideoInfo getYoutubeVideo() { + return youtubeVideo; + } + + /** + * Immutable. YouTube Video. + * @param youtubeVideo youtubeVideo or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterion setYoutubeVideo(GoogleAdsSearchads360V23CommonYouTubeVideoInfo youtubeVideo) { + this.youtubeVideo = youtubeVideo; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesAdGroupCriterion set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesAdGroupCriterion) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesAdGroupCriterion clone() { + return (GoogleAdsSearchads360V23ResourcesAdGroupCriterion) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupCriterionCustomizer.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupCriterionCustomizer.java new file mode 100644 index 00000000000..36565d798d9 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupCriterionCustomizer.java @@ -0,0 +1,175 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A customizer value for the associated CustomizerAttribute at the AdGroupCriterion level. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesAdGroupCriterionCustomizer extends com.google.api.client.json.GenericJson { + + /** + * Immutable. The ad group criterion to which the customizer attribute is linked. It must be a + * keyword criterion. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String adGroupCriterion; + + /** + * Required. Immutable. The customizer attribute which is linked to the ad group criterion. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String customizerAttribute; + + /** + * Immutable. The resource name of the ad group criterion customizer. Ad group criterion + * customizer resource names have the form: `customers/{customer_id}/adGroupCriterionCustomizers/{ + * ad_group_id}~{criterion_id}~{customizer_attribute_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. The status of the ad group criterion customizer. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String status; + + /** + * Required. The value to associate with the customizer attribute at this level. The value must be + * of the type specified for the CustomizerAttribute. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonCustomizerValue value; + + /** + * Immutable. The ad group criterion to which the customizer attribute is linked. It must be a + * keyword criterion. + * @return value or {@code null} for none + */ + public java.lang.String getAdGroupCriterion() { + return adGroupCriterion; + } + + /** + * Immutable. The ad group criterion to which the customizer attribute is linked. It must be a + * keyword criterion. + * @param adGroupCriterion adGroupCriterion or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterionCustomizer setAdGroupCriterion(java.lang.String adGroupCriterion) { + this.adGroupCriterion = adGroupCriterion; + return this; + } + + /** + * Required. Immutable. The customizer attribute which is linked to the ad group criterion. + * @return value or {@code null} for none + */ + public java.lang.String getCustomizerAttribute() { + return customizerAttribute; + } + + /** + * Required. Immutable. The customizer attribute which is linked to the ad group criterion. + * @param customizerAttribute customizerAttribute or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterionCustomizer setCustomizerAttribute(java.lang.String customizerAttribute) { + this.customizerAttribute = customizerAttribute; + return this; + } + + /** + * Immutable. The resource name of the ad group criterion customizer. Ad group criterion + * customizer resource names have the form: `customers/{customer_id}/adGroupCriterionCustomizers/{ + * ad_group_id}~{criterion_id}~{customizer_attribute_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Immutable. The resource name of the ad group criterion customizer. Ad group criterion + * customizer resource names have the form: `customers/{customer_id}/adGroupCriterionCustomizers/{ + * ad_group_id}~{criterion_id}~{customizer_attribute_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterionCustomizer setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Output only. The status of the ad group criterion customizer. + * @return value or {@code null} for none + */ + public java.lang.String getStatus() { + return status; + } + + /** + * Output only. The status of the ad group criterion customizer. + * @param status status or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterionCustomizer setStatus(java.lang.String status) { + this.status = status; + return this; + } + + /** + * Required. The value to associate with the customizer attribute at this level. The value must be + * of the type specified for the CustomizerAttribute. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCustomizerValue getValue() { + return value; + } + + /** + * Required. The value to associate with the customizer attribute at this level. The value must be + * of the type specified for the CustomizerAttribute. + * @param value value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterionCustomizer setValue(GoogleAdsSearchads360V23CommonCustomizerValue value) { + this.value = value; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesAdGroupCriterionCustomizer set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesAdGroupCriterionCustomizer) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesAdGroupCriterionCustomizer clone() { + return (GoogleAdsSearchads360V23ResourcesAdGroupCriterionCustomizer) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupCriterionEffectiveLabel.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupCriterionEffectiveLabel.java new file mode 100644 index 00000000000..94df2157a79 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupCriterionEffectiveLabel.java @@ -0,0 +1,146 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A relationship between an ad group criterion and an effective label. An effective label is a + * label inherited or directly assigned to this ad group criterion. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesAdGroupCriterionEffectiveLabel extends com.google.api.client.json.GenericJson { + + /** + * Immutable. The ad group criterion to which the effective label is attached. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String adGroupCriterion; + + /** + * Immutable. The effective label assigned to the ad group criterion. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String label; + + /** + * Output only. The ID of the Customer which owns the effective label. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long ownerCustomerId; + + /** + * Immutable. The resource name of the ad group criterion effective label. Ad group criterion + * effective label resource names have the form: `customers/{owner_customer_id}/adGroupCriterionEf + * fectiveLabels/{ad_group_id}~{criterion_id}~{label_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Immutable. The ad group criterion to which the effective label is attached. + * @return value or {@code null} for none + */ + public java.lang.String getAdGroupCriterion() { + return adGroupCriterion; + } + + /** + * Immutable. The ad group criterion to which the effective label is attached. + * @param adGroupCriterion adGroupCriterion or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterionEffectiveLabel setAdGroupCriterion(java.lang.String adGroupCriterion) { + this.adGroupCriterion = adGroupCriterion; + return this; + } + + /** + * Immutable. The effective label assigned to the ad group criterion. + * @return value or {@code null} for none + */ + public java.lang.String getLabel() { + return label; + } + + /** + * Immutable. The effective label assigned to the ad group criterion. + * @param label label or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterionEffectiveLabel setLabel(java.lang.String label) { + this.label = label; + return this; + } + + /** + * Output only. The ID of the Customer which owns the effective label. + * @return value or {@code null} for none + */ + public java.lang.Long getOwnerCustomerId() { + return ownerCustomerId; + } + + /** + * Output only. The ID of the Customer which owns the effective label. + * @param ownerCustomerId ownerCustomerId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterionEffectiveLabel setOwnerCustomerId(java.lang.Long ownerCustomerId) { + this.ownerCustomerId = ownerCustomerId; + return this; + } + + /** + * Immutable. The resource name of the ad group criterion effective label. Ad group criterion + * effective label resource names have the form: `customers/{owner_customer_id}/adGroupCriterionEf + * fectiveLabels/{ad_group_id}~{criterion_id}~{label_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Immutable. The resource name of the ad group criterion effective label. Ad group criterion + * effective label resource names have the form: `customers/{owner_customer_id}/adGroupCriterionEf + * fectiveLabels/{ad_group_id}~{criterion_id}~{label_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterionEffectiveLabel setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesAdGroupCriterionEffectiveLabel set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesAdGroupCriterionEffectiveLabel) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesAdGroupCriterionEffectiveLabel clone() { + return (GoogleAdsSearchads360V23ResourcesAdGroupCriterionEffectiveLabel) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupCriterionLabel.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupCriterionLabel.java new file mode 100644 index 00000000000..a996f899800 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupCriterionLabel.java @@ -0,0 +1,145 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A relationship between an ad group criterion and a label. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesAdGroupCriterionLabel extends com.google.api.client.json.GenericJson { + + /** + * Immutable. The ad group criterion to which the label is attached. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String adGroupCriterion; + + /** + * Immutable. The label assigned to the ad group criterion. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String label; + + /** + * Output only. The ID of the Customer which owns the label. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long ownerCustomerId; + + /** + * Immutable. The resource name of the ad group criterion label. Ad group criterion label resource + * names have the form: + * `customers/{owner_customer_id}/adGroupCriterionLabels/{ad_group_id}~{criterion_id}~{label_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Immutable. The ad group criterion to which the label is attached. + * @return value or {@code null} for none + */ + public java.lang.String getAdGroupCriterion() { + return adGroupCriterion; + } + + /** + * Immutable. The ad group criterion to which the label is attached. + * @param adGroupCriterion adGroupCriterion or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterionLabel setAdGroupCriterion(java.lang.String adGroupCriterion) { + this.adGroupCriterion = adGroupCriterion; + return this; + } + + /** + * Immutable. The label assigned to the ad group criterion. + * @return value or {@code null} for none + */ + public java.lang.String getLabel() { + return label; + } + + /** + * Immutable. The label assigned to the ad group criterion. + * @param label label or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterionLabel setLabel(java.lang.String label) { + this.label = label; + return this; + } + + /** + * Output only. The ID of the Customer which owns the label. + * @return value or {@code null} for none + */ + public java.lang.Long getOwnerCustomerId() { + return ownerCustomerId; + } + + /** + * Output only. The ID of the Customer which owns the label. + * @param ownerCustomerId ownerCustomerId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterionLabel setOwnerCustomerId(java.lang.Long ownerCustomerId) { + this.ownerCustomerId = ownerCustomerId; + return this; + } + + /** + * Immutable. The resource name of the ad group criterion label. Ad group criterion label resource + * names have the form: + * `customers/{owner_customer_id}/adGroupCriterionLabels/{ad_group_id}~{criterion_id}~{label_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Immutable. The resource name of the ad group criterion label. Ad group criterion label resource + * names have the form: + * `customers/{owner_customer_id}/adGroupCriterionLabels/{ad_group_id}~{criterion_id}~{label_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterionLabel setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesAdGroupCriterionLabel set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesAdGroupCriterionLabel) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesAdGroupCriterionLabel clone() { + return (GoogleAdsSearchads360V23ResourcesAdGroupCriterionLabel) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupCriterionPositionEstimates.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupCriterionPositionEstimates.java new file mode 100644 index 00000000000..02e36df13eb --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupCriterionPositionEstimates.java @@ -0,0 +1,178 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Estimates for criterion bids at various positions. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesAdGroupCriterionPositionEstimates extends com.google.api.client.json.GenericJson { + + /** + * Output only. Estimate of how many clicks per week you might get by changing your keyword bid to + * the value in first_position_cpc_micros. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long estimatedAddClicksAtFirstPositionCpc; + + /** + * Output only. Estimate of how your cost per week might change when changing your keyword bid to + * the value in first_position_cpc_micros. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long estimatedAddCostAtFirstPositionCpc; + + /** + * Output only. The estimate of the CPC bid required for ad to be shown on first page of search + * results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long firstPageCpcMicros; + + /** + * Output only. The estimate of the CPC bid required for ad to be displayed in first position, at + * the top of the first page of search results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long firstPositionCpcMicros; + + /** + * Output only. The estimate of the CPC bid required for ad to be displayed at the top of the + * first page of search results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long topOfPageCpcMicros; + + /** + * Output only. Estimate of how many clicks per week you might get by changing your keyword bid to + * the value in first_position_cpc_micros. + * @return value or {@code null} for none + */ + public java.lang.Long getEstimatedAddClicksAtFirstPositionCpc() { + return estimatedAddClicksAtFirstPositionCpc; + } + + /** + * Output only. Estimate of how many clicks per week you might get by changing your keyword bid to + * the value in first_position_cpc_micros. + * @param estimatedAddClicksAtFirstPositionCpc estimatedAddClicksAtFirstPositionCpc or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterionPositionEstimates setEstimatedAddClicksAtFirstPositionCpc(java.lang.Long estimatedAddClicksAtFirstPositionCpc) { + this.estimatedAddClicksAtFirstPositionCpc = estimatedAddClicksAtFirstPositionCpc; + return this; + } + + /** + * Output only. Estimate of how your cost per week might change when changing your keyword bid to + * the value in first_position_cpc_micros. + * @return value or {@code null} for none + */ + public java.lang.Long getEstimatedAddCostAtFirstPositionCpc() { + return estimatedAddCostAtFirstPositionCpc; + } + + /** + * Output only. Estimate of how your cost per week might change when changing your keyword bid to + * the value in first_position_cpc_micros. + * @param estimatedAddCostAtFirstPositionCpc estimatedAddCostAtFirstPositionCpc or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterionPositionEstimates setEstimatedAddCostAtFirstPositionCpc(java.lang.Long estimatedAddCostAtFirstPositionCpc) { + this.estimatedAddCostAtFirstPositionCpc = estimatedAddCostAtFirstPositionCpc; + return this; + } + + /** + * Output only. The estimate of the CPC bid required for ad to be shown on first page of search + * results. + * @return value or {@code null} for none + */ + public java.lang.Long getFirstPageCpcMicros() { + return firstPageCpcMicros; + } + + /** + * Output only. The estimate of the CPC bid required for ad to be shown on first page of search + * results. + * @param firstPageCpcMicros firstPageCpcMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterionPositionEstimates setFirstPageCpcMicros(java.lang.Long firstPageCpcMicros) { + this.firstPageCpcMicros = firstPageCpcMicros; + return this; + } + + /** + * Output only. The estimate of the CPC bid required for ad to be displayed in first position, at + * the top of the first page of search results. + * @return value or {@code null} for none + */ + public java.lang.Long getFirstPositionCpcMicros() { + return firstPositionCpcMicros; + } + + /** + * Output only. The estimate of the CPC bid required for ad to be displayed in first position, at + * the top of the first page of search results. + * @param firstPositionCpcMicros firstPositionCpcMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterionPositionEstimates setFirstPositionCpcMicros(java.lang.Long firstPositionCpcMicros) { + this.firstPositionCpcMicros = firstPositionCpcMicros; + return this; + } + + /** + * Output only. The estimate of the CPC bid required for ad to be displayed at the top of the + * first page of search results. + * @return value or {@code null} for none + */ + public java.lang.Long getTopOfPageCpcMicros() { + return topOfPageCpcMicros; + } + + /** + * Output only. The estimate of the CPC bid required for ad to be displayed at the top of the + * first page of search results. + * @param topOfPageCpcMicros topOfPageCpcMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterionPositionEstimates setTopOfPageCpcMicros(java.lang.Long topOfPageCpcMicros) { + this.topOfPageCpcMicros = topOfPageCpcMicros; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesAdGroupCriterionPositionEstimates set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesAdGroupCriterionPositionEstimates) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesAdGroupCriterionPositionEstimates clone() { + return (GoogleAdsSearchads360V23ResourcesAdGroupCriterionPositionEstimates) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupCriterionQualityInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupCriterionQualityInfo.java new file mode 100644 index 00000000000..db147e7ee76 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupCriterionQualityInfo.java @@ -0,0 +1,142 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A container for ad group criterion quality information. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesAdGroupCriterionQualityInfo extends com.google.api.client.json.GenericJson { + + /** + * Output only. The performance of the ad compared to other advertisers. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String creativeQualityScore; + + /** + * Output only. The quality score of the landing page. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String postClickQualityScore; + + /** + * Output only. The quality score. This field may not be populated if Google does not have enough + * information to determine a value. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer qualityScore; + + /** + * Output only. The click-through rate compared to that of other advertisers. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String searchPredictedCtr; + + /** + * Output only. The performance of the ad compared to other advertisers. + * @return value or {@code null} for none + */ + public java.lang.String getCreativeQualityScore() { + return creativeQualityScore; + } + + /** + * Output only. The performance of the ad compared to other advertisers. + * @param creativeQualityScore creativeQualityScore or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterionQualityInfo setCreativeQualityScore(java.lang.String creativeQualityScore) { + this.creativeQualityScore = creativeQualityScore; + return this; + } + + /** + * Output only. The quality score of the landing page. + * @return value or {@code null} for none + */ + public java.lang.String getPostClickQualityScore() { + return postClickQualityScore; + } + + /** + * Output only. The quality score of the landing page. + * @param postClickQualityScore postClickQualityScore or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterionQualityInfo setPostClickQualityScore(java.lang.String postClickQualityScore) { + this.postClickQualityScore = postClickQualityScore; + return this; + } + + /** + * Output only. The quality score. This field may not be populated if Google does not have enough + * information to determine a value. + * @return value or {@code null} for none + */ + public java.lang.Integer getQualityScore() { + return qualityScore; + } + + /** + * Output only. The quality score. This field may not be populated if Google does not have enough + * information to determine a value. + * @param qualityScore qualityScore or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterionQualityInfo setQualityScore(java.lang.Integer qualityScore) { + this.qualityScore = qualityScore; + return this; + } + + /** + * Output only. The click-through rate compared to that of other advertisers. + * @return value or {@code null} for none + */ + public java.lang.String getSearchPredictedCtr() { + return searchPredictedCtr; + } + + /** + * Output only. The click-through rate compared to that of other advertisers. + * @param searchPredictedCtr searchPredictedCtr or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterionQualityInfo setSearchPredictedCtr(java.lang.String searchPredictedCtr) { + this.searchPredictedCtr = searchPredictedCtr; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesAdGroupCriterionQualityInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesAdGroupCriterionQualityInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesAdGroupCriterionQualityInfo clone() { + return (GoogleAdsSearchads360V23ResourcesAdGroupCriterionQualityInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupCriterionSimulation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupCriterionSimulation.java new file mode 100644 index 00000000000..6577fa75733 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupCriterionSimulation.java @@ -0,0 +1,269 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * An ad group criterion simulation. Supported combinations of advertising channel type, criterion + * type, simulation type, and simulation modification method are detailed below respectively. Hotel + * AdGroupCriterion simulation operations starting in V5. 1. DISPLAY - KEYWORD - CPC_BID - UNIFORM + * 2. SEARCH - KEYWORD - CPC_BID - UNIFORM 3. SHOPPING - LISTING_GROUP - CPC_BID - UNIFORM 4. HOTEL + * - LISTING_GROUP - CPC_BID - UNIFORM 5. HOTEL - LISTING_GROUP - PERCENT_CPC_BID - UNIFORM + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesAdGroupCriterionSimulation extends com.google.api.client.json.GenericJson { + + /** + * Output only. AdGroup ID of the simulation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long adGroupId; + + /** + * Output only. Simulation points if the simulation type is CPC_BID. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonCpcBidSimulationPointList cpcBidPointList; + + /** + * Output only. Criterion ID of the simulation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long criterionId; + + /** + * Output only. Last day on which the simulation is based, in YYYY-MM-DD format. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String endDate; + + /** + * Output only. How the simulation modifies the field. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String modificationMethod; + + /** + * Output only. Simulation points if the simulation type is PERCENT_CPC_BID. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonPercentCpcBidSimulationPointList percentCpcBidPointList; + + /** + * Output only. The resource name of the ad group criterion simulation. Ad group criterion + * simulation resource names have the form: `customers/{customer_id}/adGroupCriterionSimulations/{ + * ad_group_id}~{criterion_id}~{type}~{modification_method}~{start_date}~{end_date}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. First day on which the simulation is based, in YYYY-MM-DD format. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String startDate; + + /** + * Output only. The field that the simulation modifies. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String type; + + /** + * Output only. AdGroup ID of the simulation. + * @return value or {@code null} for none + */ + public java.lang.Long getAdGroupId() { + return adGroupId; + } + + /** + * Output only. AdGroup ID of the simulation. + * @param adGroupId adGroupId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterionSimulation setAdGroupId(java.lang.Long adGroupId) { + this.adGroupId = adGroupId; + return this; + } + + /** + * Output only. Simulation points if the simulation type is CPC_BID. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCpcBidSimulationPointList getCpcBidPointList() { + return cpcBidPointList; + } + + /** + * Output only. Simulation points if the simulation type is CPC_BID. + * @param cpcBidPointList cpcBidPointList or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterionSimulation setCpcBidPointList(GoogleAdsSearchads360V23CommonCpcBidSimulationPointList cpcBidPointList) { + this.cpcBidPointList = cpcBidPointList; + return this; + } + + /** + * Output only. Criterion ID of the simulation. + * @return value or {@code null} for none + */ + public java.lang.Long getCriterionId() { + return criterionId; + } + + /** + * Output only. Criterion ID of the simulation. + * @param criterionId criterionId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterionSimulation setCriterionId(java.lang.Long criterionId) { + this.criterionId = criterionId; + return this; + } + + /** + * Output only. Last day on which the simulation is based, in YYYY-MM-DD format. + * @return value or {@code null} for none + */ + public java.lang.String getEndDate() { + return endDate; + } + + /** + * Output only. Last day on which the simulation is based, in YYYY-MM-DD format. + * @param endDate endDate or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterionSimulation setEndDate(java.lang.String endDate) { + this.endDate = endDate; + return this; + } + + /** + * Output only. How the simulation modifies the field. + * @return value or {@code null} for none + */ + public java.lang.String getModificationMethod() { + return modificationMethod; + } + + /** + * Output only. How the simulation modifies the field. + * @param modificationMethod modificationMethod or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterionSimulation setModificationMethod(java.lang.String modificationMethod) { + this.modificationMethod = modificationMethod; + return this; + } + + /** + * Output only. Simulation points if the simulation type is PERCENT_CPC_BID. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPercentCpcBidSimulationPointList getPercentCpcBidPointList() { + return percentCpcBidPointList; + } + + /** + * Output only. Simulation points if the simulation type is PERCENT_CPC_BID. + * @param percentCpcBidPointList percentCpcBidPointList or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterionSimulation setPercentCpcBidPointList(GoogleAdsSearchads360V23CommonPercentCpcBidSimulationPointList percentCpcBidPointList) { + this.percentCpcBidPointList = percentCpcBidPointList; + return this; + } + + /** + * Output only. The resource name of the ad group criterion simulation. Ad group criterion + * simulation resource names have the form: `customers/{customer_id}/adGroupCriterionSimulations/{ + * ad_group_id}~{criterion_id}~{type}~{modification_method}~{start_date}~{end_date}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Output only. The resource name of the ad group criterion simulation. Ad group criterion + * simulation resource names have the form: `customers/{customer_id}/adGroupCriterionSimulations/{ + * ad_group_id}~{criterion_id}~{type}~{modification_method}~{start_date}~{end_date}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterionSimulation setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Output only. First day on which the simulation is based, in YYYY-MM-DD format. + * @return value or {@code null} for none + */ + public java.lang.String getStartDate() { + return startDate; + } + + /** + * Output only. First day on which the simulation is based, in YYYY-MM-DD format. + * @param startDate startDate or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterionSimulation setStartDate(java.lang.String startDate) { + this.startDate = startDate; + return this; + } + + /** + * Output only. The field that the simulation modifies. + * @return value or {@code null} for none + */ + public java.lang.String getType() { + return type; + } + + /** + * Output only. The field that the simulation modifies. + * @param type type or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterionSimulation setType(java.lang.String type) { + this.type = type; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesAdGroupCriterionSimulation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesAdGroupCriterionSimulation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesAdGroupCriterionSimulation clone() { + return (GoogleAdsSearchads360V23ResourcesAdGroupCriterionSimulation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupCustomizer.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupCustomizer.java new file mode 100644 index 00000000000..781786fd997 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupCustomizer.java @@ -0,0 +1,172 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A customizer value for the associated CustomizerAttribute at the AdGroup level. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesAdGroupCustomizer extends com.google.api.client.json.GenericJson { + + /** + * Immutable. The ad group to which the customizer attribute is linked. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String adGroup; + + /** + * Required. Immutable. The customizer attribute which is linked to the ad group. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String customizerAttribute; + + /** + * Immutable. The resource name of the ad group customizer. Ad group customizer resource names + * have the form: + * `customers/{customer_id}/adGroupCustomizers/{ad_group_id}~{customizer_attribute_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. The status of the ad group customizer. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String status; + + /** + * Required. The value to associate with the customizer attribute at this level. The value must be + * of the type specified for the CustomizerAttribute. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonCustomizerValue value; + + /** + * Immutable. The ad group to which the customizer attribute is linked. + * @return value or {@code null} for none + */ + public java.lang.String getAdGroup() { + return adGroup; + } + + /** + * Immutable. The ad group to which the customizer attribute is linked. + * @param adGroup adGroup or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCustomizer setAdGroup(java.lang.String adGroup) { + this.adGroup = adGroup; + return this; + } + + /** + * Required. Immutable. The customizer attribute which is linked to the ad group. + * @return value or {@code null} for none + */ + public java.lang.String getCustomizerAttribute() { + return customizerAttribute; + } + + /** + * Required. Immutable. The customizer attribute which is linked to the ad group. + * @param customizerAttribute customizerAttribute or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCustomizer setCustomizerAttribute(java.lang.String customizerAttribute) { + this.customizerAttribute = customizerAttribute; + return this; + } + + /** + * Immutable. The resource name of the ad group customizer. Ad group customizer resource names + * have the form: + * `customers/{customer_id}/adGroupCustomizers/{ad_group_id}~{customizer_attribute_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Immutable. The resource name of the ad group customizer. Ad group customizer resource names + * have the form: + * `customers/{customer_id}/adGroupCustomizers/{ad_group_id}~{customizer_attribute_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCustomizer setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Output only. The status of the ad group customizer. + * @return value or {@code null} for none + */ + public java.lang.String getStatus() { + return status; + } + + /** + * Output only. The status of the ad group customizer. + * @param status status or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCustomizer setStatus(java.lang.String status) { + this.status = status; + return this; + } + + /** + * Required. The value to associate with the customizer attribute at this level. The value must be + * of the type specified for the CustomizerAttribute. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCustomizerValue getValue() { + return value; + } + + /** + * Required. The value to associate with the customizer attribute at this level. The value must be + * of the type specified for the CustomizerAttribute. + * @param value value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCustomizer setValue(GoogleAdsSearchads360V23CommonCustomizerValue value) { + this.value = value; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesAdGroupCustomizer set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesAdGroupCustomizer) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesAdGroupCustomizer clone() { + return (GoogleAdsSearchads360V23ResourcesAdGroupCustomizer) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupDemandGenAdGroupSettings.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupDemandGenAdGroupSettings.java new file mode 100644 index 00000000000..8c2109c9019 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupDemandGenAdGroupSettings.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Settings for Demand Gen ad groups. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesAdGroupDemandGenAdGroupSettings extends com.google.api.client.json.GenericJson { + + /** + * Channel controls for Demand Gen ad groups. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAdGroupDemandGenAdGroupSettingsDemandGenChannelControls channelControls; + + /** + * Channel controls for Demand Gen ad groups. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupDemandGenAdGroupSettingsDemandGenChannelControls getChannelControls() { + return channelControls; + } + + /** + * Channel controls for Demand Gen ad groups. + * @param channelControls channelControls or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupDemandGenAdGroupSettings setChannelControls(GoogleAdsSearchads360V23ResourcesAdGroupDemandGenAdGroupSettingsDemandGenChannelControls channelControls) { + this.channelControls = channelControls; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesAdGroupDemandGenAdGroupSettings set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesAdGroupDemandGenAdGroupSettings) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesAdGroupDemandGenAdGroupSettings clone() { + return (GoogleAdsSearchads360V23ResourcesAdGroupDemandGenAdGroupSettings) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupDemandGenAdGroupSettingsDemandGenChannelControls.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupDemandGenAdGroupSettingsDemandGenChannelControls.java new file mode 100644 index 00000000000..042ded7d1cc --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupDemandGenAdGroupSettingsDemandGenChannelControls.java @@ -0,0 +1,118 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Channel controls for Demand Gen ad groups. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesAdGroupDemandGenAdGroupSettingsDemandGenChannelControls extends com.google.api.client.json.GenericJson { + + /** + * Output only. Channel configuration reflecting which field in the oneof is populated. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String channelConfig; + + /** + * High level channel strategy. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String channelStrategy; + + /** + * Explicitly selected channels. This field should be set with at least one true value when + * present. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAdGroupDemandGenAdGroupSettingsDemandGenChannelControlsDemandGenSelectedChannels selectedChannels; + + /** + * Output only. Channel configuration reflecting which field in the oneof is populated. + * @return value or {@code null} for none + */ + public java.lang.String getChannelConfig() { + return channelConfig; + } + + /** + * Output only. Channel configuration reflecting which field in the oneof is populated. + * @param channelConfig channelConfig or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupDemandGenAdGroupSettingsDemandGenChannelControls setChannelConfig(java.lang.String channelConfig) { + this.channelConfig = channelConfig; + return this; + } + + /** + * High level channel strategy. + * @return value or {@code null} for none + */ + public java.lang.String getChannelStrategy() { + return channelStrategy; + } + + /** + * High level channel strategy. + * @param channelStrategy channelStrategy or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupDemandGenAdGroupSettingsDemandGenChannelControls setChannelStrategy(java.lang.String channelStrategy) { + this.channelStrategy = channelStrategy; + return this; + } + + /** + * Explicitly selected channels. This field should be set with at least one true value when + * present. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupDemandGenAdGroupSettingsDemandGenChannelControlsDemandGenSelectedChannels getSelectedChannels() { + return selectedChannels; + } + + /** + * Explicitly selected channels. This field should be set with at least one true value when + * present. + * @param selectedChannels selectedChannels or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupDemandGenAdGroupSettingsDemandGenChannelControls setSelectedChannels(GoogleAdsSearchads360V23ResourcesAdGroupDemandGenAdGroupSettingsDemandGenChannelControlsDemandGenSelectedChannels selectedChannels) { + this.selectedChannels = selectedChannels; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesAdGroupDemandGenAdGroupSettingsDemandGenChannelControls set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesAdGroupDemandGenAdGroupSettingsDemandGenChannelControls) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesAdGroupDemandGenAdGroupSettingsDemandGenChannelControls clone() { + return (GoogleAdsSearchads360V23ResourcesAdGroupDemandGenAdGroupSettingsDemandGenChannelControls) super.clone(); + } + +} From 94ef295b7c8746e1d18d50bdecdcb3e538556fdc Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Wed, 3 Jun 2026 18:43:24 -0700 Subject: [PATCH 05/14] chore: regenerate searchads360 client --- ...nnelControlsDemandGenSelectedChannels.java | 187 ++ ...s360V23ResourcesAdGroupEffectiveLabel.java | 146 ++ ...sSearchads360V23ResourcesAdGroupLabel.java | 142 ++ ...chads360V23ResourcesAdGroupSimulation.java | 292 +++ ...ourcesAdGroupVerticalAdsFormatSetting.java | 115 + ...dsSearchads360V23ResourcesAdParameter.java | 164 ++ ...earchads360V23ResourcesAdScheduleView.java | 70 + ...ds360V23ResourcesAdStrengthActionItem.java | 91 + ...esAdStrengthActionItemAddAssetDetails.java | 121 + ...ResourcesAdvertisingPartnerIdentifier.java | 73 + ...tisingPartnerLinkInvitationIdentifier.java | 70 + ...sSearchads360V23ResourcesAgeRangeView.java | 70 + ...urcesAiMaxSearchTermAdCombinationView.java | 175 ++ ...sAndroidPrivacySharedKeyGoogleAdGroup.java | 229 ++ ...AndroidPrivacySharedKeyGoogleCampaign.java | 178 ++ ...roidPrivacySharedKeyGoogleNetworkType.java | 205 ++ ...oogleAdsSearchads360V23ResourcesAsset.java | 1287 ++++++++++ ...Searchads360V23ResourcesAssetCoverage.java | 73 + ...3ResourcesAssetFieldTypePolicySummary.java | 115 + ...hads360V23ResourcesAssetFieldTypeView.java | 95 + ...AdsSearchads360V23ResourcesAssetGroup.java | 380 +++ ...archads360V23ResourcesAssetGroupAsset.java | 311 +++ ...sourcesAssetGroupAssetCombinationData.java | 73 + ...ResourcesAssetGroupListingGroupFilter.java | 247 ++ ...23ResourcesAssetGroupProductGroupView.java | 121 + ...rchads360V23ResourcesAssetGroupSignal.java | 211 ++ ...ResourcesAssetGroupTopCombinationView.java | 103 + ...hads360V23ResourcesAssetPolicySummary.java | 124 + ...leAdsSearchads360V23ResourcesAssetSet.java | 332 +++ ...Searchads360V23ResourcesAssetSetAsset.java | 143 ++ ...V23ResourcesAssetSetHotelPropertyData.java | 91 + ...23ResourcesAssetSetMerchantCenterFeed.java | 91 + ...rchads360V23ResourcesAssetSetTypeView.java | 96 + ...leAdsSearchads360V23ResourcesAudience.java | 288 +++ ...esBackgroundCheckVerificationArtifact.java | 97 + ...leAdsSearchads360V23ResourcesBatchJob.java | 198 ++ ...0V23ResourcesBatchJobBatchJobMetadata.java | 230 ++ ...ds360V23ResourcesBiddingDataExclusion.java | 340 +++ ...ResourcesBiddingSeasonalityAdjustment.java | 371 +++ ...archads360V23ResourcesBiddingStrategy.java | 514 ++++ ...V23ResourcesBiddingStrategySimulation.java | 243 ++ ...sSearchads360V23ResourcesBillingSetup.java | 284 +++ ...ourcesBillingSetupPaymentsAccountInfo.java | 178 ++ ...RegistrationCheckVerificationArtifact.java | 163 ++ ...ResourcesBusinessRegistrationDocument.java | 70 + ...23ResourcesBusinessRegistrationNumber.java | 67 + ...ds360V23ResourcesCallReportingSetting.java | 121 + ...leAdsSearchads360V23ResourcesCallView.java | 262 ++ ...leAdsSearchads360V23ResourcesCampaign.java | 2137 +++++++++++++++++ ...ds360V23ResourcesCampaignAiMaxSetting.java | 109 + ...23ResourcesCampaignAppCampaignSetting.java | 115 + ...Searchads360V23ResourcesCampaignAsset.java | 283 +++ ...sourcesCampaignAssetAutomationSetting.java | 92 + ...rchads360V23ResourcesCampaignAssetSet.java | 143 ++ ...60V23ResourcesCampaignAudienceSetting.java | 70 + ...ds360V23ResourcesCampaignAudienceView.java | 76 + ...ads360V23ResourcesCampaignBidModifier.java | 166 ++ ...60V23ResourcesCampaignBrandGuidelines.java | 125 + ...earchads360V23ResourcesCampaignBudget.java | 577 +++++ ...ads360V23ResourcesCampaignCategoryBid.java | 121 + ...360V23ResourcesCampaignConversionGoal.java | 194 ++ ...chads360V23ResourcesCampaignCriterion.java | 1084 +++++++++ ...hads360V23ResourcesCampaignCustomizer.java | 172 ++ ...rcesCampaignDemandGenCampaignSettings.java | 73 + ...Searchads360V23ResourcesCampaignDraft.java | 256 ++ ...ourcesCampaignDynamicSearchAdsSetting.java | 118 + ...360V23ResourcesCampaignEffectiveLabel.java | 143 ++ ...ResourcesCampaignGeoTargetTypeSetting.java | 91 + ...hads360V23ResourcesCampaignGoalConfig.java | 166 ++ ...Searchads360V23ResourcesCampaignGroup.java | 151 ++ ...0V23ResourcesCampaignHotelSettingInfo.java | 67 + ...Searchads360V23ResourcesCampaignLabel.java | 142 ++ ...s360V23ResourcesCampaignLifecycleGoal.java | 121 + ...ResourcesCampaignLocalCampaignSetting.java | 67 + ...CampaignLocalServicesCampaignSettings.java | 73 + ...60V23ResourcesCampaignNetworkSettings.java | 202 ++ ...ourcesCampaignOptimizationGoalSetting.java | 67 + ...esourcesCampaignPerformanceMaxUpgrade.java | 115 + ...ResourcesCampaignPmaxCampaignSettings.java | 67 + ...mpaignSettingsBrandTargetingOverrides.java | 67 + ...V23ResourcesCampaignSearchTermInsight.java | 150 ++ ...360V23ResourcesCampaignSearchTermView.java | 123 + ...esourcesCampaignSelectiveOptimization.java | 70 + ...chads360V23ResourcesCampaignSharedSet.java | 154 ++ ...60V23ResourcesCampaignShoppingSetting.java | 251 ++ ...hads360V23ResourcesCampaignSimulation.java | 320 +++ ...60V23ResourcesCampaignTrackingSetting.java | 67 + ...sourcesCampaignTravelCampaignSettings.java | 67 + ...ds360V23ResourcesCampaignVanityPharma.java | 94 + ...archads360V23ResourcesCarrierConstant.java | 145 ++ ...chads360V23ResourcesCartDataSalesView.java | 75 + ...dsSearchads360V23ResourcesChangeEvent.java | 363 +++ ...23ResourcesChangeEventChangedResource.java | 404 ++++ ...sSearchads360V23ResourcesChangeStatus.java | 554 +++++ ...eAdsSearchads360V23ResourcesClickView.java | 300 +++ ...rchads360V23ResourcesCombinedAudience.java | 169 ++ ...earchads360V23ResourcesContactDetails.java | 124 + ...ds360V23ResourcesContentCriterionView.java | 73 + ...AdsSearchads360V23ResourcesConversion.java | 661 +++++ ...rchads360V23ResourcesConversionAction.java | 685 ++++++ 100 files changed, 21946 insertions(+) create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupDemandGenAdGroupSettingsDemandGenChannelControlsDemandGenSelectedChannels.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupEffectiveLabel.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupLabel.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupSimulation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupVerticalAdsFormatSetting.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdParameter.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdScheduleView.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdStrengthActionItem.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdStrengthActionItemAddAssetDetails.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdvertisingPartnerIdentifier.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdvertisingPartnerLinkInvitationIdentifier.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAgeRangeView.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAiMaxSearchTermAdCombinationView.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAndroidPrivacySharedKeyGoogleAdGroup.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAndroidPrivacySharedKeyGoogleCampaign.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAndroidPrivacySharedKeyGoogleNetworkType.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAsset.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAssetCoverage.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAssetFieldTypePolicySummary.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAssetFieldTypeView.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAssetGroup.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAssetGroupAsset.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAssetGroupAssetCombinationData.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAssetGroupListingGroupFilter.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAssetGroupProductGroupView.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAssetGroupSignal.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAssetGroupTopCombinationView.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAssetPolicySummary.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAssetSet.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAssetSetAsset.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAssetSetHotelPropertyData.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAssetSetMerchantCenterFeed.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAssetSetTypeView.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAudience.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesBackgroundCheckVerificationArtifact.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesBatchJob.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesBatchJobBatchJobMetadata.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesBiddingDataExclusion.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesBiddingSeasonalityAdjustment.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesBiddingStrategy.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesBiddingStrategySimulation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesBillingSetup.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesBillingSetupPaymentsAccountInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesBusinessRegistrationCheckVerificationArtifact.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesBusinessRegistrationDocument.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesBusinessRegistrationNumber.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCallReportingSetting.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCallView.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaign.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignAiMaxSetting.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignAppCampaignSetting.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignAsset.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignAssetAutomationSetting.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignAssetSet.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignAudienceSetting.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignAudienceView.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignBidModifier.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignBrandGuidelines.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignBudget.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignCategoryBid.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignConversionGoal.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignCriterion.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignCustomizer.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignDemandGenCampaignSettings.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignDraft.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignDynamicSearchAdsSetting.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignEffectiveLabel.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignGeoTargetTypeSetting.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignGoalConfig.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignGroup.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignHotelSettingInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignLabel.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignLifecycleGoal.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignLocalCampaignSetting.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignLocalServicesCampaignSettings.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignNetworkSettings.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignOptimizationGoalSetting.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignPerformanceMaxUpgrade.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignPmaxCampaignSettings.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignPmaxCampaignSettingsBrandTargetingOverrides.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignSearchTermInsight.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignSearchTermView.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignSelectiveOptimization.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignSharedSet.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignShoppingSetting.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignSimulation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignTrackingSetting.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignTravelCampaignSettings.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignVanityPharma.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCarrierConstant.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCartDataSalesView.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesChangeEvent.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesChangeEventChangedResource.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesChangeStatus.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesClickView.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCombinedAudience.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesContactDetails.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesContentCriterionView.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesConversion.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesConversionAction.java diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupDemandGenAdGroupSettingsDemandGenChannelControlsDemandGenSelectedChannels.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupDemandGenAdGroupSettingsDemandGenChannelControlsDemandGenSelectedChannels.java new file mode 100644 index 00000000000..985990f36c3 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupDemandGenAdGroupSettingsDemandGenChannelControlsDemandGenSelectedChannels.java @@ -0,0 +1,187 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Explicitly selected channels for channel controls in Demand Gen ad groups. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesAdGroupDemandGenAdGroupSettingsDemandGenChannelControlsDemandGenSelectedChannels extends com.google.api.client.json.GenericJson { + + /** + * Whether to enable ads on the Discover channel. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean discover; + + /** + * Whether to enable ads on the Display channel. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean display; + + /** + * Whether to enable ads on the Gmail channel. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean gmail; + + /** + * Whether to enable ads on the YouTube In-Feed channel. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean youtubeInFeed; + + /** + * Whether to enable ads on the YouTube In-Stream channel. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean youtubeInStream; + + /** + * Whether to enable ads on the YouTube Shorts channel. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean youtubeShorts; + + /** + * Whether to enable ads on the Discover channel. + * @return value or {@code null} for none + */ + public java.lang.Boolean getDiscover() { + return discover; + } + + /** + * Whether to enable ads on the Discover channel. + * @param discover discover or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupDemandGenAdGroupSettingsDemandGenChannelControlsDemandGenSelectedChannels setDiscover(java.lang.Boolean discover) { + this.discover = discover; + return this; + } + + /** + * Whether to enable ads on the Display channel. + * @return value or {@code null} for none + */ + public java.lang.Boolean getDisplay() { + return display; + } + + /** + * Whether to enable ads on the Display channel. + * @param display display or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupDemandGenAdGroupSettingsDemandGenChannelControlsDemandGenSelectedChannels setDisplay(java.lang.Boolean display) { + this.display = display; + return this; + } + + /** + * Whether to enable ads on the Gmail channel. + * @return value or {@code null} for none + */ + public java.lang.Boolean getGmail() { + return gmail; + } + + /** + * Whether to enable ads on the Gmail channel. + * @param gmail gmail or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupDemandGenAdGroupSettingsDemandGenChannelControlsDemandGenSelectedChannels setGmail(java.lang.Boolean gmail) { + this.gmail = gmail; + return this; + } + + /** + * Whether to enable ads on the YouTube In-Feed channel. + * @return value or {@code null} for none + */ + public java.lang.Boolean getYoutubeInFeed() { + return youtubeInFeed; + } + + /** + * Whether to enable ads on the YouTube In-Feed channel. + * @param youtubeInFeed youtubeInFeed or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupDemandGenAdGroupSettingsDemandGenChannelControlsDemandGenSelectedChannels setYoutubeInFeed(java.lang.Boolean youtubeInFeed) { + this.youtubeInFeed = youtubeInFeed; + return this; + } + + /** + * Whether to enable ads on the YouTube In-Stream channel. + * @return value or {@code null} for none + */ + public java.lang.Boolean getYoutubeInStream() { + return youtubeInStream; + } + + /** + * Whether to enable ads on the YouTube In-Stream channel. + * @param youtubeInStream youtubeInStream or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupDemandGenAdGroupSettingsDemandGenChannelControlsDemandGenSelectedChannels setYoutubeInStream(java.lang.Boolean youtubeInStream) { + this.youtubeInStream = youtubeInStream; + return this; + } + + /** + * Whether to enable ads on the YouTube Shorts channel. + * @return value or {@code null} for none + */ + public java.lang.Boolean getYoutubeShorts() { + return youtubeShorts; + } + + /** + * Whether to enable ads on the YouTube Shorts channel. + * @param youtubeShorts youtubeShorts or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupDemandGenAdGroupSettingsDemandGenChannelControlsDemandGenSelectedChannels setYoutubeShorts(java.lang.Boolean youtubeShorts) { + this.youtubeShorts = youtubeShorts; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesAdGroupDemandGenAdGroupSettingsDemandGenChannelControlsDemandGenSelectedChannels set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesAdGroupDemandGenAdGroupSettingsDemandGenChannelControlsDemandGenSelectedChannels) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesAdGroupDemandGenAdGroupSettingsDemandGenChannelControlsDemandGenSelectedChannels clone() { + return (GoogleAdsSearchads360V23ResourcesAdGroupDemandGenAdGroupSettingsDemandGenChannelControlsDemandGenSelectedChannels) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupEffectiveLabel.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupEffectiveLabel.java new file mode 100644 index 00000000000..c712ccc8550 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupEffectiveLabel.java @@ -0,0 +1,146 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A relationship between an ad group and an effective label. An effective label is a label + * inherited or directly assigned to this ad group. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesAdGroupEffectiveLabel extends com.google.api.client.json.GenericJson { + + /** + * Immutable. The ad group to which the effective label is attached. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String adGroup; + + /** + * Immutable. The effective label assigned to the ad group. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String label; + + /** + * Output only. The ID of the Customer which owns the effective label. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long ownerCustomerId; + + /** + * Immutable. The resource name of the ad group effective label. Ad group effective label resource + * names have the form: + * `customers/{owner_customer_id}/adGroupEffectiveLabels/{ad_group_id}~{label_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Immutable. The ad group to which the effective label is attached. + * @return value or {@code null} for none + */ + public java.lang.String getAdGroup() { + return adGroup; + } + + /** + * Immutable. The ad group to which the effective label is attached. + * @param adGroup adGroup or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupEffectiveLabel setAdGroup(java.lang.String adGroup) { + this.adGroup = adGroup; + return this; + } + + /** + * Immutable. The effective label assigned to the ad group. + * @return value or {@code null} for none + */ + public java.lang.String getLabel() { + return label; + } + + /** + * Immutable. The effective label assigned to the ad group. + * @param label label or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupEffectiveLabel setLabel(java.lang.String label) { + this.label = label; + return this; + } + + /** + * Output only. The ID of the Customer which owns the effective label. + * @return value or {@code null} for none + */ + public java.lang.Long getOwnerCustomerId() { + return ownerCustomerId; + } + + /** + * Output only. The ID of the Customer which owns the effective label. + * @param ownerCustomerId ownerCustomerId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupEffectiveLabel setOwnerCustomerId(java.lang.Long ownerCustomerId) { + this.ownerCustomerId = ownerCustomerId; + return this; + } + + /** + * Immutable. The resource name of the ad group effective label. Ad group effective label resource + * names have the form: + * `customers/{owner_customer_id}/adGroupEffectiveLabels/{ad_group_id}~{label_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Immutable. The resource name of the ad group effective label. Ad group effective label resource + * names have the form: + * `customers/{owner_customer_id}/adGroupEffectiveLabels/{ad_group_id}~{label_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupEffectiveLabel setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesAdGroupEffectiveLabel set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesAdGroupEffectiveLabel) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesAdGroupEffectiveLabel clone() { + return (GoogleAdsSearchads360V23ResourcesAdGroupEffectiveLabel) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupLabel.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupLabel.java new file mode 100644 index 00000000000..f6d776bf574 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupLabel.java @@ -0,0 +1,142 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A relationship between an ad group and a label. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesAdGroupLabel extends com.google.api.client.json.GenericJson { + + /** + * Immutable. The ad group to which the label is attached. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String adGroup; + + /** + * Immutable. The label assigned to the ad group. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String label; + + /** + * Output only. The ID of the Customer which owns the label. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long ownerCustomerId; + + /** + * Immutable. The resource name of the ad group label. Ad group label resource names have the + * form: `customers/{owner_customer_id}/adGroupLabels/{ad_group_id}~{label_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Immutable. The ad group to which the label is attached. + * @return value or {@code null} for none + */ + public java.lang.String getAdGroup() { + return adGroup; + } + + /** + * Immutable. The ad group to which the label is attached. + * @param adGroup adGroup or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupLabel setAdGroup(java.lang.String adGroup) { + this.adGroup = adGroup; + return this; + } + + /** + * Immutable. The label assigned to the ad group. + * @return value or {@code null} for none + */ + public java.lang.String getLabel() { + return label; + } + + /** + * Immutable. The label assigned to the ad group. + * @param label label or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupLabel setLabel(java.lang.String label) { + this.label = label; + return this; + } + + /** + * Output only. The ID of the Customer which owns the label. + * @return value or {@code null} for none + */ + public java.lang.Long getOwnerCustomerId() { + return ownerCustomerId; + } + + /** + * Output only. The ID of the Customer which owns the label. + * @param ownerCustomerId ownerCustomerId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupLabel setOwnerCustomerId(java.lang.Long ownerCustomerId) { + this.ownerCustomerId = ownerCustomerId; + return this; + } + + /** + * Immutable. The resource name of the ad group label. Ad group label resource names have the + * form: `customers/{owner_customer_id}/adGroupLabels/{ad_group_id}~{label_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Immutable. The resource name of the ad group label. Ad group label resource names have the + * form: `customers/{owner_customer_id}/adGroupLabels/{ad_group_id}~{label_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupLabel setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesAdGroupLabel set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesAdGroupLabel) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesAdGroupLabel clone() { + return (GoogleAdsSearchads360V23ResourcesAdGroupLabel) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupSimulation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupSimulation.java new file mode 100644 index 00000000000..1c638a15ec9 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupSimulation.java @@ -0,0 +1,292 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * An ad group simulation. Supported combinations of advertising channel type, simulation type and + * simulation modification method is detailed below respectively. 1. SEARCH - CPC_BID - DEFAULT 2. + * SEARCH - CPC_BID - UNIFORM 3. SEARCH - TARGET_CPA - UNIFORM 4. SEARCH - TARGET_ROAS - UNIFORM 5. + * DISPLAY - CPC_BID - DEFAULT 6. DISPLAY - CPC_BID - UNIFORM 7. DISPLAY - TARGET_CPA - UNIFORM + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesAdGroupSimulation extends com.google.api.client.json.GenericJson { + + /** + * Output only. Ad group id of the simulation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long adGroupId; + + /** + * Output only. Simulation points if the simulation type is CPC_BID. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonCpcBidSimulationPointList cpcBidPointList; + + /** + * Output only. Simulation points if the simulation type is CPV_BID. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonCpvBidSimulationPointList cpvBidPointList; + + /** + * Output only. Last day on which the simulation is based, in YYYY-MM-DD format + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String endDate; + + /** + * Output only. How the simulation modifies the field. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String modificationMethod; + + /** + * Output only. The resource name of the ad group simulation. Ad group simulation resource names + * have the form: `customers/{customer_id}/adGroupSimulations/{ad_group_id}~{type}~{modification_m + * ethod}~{start_date}~{end_date}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. First day on which the simulation is based, in YYYY-MM-DD format. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String startDate; + + /** + * Output only. Simulation points if the simulation type is TARGET_CPA. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonTargetCpaSimulationPointList targetCpaPointList; + + /** + * Output only. Simulation points if the simulation type is TARGET_ROAS. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonTargetRoasSimulationPointList targetRoasPointList; + + /** + * Output only. The field that the simulation modifies. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String type; + + /** + * Output only. Ad group id of the simulation. + * @return value or {@code null} for none + */ + public java.lang.Long getAdGroupId() { + return adGroupId; + } + + /** + * Output only. Ad group id of the simulation. + * @param adGroupId adGroupId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupSimulation setAdGroupId(java.lang.Long adGroupId) { + this.adGroupId = adGroupId; + return this; + } + + /** + * Output only. Simulation points if the simulation type is CPC_BID. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCpcBidSimulationPointList getCpcBidPointList() { + return cpcBidPointList; + } + + /** + * Output only. Simulation points if the simulation type is CPC_BID. + * @param cpcBidPointList cpcBidPointList or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupSimulation setCpcBidPointList(GoogleAdsSearchads360V23CommonCpcBidSimulationPointList cpcBidPointList) { + this.cpcBidPointList = cpcBidPointList; + return this; + } + + /** + * Output only. Simulation points if the simulation type is CPV_BID. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCpvBidSimulationPointList getCpvBidPointList() { + return cpvBidPointList; + } + + /** + * Output only. Simulation points if the simulation type is CPV_BID. + * @param cpvBidPointList cpvBidPointList or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupSimulation setCpvBidPointList(GoogleAdsSearchads360V23CommonCpvBidSimulationPointList cpvBidPointList) { + this.cpvBidPointList = cpvBidPointList; + return this; + } + + /** + * Output only. Last day on which the simulation is based, in YYYY-MM-DD format + * @return value or {@code null} for none + */ + public java.lang.String getEndDate() { + return endDate; + } + + /** + * Output only. Last day on which the simulation is based, in YYYY-MM-DD format + * @param endDate endDate or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupSimulation setEndDate(java.lang.String endDate) { + this.endDate = endDate; + return this; + } + + /** + * Output only. How the simulation modifies the field. + * @return value or {@code null} for none + */ + public java.lang.String getModificationMethod() { + return modificationMethod; + } + + /** + * Output only. How the simulation modifies the field. + * @param modificationMethod modificationMethod or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupSimulation setModificationMethod(java.lang.String modificationMethod) { + this.modificationMethod = modificationMethod; + return this; + } + + /** + * Output only. The resource name of the ad group simulation. Ad group simulation resource names + * have the form: `customers/{customer_id}/adGroupSimulations/{ad_group_id}~{type}~{modification_m + * ethod}~{start_date}~{end_date}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Output only. The resource name of the ad group simulation. Ad group simulation resource names + * have the form: `customers/{customer_id}/adGroupSimulations/{ad_group_id}~{type}~{modification_m + * ethod}~{start_date}~{end_date}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupSimulation setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Output only. First day on which the simulation is based, in YYYY-MM-DD format. + * @return value or {@code null} for none + */ + public java.lang.String getStartDate() { + return startDate; + } + + /** + * Output only. First day on which the simulation is based, in YYYY-MM-DD format. + * @param startDate startDate or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupSimulation setStartDate(java.lang.String startDate) { + this.startDate = startDate; + return this; + } + + /** + * Output only. Simulation points if the simulation type is TARGET_CPA. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonTargetCpaSimulationPointList getTargetCpaPointList() { + return targetCpaPointList; + } + + /** + * Output only. Simulation points if the simulation type is TARGET_CPA. + * @param targetCpaPointList targetCpaPointList or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupSimulation setTargetCpaPointList(GoogleAdsSearchads360V23CommonTargetCpaSimulationPointList targetCpaPointList) { + this.targetCpaPointList = targetCpaPointList; + return this; + } + + /** + * Output only. Simulation points if the simulation type is TARGET_ROAS. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonTargetRoasSimulationPointList getTargetRoasPointList() { + return targetRoasPointList; + } + + /** + * Output only. Simulation points if the simulation type is TARGET_ROAS. + * @param targetRoasPointList targetRoasPointList or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupSimulation setTargetRoasPointList(GoogleAdsSearchads360V23CommonTargetRoasSimulationPointList targetRoasPointList) { + this.targetRoasPointList = targetRoasPointList; + return this; + } + + /** + * Output only. The field that the simulation modifies. + * @return value or {@code null} for none + */ + public java.lang.String getType() { + return type; + } + + /** + * Output only. The field that the simulation modifies. + * @param type type or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupSimulation setType(java.lang.String type) { + this.type = type; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesAdGroupSimulation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesAdGroupSimulation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesAdGroupSimulation clone() { + return (GoogleAdsSearchads360V23ResourcesAdGroupSimulation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupVerticalAdsFormatSetting.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupVerticalAdsFormatSetting.java new file mode 100644 index 00000000000..600126f9799 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdGroupVerticalAdsFormatSetting.java @@ -0,0 +1,115 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Vertical ads setting feature to enable/disable ad group format controls in search campaigns. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesAdGroupVerticalAdsFormatSetting extends com.google.api.client.json.GenericJson { + + /** + * If true, text ads will be disabled for this ad group. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean disableTextAds; + + /** + * If true, booking links will be enabled for this ad group. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean enableBookingLinks; + + /** + * If true, vertical promotion ads will be enabled for this ad group. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean enableVerticalPromotionAds; + + /** + * If true, text ads will be disabled for this ad group. + * @return value or {@code null} for none + */ + public java.lang.Boolean getDisableTextAds() { + return disableTextAds; + } + + /** + * If true, text ads will be disabled for this ad group. + * @param disableTextAds disableTextAds or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupVerticalAdsFormatSetting setDisableTextAds(java.lang.Boolean disableTextAds) { + this.disableTextAds = disableTextAds; + return this; + } + + /** + * If true, booking links will be enabled for this ad group. + * @return value or {@code null} for none + */ + public java.lang.Boolean getEnableBookingLinks() { + return enableBookingLinks; + } + + /** + * If true, booking links will be enabled for this ad group. + * @param enableBookingLinks enableBookingLinks or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupVerticalAdsFormatSetting setEnableBookingLinks(java.lang.Boolean enableBookingLinks) { + this.enableBookingLinks = enableBookingLinks; + return this; + } + + /** + * If true, vertical promotion ads will be enabled for this ad group. + * @return value or {@code null} for none + */ + public java.lang.Boolean getEnableVerticalPromotionAds() { + return enableVerticalPromotionAds; + } + + /** + * If true, vertical promotion ads will be enabled for this ad group. + * @param enableVerticalPromotionAds enableVerticalPromotionAds or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupVerticalAdsFormatSetting setEnableVerticalPromotionAds(java.lang.Boolean enableVerticalPromotionAds) { + this.enableVerticalPromotionAds = enableVerticalPromotionAds; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesAdGroupVerticalAdsFormatSetting set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesAdGroupVerticalAdsFormatSetting) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesAdGroupVerticalAdsFormatSetting clone() { + return (GoogleAdsSearchads360V23ResourcesAdGroupVerticalAdsFormatSetting) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdParameter.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdParameter.java new file mode 100644 index 00000000000..c9515644afd --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdParameter.java @@ -0,0 +1,164 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * An ad parameter that is used to update numeric values (such as prices or inventory levels) in any + * text line of an ad (including URLs). There can be a maximum of two AdParameters per ad group + * criterion. (One with parameter_index = 1 and one with parameter_index = 2.) In the ad the + * parameters are referenced by a placeholder of the form "{param#:value}". For example, + * "{param1:$17}" + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesAdParameter extends com.google.api.client.json.GenericJson { + + /** + * Immutable. The ad group criterion that this ad parameter belongs to. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String adGroupCriterion; + + /** + * Numeric value to insert into the ad text. The following restrictions apply: - Can use comma or + * period as a separator, with an optional period or comma (respectively) for fractional values. + * For example, 1,000,000.00 and 2.000.000,10 are valid. - Can be prepended or appended with a + * currency symbol. For example, $99.99 is valid. - Can be prepended or appended with a currency + * code. For example, 99.99USD and EUR200 are valid. - Can use '%'. For example, 1.0% and 1,0% are + * valid. - Can use plus or minus. For example, -10.99 and 25+ are valid. - Can use '/' between + * two numbers. For example 4/1 and 0.95/0.45 are valid. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String insertionText; + + /** + * Immutable. The unique index of this ad parameter. Must be either 1 or 2. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long parameterIndex; + + /** + * Immutable. The resource name of the ad parameter. Ad parameter resource names have the form: + * `customers/{customer_id}/adParameters/{ad_group_id}~{criterion_id}~{parameter_index}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Immutable. The ad group criterion that this ad parameter belongs to. + * @return value or {@code null} for none + */ + public java.lang.String getAdGroupCriterion() { + return adGroupCriterion; + } + + /** + * Immutable. The ad group criterion that this ad parameter belongs to. + * @param adGroupCriterion adGroupCriterion or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdParameter setAdGroupCriterion(java.lang.String adGroupCriterion) { + this.adGroupCriterion = adGroupCriterion; + return this; + } + + /** + * Numeric value to insert into the ad text. The following restrictions apply: - Can use comma or + * period as a separator, with an optional period or comma (respectively) for fractional values. + * For example, 1,000,000.00 and 2.000.000,10 are valid. - Can be prepended or appended with a + * currency symbol. For example, $99.99 is valid. - Can be prepended or appended with a currency + * code. For example, 99.99USD and EUR200 are valid. - Can use '%'. For example, 1.0% and 1,0% are + * valid. - Can use plus or minus. For example, -10.99 and 25+ are valid. - Can use '/' between + * two numbers. For example 4/1 and 0.95/0.45 are valid. + * @return value or {@code null} for none + */ + public java.lang.String getInsertionText() { + return insertionText; + } + + /** + * Numeric value to insert into the ad text. The following restrictions apply: - Can use comma or + * period as a separator, with an optional period or comma (respectively) for fractional values. + * For example, 1,000,000.00 and 2.000.000,10 are valid. - Can be prepended or appended with a + * currency symbol. For example, $99.99 is valid. - Can be prepended or appended with a currency + * code. For example, 99.99USD and EUR200 are valid. - Can use '%'. For example, 1.0% and 1,0% are + * valid. - Can use plus or minus. For example, -10.99 and 25+ are valid. - Can use '/' between + * two numbers. For example 4/1 and 0.95/0.45 are valid. + * @param insertionText insertionText or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdParameter setInsertionText(java.lang.String insertionText) { + this.insertionText = insertionText; + return this; + } + + /** + * Immutable. The unique index of this ad parameter. Must be either 1 or 2. + * @return value or {@code null} for none + */ + public java.lang.Long getParameterIndex() { + return parameterIndex; + } + + /** + * Immutable. The unique index of this ad parameter. Must be either 1 or 2. + * @param parameterIndex parameterIndex or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdParameter setParameterIndex(java.lang.Long parameterIndex) { + this.parameterIndex = parameterIndex; + return this; + } + + /** + * Immutable. The resource name of the ad parameter. Ad parameter resource names have the form: + * `customers/{customer_id}/adParameters/{ad_group_id}~{criterion_id}~{parameter_index}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Immutable. The resource name of the ad parameter. Ad parameter resource names have the form: + * `customers/{customer_id}/adParameters/{ad_group_id}~{criterion_id}~{parameter_index}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdParameter setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesAdParameter set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesAdParameter) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesAdParameter clone() { + return (GoogleAdsSearchads360V23ResourcesAdParameter) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdScheduleView.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdScheduleView.java new file mode 100644 index 00000000000..0c94187223c --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdScheduleView.java @@ -0,0 +1,70 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * An ad schedule view summarizes the performance of campaigns by AdSchedule criteria. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesAdScheduleView extends com.google.api.client.json.GenericJson { + + /** + * Output only. The resource name of the ad schedule view. AdSchedule view resource names have the + * form: `customers/{customer_id}/adScheduleViews/{campaign_id}~{criterion_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. The resource name of the ad schedule view. AdSchedule view resource names have the + * form: `customers/{customer_id}/adScheduleViews/{campaign_id}~{criterion_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Output only. The resource name of the ad schedule view. AdSchedule view resource names have the + * form: `customers/{customer_id}/adScheduleViews/{campaign_id}~{criterion_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdScheduleView setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesAdScheduleView set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesAdScheduleView) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesAdScheduleView clone() { + return (GoogleAdsSearchads360V23ResourcesAdScheduleView) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdStrengthActionItem.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdStrengthActionItem.java new file mode 100644 index 00000000000..1add4814b6f --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdStrengthActionItem.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * An action item to improve the ad strength of an asset group. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesAdStrengthActionItem extends com.google.api.client.json.GenericJson { + + /** + * Output only. The action item type. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String actionItemType; + + /** + * Output only. The action item details for action item type ADD_ASSET. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAdStrengthActionItemAddAssetDetails addAssetDetails; + + /** + * Output only. The action item type. + * @return value or {@code null} for none + */ + public java.lang.String getActionItemType() { + return actionItemType; + } + + /** + * Output only. The action item type. + * @param actionItemType actionItemType or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdStrengthActionItem setActionItemType(java.lang.String actionItemType) { + this.actionItemType = actionItemType; + return this; + } + + /** + * Output only. The action item details for action item type ADD_ASSET. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdStrengthActionItemAddAssetDetails getAddAssetDetails() { + return addAssetDetails; + } + + /** + * Output only. The action item details for action item type ADD_ASSET. + * @param addAssetDetails addAssetDetails or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdStrengthActionItem setAddAssetDetails(GoogleAdsSearchads360V23ResourcesAdStrengthActionItemAddAssetDetails addAssetDetails) { + this.addAssetDetails = addAssetDetails; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesAdStrengthActionItem set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesAdStrengthActionItem) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesAdStrengthActionItem clone() { + return (GoogleAdsSearchads360V23ResourcesAdStrengthActionItem) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdStrengthActionItemAddAssetDetails.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdStrengthActionItemAddAssetDetails.java new file mode 100644 index 00000000000..bfbd2de590a --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdStrengthActionItemAddAssetDetails.java @@ -0,0 +1,121 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The details of the asset to add. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesAdStrengthActionItemAddAssetDetails extends com.google.api.client.json.GenericJson { + + /** + * Output only. The number of assets to add. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer assetCount; + + /** + * Output only. The asset field type of the asset(s) to add. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String assetFieldType; + + /** + * Output only. For video field types, the required aspect ratio of the video. When unset and + * asset_field_type is YOUTUBE_VIDEO, the system recommends the advertiser upload any YouTube + * video, regardless of aspect ratio. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String videoAspectRatioRequirement; + + /** + * Output only. The number of assets to add. + * @return value or {@code null} for none + */ + public java.lang.Integer getAssetCount() { + return assetCount; + } + + /** + * Output only. The number of assets to add. + * @param assetCount assetCount or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdStrengthActionItemAddAssetDetails setAssetCount(java.lang.Integer assetCount) { + this.assetCount = assetCount; + return this; + } + + /** + * Output only. The asset field type of the asset(s) to add. + * @return value or {@code null} for none + */ + public java.lang.String getAssetFieldType() { + return assetFieldType; + } + + /** + * Output only. The asset field type of the asset(s) to add. + * @param assetFieldType assetFieldType or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdStrengthActionItemAddAssetDetails setAssetFieldType(java.lang.String assetFieldType) { + this.assetFieldType = assetFieldType; + return this; + } + + /** + * Output only. For video field types, the required aspect ratio of the video. When unset and + * asset_field_type is YOUTUBE_VIDEO, the system recommends the advertiser upload any YouTube + * video, regardless of aspect ratio. + * @return value or {@code null} for none + */ + public java.lang.String getVideoAspectRatioRequirement() { + return videoAspectRatioRequirement; + } + + /** + * Output only. For video field types, the required aspect ratio of the video. When unset and + * asset_field_type is YOUTUBE_VIDEO, the system recommends the advertiser upload any YouTube + * video, regardless of aspect ratio. + * @param videoAspectRatioRequirement videoAspectRatioRequirement or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdStrengthActionItemAddAssetDetails setVideoAspectRatioRequirement(java.lang.String videoAspectRatioRequirement) { + this.videoAspectRatioRequirement = videoAspectRatioRequirement; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesAdStrengthActionItemAddAssetDetails set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesAdStrengthActionItemAddAssetDetails) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesAdStrengthActionItemAddAssetDetails clone() { + return (GoogleAdsSearchads360V23ResourcesAdStrengthActionItemAddAssetDetails) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdvertisingPartnerIdentifier.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdvertisingPartnerIdentifier.java new file mode 100644 index 00000000000..9188573495e --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdvertisingPartnerIdentifier.java @@ -0,0 +1,73 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The identifier for the Advertising Partner Google Ads account. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesAdvertisingPartnerIdentifier extends com.google.api.client.json.GenericJson { + + /** + * Output only. The resource name of the advertising partner Google Ads account. This field is + * required and should not be empty when creating a new Advertising Partner link. It is unable to + * be modified after the creation of the link. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String customer; + + /** + * Output only. The resource name of the advertising partner Google Ads account. This field is + * required and should not be empty when creating a new Advertising Partner link. It is unable to + * be modified after the creation of the link. + * @return value or {@code null} for none + */ + public java.lang.String getCustomer() { + return customer; + } + + /** + * Output only. The resource name of the advertising partner Google Ads account. This field is + * required and should not be empty when creating a new Advertising Partner link. It is unable to + * be modified after the creation of the link. + * @param customer customer or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdvertisingPartnerIdentifier setCustomer(java.lang.String customer) { + this.customer = customer; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesAdvertisingPartnerIdentifier set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesAdvertisingPartnerIdentifier) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesAdvertisingPartnerIdentifier clone() { + return (GoogleAdsSearchads360V23ResourcesAdvertisingPartnerIdentifier) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdvertisingPartnerLinkInvitationIdentifier.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdvertisingPartnerLinkInvitationIdentifier.java new file mode 100644 index 00000000000..9ace615b19a --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAdvertisingPartnerLinkInvitationIdentifier.java @@ -0,0 +1,70 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The identifier for the Advertising Partner Google Ads account. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesAdvertisingPartnerLinkInvitationIdentifier extends com.google.api.client.json.GenericJson { + + /** + * Immutable. The resource name of the advertising partner Google Ads account. This field is read + * only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String customer; + + /** + * Immutable. The resource name of the advertising partner Google Ads account. This field is read + * only. + * @return value or {@code null} for none + */ + public java.lang.String getCustomer() { + return customer; + } + + /** + * Immutable. The resource name of the advertising partner Google Ads account. This field is read + * only. + * @param customer customer or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdvertisingPartnerLinkInvitationIdentifier setCustomer(java.lang.String customer) { + this.customer = customer; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesAdvertisingPartnerLinkInvitationIdentifier set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesAdvertisingPartnerLinkInvitationIdentifier) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesAdvertisingPartnerLinkInvitationIdentifier clone() { + return (GoogleAdsSearchads360V23ResourcesAdvertisingPartnerLinkInvitationIdentifier) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAgeRangeView.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAgeRangeView.java new file mode 100644 index 00000000000..e7dc458b760 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAgeRangeView.java @@ -0,0 +1,70 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * An age range view. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesAgeRangeView extends com.google.api.client.json.GenericJson { + + /** + * Output only. The resource name of the age range view. Age range view resource names have the + * form: `customers/{customer_id}/ageRangeViews/{ad_group_id}~{criterion_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. The resource name of the age range view. Age range view resource names have the + * form: `customers/{customer_id}/ageRangeViews/{ad_group_id}~{criterion_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Output only. The resource name of the age range view. Age range view resource names have the + * form: `customers/{customer_id}/ageRangeViews/{ad_group_id}~{criterion_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAgeRangeView setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesAgeRangeView set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesAgeRangeView) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesAgeRangeView clone() { + return (GoogleAdsSearchads360V23ResourcesAgeRangeView) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAiMaxSearchTermAdCombinationView.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAiMaxSearchTermAdCombinationView.java new file mode 100644 index 00000000000..669ee5a37db --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAiMaxSearchTermAdCombinationView.java @@ -0,0 +1,175 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * AiMaxSearchTermAdCombinationView Resource. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesAiMaxSearchTermAdCombinationView extends com.google.api.client.json.GenericJson { + + /** + * Output only. Ad group where the search term served. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String adGroup; + + /** + * Output only. The concatenated string containing headline assets for the ad. Up to three + * headline assets are concatenated, separated by " | ". This field is read-only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String headline; + + /** + * Output only. The destination URL, which was dynamically generated. This field is read-only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String landingPage; + + /** + * Output only. The resource name of the AI Max Search Term Ad Combination view AI Max Search Term + * Ad Combination view resource names have the form: + * `customers/{customer_id}/aiMaxSearchTermAdCombinationViews/{ad_group_id}~{URL- + * base64_search_term}~{URL-base64_landing_page}~{URL-base64_headline}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. The search term that triggered the ad. This field is read-only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String searchTerm; + + /** + * Output only. Ad group where the search term served. + * @return value or {@code null} for none + */ + public java.lang.String getAdGroup() { + return adGroup; + } + + /** + * Output only. Ad group where the search term served. + * @param adGroup adGroup or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAiMaxSearchTermAdCombinationView setAdGroup(java.lang.String adGroup) { + this.adGroup = adGroup; + return this; + } + + /** + * Output only. The concatenated string containing headline assets for the ad. Up to three + * headline assets are concatenated, separated by " | ". This field is read-only. + * @return value or {@code null} for none + */ + public java.lang.String getHeadline() { + return headline; + } + + /** + * Output only. The concatenated string containing headline assets for the ad. Up to three + * headline assets are concatenated, separated by " | ". This field is read-only. + * @param headline headline or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAiMaxSearchTermAdCombinationView setHeadline(java.lang.String headline) { + this.headline = headline; + return this; + } + + /** + * Output only. The destination URL, which was dynamically generated. This field is read-only. + * @return value or {@code null} for none + */ + public java.lang.String getLandingPage() { + return landingPage; + } + + /** + * Output only. The destination URL, which was dynamically generated. This field is read-only. + * @param landingPage landingPage or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAiMaxSearchTermAdCombinationView setLandingPage(java.lang.String landingPage) { + this.landingPage = landingPage; + return this; + } + + /** + * Output only. The resource name of the AI Max Search Term Ad Combination view AI Max Search Term + * Ad Combination view resource names have the form: + * `customers/{customer_id}/aiMaxSearchTermAdCombinationViews/{ad_group_id}~{URL- + * base64_search_term}~{URL-base64_landing_page}~{URL-base64_headline}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Output only. The resource name of the AI Max Search Term Ad Combination view AI Max Search Term + * Ad Combination view resource names have the form: + * `customers/{customer_id}/aiMaxSearchTermAdCombinationViews/{ad_group_id}~{URL- + * base64_search_term}~{URL-base64_landing_page}~{URL-base64_headline}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAiMaxSearchTermAdCombinationView setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Output only. The search term that triggered the ad. This field is read-only. + * @return value or {@code null} for none + */ + public java.lang.String getSearchTerm() { + return searchTerm; + } + + /** + * Output only. The search term that triggered the ad. This field is read-only. + * @param searchTerm searchTerm or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAiMaxSearchTermAdCombinationView setSearchTerm(java.lang.String searchTerm) { + this.searchTerm = searchTerm; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesAiMaxSearchTermAdCombinationView set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesAiMaxSearchTermAdCombinationView) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesAiMaxSearchTermAdCombinationView clone() { + return (GoogleAdsSearchads360V23ResourcesAiMaxSearchTermAdCombinationView) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAndroidPrivacySharedKeyGoogleAdGroup.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAndroidPrivacySharedKeyGoogleAdGroup.java new file mode 100644 index 00000000000..48aeafeb244 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAndroidPrivacySharedKeyGoogleAdGroup.java @@ -0,0 +1,229 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * An Android privacy shared key view for Google ad group key. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesAndroidPrivacySharedKeyGoogleAdGroup extends com.google.api.client.json.GenericJson { + + /** + * Output only. The ad group ID used in the share key encoding. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long adGroupId; + + /** + * Output only. The interaction date used in the shared key encoding in the format of "YYYY-MM-DD" + * in UTC timezone. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String androidPrivacyInteractionDate; + + /** + * Output only. The interaction type enum used in the share key encoding. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String androidPrivacyInteractionType; + + /** + * Output only. The network type enum used in the share key encoding. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String androidPrivacyNetworkType; + + /** + * Output only. The campaign ID used in the share key encoding. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long campaignId; + + /** + * Output only. The resource name of the Android privacy shared key. Android privacy shared key + * resource names have the form: `customers/{customer_id}/androidPrivacySharedKeyGoogleAdGroups/{c + * ampaign_id}~{ad_group_id}~{android_privacy_interaction_type}~{android_privacy_network_type}~{an + * droid_privacy_interaction_date(yyyy-mm-dd)}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. 128 bit hex string of the encoded shared ad group key, including a '0x' prefix. + * This key can be used to do a bitwise OR operator with the aggregate conversion key to create a + * full aggregation key to retrieve the Aggregate API Report in Android Privacy Sandbox. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String sharedAdGroupKey; + + /** + * Output only. The ad group ID used in the share key encoding. + * @return value or {@code null} for none + */ + public java.lang.Long getAdGroupId() { + return adGroupId; + } + + /** + * Output only. The ad group ID used in the share key encoding. + * @param adGroupId adGroupId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAndroidPrivacySharedKeyGoogleAdGroup setAdGroupId(java.lang.Long adGroupId) { + this.adGroupId = adGroupId; + return this; + } + + /** + * Output only. The interaction date used in the shared key encoding in the format of "YYYY-MM-DD" + * in UTC timezone. + * @return value or {@code null} for none + */ + public java.lang.String getAndroidPrivacyInteractionDate() { + return androidPrivacyInteractionDate; + } + + /** + * Output only. The interaction date used in the shared key encoding in the format of "YYYY-MM-DD" + * in UTC timezone. + * @param androidPrivacyInteractionDate androidPrivacyInteractionDate or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAndroidPrivacySharedKeyGoogleAdGroup setAndroidPrivacyInteractionDate(java.lang.String androidPrivacyInteractionDate) { + this.androidPrivacyInteractionDate = androidPrivacyInteractionDate; + return this; + } + + /** + * Output only. The interaction type enum used in the share key encoding. + * @return value or {@code null} for none + */ + public java.lang.String getAndroidPrivacyInteractionType() { + return androidPrivacyInteractionType; + } + + /** + * Output only. The interaction type enum used in the share key encoding. + * @param androidPrivacyInteractionType androidPrivacyInteractionType or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAndroidPrivacySharedKeyGoogleAdGroup setAndroidPrivacyInteractionType(java.lang.String androidPrivacyInteractionType) { + this.androidPrivacyInteractionType = androidPrivacyInteractionType; + return this; + } + + /** + * Output only. The network type enum used in the share key encoding. + * @return value or {@code null} for none + */ + public java.lang.String getAndroidPrivacyNetworkType() { + return androidPrivacyNetworkType; + } + + /** + * Output only. The network type enum used in the share key encoding. + * @param androidPrivacyNetworkType androidPrivacyNetworkType or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAndroidPrivacySharedKeyGoogleAdGroup setAndroidPrivacyNetworkType(java.lang.String androidPrivacyNetworkType) { + this.androidPrivacyNetworkType = androidPrivacyNetworkType; + return this; + } + + /** + * Output only. The campaign ID used in the share key encoding. + * @return value or {@code null} for none + */ + public java.lang.Long getCampaignId() { + return campaignId; + } + + /** + * Output only. The campaign ID used in the share key encoding. + * @param campaignId campaignId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAndroidPrivacySharedKeyGoogleAdGroup setCampaignId(java.lang.Long campaignId) { + this.campaignId = campaignId; + return this; + } + + /** + * Output only. The resource name of the Android privacy shared key. Android privacy shared key + * resource names have the form: `customers/{customer_id}/androidPrivacySharedKeyGoogleAdGroups/{c + * ampaign_id}~{ad_group_id}~{android_privacy_interaction_type}~{android_privacy_network_type}~{an + * droid_privacy_interaction_date(yyyy-mm-dd)}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Output only. The resource name of the Android privacy shared key. Android privacy shared key + * resource names have the form: `customers/{customer_id}/androidPrivacySharedKeyGoogleAdGroups/{c + * ampaign_id}~{ad_group_id}~{android_privacy_interaction_type}~{android_privacy_network_type}~{an + * droid_privacy_interaction_date(yyyy-mm-dd)}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAndroidPrivacySharedKeyGoogleAdGroup setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Output only. 128 bit hex string of the encoded shared ad group key, including a '0x' prefix. + * This key can be used to do a bitwise OR operator with the aggregate conversion key to create a + * full aggregation key to retrieve the Aggregate API Report in Android Privacy Sandbox. + * @return value or {@code null} for none + */ + public java.lang.String getSharedAdGroupKey() { + return sharedAdGroupKey; + } + + /** + * Output only. 128 bit hex string of the encoded shared ad group key, including a '0x' prefix. + * This key can be used to do a bitwise OR operator with the aggregate conversion key to create a + * full aggregation key to retrieve the Aggregate API Report in Android Privacy Sandbox. + * @param sharedAdGroupKey sharedAdGroupKey or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAndroidPrivacySharedKeyGoogleAdGroup setSharedAdGroupKey(java.lang.String sharedAdGroupKey) { + this.sharedAdGroupKey = sharedAdGroupKey; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesAndroidPrivacySharedKeyGoogleAdGroup set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesAndroidPrivacySharedKeyGoogleAdGroup) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesAndroidPrivacySharedKeyGoogleAdGroup clone() { + return (GoogleAdsSearchads360V23ResourcesAndroidPrivacySharedKeyGoogleAdGroup) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAndroidPrivacySharedKeyGoogleCampaign.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAndroidPrivacySharedKeyGoogleCampaign.java new file mode 100644 index 00000000000..1d4ccf1f731 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAndroidPrivacySharedKeyGoogleCampaign.java @@ -0,0 +1,178 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * An Android privacy shared key view for Google campaign key. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesAndroidPrivacySharedKeyGoogleCampaign extends com.google.api.client.json.GenericJson { + + /** + * Output only. The interaction date used in the shared key encoding in the format of "YYYY-MM-DD" + * in UTC timezone. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String androidPrivacyInteractionDate; + + /** + * Output only. The interaction type enum used in the share key encoding. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String androidPrivacyInteractionType; + + /** + * Output only. The campaign ID used in the share key encoding. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long campaignId; + + /** + * Output only. The resource name of the Android privacy shared key. Android privacy shared key + * resource names have the form: `customers/{customer_id}/androidPrivacySharedKeyGoogleCampaigns/{ + * campaign_id}~{android_privacy_interaction_type}~{android_privacy_interaction_date(yyyy-mm-dd)}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. 128 bit hex string of the encoded shared campaign key, including a '0x' prefix. + * This key can be used to do a bitwise OR operator with the aggregate conversion key to create a + * full aggregation key to retrieve the Aggregate API Report in Android Privacy Sandbox. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String sharedCampaignKey; + + /** + * Output only. The interaction date used in the shared key encoding in the format of "YYYY-MM-DD" + * in UTC timezone. + * @return value or {@code null} for none + */ + public java.lang.String getAndroidPrivacyInteractionDate() { + return androidPrivacyInteractionDate; + } + + /** + * Output only. The interaction date used in the shared key encoding in the format of "YYYY-MM-DD" + * in UTC timezone. + * @param androidPrivacyInteractionDate androidPrivacyInteractionDate or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAndroidPrivacySharedKeyGoogleCampaign setAndroidPrivacyInteractionDate(java.lang.String androidPrivacyInteractionDate) { + this.androidPrivacyInteractionDate = androidPrivacyInteractionDate; + return this; + } + + /** + * Output only. The interaction type enum used in the share key encoding. + * @return value or {@code null} for none + */ + public java.lang.String getAndroidPrivacyInteractionType() { + return androidPrivacyInteractionType; + } + + /** + * Output only. The interaction type enum used in the share key encoding. + * @param androidPrivacyInteractionType androidPrivacyInteractionType or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAndroidPrivacySharedKeyGoogleCampaign setAndroidPrivacyInteractionType(java.lang.String androidPrivacyInteractionType) { + this.androidPrivacyInteractionType = androidPrivacyInteractionType; + return this; + } + + /** + * Output only. The campaign ID used in the share key encoding. + * @return value or {@code null} for none + */ + public java.lang.Long getCampaignId() { + return campaignId; + } + + /** + * Output only. The campaign ID used in the share key encoding. + * @param campaignId campaignId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAndroidPrivacySharedKeyGoogleCampaign setCampaignId(java.lang.Long campaignId) { + this.campaignId = campaignId; + return this; + } + + /** + * Output only. The resource name of the Android privacy shared key. Android privacy shared key + * resource names have the form: `customers/{customer_id}/androidPrivacySharedKeyGoogleCampaigns/{ + * campaign_id}~{android_privacy_interaction_type}~{android_privacy_interaction_date(yyyy-mm-dd)}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Output only. The resource name of the Android privacy shared key. Android privacy shared key + * resource names have the form: `customers/{customer_id}/androidPrivacySharedKeyGoogleCampaigns/{ + * campaign_id}~{android_privacy_interaction_type}~{android_privacy_interaction_date(yyyy-mm-dd)}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAndroidPrivacySharedKeyGoogleCampaign setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Output only. 128 bit hex string of the encoded shared campaign key, including a '0x' prefix. + * This key can be used to do a bitwise OR operator with the aggregate conversion key to create a + * full aggregation key to retrieve the Aggregate API Report in Android Privacy Sandbox. + * @return value or {@code null} for none + */ + public java.lang.String getSharedCampaignKey() { + return sharedCampaignKey; + } + + /** + * Output only. 128 bit hex string of the encoded shared campaign key, including a '0x' prefix. + * This key can be used to do a bitwise OR operator with the aggregate conversion key to create a + * full aggregation key to retrieve the Aggregate API Report in Android Privacy Sandbox. + * @param sharedCampaignKey sharedCampaignKey or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAndroidPrivacySharedKeyGoogleCampaign setSharedCampaignKey(java.lang.String sharedCampaignKey) { + this.sharedCampaignKey = sharedCampaignKey; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesAndroidPrivacySharedKeyGoogleCampaign set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesAndroidPrivacySharedKeyGoogleCampaign) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesAndroidPrivacySharedKeyGoogleCampaign clone() { + return (GoogleAdsSearchads360V23ResourcesAndroidPrivacySharedKeyGoogleCampaign) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAndroidPrivacySharedKeyGoogleNetworkType.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAndroidPrivacySharedKeyGoogleNetworkType.java new file mode 100644 index 00000000000..e7db5e1e43b --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAndroidPrivacySharedKeyGoogleNetworkType.java @@ -0,0 +1,205 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * An Android privacy shared key view for Google network type key. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesAndroidPrivacySharedKeyGoogleNetworkType extends com.google.api.client.json.GenericJson { + + /** + * Output only. The interaction date used in the shared key encoding in the format of "YYYY-MM-DD" + * in UTC timezone. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String androidPrivacyInteractionDate; + + /** + * Output only. The interaction type enum used in the share key encoding. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String androidPrivacyInteractionType; + + /** + * Output only. The network type enum used in the share key encoding. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String androidPrivacyNetworkType; + + /** + * Output only. The campaign ID used in the share key encoding. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long campaignId; + + /** + * Output only. The resource name of the Android privacy shared key. Android privacy shared key + * resource names have the form: `customers/{customer_id}/androidPrivacySharedKeyGoogleNetworkType + * s/{campaign_id}~{android_privacy_interaction_type}~{android_privacy_network_type}~{android_priv + * acy_interaction_date(yyyy-mm-dd)}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. 128 bit hex string of the encoded shared network type key, including a '0x' + * prefix. This key can be used to do a bitwise OR operator with the aggregate conversion key to + * create a full aggregation key to retrieve the Aggregate API Report in Android Privacy Sandbox. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String sharedNetworkTypeKey; + + /** + * Output only. The interaction date used in the shared key encoding in the format of "YYYY-MM-DD" + * in UTC timezone. + * @return value or {@code null} for none + */ + public java.lang.String getAndroidPrivacyInteractionDate() { + return androidPrivacyInteractionDate; + } + + /** + * Output only. The interaction date used in the shared key encoding in the format of "YYYY-MM-DD" + * in UTC timezone. + * @param androidPrivacyInteractionDate androidPrivacyInteractionDate or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAndroidPrivacySharedKeyGoogleNetworkType setAndroidPrivacyInteractionDate(java.lang.String androidPrivacyInteractionDate) { + this.androidPrivacyInteractionDate = androidPrivacyInteractionDate; + return this; + } + + /** + * Output only. The interaction type enum used in the share key encoding. + * @return value or {@code null} for none + */ + public java.lang.String getAndroidPrivacyInteractionType() { + return androidPrivacyInteractionType; + } + + /** + * Output only. The interaction type enum used in the share key encoding. + * @param androidPrivacyInteractionType androidPrivacyInteractionType or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAndroidPrivacySharedKeyGoogleNetworkType setAndroidPrivacyInteractionType(java.lang.String androidPrivacyInteractionType) { + this.androidPrivacyInteractionType = androidPrivacyInteractionType; + return this; + } + + /** + * Output only. The network type enum used in the share key encoding. + * @return value or {@code null} for none + */ + public java.lang.String getAndroidPrivacyNetworkType() { + return androidPrivacyNetworkType; + } + + /** + * Output only. The network type enum used in the share key encoding. + * @param androidPrivacyNetworkType androidPrivacyNetworkType or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAndroidPrivacySharedKeyGoogleNetworkType setAndroidPrivacyNetworkType(java.lang.String androidPrivacyNetworkType) { + this.androidPrivacyNetworkType = androidPrivacyNetworkType; + return this; + } + + /** + * Output only. The campaign ID used in the share key encoding. + * @return value or {@code null} for none + */ + public java.lang.Long getCampaignId() { + return campaignId; + } + + /** + * Output only. The campaign ID used in the share key encoding. + * @param campaignId campaignId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAndroidPrivacySharedKeyGoogleNetworkType setCampaignId(java.lang.Long campaignId) { + this.campaignId = campaignId; + return this; + } + + /** + * Output only. The resource name of the Android privacy shared key. Android privacy shared key + * resource names have the form: `customers/{customer_id}/androidPrivacySharedKeyGoogleNetworkType + * s/{campaign_id}~{android_privacy_interaction_type}~{android_privacy_network_type}~{android_priv + * acy_interaction_date(yyyy-mm-dd)}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Output only. The resource name of the Android privacy shared key. Android privacy shared key + * resource names have the form: `customers/{customer_id}/androidPrivacySharedKeyGoogleNetworkType + * s/{campaign_id}~{android_privacy_interaction_type}~{android_privacy_network_type}~{android_priv + * acy_interaction_date(yyyy-mm-dd)}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAndroidPrivacySharedKeyGoogleNetworkType setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Output only. 128 bit hex string of the encoded shared network type key, including a '0x' + * prefix. This key can be used to do a bitwise OR operator with the aggregate conversion key to + * create a full aggregation key to retrieve the Aggregate API Report in Android Privacy Sandbox. + * @return value or {@code null} for none + */ + public java.lang.String getSharedNetworkTypeKey() { + return sharedNetworkTypeKey; + } + + /** + * Output only. 128 bit hex string of the encoded shared network type key, including a '0x' + * prefix. This key can be used to do a bitwise OR operator with the aggregate conversion key to + * create a full aggregation key to retrieve the Aggregate API Report in Android Privacy Sandbox. + * @param sharedNetworkTypeKey sharedNetworkTypeKey or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAndroidPrivacySharedKeyGoogleNetworkType setSharedNetworkTypeKey(java.lang.String sharedNetworkTypeKey) { + this.sharedNetworkTypeKey = sharedNetworkTypeKey; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesAndroidPrivacySharedKeyGoogleNetworkType set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesAndroidPrivacySharedKeyGoogleNetworkType) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesAndroidPrivacySharedKeyGoogleNetworkType clone() { + return (GoogleAdsSearchads360V23ResourcesAndroidPrivacySharedKeyGoogleNetworkType) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAsset.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAsset.java new file mode 100644 index 00000000000..983794b649f --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAsset.java @@ -0,0 +1,1287 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Asset is a part of an ad which can be shared across multiple ads. It can be an image + * (ImageAsset), a video (YoutubeVideoAsset), etc. Assets are immutable and cannot be removed. To + * stop an asset from serving, remove the asset from the entity that is using it. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesAsset extends com.google.api.client.json.GenericJson { + + /** + * Immutable. An app deep link asset. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonAppDeepLinkAsset appDeepLinkAsset; + + /** + * A book on google asset. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonBookOnGoogleAsset bookOnGoogleAsset; + + /** + * A business message asset. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonBusinessMessageAsset businessMessageAsset; + + /** + * A call asset. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonCallAsset callAsset; + + /** + * Immutable. A call to action asset. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonCallToActionAsset callToActionAsset; + + /** + * A callout asset. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonCalloutAsset calloutAsset; + + /** + * Output only. The timestamp when this asset was created. The timestamp is in the customer's time + * zone and in "yyyy-MM-dd HH:mm:ss" format. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String creationTime; + + /** + * Immutable. A Demand Gen carousel card asset. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonDemandGenCarouselCardAsset demandGenCarouselCardAsset; + + /** + * A dynamic custom asset. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonDynamicCustomAsset dynamicCustomAsset; + + /** + * A dynamic education asset. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonDynamicEducationAsset dynamicEducationAsset; + + /** + * A dynamic flights asset. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonDynamicFlightsAsset dynamicFlightsAsset; + + /** + * A dynamic hotels and rentals asset. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonDynamicHotelsAndRentalsAsset dynamicHotelsAndRentalsAsset; + + /** + * A dynamic jobs asset. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonDynamicJobsAsset dynamicJobsAsset; + + /** + * A dynamic local asset. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonDynamicLocalAsset dynamicLocalAsset; + + /** + * A dynamic real estate asset. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonDynamicRealEstateAsset dynamicRealEstateAsset; + + /** + * A dynamic travel asset. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonDynamicTravelAsset dynamicTravelAsset; + + /** + * Output only. The Engine Status for an asset. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String engineStatus; + + /** + * Output only. Policy information for the asset for each FieldType. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List fieldTypePolicySummaries; + + /** + * A list of possible final mobile URLs after all cross domain redirects. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List finalMobileUrls; + + /** + * URL template for appending params to landing page URLs served with parallel tracking. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String finalUrlSuffix; + + /** + * A list of possible final URLs after all cross domain redirects. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List finalUrls; + + /** + * A hotel callout asset. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonHotelCalloutAsset hotelCalloutAsset; + + /** + * Immutable. A hotel property asset. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonHotelPropertyAsset hotelPropertyAsset; + + /** + * Output only. The ID of the asset. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long id; + + /** + * Output only. An image asset. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonImageAsset imageAsset; + + /** + * Output only. The datetime when this asset was last modified. The datetime is in the customer's + * time zone and in "yyyy-MM-dd HH:mm:ss.ssssss" format. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String lastModifiedTime; + + /** + * A lead form asset. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonLeadFormAsset leadFormAsset; + + /** + * Output only. A location asset. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonLocationAsset locationAsset; + + /** + * Immutable. A media bundle asset. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonMediaBundleAsset mediaBundleAsset; + + /** + * A mobile app asset. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonMobileAppAsset mobileAppAsset; + + /** + * Optional name of the asset. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * Output only. Orientation of the asset. This is only supported for image and video assets. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String orientation; + + /** + * A page feed asset. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonPageFeedAsset pageFeedAsset; + + /** + * Output only. Policy information for the asset. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAssetPolicySummary policySummary; + + /** + * A price asset. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonPriceAsset priceAsset; + + /** + * A promotion asset. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonPromotionAsset promotionAsset; + + /** + * Immutable. The resource name of the asset. Asset resource names have the form: + * `customers/{customer_id}/assets/{asset_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. A unified call asset. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonUnifiedCallAsset searchAds360CallAsset; + + /** + * Output only. A unified callout asset. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonUnifiedCalloutAsset searchAds360CalloutAsset; + + /** + * Output only. A unified location asset. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonUnifiedLocationAsset searchAds360LocationAsset; + + /** + * Output only. A unified page feed asset. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonUnifiedPageFeedAsset searchAds360PageFeedAsset; + + /** + * Output only. A unified sitelink asset. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonUnifiedSitelinkAsset searchAds360SitelinkAsset; + + /** + * A sitelink asset. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonSitelinkAsset sitelinkAsset; + + /** + * Output only. Source of the asset. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String source; + + /** + * Output only. The status of the asset. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String status; + + /** + * A structured snippet asset. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonStructuredSnippetAsset structuredSnippetAsset; + + /** + * Immutable. A text asset. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonTextAsset textAsset; + + /** + * URL template for constructing a tracking URL. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String trackingUrlTemplate; + + /** + * Output only. Type of the asset. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String type; + + /** + * A list of mappings to be used for substituting URL custom parameter tags in the + * tracking_url_template, final_urls, and/or final_mobile_urls. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List urlCustomParameters; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonCustomParameter used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonCustomParameter.class); + } + + /** + * Immutable. A YouTube video asset. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonYoutubeVideoAsset youtubeVideoAsset; + + /** + * Immutable. An app deep link asset. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAppDeepLinkAsset getAppDeepLinkAsset() { + return appDeepLinkAsset; + } + + /** + * Immutable. An app deep link asset. + * @param appDeepLinkAsset appDeepLinkAsset or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAsset setAppDeepLinkAsset(GoogleAdsSearchads360V23CommonAppDeepLinkAsset appDeepLinkAsset) { + this.appDeepLinkAsset = appDeepLinkAsset; + return this; + } + + /** + * A book on google asset. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonBookOnGoogleAsset getBookOnGoogleAsset() { + return bookOnGoogleAsset; + } + + /** + * A book on google asset. + * @param bookOnGoogleAsset bookOnGoogleAsset or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAsset setBookOnGoogleAsset(GoogleAdsSearchads360V23CommonBookOnGoogleAsset bookOnGoogleAsset) { + this.bookOnGoogleAsset = bookOnGoogleAsset; + return this; + } + + /** + * A business message asset. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonBusinessMessageAsset getBusinessMessageAsset() { + return businessMessageAsset; + } + + /** + * A business message asset. + * @param businessMessageAsset businessMessageAsset or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAsset setBusinessMessageAsset(GoogleAdsSearchads360V23CommonBusinessMessageAsset businessMessageAsset) { + this.businessMessageAsset = businessMessageAsset; + return this; + } + + /** + * A call asset. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCallAsset getCallAsset() { + return callAsset; + } + + /** + * A call asset. + * @param callAsset callAsset or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAsset setCallAsset(GoogleAdsSearchads360V23CommonCallAsset callAsset) { + this.callAsset = callAsset; + return this; + } + + /** + * Immutable. A call to action asset. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCallToActionAsset getCallToActionAsset() { + return callToActionAsset; + } + + /** + * Immutable. A call to action asset. + * @param callToActionAsset callToActionAsset or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAsset setCallToActionAsset(GoogleAdsSearchads360V23CommonCallToActionAsset callToActionAsset) { + this.callToActionAsset = callToActionAsset; + return this; + } + + /** + * A callout asset. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCalloutAsset getCalloutAsset() { + return calloutAsset; + } + + /** + * A callout asset. + * @param calloutAsset calloutAsset or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAsset setCalloutAsset(GoogleAdsSearchads360V23CommonCalloutAsset calloutAsset) { + this.calloutAsset = calloutAsset; + return this; + } + + /** + * Output only. The timestamp when this asset was created. The timestamp is in the customer's time + * zone and in "yyyy-MM-dd HH:mm:ss" format. + * @return value or {@code null} for none + */ + public java.lang.String getCreationTime() { + return creationTime; + } + + /** + * Output only. The timestamp when this asset was created. The timestamp is in the customer's time + * zone and in "yyyy-MM-dd HH:mm:ss" format. + * @param creationTime creationTime or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAsset setCreationTime(java.lang.String creationTime) { + this.creationTime = creationTime; + return this; + } + + /** + * Immutable. A Demand Gen carousel card asset. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDemandGenCarouselCardAsset getDemandGenCarouselCardAsset() { + return demandGenCarouselCardAsset; + } + + /** + * Immutable. A Demand Gen carousel card asset. + * @param demandGenCarouselCardAsset demandGenCarouselCardAsset or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAsset setDemandGenCarouselCardAsset(GoogleAdsSearchads360V23CommonDemandGenCarouselCardAsset demandGenCarouselCardAsset) { + this.demandGenCarouselCardAsset = demandGenCarouselCardAsset; + return this; + } + + /** + * A dynamic custom asset. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicCustomAsset getDynamicCustomAsset() { + return dynamicCustomAsset; + } + + /** + * A dynamic custom asset. + * @param dynamicCustomAsset dynamicCustomAsset or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAsset setDynamicCustomAsset(GoogleAdsSearchads360V23CommonDynamicCustomAsset dynamicCustomAsset) { + this.dynamicCustomAsset = dynamicCustomAsset; + return this; + } + + /** + * A dynamic education asset. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicEducationAsset getDynamicEducationAsset() { + return dynamicEducationAsset; + } + + /** + * A dynamic education asset. + * @param dynamicEducationAsset dynamicEducationAsset or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAsset setDynamicEducationAsset(GoogleAdsSearchads360V23CommonDynamicEducationAsset dynamicEducationAsset) { + this.dynamicEducationAsset = dynamicEducationAsset; + return this; + } + + /** + * A dynamic flights asset. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicFlightsAsset getDynamicFlightsAsset() { + return dynamicFlightsAsset; + } + + /** + * A dynamic flights asset. + * @param dynamicFlightsAsset dynamicFlightsAsset or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAsset setDynamicFlightsAsset(GoogleAdsSearchads360V23CommonDynamicFlightsAsset dynamicFlightsAsset) { + this.dynamicFlightsAsset = dynamicFlightsAsset; + return this; + } + + /** + * A dynamic hotels and rentals asset. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicHotelsAndRentalsAsset getDynamicHotelsAndRentalsAsset() { + return dynamicHotelsAndRentalsAsset; + } + + /** + * A dynamic hotels and rentals asset. + * @param dynamicHotelsAndRentalsAsset dynamicHotelsAndRentalsAsset or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAsset setDynamicHotelsAndRentalsAsset(GoogleAdsSearchads360V23CommonDynamicHotelsAndRentalsAsset dynamicHotelsAndRentalsAsset) { + this.dynamicHotelsAndRentalsAsset = dynamicHotelsAndRentalsAsset; + return this; + } + + /** + * A dynamic jobs asset. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicJobsAsset getDynamicJobsAsset() { + return dynamicJobsAsset; + } + + /** + * A dynamic jobs asset. + * @param dynamicJobsAsset dynamicJobsAsset or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAsset setDynamicJobsAsset(GoogleAdsSearchads360V23CommonDynamicJobsAsset dynamicJobsAsset) { + this.dynamicJobsAsset = dynamicJobsAsset; + return this; + } + + /** + * A dynamic local asset. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicLocalAsset getDynamicLocalAsset() { + return dynamicLocalAsset; + } + + /** + * A dynamic local asset. + * @param dynamicLocalAsset dynamicLocalAsset or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAsset setDynamicLocalAsset(GoogleAdsSearchads360V23CommonDynamicLocalAsset dynamicLocalAsset) { + this.dynamicLocalAsset = dynamicLocalAsset; + return this; + } + + /** + * A dynamic real estate asset. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicRealEstateAsset getDynamicRealEstateAsset() { + return dynamicRealEstateAsset; + } + + /** + * A dynamic real estate asset. + * @param dynamicRealEstateAsset dynamicRealEstateAsset or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAsset setDynamicRealEstateAsset(GoogleAdsSearchads360V23CommonDynamicRealEstateAsset dynamicRealEstateAsset) { + this.dynamicRealEstateAsset = dynamicRealEstateAsset; + return this; + } + + /** + * A dynamic travel asset. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDynamicTravelAsset getDynamicTravelAsset() { + return dynamicTravelAsset; + } + + /** + * A dynamic travel asset. + * @param dynamicTravelAsset dynamicTravelAsset or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAsset setDynamicTravelAsset(GoogleAdsSearchads360V23CommonDynamicTravelAsset dynamicTravelAsset) { + this.dynamicTravelAsset = dynamicTravelAsset; + return this; + } + + /** + * Output only. The Engine Status for an asset. + * @return value or {@code null} for none + */ + public java.lang.String getEngineStatus() { + return engineStatus; + } + + /** + * Output only. The Engine Status for an asset. + * @param engineStatus engineStatus or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAsset setEngineStatus(java.lang.String engineStatus) { + this.engineStatus = engineStatus; + return this; + } + + /** + * Output only. Policy information for the asset for each FieldType. + * @return value or {@code null} for none + */ + public java.util.List getFieldTypePolicySummaries() { + return fieldTypePolicySummaries; + } + + /** + * Output only. Policy information for the asset for each FieldType. + * @param fieldTypePolicySummaries fieldTypePolicySummaries or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAsset setFieldTypePolicySummaries(java.util.List fieldTypePolicySummaries) { + this.fieldTypePolicySummaries = fieldTypePolicySummaries; + return this; + } + + /** + * A list of possible final mobile URLs after all cross domain redirects. + * @return value or {@code null} for none + */ + public java.util.List getFinalMobileUrls() { + return finalMobileUrls; + } + + /** + * A list of possible final mobile URLs after all cross domain redirects. + * @param finalMobileUrls finalMobileUrls or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAsset setFinalMobileUrls(java.util.List finalMobileUrls) { + this.finalMobileUrls = finalMobileUrls; + return this; + } + + /** + * URL template for appending params to landing page URLs served with parallel tracking. + * @return value or {@code null} for none + */ + public java.lang.String getFinalUrlSuffix() { + return finalUrlSuffix; + } + + /** + * URL template for appending params to landing page URLs served with parallel tracking. + * @param finalUrlSuffix finalUrlSuffix or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAsset setFinalUrlSuffix(java.lang.String finalUrlSuffix) { + this.finalUrlSuffix = finalUrlSuffix; + return this; + } + + /** + * A list of possible final URLs after all cross domain redirects. + * @return value or {@code null} for none + */ + public java.util.List getFinalUrls() { + return finalUrls; + } + + /** + * A list of possible final URLs after all cross domain redirects. + * @param finalUrls finalUrls or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAsset setFinalUrls(java.util.List finalUrls) { + this.finalUrls = finalUrls; + return this; + } + + /** + * A hotel callout asset. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonHotelCalloutAsset getHotelCalloutAsset() { + return hotelCalloutAsset; + } + + /** + * A hotel callout asset. + * @param hotelCalloutAsset hotelCalloutAsset or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAsset setHotelCalloutAsset(GoogleAdsSearchads360V23CommonHotelCalloutAsset hotelCalloutAsset) { + this.hotelCalloutAsset = hotelCalloutAsset; + return this; + } + + /** + * Immutable. A hotel property asset. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonHotelPropertyAsset getHotelPropertyAsset() { + return hotelPropertyAsset; + } + + /** + * Immutable. A hotel property asset. + * @param hotelPropertyAsset hotelPropertyAsset or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAsset setHotelPropertyAsset(GoogleAdsSearchads360V23CommonHotelPropertyAsset hotelPropertyAsset) { + this.hotelPropertyAsset = hotelPropertyAsset; + return this; + } + + /** + * Output only. The ID of the asset. + * @return value or {@code null} for none + */ + public java.lang.Long getId() { + return id; + } + + /** + * Output only. The ID of the asset. + * @param id id or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAsset setId(java.lang.Long id) { + this.id = id; + return this; + } + + /** + * Output only. An image asset. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonImageAsset getImageAsset() { + return imageAsset; + } + + /** + * Output only. An image asset. + * @param imageAsset imageAsset or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAsset setImageAsset(GoogleAdsSearchads360V23CommonImageAsset imageAsset) { + this.imageAsset = imageAsset; + return this; + } + + /** + * Output only. The datetime when this asset was last modified. The datetime is in the customer's + * time zone and in "yyyy-MM-dd HH:mm:ss.ssssss" format. + * @return value or {@code null} for none + */ + public java.lang.String getLastModifiedTime() { + return lastModifiedTime; + } + + /** + * Output only. The datetime when this asset was last modified. The datetime is in the customer's + * time zone and in "yyyy-MM-dd HH:mm:ss.ssssss" format. + * @param lastModifiedTime lastModifiedTime or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAsset setLastModifiedTime(java.lang.String lastModifiedTime) { + this.lastModifiedTime = lastModifiedTime; + return this; + } + + /** + * A lead form asset. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLeadFormAsset getLeadFormAsset() { + return leadFormAsset; + } + + /** + * A lead form asset. + * @param leadFormAsset leadFormAsset or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAsset setLeadFormAsset(GoogleAdsSearchads360V23CommonLeadFormAsset leadFormAsset) { + this.leadFormAsset = leadFormAsset; + return this; + } + + /** + * Output only. A location asset. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLocationAsset getLocationAsset() { + return locationAsset; + } + + /** + * Output only. A location asset. + * @param locationAsset locationAsset or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAsset setLocationAsset(GoogleAdsSearchads360V23CommonLocationAsset locationAsset) { + this.locationAsset = locationAsset; + return this; + } + + /** + * Immutable. A media bundle asset. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMediaBundleAsset getMediaBundleAsset() { + return mediaBundleAsset; + } + + /** + * Immutable. A media bundle asset. + * @param mediaBundleAsset mediaBundleAsset or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAsset setMediaBundleAsset(GoogleAdsSearchads360V23CommonMediaBundleAsset mediaBundleAsset) { + this.mediaBundleAsset = mediaBundleAsset; + return this; + } + + /** + * A mobile app asset. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMobileAppAsset getMobileAppAsset() { + return mobileAppAsset; + } + + /** + * A mobile app asset. + * @param mobileAppAsset mobileAppAsset or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAsset setMobileAppAsset(GoogleAdsSearchads360V23CommonMobileAppAsset mobileAppAsset) { + this.mobileAppAsset = mobileAppAsset; + return this; + } + + /** + * Optional name of the asset. + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * Optional name of the asset. + * @param name name or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAsset setName(java.lang.String name) { + this.name = name; + return this; + } + + /** + * Output only. Orientation of the asset. This is only supported for image and video assets. + * @return value or {@code null} for none + */ + public java.lang.String getOrientation() { + return orientation; + } + + /** + * Output only. Orientation of the asset. This is only supported for image and video assets. + * @param orientation orientation or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAsset setOrientation(java.lang.String orientation) { + this.orientation = orientation; + return this; + } + + /** + * A page feed asset. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPageFeedAsset getPageFeedAsset() { + return pageFeedAsset; + } + + /** + * A page feed asset. + * @param pageFeedAsset pageFeedAsset or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAsset setPageFeedAsset(GoogleAdsSearchads360V23CommonPageFeedAsset pageFeedAsset) { + this.pageFeedAsset = pageFeedAsset; + return this; + } + + /** + * Output only. Policy information for the asset. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetPolicySummary getPolicySummary() { + return policySummary; + } + + /** + * Output only. Policy information for the asset. + * @param policySummary policySummary or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAsset setPolicySummary(GoogleAdsSearchads360V23ResourcesAssetPolicySummary policySummary) { + this.policySummary = policySummary; + return this; + } + + /** + * A price asset. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPriceAsset getPriceAsset() { + return priceAsset; + } + + /** + * A price asset. + * @param priceAsset priceAsset or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAsset setPriceAsset(GoogleAdsSearchads360V23CommonPriceAsset priceAsset) { + this.priceAsset = priceAsset; + return this; + } + + /** + * A promotion asset. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPromotionAsset getPromotionAsset() { + return promotionAsset; + } + + /** + * A promotion asset. + * @param promotionAsset promotionAsset or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAsset setPromotionAsset(GoogleAdsSearchads360V23CommonPromotionAsset promotionAsset) { + this.promotionAsset = promotionAsset; + return this; + } + + /** + * Immutable. The resource name of the asset. Asset resource names have the form: + * `customers/{customer_id}/assets/{asset_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Immutable. The resource name of the asset. Asset resource names have the form: + * `customers/{customer_id}/assets/{asset_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAsset setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Output only. A unified call asset. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUnifiedCallAsset getSearchAds360CallAsset() { + return searchAds360CallAsset; + } + + /** + * Output only. A unified call asset. + * @param searchAds360CallAsset searchAds360CallAsset or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAsset setSearchAds360CallAsset(GoogleAdsSearchads360V23CommonUnifiedCallAsset searchAds360CallAsset) { + this.searchAds360CallAsset = searchAds360CallAsset; + return this; + } + + /** + * Output only. A unified callout asset. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUnifiedCalloutAsset getSearchAds360CalloutAsset() { + return searchAds360CalloutAsset; + } + + /** + * Output only. A unified callout asset. + * @param searchAds360CalloutAsset searchAds360CalloutAsset or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAsset setSearchAds360CalloutAsset(GoogleAdsSearchads360V23CommonUnifiedCalloutAsset searchAds360CalloutAsset) { + this.searchAds360CalloutAsset = searchAds360CalloutAsset; + return this; + } + + /** + * Output only. A unified location asset. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUnifiedLocationAsset getSearchAds360LocationAsset() { + return searchAds360LocationAsset; + } + + /** + * Output only. A unified location asset. + * @param searchAds360LocationAsset searchAds360LocationAsset or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAsset setSearchAds360LocationAsset(GoogleAdsSearchads360V23CommonUnifiedLocationAsset searchAds360LocationAsset) { + this.searchAds360LocationAsset = searchAds360LocationAsset; + return this; + } + + /** + * Output only. A unified page feed asset. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUnifiedPageFeedAsset getSearchAds360PageFeedAsset() { + return searchAds360PageFeedAsset; + } + + /** + * Output only. A unified page feed asset. + * @param searchAds360PageFeedAsset searchAds360PageFeedAsset or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAsset setSearchAds360PageFeedAsset(GoogleAdsSearchads360V23CommonUnifiedPageFeedAsset searchAds360PageFeedAsset) { + this.searchAds360PageFeedAsset = searchAds360PageFeedAsset; + return this; + } + + /** + * Output only. A unified sitelink asset. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUnifiedSitelinkAsset getSearchAds360SitelinkAsset() { + return searchAds360SitelinkAsset; + } + + /** + * Output only. A unified sitelink asset. + * @param searchAds360SitelinkAsset searchAds360SitelinkAsset or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAsset setSearchAds360SitelinkAsset(GoogleAdsSearchads360V23CommonUnifiedSitelinkAsset searchAds360SitelinkAsset) { + this.searchAds360SitelinkAsset = searchAds360SitelinkAsset; + return this; + } + + /** + * A sitelink asset. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSitelinkAsset getSitelinkAsset() { + return sitelinkAsset; + } + + /** + * A sitelink asset. + * @param sitelinkAsset sitelinkAsset or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAsset setSitelinkAsset(GoogleAdsSearchads360V23CommonSitelinkAsset sitelinkAsset) { + this.sitelinkAsset = sitelinkAsset; + return this; + } + + /** + * Output only. Source of the asset. + * @return value or {@code null} for none + */ + public java.lang.String getSource() { + return source; + } + + /** + * Output only. Source of the asset. + * @param source source or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAsset setSource(java.lang.String source) { + this.source = source; + return this; + } + + /** + * Output only. The status of the asset. + * @return value or {@code null} for none + */ + public java.lang.String getStatus() { + return status; + } + + /** + * Output only. The status of the asset. + * @param status status or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAsset setStatus(java.lang.String status) { + this.status = status; + return this; + } + + /** + * A structured snippet asset. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonStructuredSnippetAsset getStructuredSnippetAsset() { + return structuredSnippetAsset; + } + + /** + * A structured snippet asset. + * @param structuredSnippetAsset structuredSnippetAsset or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAsset setStructuredSnippetAsset(GoogleAdsSearchads360V23CommonStructuredSnippetAsset structuredSnippetAsset) { + this.structuredSnippetAsset = structuredSnippetAsset; + return this; + } + + /** + * Immutable. A text asset. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonTextAsset getTextAsset() { + return textAsset; + } + + /** + * Immutable. A text asset. + * @param textAsset textAsset or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAsset setTextAsset(GoogleAdsSearchads360V23CommonTextAsset textAsset) { + this.textAsset = textAsset; + return this; + } + + /** + * URL template for constructing a tracking URL. + * @return value or {@code null} for none + */ + public java.lang.String getTrackingUrlTemplate() { + return trackingUrlTemplate; + } + + /** + * URL template for constructing a tracking URL. + * @param trackingUrlTemplate trackingUrlTemplate or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAsset setTrackingUrlTemplate(java.lang.String trackingUrlTemplate) { + this.trackingUrlTemplate = trackingUrlTemplate; + return this; + } + + /** + * Output only. Type of the asset. + * @return value or {@code null} for none + */ + public java.lang.String getType() { + return type; + } + + /** + * Output only. Type of the asset. + * @param type type or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAsset setType(java.lang.String type) { + this.type = type; + return this; + } + + /** + * A list of mappings to be used for substituting URL custom parameter tags in the + * tracking_url_template, final_urls, and/or final_mobile_urls. + * @return value or {@code null} for none + */ + public java.util.List getUrlCustomParameters() { + return urlCustomParameters; + } + + /** + * A list of mappings to be used for substituting URL custom parameter tags in the + * tracking_url_template, final_urls, and/or final_mobile_urls. + * @param urlCustomParameters urlCustomParameters or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAsset setUrlCustomParameters(java.util.List urlCustomParameters) { + this.urlCustomParameters = urlCustomParameters; + return this; + } + + /** + * Immutable. A YouTube video asset. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonYoutubeVideoAsset getYoutubeVideoAsset() { + return youtubeVideoAsset; + } + + /** + * Immutable. A YouTube video asset. + * @param youtubeVideoAsset youtubeVideoAsset or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAsset setYoutubeVideoAsset(GoogleAdsSearchads360V23CommonYoutubeVideoAsset youtubeVideoAsset) { + this.youtubeVideoAsset = youtubeVideoAsset; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesAsset set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesAsset) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesAsset clone() { + return (GoogleAdsSearchads360V23ResourcesAsset) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAssetCoverage.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAssetCoverage.java new file mode 100644 index 00000000000..04cf2beb57f --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAssetCoverage.java @@ -0,0 +1,73 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Information about the asset coverage of an asset group. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesAssetCoverage extends com.google.api.client.json.GenericJson { + + /** + * Output only. A list of action items to improve the ad strength of an asset group. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List adStrengthActionItems; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ResourcesAdStrengthActionItem used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ResourcesAdStrengthActionItem.class); + } + + /** + * Output only. A list of action items to improve the ad strength of an asset group. + * @return value or {@code null} for none + */ + public java.util.List getAdStrengthActionItems() { + return adStrengthActionItems; + } + + /** + * Output only. A list of action items to improve the ad strength of an asset group. + * @param adStrengthActionItems adStrengthActionItems or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetCoverage setAdStrengthActionItems(java.util.List adStrengthActionItems) { + this.adStrengthActionItems = adStrengthActionItems; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesAssetCoverage set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesAssetCoverage) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesAssetCoverage clone() { + return (GoogleAdsSearchads360V23ResourcesAssetCoverage) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAssetFieldTypePolicySummary.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAssetFieldTypePolicySummary.java new file mode 100644 index 00000000000..e6cb2b06554 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAssetFieldTypePolicySummary.java @@ -0,0 +1,115 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Contains policy information for an asset under AssetFieldType context. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesAssetFieldTypePolicySummary extends com.google.api.client.json.GenericJson { + + /** + * Output only. FieldType of this asset. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String assetFieldType; + + /** + * Output only. Source of this asset. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String assetSource; + + /** + * Output only. Policy summary. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAssetPolicySummary policySummaryInfo; + + /** + * Output only. FieldType of this asset. + * @return value or {@code null} for none + */ + public java.lang.String getAssetFieldType() { + return assetFieldType; + } + + /** + * Output only. FieldType of this asset. + * @param assetFieldType assetFieldType or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetFieldTypePolicySummary setAssetFieldType(java.lang.String assetFieldType) { + this.assetFieldType = assetFieldType; + return this; + } + + /** + * Output only. Source of this asset. + * @return value or {@code null} for none + */ + public java.lang.String getAssetSource() { + return assetSource; + } + + /** + * Output only. Source of this asset. + * @param assetSource assetSource or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetFieldTypePolicySummary setAssetSource(java.lang.String assetSource) { + this.assetSource = assetSource; + return this; + } + + /** + * Output only. Policy summary. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetPolicySummary getPolicySummaryInfo() { + return policySummaryInfo; + } + + /** + * Output only. Policy summary. + * @param policySummaryInfo policySummaryInfo or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetFieldTypePolicySummary setPolicySummaryInfo(GoogleAdsSearchads360V23ResourcesAssetPolicySummary policySummaryInfo) { + this.policySummaryInfo = policySummaryInfo; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesAssetFieldTypePolicySummary set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesAssetFieldTypePolicySummary) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesAssetFieldTypePolicySummary clone() { + return (GoogleAdsSearchads360V23ResourcesAssetFieldTypePolicySummary) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAssetFieldTypeView.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAssetFieldTypeView.java new file mode 100644 index 00000000000..2fe414e57ab --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAssetFieldTypeView.java @@ -0,0 +1,95 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * An asset field type view. This view reports non-overcounted metrics for each asset field type + * when the asset is used as extension. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesAssetFieldTypeView extends com.google.api.client.json.GenericJson { + + /** + * Output only. The asset field type of the asset field type view. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String fieldType; + + /** + * Output only. The resource name of the asset field type view. Asset field type view resource + * names have the form: `customers/{customer_id}/assetFieldTypeViews/{field_type}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. The asset field type of the asset field type view. + * @return value or {@code null} for none + */ + public java.lang.String getFieldType() { + return fieldType; + } + + /** + * Output only. The asset field type of the asset field type view. + * @param fieldType fieldType or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetFieldTypeView setFieldType(java.lang.String fieldType) { + this.fieldType = fieldType; + return this; + } + + /** + * Output only. The resource name of the asset field type view. Asset field type view resource + * names have the form: `customers/{customer_id}/assetFieldTypeViews/{field_type}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Output only. The resource name of the asset field type view. Asset field type view resource + * names have the form: `customers/{customer_id}/assetFieldTypeViews/{field_type}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetFieldTypeView setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesAssetFieldTypeView set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesAssetFieldTypeView) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesAssetFieldTypeView clone() { + return (GoogleAdsSearchads360V23ResourcesAssetFieldTypeView) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAssetGroup.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAssetGroup.java new file mode 100644 index 00000000000..c5df6c0724b --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAssetGroup.java @@ -0,0 +1,380 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * An asset group. AssetGroupAsset is used to link an asset to the asset group. AssetGroupSignal is + * used to associate a signal to an asset group. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesAssetGroup extends com.google.api.client.json.GenericJson { + + /** + * Output only. Overall ad strength of this asset group. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String adStrength; + + /** + * Output only. The asset coverage of this asset group. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAssetCoverage assetCoverage; + + /** + * Immutable. The campaign with which this asset group is associated. The asset which is linked to + * the asset group. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String campaign; + + /** + * A list of final mobile URLs after all cross domain redirects. In performance max, by default, + * the urls are eligible for expansion unless opted out. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List finalMobileUrls; + + /** + * A list of final URLs after all cross domain redirects. In performance max, by default, the urls + * are eligible for expansion unless opted out. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List finalUrls; + + /** + * Output only. The ID of the asset group. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long id; + + /** + * Required. Name of the asset group. Required. It must have a minimum length of 1 and maximum + * length of 128. It must be unique under a campaign. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * First part of text that may appear appended to the url displayed in the ad. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String path1; + + /** + * Second part of text that may appear appended to the url displayed in the ad. This field can + * only be set when path1 is set. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String path2; + + /** + * Output only. The primary status of the asset group. Provides insights into why an asset group + * is not serving or not serving optimally. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String primaryStatus; + + /** + * Output only. Provides reasons into why an asset group is not serving or not serving optimally. + * It will be empty when the asset group is serving without issues. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List primaryStatusReasons; + + /** + * Immutable. The resource name of the asset group. Asset group resource names have the form: + * `customers/{customer_id}/assetGroups/{asset_group_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * The status of the asset group. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String status; + + /** + * Output only. Overall ad strength of this asset group. + * @return value or {@code null} for none + */ + public java.lang.String getAdStrength() { + return adStrength; + } + + /** + * Output only. Overall ad strength of this asset group. + * @param adStrength adStrength or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetGroup setAdStrength(java.lang.String adStrength) { + this.adStrength = adStrength; + return this; + } + + /** + * Output only. The asset coverage of this asset group. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetCoverage getAssetCoverage() { + return assetCoverage; + } + + /** + * Output only. The asset coverage of this asset group. + * @param assetCoverage assetCoverage or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetGroup setAssetCoverage(GoogleAdsSearchads360V23ResourcesAssetCoverage assetCoverage) { + this.assetCoverage = assetCoverage; + return this; + } + + /** + * Immutable. The campaign with which this asset group is associated. The asset which is linked to + * the asset group. + * @return value or {@code null} for none + */ + public java.lang.String getCampaign() { + return campaign; + } + + /** + * Immutable. The campaign with which this asset group is associated. The asset which is linked to + * the asset group. + * @param campaign campaign or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetGroup setCampaign(java.lang.String campaign) { + this.campaign = campaign; + return this; + } + + /** + * A list of final mobile URLs after all cross domain redirects. In performance max, by default, + * the urls are eligible for expansion unless opted out. + * @return value or {@code null} for none + */ + public java.util.List getFinalMobileUrls() { + return finalMobileUrls; + } + + /** + * A list of final mobile URLs after all cross domain redirects. In performance max, by default, + * the urls are eligible for expansion unless opted out. + * @param finalMobileUrls finalMobileUrls or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetGroup setFinalMobileUrls(java.util.List finalMobileUrls) { + this.finalMobileUrls = finalMobileUrls; + return this; + } + + /** + * A list of final URLs after all cross domain redirects. In performance max, by default, the urls + * are eligible for expansion unless opted out. + * @return value or {@code null} for none + */ + public java.util.List getFinalUrls() { + return finalUrls; + } + + /** + * A list of final URLs after all cross domain redirects. In performance max, by default, the urls + * are eligible for expansion unless opted out. + * @param finalUrls finalUrls or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetGroup setFinalUrls(java.util.List finalUrls) { + this.finalUrls = finalUrls; + return this; + } + + /** + * Output only. The ID of the asset group. + * @return value or {@code null} for none + */ + public java.lang.Long getId() { + return id; + } + + /** + * Output only. The ID of the asset group. + * @param id id or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetGroup setId(java.lang.Long id) { + this.id = id; + return this; + } + + /** + * Required. Name of the asset group. Required. It must have a minimum length of 1 and maximum + * length of 128. It must be unique under a campaign. + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * Required. Name of the asset group. Required. It must have a minimum length of 1 and maximum + * length of 128. It must be unique under a campaign. + * @param name name or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetGroup setName(java.lang.String name) { + this.name = name; + return this; + } + + /** + * First part of text that may appear appended to the url displayed in the ad. + * @return value or {@code null} for none + */ + public java.lang.String getPath1() { + return path1; + } + + /** + * First part of text that may appear appended to the url displayed in the ad. + * @param path1 path1 or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetGroup setPath1(java.lang.String path1) { + this.path1 = path1; + return this; + } + + /** + * Second part of text that may appear appended to the url displayed in the ad. This field can + * only be set when path1 is set. + * @return value or {@code null} for none + */ + public java.lang.String getPath2() { + return path2; + } + + /** + * Second part of text that may appear appended to the url displayed in the ad. This field can + * only be set when path1 is set. + * @param path2 path2 or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetGroup setPath2(java.lang.String path2) { + this.path2 = path2; + return this; + } + + /** + * Output only. The primary status of the asset group. Provides insights into why an asset group + * is not serving or not serving optimally. + * @return value or {@code null} for none + */ + public java.lang.String getPrimaryStatus() { + return primaryStatus; + } + + /** + * Output only. The primary status of the asset group. Provides insights into why an asset group + * is not serving or not serving optimally. + * @param primaryStatus primaryStatus or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetGroup setPrimaryStatus(java.lang.String primaryStatus) { + this.primaryStatus = primaryStatus; + return this; + } + + /** + * Output only. Provides reasons into why an asset group is not serving or not serving optimally. + * It will be empty when the asset group is serving without issues. + * @return value or {@code null} for none + */ + public java.util.List getPrimaryStatusReasons() { + return primaryStatusReasons; + } + + /** + * Output only. Provides reasons into why an asset group is not serving or not serving optimally. + * It will be empty when the asset group is serving without issues. + * @param primaryStatusReasons primaryStatusReasons or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetGroup setPrimaryStatusReasons(java.util.List primaryStatusReasons) { + this.primaryStatusReasons = primaryStatusReasons; + return this; + } + + /** + * Immutable. The resource name of the asset group. Asset group resource names have the form: + * `customers/{customer_id}/assetGroups/{asset_group_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Immutable. The resource name of the asset group. Asset group resource names have the form: + * `customers/{customer_id}/assetGroups/{asset_group_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetGroup setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * The status of the asset group. + * @return value or {@code null} for none + */ + public java.lang.String getStatus() { + return status; + } + + /** + * The status of the asset group. + * @param status status or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetGroup setStatus(java.lang.String status) { + this.status = status; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesAssetGroup set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesAssetGroup) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesAssetGroup clone() { + return (GoogleAdsSearchads360V23ResourcesAssetGroup) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAssetGroupAsset.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAssetGroupAsset.java new file mode 100644 index 00000000000..678fbfd451e --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAssetGroupAsset.java @@ -0,0 +1,311 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * AssetGroupAsset is the link between an asset and an asset group. Adding an AssetGroupAsset links + * an asset with an asset group. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesAssetGroupAsset extends com.google.api.client.json.GenericJson { + + /** + * Immutable. The asset which this asset group asset is linking. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String asset; + + /** + * Immutable. The asset group which this asset group asset is linking. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String assetGroup; + + /** + * The description of the placement of the asset within the asset group. For example: HEADLINE, + * YOUTUBE_VIDEO etc + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String fieldType; + + /** + * Output only. The policy information for this asset group asset. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonPolicySummary policySummary; + + /** + * Output only. Provides the PrimaryStatus of this asset link. Primary status is meant essentially + * to differentiate between the plain "status" field, which has advertiser set values of enabled, + * paused, or removed. The primary status takes into account other signals (for assets its mainly + * policy and quality approvals) to come up with a more comprehensive status to indicate its + * serving state. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String primaryStatus; + + /** + * Output only. Provides the details of the primary status and its associated reasons. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List primaryStatusDetails; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonAssetLinkPrimaryStatusDetails used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonAssetLinkPrimaryStatusDetails.class); + } + + /** + * Output only. Provides a list of reasons for why an asset is not serving or not serving at full + * capacity. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List primaryStatusReasons; + + /** + * Immutable. The resource name of the asset group asset. Asset group asset resource name have the + * form: `customers/{customer_id}/assetGroupAssets/{asset_group_id}~{asset_id}~{field_type}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. Source of the asset group asset. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String source; + + /** + * The status of the link between an asset and asset group. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String status; + + /** + * Immutable. The asset which this asset group asset is linking. + * @return value or {@code null} for none + */ + public java.lang.String getAsset() { + return asset; + } + + /** + * Immutable. The asset which this asset group asset is linking. + * @param asset asset or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetGroupAsset setAsset(java.lang.String asset) { + this.asset = asset; + return this; + } + + /** + * Immutable. The asset group which this asset group asset is linking. + * @return value or {@code null} for none + */ + public java.lang.String getAssetGroup() { + return assetGroup; + } + + /** + * Immutable. The asset group which this asset group asset is linking. + * @param assetGroup assetGroup or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetGroupAsset setAssetGroup(java.lang.String assetGroup) { + this.assetGroup = assetGroup; + return this; + } + + /** + * The description of the placement of the asset within the asset group. For example: HEADLINE, + * YOUTUBE_VIDEO etc + * @return value or {@code null} for none + */ + public java.lang.String getFieldType() { + return fieldType; + } + + /** + * The description of the placement of the asset within the asset group. For example: HEADLINE, + * YOUTUBE_VIDEO etc + * @param fieldType fieldType or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetGroupAsset setFieldType(java.lang.String fieldType) { + this.fieldType = fieldType; + return this; + } + + /** + * Output only. The policy information for this asset group asset. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPolicySummary getPolicySummary() { + return policySummary; + } + + /** + * Output only. The policy information for this asset group asset. + * @param policySummary policySummary or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetGroupAsset setPolicySummary(GoogleAdsSearchads360V23CommonPolicySummary policySummary) { + this.policySummary = policySummary; + return this; + } + + /** + * Output only. Provides the PrimaryStatus of this asset link. Primary status is meant essentially + * to differentiate between the plain "status" field, which has advertiser set values of enabled, + * paused, or removed. The primary status takes into account other signals (for assets its mainly + * policy and quality approvals) to come up with a more comprehensive status to indicate its + * serving state. + * @return value or {@code null} for none + */ + public java.lang.String getPrimaryStatus() { + return primaryStatus; + } + + /** + * Output only. Provides the PrimaryStatus of this asset link. Primary status is meant essentially + * to differentiate between the plain "status" field, which has advertiser set values of enabled, + * paused, or removed. The primary status takes into account other signals (for assets its mainly + * policy and quality approvals) to come up with a more comprehensive status to indicate its + * serving state. + * @param primaryStatus primaryStatus or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetGroupAsset setPrimaryStatus(java.lang.String primaryStatus) { + this.primaryStatus = primaryStatus; + return this; + } + + /** + * Output only. Provides the details of the primary status and its associated reasons. + * @return value or {@code null} for none + */ + public java.util.List getPrimaryStatusDetails() { + return primaryStatusDetails; + } + + /** + * Output only. Provides the details of the primary status and its associated reasons. + * @param primaryStatusDetails primaryStatusDetails or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetGroupAsset setPrimaryStatusDetails(java.util.List primaryStatusDetails) { + this.primaryStatusDetails = primaryStatusDetails; + return this; + } + + /** + * Output only. Provides a list of reasons for why an asset is not serving or not serving at full + * capacity. + * @return value or {@code null} for none + */ + public java.util.List getPrimaryStatusReasons() { + return primaryStatusReasons; + } + + /** + * Output only. Provides a list of reasons for why an asset is not serving or not serving at full + * capacity. + * @param primaryStatusReasons primaryStatusReasons or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetGroupAsset setPrimaryStatusReasons(java.util.List primaryStatusReasons) { + this.primaryStatusReasons = primaryStatusReasons; + return this; + } + + /** + * Immutable. The resource name of the asset group asset. Asset group asset resource name have the + * form: `customers/{customer_id}/assetGroupAssets/{asset_group_id}~{asset_id}~{field_type}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Immutable. The resource name of the asset group asset. Asset group asset resource name have the + * form: `customers/{customer_id}/assetGroupAssets/{asset_group_id}~{asset_id}~{field_type}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetGroupAsset setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Output only. Source of the asset group asset. + * @return value or {@code null} for none + */ + public java.lang.String getSource() { + return source; + } + + /** + * Output only. Source of the asset group asset. + * @param source source or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetGroupAsset setSource(java.lang.String source) { + this.source = source; + return this; + } + + /** + * The status of the link between an asset and asset group. + * @return value or {@code null} for none + */ + public java.lang.String getStatus() { + return status; + } + + /** + * The status of the link between an asset and asset group. + * @param status status or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetGroupAsset setStatus(java.lang.String status) { + this.status = status; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesAssetGroupAsset set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesAssetGroupAsset) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesAssetGroupAsset clone() { + return (GoogleAdsSearchads360V23ResourcesAssetGroupAsset) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAssetGroupAssetCombinationData.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAssetGroupAssetCombinationData.java new file mode 100644 index 00000000000..5a8893f7c69 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAssetGroupAssetCombinationData.java @@ -0,0 +1,73 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Asset group asset combination data + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesAssetGroupAssetCombinationData extends com.google.api.client.json.GenericJson { + + /** + * Output only. Served assets. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List assetCombinationServedAssets; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonAssetUsage used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonAssetUsage.class); + } + + /** + * Output only. Served assets. + * @return value or {@code null} for none + */ + public java.util.List getAssetCombinationServedAssets() { + return assetCombinationServedAssets; + } + + /** + * Output only. Served assets. + * @param assetCombinationServedAssets assetCombinationServedAssets or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetGroupAssetCombinationData setAssetCombinationServedAssets(java.util.List assetCombinationServedAssets) { + this.assetCombinationServedAssets = assetCombinationServedAssets; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesAssetGroupAssetCombinationData set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesAssetGroupAssetCombinationData) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesAssetGroupAssetCombinationData clone() { + return (GoogleAdsSearchads360V23ResourcesAssetGroupAssetCombinationData) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAssetGroupListingGroupFilter.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAssetGroupListingGroupFilter.java new file mode 100644 index 00000000000..26cf11fb365 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAssetGroupListingGroupFilter.java @@ -0,0 +1,247 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * AssetGroupListingGroupFilter represents a listing group filter tree node in an asset group. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesAssetGroupListingGroupFilter extends com.google.api.client.json.GenericJson { + + /** + * Immutable. The asset group which this asset group listing group filter is part of. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String assetGroup; + + /** + * Dimension value with which this listing group is refining its parent. Undefined for the root + * group. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesListingGroupFilterDimension caseValue; + + /** + * Output only. The ID of the ListingGroupFilter. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long id; + + /** + * Immutable. The source of listings filtered by this listing group filter. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String listingSource; + + /** + * Immutable. Resource name of the parent listing group subdivision. Null for the root listing + * group filter node. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String parentListingGroupFilter; + + /** + * Output only. The path of dimensions defining this listing group filter. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionPath path; + + /** + * Immutable. The resource name of the asset group listing group filter. Asset group listing group + * filter resource name have the form: `customers/{customer_id}/assetGroupListingGroupFilters/{ass + * et_group_id}~{listing_group_filter_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Immutable. Type of a listing group filter node. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String type; + + /** + * Immutable. The asset group which this asset group listing group filter is part of. + * @return value or {@code null} for none + */ + public java.lang.String getAssetGroup() { + return assetGroup; + } + + /** + * Immutable. The asset group which this asset group listing group filter is part of. + * @param assetGroup assetGroup or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetGroupListingGroupFilter setAssetGroup(java.lang.String assetGroup) { + this.assetGroup = assetGroup; + return this; + } + + /** + * Dimension value with which this listing group is refining its parent. Undefined for the root + * group. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesListingGroupFilterDimension getCaseValue() { + return caseValue; + } + + /** + * Dimension value with which this listing group is refining its parent. Undefined for the root + * group. + * @param caseValue caseValue or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetGroupListingGroupFilter setCaseValue(GoogleAdsSearchads360V23ResourcesListingGroupFilterDimension caseValue) { + this.caseValue = caseValue; + return this; + } + + /** + * Output only. The ID of the ListingGroupFilter. + * @return value or {@code null} for none + */ + public java.lang.Long getId() { + return id; + } + + /** + * Output only. The ID of the ListingGroupFilter. + * @param id id or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetGroupListingGroupFilter setId(java.lang.Long id) { + this.id = id; + return this; + } + + /** + * Immutable. The source of listings filtered by this listing group filter. + * @return value or {@code null} for none + */ + public java.lang.String getListingSource() { + return listingSource; + } + + /** + * Immutable. The source of listings filtered by this listing group filter. + * @param listingSource listingSource or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetGroupListingGroupFilter setListingSource(java.lang.String listingSource) { + this.listingSource = listingSource; + return this; + } + + /** + * Immutable. Resource name of the parent listing group subdivision. Null for the root listing + * group filter node. + * @return value or {@code null} for none + */ + public java.lang.String getParentListingGroupFilter() { + return parentListingGroupFilter; + } + + /** + * Immutable. Resource name of the parent listing group subdivision. Null for the root listing + * group filter node. + * @param parentListingGroupFilter parentListingGroupFilter or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetGroupListingGroupFilter setParentListingGroupFilter(java.lang.String parentListingGroupFilter) { + this.parentListingGroupFilter = parentListingGroupFilter; + return this; + } + + /** + * Output only. The path of dimensions defining this listing group filter. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionPath getPath() { + return path; + } + + /** + * Output only. The path of dimensions defining this listing group filter. + * @param path path or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetGroupListingGroupFilter setPath(GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionPath path) { + this.path = path; + return this; + } + + /** + * Immutable. The resource name of the asset group listing group filter. Asset group listing group + * filter resource name have the form: `customers/{customer_id}/assetGroupListingGroupFilters/{ass + * et_group_id}~{listing_group_filter_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Immutable. The resource name of the asset group listing group filter. Asset group listing group + * filter resource name have the form: `customers/{customer_id}/assetGroupListingGroupFilters/{ass + * et_group_id}~{listing_group_filter_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetGroupListingGroupFilter setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Immutable. Type of a listing group filter node. + * @return value or {@code null} for none + */ + public java.lang.String getType() { + return type; + } + + /** + * Immutable. Type of a listing group filter node. + * @param type type or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetGroupListingGroupFilter setType(java.lang.String type) { + this.type = type; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesAssetGroupListingGroupFilter set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesAssetGroupListingGroupFilter) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesAssetGroupListingGroupFilter clone() { + return (GoogleAdsSearchads360V23ResourcesAssetGroupListingGroupFilter) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAssetGroupProductGroupView.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAssetGroupProductGroupView.java new file mode 100644 index 00000000000..11fd6e9fd22 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAssetGroupProductGroupView.java @@ -0,0 +1,121 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * An asset group product group view. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesAssetGroupProductGroupView extends com.google.api.client.json.GenericJson { + + /** + * Output only. The asset group associated with the listing group filter. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String assetGroup; + + /** + * Output only. The resource name of the asset group listing group filter. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String assetGroupListingGroupFilter; + + /** + * Output only. The resource name of the asset group product group view. Asset group product group + * view resource names have the form: `customers/{customer_id}/assetGroupProductGroupViews/{asset_ + * group_id}~{listing_group_filter_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. The asset group associated with the listing group filter. + * @return value or {@code null} for none + */ + public java.lang.String getAssetGroup() { + return assetGroup; + } + + /** + * Output only. The asset group associated with the listing group filter. + * @param assetGroup assetGroup or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetGroupProductGroupView setAssetGroup(java.lang.String assetGroup) { + this.assetGroup = assetGroup; + return this; + } + + /** + * Output only. The resource name of the asset group listing group filter. + * @return value or {@code null} for none + */ + public java.lang.String getAssetGroupListingGroupFilter() { + return assetGroupListingGroupFilter; + } + + /** + * Output only. The resource name of the asset group listing group filter. + * @param assetGroupListingGroupFilter assetGroupListingGroupFilter or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetGroupProductGroupView setAssetGroupListingGroupFilter(java.lang.String assetGroupListingGroupFilter) { + this.assetGroupListingGroupFilter = assetGroupListingGroupFilter; + return this; + } + + /** + * Output only. The resource name of the asset group product group view. Asset group product group + * view resource names have the form: `customers/{customer_id}/assetGroupProductGroupViews/{asset_ + * group_id}~{listing_group_filter_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Output only. The resource name of the asset group product group view. Asset group product group + * view resource names have the form: `customers/{customer_id}/assetGroupProductGroupViews/{asset_ + * group_id}~{listing_group_filter_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetGroupProductGroupView setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesAssetGroupProductGroupView set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesAssetGroupProductGroupView) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesAssetGroupProductGroupView clone() { + return (GoogleAdsSearchads360V23ResourcesAssetGroupProductGroupView) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAssetGroupSignal.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAssetGroupSignal.java new file mode 100644 index 00000000000..78151d2e426 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAssetGroupSignal.java @@ -0,0 +1,211 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * AssetGroupSignal represents a signal in an asset group. The existence of a signal tells the + * performance max campaign who's most likely to convert. Performance Max uses the signal to look + * for new people with similar or stronger intent to find conversions across Search, Display, Video, + * and more. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesAssetGroupSignal extends com.google.api.client.json.GenericJson { + + /** + * Output only. Approval status is the output value for search theme signal after Google ads + * policy review. When using Audience signal, this field is not used and will be absent. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String approvalStatus; + + /** + * Immutable. The asset group which this asset group signal belongs to. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String assetGroup; + + /** + * Immutable. The audience signal to be used by the performance max campaign. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonAudienceInfo audience; + + /** + * Output only. Computed for SearchTheme signals. When using Audience signal, this field is not + * used and will be absent. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List disapprovalReasons; + + /** + * Immutable. The resource name of the asset group signal. Asset group signal resource name have + * the form: `customers/{customer_id}/assetGroupSignals/{asset_group_id}~{signal_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Immutable. The search_theme signal to be used by the performance max campaign. Mutate errors of + * search_theme criterion includes AssetGroupSignalError.UNSPECIFIED AssetGroupSignalError.UNKNOWN + * AssetGroupSignalError.TOO_MANY_WORDS AssetGroupSignalError.SEARCH_THEME_POLICY_VIOLATION + * FieldError.REQUIRED StringFormatError.ILLEGAL_CHARS StringLengthError.TOO_LONG + * ResourceCountLimitExceededError.RESOURCE_LIMIT + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonSearchThemeInfo searchTheme; + + /** + * Output only. Approval status is the output value for search theme signal after Google ads + * policy review. When using Audience signal, this field is not used and will be absent. + * @return value or {@code null} for none + */ + public java.lang.String getApprovalStatus() { + return approvalStatus; + } + + /** + * Output only. Approval status is the output value for search theme signal after Google ads + * policy review. When using Audience signal, this field is not used and will be absent. + * @param approvalStatus approvalStatus or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetGroupSignal setApprovalStatus(java.lang.String approvalStatus) { + this.approvalStatus = approvalStatus; + return this; + } + + /** + * Immutable. The asset group which this asset group signal belongs to. + * @return value or {@code null} for none + */ + public java.lang.String getAssetGroup() { + return assetGroup; + } + + /** + * Immutable. The asset group which this asset group signal belongs to. + * @param assetGroup assetGroup or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetGroupSignal setAssetGroup(java.lang.String assetGroup) { + this.assetGroup = assetGroup; + return this; + } + + /** + * Immutable. The audience signal to be used by the performance max campaign. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAudienceInfo getAudience() { + return audience; + } + + /** + * Immutable. The audience signal to be used by the performance max campaign. + * @param audience audience or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetGroupSignal setAudience(GoogleAdsSearchads360V23CommonAudienceInfo audience) { + this.audience = audience; + return this; + } + + /** + * Output only. Computed for SearchTheme signals. When using Audience signal, this field is not + * used and will be absent. + * @return value or {@code null} for none + */ + public java.util.List getDisapprovalReasons() { + return disapprovalReasons; + } + + /** + * Output only. Computed for SearchTheme signals. When using Audience signal, this field is not + * used and will be absent. + * @param disapprovalReasons disapprovalReasons or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetGroupSignal setDisapprovalReasons(java.util.List disapprovalReasons) { + this.disapprovalReasons = disapprovalReasons; + return this; + } + + /** + * Immutable. The resource name of the asset group signal. Asset group signal resource name have + * the form: `customers/{customer_id}/assetGroupSignals/{asset_group_id}~{signal_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Immutable. The resource name of the asset group signal. Asset group signal resource name have + * the form: `customers/{customer_id}/assetGroupSignals/{asset_group_id}~{signal_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetGroupSignal setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Immutable. The search_theme signal to be used by the performance max campaign. Mutate errors of + * search_theme criterion includes AssetGroupSignalError.UNSPECIFIED AssetGroupSignalError.UNKNOWN + * AssetGroupSignalError.TOO_MANY_WORDS AssetGroupSignalError.SEARCH_THEME_POLICY_VIOLATION + * FieldError.REQUIRED StringFormatError.ILLEGAL_CHARS StringLengthError.TOO_LONG + * ResourceCountLimitExceededError.RESOURCE_LIMIT + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSearchThemeInfo getSearchTheme() { + return searchTheme; + } + + /** + * Immutable. The search_theme signal to be used by the performance max campaign. Mutate errors of + * search_theme criterion includes AssetGroupSignalError.UNSPECIFIED AssetGroupSignalError.UNKNOWN + * AssetGroupSignalError.TOO_MANY_WORDS AssetGroupSignalError.SEARCH_THEME_POLICY_VIOLATION + * FieldError.REQUIRED StringFormatError.ILLEGAL_CHARS StringLengthError.TOO_LONG + * ResourceCountLimitExceededError.RESOURCE_LIMIT + * @param searchTheme searchTheme or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetGroupSignal setSearchTheme(GoogleAdsSearchads360V23CommonSearchThemeInfo searchTheme) { + this.searchTheme = searchTheme; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesAssetGroupSignal set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesAssetGroupSignal) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesAssetGroupSignal clone() { + return (GoogleAdsSearchads360V23ResourcesAssetGroupSignal) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAssetGroupTopCombinationView.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAssetGroupTopCombinationView.java new file mode 100644 index 00000000000..ae56026242f --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAssetGroupTopCombinationView.java @@ -0,0 +1,103 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A view on the usage of asset group asset top combinations. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesAssetGroupTopCombinationView extends com.google.api.client.json.GenericJson { + + /** + * Output only. The top combinations of assets that served together. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List assetGroupTopCombinations; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ResourcesAssetGroupAssetCombinationData used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ResourcesAssetGroupAssetCombinationData.class); + } + + /** + * Output only. The resource name of the asset group top combination view. AssetGroup Top + * Combination view resource names have the form: `"customers/{customer_id}/assetGroupTopCombinati + * onViews/{asset_group_id}~{asset_combination_category}" + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. The top combinations of assets that served together. + * @return value or {@code null} for none + */ + public java.util.List getAssetGroupTopCombinations() { + return assetGroupTopCombinations; + } + + /** + * Output only. The top combinations of assets that served together. + * @param assetGroupTopCombinations assetGroupTopCombinations or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetGroupTopCombinationView setAssetGroupTopCombinations(java.util.List assetGroupTopCombinations) { + this.assetGroupTopCombinations = assetGroupTopCombinations; + return this; + } + + /** + * Output only. The resource name of the asset group top combination view. AssetGroup Top + * Combination view resource names have the form: `"customers/{customer_id}/assetGroupTopCombinati + * onViews/{asset_group_id}~{asset_combination_category}" + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Output only. The resource name of the asset group top combination view. AssetGroup Top + * Combination view resource names have the form: `"customers/{customer_id}/assetGroupTopCombinati + * onViews/{asset_group_id}~{asset_combination_category}" + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetGroupTopCombinationView setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesAssetGroupTopCombinationView set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesAssetGroupTopCombinationView) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesAssetGroupTopCombinationView clone() { + return (GoogleAdsSearchads360V23ResourcesAssetGroupTopCombinationView) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAssetPolicySummary.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAssetPolicySummary.java new file mode 100644 index 00000000000..a3a55426096 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAssetPolicySummary.java @@ -0,0 +1,124 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Contains policy information for an asset. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesAssetPolicySummary extends com.google.api.client.json.GenericJson { + + /** + * Output only. The overall approval status of this asset, calculated based on the status of its + * individual policy topic entries. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String approvalStatus; + + /** + * Output only. The list of policy findings for this asset. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List policyTopicEntries; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonPolicyTopicEntry used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonPolicyTopicEntry.class); + } + + /** + * Output only. Where in the review process this asset is. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String reviewStatus; + + /** + * Output only. The overall approval status of this asset, calculated based on the status of its + * individual policy topic entries. + * @return value or {@code null} for none + */ + public java.lang.String getApprovalStatus() { + return approvalStatus; + } + + /** + * Output only. The overall approval status of this asset, calculated based on the status of its + * individual policy topic entries. + * @param approvalStatus approvalStatus or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetPolicySummary setApprovalStatus(java.lang.String approvalStatus) { + this.approvalStatus = approvalStatus; + return this; + } + + /** + * Output only. The list of policy findings for this asset. + * @return value or {@code null} for none + */ + public java.util.List getPolicyTopicEntries() { + return policyTopicEntries; + } + + /** + * Output only. The list of policy findings for this asset. + * @param policyTopicEntries policyTopicEntries or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetPolicySummary setPolicyTopicEntries(java.util.List policyTopicEntries) { + this.policyTopicEntries = policyTopicEntries; + return this; + } + + /** + * Output only. Where in the review process this asset is. + * @return value or {@code null} for none + */ + public java.lang.String getReviewStatus() { + return reviewStatus; + } + + /** + * Output only. Where in the review process this asset is. + * @param reviewStatus reviewStatus or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetPolicySummary setReviewStatus(java.lang.String reviewStatus) { + this.reviewStatus = reviewStatus; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesAssetPolicySummary set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesAssetPolicySummary) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesAssetPolicySummary clone() { + return (GoogleAdsSearchads360V23ResourcesAssetPolicySummary) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAssetSet.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAssetSet.java new file mode 100644 index 00000000000..c32b8adce60 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAssetSet.java @@ -0,0 +1,332 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * An asset set representing a collection of assets. Use AssetSetAsset to link an asset to the asset + * set. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesAssetSet extends com.google.api.client.json.GenericJson { + + /** + * Business Profile location group asset set data. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonBusinessProfileLocationGroup businessProfileLocationGroup; + + /** + * Represents information about a Chain dynamic location group. Only applicable if the sync level + * AssetSet's type is LOCATION_SYNC and sync source is chain. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonChainLocationGroup chainLocationGroup; + + /** + * Output only. For Performance Max for travel goals campaigns with a Hotel Center account link. + * Read-only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAssetSetHotelPropertyData hotelPropertyData; + + /** + * Output only. The ID of the asset set. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long id; + + /** + * Immutable. Parent asset set ID for the asset set where the elements of this asset set come + * from. For example: the sync level location AssetSet id where the elements in LocationGroup + * AssetSet come from. This field is required and only applicable for Location Group typed + * AssetSet. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long locationGroupParentAssetSetId; + + /** + * Location asset set data. This will be used for sync level location set. This can only be set if + * AssetSet's type is LOCATION_SYNC. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonLocationSet locationSet; + + /** + * Merchant ID and Feed Label from Google Merchant Center. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAssetSetMerchantCenterFeed merchantCenterFeed; + + /** + * Required. Name of the asset set. Required. It must have a minimum length of 1 and maximum + * length of 128. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * Immutable. The resource name of the asset set. Asset set resource names have the form: + * `customers/{customer_id}/assetSets/{asset_set_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. The status of the asset set. Read-only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String status; + + /** + * Required. Immutable. The type of the asset set. Required. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String type; + + /** + * Business Profile location group asset set data. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonBusinessProfileLocationGroup getBusinessProfileLocationGroup() { + return businessProfileLocationGroup; + } + + /** + * Business Profile location group asset set data. + * @param businessProfileLocationGroup businessProfileLocationGroup or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetSet setBusinessProfileLocationGroup(GoogleAdsSearchads360V23CommonBusinessProfileLocationGroup businessProfileLocationGroup) { + this.businessProfileLocationGroup = businessProfileLocationGroup; + return this; + } + + /** + * Represents information about a Chain dynamic location group. Only applicable if the sync level + * AssetSet's type is LOCATION_SYNC and sync source is chain. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonChainLocationGroup getChainLocationGroup() { + return chainLocationGroup; + } + + /** + * Represents information about a Chain dynamic location group. Only applicable if the sync level + * AssetSet's type is LOCATION_SYNC and sync source is chain. + * @param chainLocationGroup chainLocationGroup or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetSet setChainLocationGroup(GoogleAdsSearchads360V23CommonChainLocationGroup chainLocationGroup) { + this.chainLocationGroup = chainLocationGroup; + return this; + } + + /** + * Output only. For Performance Max for travel goals campaigns with a Hotel Center account link. + * Read-only. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetSetHotelPropertyData getHotelPropertyData() { + return hotelPropertyData; + } + + /** + * Output only. For Performance Max for travel goals campaigns with a Hotel Center account link. + * Read-only. + * @param hotelPropertyData hotelPropertyData or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetSet setHotelPropertyData(GoogleAdsSearchads360V23ResourcesAssetSetHotelPropertyData hotelPropertyData) { + this.hotelPropertyData = hotelPropertyData; + return this; + } + + /** + * Output only. The ID of the asset set. + * @return value or {@code null} for none + */ + public java.lang.Long getId() { + return id; + } + + /** + * Output only. The ID of the asset set. + * @param id id or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetSet setId(java.lang.Long id) { + this.id = id; + return this; + } + + /** + * Immutable. Parent asset set ID for the asset set where the elements of this asset set come + * from. For example: the sync level location AssetSet id where the elements in LocationGroup + * AssetSet come from. This field is required and only applicable for Location Group typed + * AssetSet. + * @return value or {@code null} for none + */ + public java.lang.Long getLocationGroupParentAssetSetId() { + return locationGroupParentAssetSetId; + } + + /** + * Immutable. Parent asset set ID for the asset set where the elements of this asset set come + * from. For example: the sync level location AssetSet id where the elements in LocationGroup + * AssetSet come from. This field is required and only applicable for Location Group typed + * AssetSet. + * @param locationGroupParentAssetSetId locationGroupParentAssetSetId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetSet setLocationGroupParentAssetSetId(java.lang.Long locationGroupParentAssetSetId) { + this.locationGroupParentAssetSetId = locationGroupParentAssetSetId; + return this; + } + + /** + * Location asset set data. This will be used for sync level location set. This can only be set if + * AssetSet's type is LOCATION_SYNC. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLocationSet getLocationSet() { + return locationSet; + } + + /** + * Location asset set data. This will be used for sync level location set. This can only be set if + * AssetSet's type is LOCATION_SYNC. + * @param locationSet locationSet or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetSet setLocationSet(GoogleAdsSearchads360V23CommonLocationSet locationSet) { + this.locationSet = locationSet; + return this; + } + + /** + * Merchant ID and Feed Label from Google Merchant Center. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetSetMerchantCenterFeed getMerchantCenterFeed() { + return merchantCenterFeed; + } + + /** + * Merchant ID and Feed Label from Google Merchant Center. + * @param merchantCenterFeed merchantCenterFeed or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetSet setMerchantCenterFeed(GoogleAdsSearchads360V23ResourcesAssetSetMerchantCenterFeed merchantCenterFeed) { + this.merchantCenterFeed = merchantCenterFeed; + return this; + } + + /** + * Required. Name of the asset set. Required. It must have a minimum length of 1 and maximum + * length of 128. + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * Required. Name of the asset set. Required. It must have a minimum length of 1 and maximum + * length of 128. + * @param name name or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetSet setName(java.lang.String name) { + this.name = name; + return this; + } + + /** + * Immutable. The resource name of the asset set. Asset set resource names have the form: + * `customers/{customer_id}/assetSets/{asset_set_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Immutable. The resource name of the asset set. Asset set resource names have the form: + * `customers/{customer_id}/assetSets/{asset_set_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetSet setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Output only. The status of the asset set. Read-only. + * @return value or {@code null} for none + */ + public java.lang.String getStatus() { + return status; + } + + /** + * Output only. The status of the asset set. Read-only. + * @param status status or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetSet setStatus(java.lang.String status) { + this.status = status; + return this; + } + + /** + * Required. Immutable. The type of the asset set. Required. + * @return value or {@code null} for none + */ + public java.lang.String getType() { + return type; + } + + /** + * Required. Immutable. The type of the asset set. Required. + * @param type type or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetSet setType(java.lang.String type) { + this.type = type; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesAssetSet set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesAssetSet) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesAssetSet clone() { + return (GoogleAdsSearchads360V23ResourcesAssetSet) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAssetSetAsset.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAssetSetAsset.java new file mode 100644 index 00000000000..cb7a502dfee --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAssetSetAsset.java @@ -0,0 +1,143 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * AssetSetAsset is the link between an asset and an asset set. Adding an AssetSetAsset links an + * asset with an asset set. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesAssetSetAsset extends com.google.api.client.json.GenericJson { + + /** + * Immutable. The asset which this asset set asset is linking to. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String asset; + + /** + * Immutable. The asset set which this asset set asset is linking to. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String assetSet; + + /** + * Immutable. The resource name of the asset set asset. Asset set asset resource names have the + * form: `customers/{customer_id}/assetSetAssets/{asset_set_id}~{asset_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. The status of the asset set asset. Read-only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String status; + + /** + * Immutable. The asset which this asset set asset is linking to. + * @return value or {@code null} for none + */ + public java.lang.String getAsset() { + return asset; + } + + /** + * Immutable. The asset which this asset set asset is linking to. + * @param asset asset or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetSetAsset setAsset(java.lang.String asset) { + this.asset = asset; + return this; + } + + /** + * Immutable. The asset set which this asset set asset is linking to. + * @return value or {@code null} for none + */ + public java.lang.String getAssetSet() { + return assetSet; + } + + /** + * Immutable. The asset set which this asset set asset is linking to. + * @param assetSet assetSet or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetSetAsset setAssetSet(java.lang.String assetSet) { + this.assetSet = assetSet; + return this; + } + + /** + * Immutable. The resource name of the asset set asset. Asset set asset resource names have the + * form: `customers/{customer_id}/assetSetAssets/{asset_set_id}~{asset_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Immutable. The resource name of the asset set asset. Asset set asset resource names have the + * form: `customers/{customer_id}/assetSetAssets/{asset_set_id}~{asset_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetSetAsset setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Output only. The status of the asset set asset. Read-only. + * @return value or {@code null} for none + */ + public java.lang.String getStatus() { + return status; + } + + /** + * Output only. The status of the asset set asset. Read-only. + * @param status status or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetSetAsset setStatus(java.lang.String status) { + this.status = status; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesAssetSetAsset set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesAssetSetAsset) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesAssetSetAsset clone() { + return (GoogleAdsSearchads360V23ResourcesAssetSetAsset) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAssetSetHotelPropertyData.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAssetSetHotelPropertyData.java new file mode 100644 index 00000000000..69ddc0aa835 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAssetSetHotelPropertyData.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * For Performance Max for travel goals campaigns with a Hotel Center account link. Read-only. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesAssetSetHotelPropertyData extends com.google.api.client.json.GenericJson { + + /** + * Output only. The hotel center ID of the partner. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long hotelCenterId; + + /** + * Output only. Name of the hotel partner. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String partnerName; + + /** + * Output only. The hotel center ID of the partner. + * @return value or {@code null} for none + */ + public java.lang.Long getHotelCenterId() { + return hotelCenterId; + } + + /** + * Output only. The hotel center ID of the partner. + * @param hotelCenterId hotelCenterId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetSetHotelPropertyData setHotelCenterId(java.lang.Long hotelCenterId) { + this.hotelCenterId = hotelCenterId; + return this; + } + + /** + * Output only. Name of the hotel partner. + * @return value or {@code null} for none + */ + public java.lang.String getPartnerName() { + return partnerName; + } + + /** + * Output only. Name of the hotel partner. + * @param partnerName partnerName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetSetHotelPropertyData setPartnerName(java.lang.String partnerName) { + this.partnerName = partnerName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesAssetSetHotelPropertyData set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesAssetSetHotelPropertyData) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesAssetSetHotelPropertyData clone() { + return (GoogleAdsSearchads360V23ResourcesAssetSetHotelPropertyData) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAssetSetMerchantCenterFeed.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAssetSetMerchantCenterFeed.java new file mode 100644 index 00000000000..e0f578e28f2 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAssetSetMerchantCenterFeed.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Merchant ID and Feed Label from Google Merchant Center. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesAssetSetMerchantCenterFeed extends com.google.api.client.json.GenericJson { + + /** + * Optional. Feed Label from Google Merchant Center. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String feedLabel; + + /** + * Required. Merchant ID from Google Merchant Center + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long merchantId; + + /** + * Optional. Feed Label from Google Merchant Center. + * @return value or {@code null} for none + */ + public java.lang.String getFeedLabel() { + return feedLabel; + } + + /** + * Optional. Feed Label from Google Merchant Center. + * @param feedLabel feedLabel or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetSetMerchantCenterFeed setFeedLabel(java.lang.String feedLabel) { + this.feedLabel = feedLabel; + return this; + } + + /** + * Required. Merchant ID from Google Merchant Center + * @return value or {@code null} for none + */ + public java.lang.Long getMerchantId() { + return merchantId; + } + + /** + * Required. Merchant ID from Google Merchant Center + * @param merchantId merchantId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetSetMerchantCenterFeed setMerchantId(java.lang.Long merchantId) { + this.merchantId = merchantId; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesAssetSetMerchantCenterFeed set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesAssetSetMerchantCenterFeed) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesAssetSetMerchantCenterFeed clone() { + return (GoogleAdsSearchads360V23ResourcesAssetSetMerchantCenterFeed) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAssetSetTypeView.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAssetSetTypeView.java new file mode 100644 index 00000000000..43b4d4b9cc2 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAssetSetTypeView.java @@ -0,0 +1,96 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * An asset set type view. This view reports non-overcounted metrics for each asset set type. Child + * asset set types are not included in this report. Their stats are aggregated under the parent + * asset set type. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesAssetSetTypeView extends com.google.api.client.json.GenericJson { + + /** + * Output only. The asset set type of the asset set type view. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String assetSetType; + + /** + * Output only. The resource name of the asset set type view. Asset set type view resource names + * have the form: `customers/{customer_id}/assetSetTypeViews/{asset_set_type}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. The asset set type of the asset set type view. + * @return value or {@code null} for none + */ + public java.lang.String getAssetSetType() { + return assetSetType; + } + + /** + * Output only. The asset set type of the asset set type view. + * @param assetSetType assetSetType or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetSetTypeView setAssetSetType(java.lang.String assetSetType) { + this.assetSetType = assetSetType; + return this; + } + + /** + * Output only. The resource name of the asset set type view. Asset set type view resource names + * have the form: `customers/{customer_id}/assetSetTypeViews/{asset_set_type}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Output only. The resource name of the asset set type view. Asset set type view resource names + * have the form: `customers/{customer_id}/assetSetTypeViews/{asset_set_type}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetSetTypeView setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesAssetSetTypeView set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesAssetSetTypeView) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesAssetSetTypeView clone() { + return (GoogleAdsSearchads360V23ResourcesAssetSetTypeView) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAudience.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAudience.java new file mode 100644 index 00000000000..5ffbb6306e3 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAudience.java @@ -0,0 +1,288 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Audience is an effective targeting option that lets you intersect different segment attributes, + * such as detailed demographics and affinities, to create audiences that represent sections of your + * target segments. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesAudience extends com.google.api.client.json.GenericJson { + + /** + * Immutable. The asset group that this audience is scoped under. Must be set if and only if scope + * is ASSET_GROUP. Immutable after creation. If an audience with ASSET_GROUP scope is upgraded to + * CUSTOMER scope, this field will automatically be cleared. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String assetGroup; + + /** + * Description of this audience. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String description; + + /** + * Positive dimensions specifying the audience composition. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List dimensions; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonAudienceDimension used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonAudienceDimension.class); + } + + /** + * Negative dimension specifying the audience composition. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonAudienceExclusionDimension exclusionDimension; + + /** + * Output only. ID of the audience. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long id; + + /** + * Name of the audience. It should be unique across all audiences within the account. It must have + * a minimum length of 1 and maximum length of 255. Required when scope is not set or is set to + * CUSTOMER. Cannot be set or updated when scope is ASSET_GROUP. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * Immutable. The resource name of the audience. Audience names have the form: + * `customers/{customer_id}/audiences/{audience_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Defines the scope this audience can be used in. By default, the scope is CUSTOMER. Audiences + * can be created with a scope of ASSET_GROUP for exclusive use by a single asset_group. Scope may + * change from ASSET_GROUP to CUSTOMER but not from CUSTOMER to ASSET_GROUP. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String scope; + + /** + * Output only. Status of this audience. Indicates whether the audience is enabled or removed. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String status; + + /** + * Immutable. The asset group that this audience is scoped under. Must be set if and only if scope + * is ASSET_GROUP. Immutable after creation. If an audience with ASSET_GROUP scope is upgraded to + * CUSTOMER scope, this field will automatically be cleared. + * @return value or {@code null} for none + */ + public java.lang.String getAssetGroup() { + return assetGroup; + } + + /** + * Immutable. The asset group that this audience is scoped under. Must be set if and only if scope + * is ASSET_GROUP. Immutable after creation. If an audience with ASSET_GROUP scope is upgraded to + * CUSTOMER scope, this field will automatically be cleared. + * @param assetGroup assetGroup or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAudience setAssetGroup(java.lang.String assetGroup) { + this.assetGroup = assetGroup; + return this; + } + + /** + * Description of this audience. + * @return value or {@code null} for none + */ + public java.lang.String getDescription() { + return description; + } + + /** + * Description of this audience. + * @param description description or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAudience setDescription(java.lang.String description) { + this.description = description; + return this; + } + + /** + * Positive dimensions specifying the audience composition. + * @return value or {@code null} for none + */ + public java.util.List getDimensions() { + return dimensions; + } + + /** + * Positive dimensions specifying the audience composition. + * @param dimensions dimensions or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAudience setDimensions(java.util.List dimensions) { + this.dimensions = dimensions; + return this; + } + + /** + * Negative dimension specifying the audience composition. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAudienceExclusionDimension getExclusionDimension() { + return exclusionDimension; + } + + /** + * Negative dimension specifying the audience composition. + * @param exclusionDimension exclusionDimension or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAudience setExclusionDimension(GoogleAdsSearchads360V23CommonAudienceExclusionDimension exclusionDimension) { + this.exclusionDimension = exclusionDimension; + return this; + } + + /** + * Output only. ID of the audience. + * @return value or {@code null} for none + */ + public java.lang.Long getId() { + return id; + } + + /** + * Output only. ID of the audience. + * @param id id or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAudience setId(java.lang.Long id) { + this.id = id; + return this; + } + + /** + * Name of the audience. It should be unique across all audiences within the account. It must have + * a minimum length of 1 and maximum length of 255. Required when scope is not set or is set to + * CUSTOMER. Cannot be set or updated when scope is ASSET_GROUP. + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * Name of the audience. It should be unique across all audiences within the account. It must have + * a minimum length of 1 and maximum length of 255. Required when scope is not set or is set to + * CUSTOMER. Cannot be set or updated when scope is ASSET_GROUP. + * @param name name or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAudience setName(java.lang.String name) { + this.name = name; + return this; + } + + /** + * Immutable. The resource name of the audience. Audience names have the form: + * `customers/{customer_id}/audiences/{audience_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Immutable. The resource name of the audience. Audience names have the form: + * `customers/{customer_id}/audiences/{audience_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAudience setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Defines the scope this audience can be used in. By default, the scope is CUSTOMER. Audiences + * can be created with a scope of ASSET_GROUP for exclusive use by a single asset_group. Scope may + * change from ASSET_GROUP to CUSTOMER but not from CUSTOMER to ASSET_GROUP. + * @return value or {@code null} for none + */ + public java.lang.String getScope() { + return scope; + } + + /** + * Defines the scope this audience can be used in. By default, the scope is CUSTOMER. Audiences + * can be created with a scope of ASSET_GROUP for exclusive use by a single asset_group. Scope may + * change from ASSET_GROUP to CUSTOMER but not from CUSTOMER to ASSET_GROUP. + * @param scope scope or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAudience setScope(java.lang.String scope) { + this.scope = scope; + return this; + } + + /** + * Output only. Status of this audience. Indicates whether the audience is enabled or removed. + * @return value or {@code null} for none + */ + public java.lang.String getStatus() { + return status; + } + + /** + * Output only. Status of this audience. Indicates whether the audience is enabled or removed. + * @param status status or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAudience setStatus(java.lang.String status) { + this.status = status; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesAudience set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesAudience) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesAudience clone() { + return (GoogleAdsSearchads360V23ResourcesAudience) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesBackgroundCheckVerificationArtifact.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesBackgroundCheckVerificationArtifact.java new file mode 100644 index 00000000000..08fdc20aedc --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesBackgroundCheckVerificationArtifact.java @@ -0,0 +1,97 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * specific to local services background check. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesBackgroundCheckVerificationArtifact extends com.google.api.client.json.GenericJson { + + /** + * Output only. URL to access background case. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String caseUrl; + + /** + * Output only. The timestamp when this background check case result was adjudicated. The format + * is "YYYY-MM-DD HH:MM:SS" in the Google Ads account's timezone. Examples: "2018-03-05 09:15:00" + * or "2018-02-01 14:34:30" + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String finalAdjudicationDateTime; + + /** + * Output only. URL to access background case. + * @return value or {@code null} for none + */ + public java.lang.String getCaseUrl() { + return caseUrl; + } + + /** + * Output only. URL to access background case. + * @param caseUrl caseUrl or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBackgroundCheckVerificationArtifact setCaseUrl(java.lang.String caseUrl) { + this.caseUrl = caseUrl; + return this; + } + + /** + * Output only. The timestamp when this background check case result was adjudicated. The format + * is "YYYY-MM-DD HH:MM:SS" in the Google Ads account's timezone. Examples: "2018-03-05 09:15:00" + * or "2018-02-01 14:34:30" + * @return value or {@code null} for none + */ + public java.lang.String getFinalAdjudicationDateTime() { + return finalAdjudicationDateTime; + } + + /** + * Output only. The timestamp when this background check case result was adjudicated. The format + * is "YYYY-MM-DD HH:MM:SS" in the Google Ads account's timezone. Examples: "2018-03-05 09:15:00" + * or "2018-02-01 14:34:30" + * @param finalAdjudicationDateTime finalAdjudicationDateTime or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBackgroundCheckVerificationArtifact setFinalAdjudicationDateTime(java.lang.String finalAdjudicationDateTime) { + this.finalAdjudicationDateTime = finalAdjudicationDateTime; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesBackgroundCheckVerificationArtifact set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesBackgroundCheckVerificationArtifact) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesBackgroundCheckVerificationArtifact clone() { + return (GoogleAdsSearchads360V23ResourcesBackgroundCheckVerificationArtifact) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesBatchJob.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesBatchJob.java new file mode 100644 index 00000000000..29498116fe2 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesBatchJob.java @@ -0,0 +1,198 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A list of mutates being processed asynchronously. The mutates are uploaded by the user. The + * mutates themselves aren't readable and the results of the job can only be read using + * BatchJobService.ListBatchJobResults. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesBatchJob extends com.google.api.client.json.GenericJson { + + /** + * Output only. ID of this batch job. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long id; + + /** + * Output only. The resource name of the long-running operation that can be used to poll for + * completion. Only set when the batch job status is RUNNING or DONE. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String longRunningOperation; + + /** + * Output only. Contains additional information about this batch job. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesBatchJobBatchJobMetadata metadata; + + /** + * Output only. The next sequence token to use when adding operations. Only set when the batch job + * status is PENDING. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String nextAddSequenceToken; + + /** + * Immutable. The resource name of the batch job. Batch job resource names have the form: + * `customers/{customer_id}/batchJobs/{batch_job_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. Status of this batch job. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String status; + + /** + * Output only. ID of this batch job. + * @return value or {@code null} for none + */ + public java.lang.Long getId() { + return id; + } + + /** + * Output only. ID of this batch job. + * @param id id or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBatchJob setId(java.lang.Long id) { + this.id = id; + return this; + } + + /** + * Output only. The resource name of the long-running operation that can be used to poll for + * completion. Only set when the batch job status is RUNNING or DONE. + * @return value or {@code null} for none + */ + public java.lang.String getLongRunningOperation() { + return longRunningOperation; + } + + /** + * Output only. The resource name of the long-running operation that can be used to poll for + * completion. Only set when the batch job status is RUNNING or DONE. + * @param longRunningOperation longRunningOperation or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBatchJob setLongRunningOperation(java.lang.String longRunningOperation) { + this.longRunningOperation = longRunningOperation; + return this; + } + + /** + * Output only. Contains additional information about this batch job. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBatchJobBatchJobMetadata getMetadata() { + return metadata; + } + + /** + * Output only. Contains additional information about this batch job. + * @param metadata metadata or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBatchJob setMetadata(GoogleAdsSearchads360V23ResourcesBatchJobBatchJobMetadata metadata) { + this.metadata = metadata; + return this; + } + + /** + * Output only. The next sequence token to use when adding operations. Only set when the batch job + * status is PENDING. + * @return value or {@code null} for none + */ + public java.lang.String getNextAddSequenceToken() { + return nextAddSequenceToken; + } + + /** + * Output only. The next sequence token to use when adding operations. Only set when the batch job + * status is PENDING. + * @param nextAddSequenceToken nextAddSequenceToken or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBatchJob setNextAddSequenceToken(java.lang.String nextAddSequenceToken) { + this.nextAddSequenceToken = nextAddSequenceToken; + return this; + } + + /** + * Immutable. The resource name of the batch job. Batch job resource names have the form: + * `customers/{customer_id}/batchJobs/{batch_job_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Immutable. The resource name of the batch job. Batch job resource names have the form: + * `customers/{customer_id}/batchJobs/{batch_job_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBatchJob setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Output only. Status of this batch job. + * @return value or {@code null} for none + */ + public java.lang.String getStatus() { + return status; + } + + /** + * Output only. Status of this batch job. + * @param status status or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBatchJob setStatus(java.lang.String status) { + this.status = status; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesBatchJob set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesBatchJob) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesBatchJob clone() { + return (GoogleAdsSearchads360V23ResourcesBatchJob) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesBatchJobBatchJobMetadata.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesBatchJobBatchJobMetadata.java new file mode 100644 index 00000000000..9c6ea14c2b8 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesBatchJobBatchJobMetadata.java @@ -0,0 +1,230 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Additional information about the batch job. This message is also used as metadata returned in + * batch job Long Running Operations. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesBatchJobBatchJobMetadata extends com.google.api.client.json.GenericJson { + + /** + * Output only. The time when this batch job was completed. Formatted as yyyy-MM-dd HH:mm:ss. + * Example: "2018-03-05 09:16:00" + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String completionDateTime; + + /** + * Output only. The time when this batch job was created. Formatted as yyyy-mm-dd hh:mm:ss. + * Example: "2018-03-05 09:15:00" + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String creationDateTime; + + /** + * Output only. The fraction (between 0.0 and 1.0) of mutates that have been processed. This is + * empty if the job hasn't started running yet. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double estimatedCompletionRatio; + + /** + * Output only. The number of mutate operations executed by the batch job. Present only if the job + * has started running. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long executedOperationCount; + + /** + * Immutable. The approximate upper bound for how long a batch job can be executed, in seconds. If + * the job runs more than the given upper bound, the job will be canceled. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer executionLimitSeconds; + + /** + * Output only. The number of mutate operations in the batch job. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long operationCount; + + /** + * Output only. The time when this batch job started running. Formatted as yyyy-mm-dd hh:mm:ss. + * Example: "2018-03-05 09:15:30" + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String startDateTime; + + /** + * Output only. The time when this batch job was completed. Formatted as yyyy-MM-dd HH:mm:ss. + * Example: "2018-03-05 09:16:00" + * @return value or {@code null} for none + */ + public java.lang.String getCompletionDateTime() { + return completionDateTime; + } + + /** + * Output only. The time when this batch job was completed. Formatted as yyyy-MM-dd HH:mm:ss. + * Example: "2018-03-05 09:16:00" + * @param completionDateTime completionDateTime or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBatchJobBatchJobMetadata setCompletionDateTime(java.lang.String completionDateTime) { + this.completionDateTime = completionDateTime; + return this; + } + + /** + * Output only. The time when this batch job was created. Formatted as yyyy-mm-dd hh:mm:ss. + * Example: "2018-03-05 09:15:00" + * @return value or {@code null} for none + */ + public java.lang.String getCreationDateTime() { + return creationDateTime; + } + + /** + * Output only. The time when this batch job was created. Formatted as yyyy-mm-dd hh:mm:ss. + * Example: "2018-03-05 09:15:00" + * @param creationDateTime creationDateTime or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBatchJobBatchJobMetadata setCreationDateTime(java.lang.String creationDateTime) { + this.creationDateTime = creationDateTime; + return this; + } + + /** + * Output only. The fraction (between 0.0 and 1.0) of mutates that have been processed. This is + * empty if the job hasn't started running yet. + * @return value or {@code null} for none + */ + public java.lang.Double getEstimatedCompletionRatio() { + return estimatedCompletionRatio; + } + + /** + * Output only. The fraction (between 0.0 and 1.0) of mutates that have been processed. This is + * empty if the job hasn't started running yet. + * @param estimatedCompletionRatio estimatedCompletionRatio or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBatchJobBatchJobMetadata setEstimatedCompletionRatio(java.lang.Double estimatedCompletionRatio) { + this.estimatedCompletionRatio = estimatedCompletionRatio; + return this; + } + + /** + * Output only. The number of mutate operations executed by the batch job. Present only if the job + * has started running. + * @return value or {@code null} for none + */ + public java.lang.Long getExecutedOperationCount() { + return executedOperationCount; + } + + /** + * Output only. The number of mutate operations executed by the batch job. Present only if the job + * has started running. + * @param executedOperationCount executedOperationCount or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBatchJobBatchJobMetadata setExecutedOperationCount(java.lang.Long executedOperationCount) { + this.executedOperationCount = executedOperationCount; + return this; + } + + /** + * Immutable. The approximate upper bound for how long a batch job can be executed, in seconds. If + * the job runs more than the given upper bound, the job will be canceled. + * @return value or {@code null} for none + */ + public java.lang.Integer getExecutionLimitSeconds() { + return executionLimitSeconds; + } + + /** + * Immutable. The approximate upper bound for how long a batch job can be executed, in seconds. If + * the job runs more than the given upper bound, the job will be canceled. + * @param executionLimitSeconds executionLimitSeconds or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBatchJobBatchJobMetadata setExecutionLimitSeconds(java.lang.Integer executionLimitSeconds) { + this.executionLimitSeconds = executionLimitSeconds; + return this; + } + + /** + * Output only. The number of mutate operations in the batch job. + * @return value or {@code null} for none + */ + public java.lang.Long getOperationCount() { + return operationCount; + } + + /** + * Output only. The number of mutate operations in the batch job. + * @param operationCount operationCount or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBatchJobBatchJobMetadata setOperationCount(java.lang.Long operationCount) { + this.operationCount = operationCount; + return this; + } + + /** + * Output only. The time when this batch job started running. Formatted as yyyy-mm-dd hh:mm:ss. + * Example: "2018-03-05 09:15:30" + * @return value or {@code null} for none + */ + public java.lang.String getStartDateTime() { + return startDateTime; + } + + /** + * Output only. The time when this batch job started running. Formatted as yyyy-mm-dd hh:mm:ss. + * Example: "2018-03-05 09:15:30" + * @param startDateTime startDateTime or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBatchJobBatchJobMetadata setStartDateTime(java.lang.String startDateTime) { + this.startDateTime = startDateTime; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesBatchJobBatchJobMetadata set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesBatchJobBatchJobMetadata) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesBatchJobBatchJobMetadata clone() { + return (GoogleAdsSearchads360V23ResourcesBatchJobBatchJobMetadata) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesBiddingDataExclusion.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesBiddingDataExclusion.java new file mode 100644 index 00000000000..2fd66a92175 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesBiddingDataExclusion.java @@ -0,0 +1,340 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Represents a bidding data exclusion. Bidding data exclusions can be set in client accounts only, + * and cannot be used in manager accounts. See "About data exclusions" at + * https://support.google.com/google-ads/answer/10370710. Note: A customer account can have a + * maximum of 500 active bidding data exclusions. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesBiddingDataExclusion extends com.google.api.client.json.GenericJson { + + /** + * The data_exclusion will apply to all the campaigns under the listed channels retroactively as + * well as going forward when the scope of this exclusion is CHANNEL. The supported advertising + * channel types are DISPLAY, SEARCH and SHOPPING. Note: a data exclusion with both + * advertising_channel_types and campaign_ids is not supported. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List advertisingChannelTypes; + + /** + * The data exclusion will apply to the campaigns listed when the scope of this exclusion is + * CAMPAIGN. The maximum number of campaigns per event is 2000. Note: a data exclusion with both + * advertising_channel_types and campaign_ids is not supported. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List campaigns; + + /** + * Output only. The ID of the data exclusion. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long dataExclusionId; + + /** + * The description of the data exclusion. The description can be at most 2048 characters. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String description; + + /** + * If not specified, all devices will be included in this exclusion. Otherwise, only the specified + * targeted devices will be included in this exclusion. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List devices; + + /** + * Required. The exclusive end time of the data exclusion in yyyy-MM-dd HH:mm:ss format. The + * length of [start_date_time, end_date_time) interval must be within (0, 14 days]. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String endDateTime; + + /** + * The name of the data exclusion. The name can be at most 255 characters. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * Immutable. The resource name of the data exclusion. Data exclusion resource names have the + * form: `customers/{customer_id}/biddingDataExclusions/{data_exclusion_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * The scope of the data exclusion. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String scope; + + /** + * Required. The inclusive start time of the data exclusion in yyyy-MM-dd HH:mm:ss format. A data + * exclusion is backward looking and should be used for events that start in the past and end + * either in the past or future. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String startDateTime; + + /** + * Output only. The status of the data exclusion. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String status; + + /** + * The data_exclusion will apply to all the campaigns under the listed channels retroactively as + * well as going forward when the scope of this exclusion is CHANNEL. The supported advertising + * channel types are DISPLAY, SEARCH and SHOPPING. Note: a data exclusion with both + * advertising_channel_types and campaign_ids is not supported. + * @return value or {@code null} for none + */ + public java.util.List getAdvertisingChannelTypes() { + return advertisingChannelTypes; + } + + /** + * The data_exclusion will apply to all the campaigns under the listed channels retroactively as + * well as going forward when the scope of this exclusion is CHANNEL. The supported advertising + * channel types are DISPLAY, SEARCH and SHOPPING. Note: a data exclusion with both + * advertising_channel_types and campaign_ids is not supported. + * @param advertisingChannelTypes advertisingChannelTypes or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBiddingDataExclusion setAdvertisingChannelTypes(java.util.List advertisingChannelTypes) { + this.advertisingChannelTypes = advertisingChannelTypes; + return this; + } + + /** + * The data exclusion will apply to the campaigns listed when the scope of this exclusion is + * CAMPAIGN. The maximum number of campaigns per event is 2000. Note: a data exclusion with both + * advertising_channel_types and campaign_ids is not supported. + * @return value or {@code null} for none + */ + public java.util.List getCampaigns() { + return campaigns; + } + + /** + * The data exclusion will apply to the campaigns listed when the scope of this exclusion is + * CAMPAIGN. The maximum number of campaigns per event is 2000. Note: a data exclusion with both + * advertising_channel_types and campaign_ids is not supported. + * @param campaigns campaigns or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBiddingDataExclusion setCampaigns(java.util.List campaigns) { + this.campaigns = campaigns; + return this; + } + + /** + * Output only. The ID of the data exclusion. + * @return value or {@code null} for none + */ + public java.lang.Long getDataExclusionId() { + return dataExclusionId; + } + + /** + * Output only. The ID of the data exclusion. + * @param dataExclusionId dataExclusionId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBiddingDataExclusion setDataExclusionId(java.lang.Long dataExclusionId) { + this.dataExclusionId = dataExclusionId; + return this; + } + + /** + * The description of the data exclusion. The description can be at most 2048 characters. + * @return value or {@code null} for none + */ + public java.lang.String getDescription() { + return description; + } + + /** + * The description of the data exclusion. The description can be at most 2048 characters. + * @param description description or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBiddingDataExclusion setDescription(java.lang.String description) { + this.description = description; + return this; + } + + /** + * If not specified, all devices will be included in this exclusion. Otherwise, only the specified + * targeted devices will be included in this exclusion. + * @return value or {@code null} for none + */ + public java.util.List getDevices() { + return devices; + } + + /** + * If not specified, all devices will be included in this exclusion. Otherwise, only the specified + * targeted devices will be included in this exclusion. + * @param devices devices or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBiddingDataExclusion setDevices(java.util.List devices) { + this.devices = devices; + return this; + } + + /** + * Required. The exclusive end time of the data exclusion in yyyy-MM-dd HH:mm:ss format. The + * length of [start_date_time, end_date_time) interval must be within (0, 14 days]. + * @return value or {@code null} for none + */ + public java.lang.String getEndDateTime() { + return endDateTime; + } + + /** + * Required. The exclusive end time of the data exclusion in yyyy-MM-dd HH:mm:ss format. The + * length of [start_date_time, end_date_time) interval must be within (0, 14 days]. + * @param endDateTime endDateTime or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBiddingDataExclusion setEndDateTime(java.lang.String endDateTime) { + this.endDateTime = endDateTime; + return this; + } + + /** + * The name of the data exclusion. The name can be at most 255 characters. + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * The name of the data exclusion. The name can be at most 255 characters. + * @param name name or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBiddingDataExclusion setName(java.lang.String name) { + this.name = name; + return this; + } + + /** + * Immutable. The resource name of the data exclusion. Data exclusion resource names have the + * form: `customers/{customer_id}/biddingDataExclusions/{data_exclusion_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Immutable. The resource name of the data exclusion. Data exclusion resource names have the + * form: `customers/{customer_id}/biddingDataExclusions/{data_exclusion_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBiddingDataExclusion setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * The scope of the data exclusion. + * @return value or {@code null} for none + */ + public java.lang.String getScope() { + return scope; + } + + /** + * The scope of the data exclusion. + * @param scope scope or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBiddingDataExclusion setScope(java.lang.String scope) { + this.scope = scope; + return this; + } + + /** + * Required. The inclusive start time of the data exclusion in yyyy-MM-dd HH:mm:ss format. A data + * exclusion is backward looking and should be used for events that start in the past and end + * either in the past or future. + * @return value or {@code null} for none + */ + public java.lang.String getStartDateTime() { + return startDateTime; + } + + /** + * Required. The inclusive start time of the data exclusion in yyyy-MM-dd HH:mm:ss format. A data + * exclusion is backward looking and should be used for events that start in the past and end + * either in the past or future. + * @param startDateTime startDateTime or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBiddingDataExclusion setStartDateTime(java.lang.String startDateTime) { + this.startDateTime = startDateTime; + return this; + } + + /** + * Output only. The status of the data exclusion. + * @return value or {@code null} for none + */ + public java.lang.String getStatus() { + return status; + } + + /** + * Output only. The status of the data exclusion. + * @param status status or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBiddingDataExclusion setStatus(java.lang.String status) { + this.status = status; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesBiddingDataExclusion set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesBiddingDataExclusion) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesBiddingDataExclusion clone() { + return (GoogleAdsSearchads360V23ResourcesBiddingDataExclusion) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesBiddingSeasonalityAdjustment.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesBiddingSeasonalityAdjustment.java new file mode 100644 index 00000000000..5bce55bd961 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesBiddingSeasonalityAdjustment.java @@ -0,0 +1,371 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Represents a bidding seasonality adjustment. Cannot be used in manager accounts. See "About + * seasonality adjustments" at https://support.google.com/google-ads/answer/10369906. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesBiddingSeasonalityAdjustment extends com.google.api.client.json.GenericJson { + + /** + * The seasonality adjustment will apply to all the campaigns under the listed channels + * retroactively as well as going forward when the scope of this adjustment is CHANNEL. The + * supported advertising channel types are DISPLAY, SEARCH and SHOPPING. Note: a seasonality + * adjustment with both advertising_channel_types and campaign_ids is not supported. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List advertisingChannelTypes; + + /** + * The seasonality adjustment will apply to the campaigns listed when the scope of this adjustment + * is CAMPAIGN. The maximum number of campaigns per event is 2000. Note: a seasonality adjustment + * with both advertising_channel_types and campaign_ids is not supported. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List campaigns; + + /** + * Conversion rate modifier estimated based on expected conversion rate changes. When this field + * is unset or set to 1.0 no adjustment will be applied to traffic. The allowed range is 0.1 to + * 10.0. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double conversionRateModifier; + + /** + * The description of the seasonality adjustment. The description can be at most 2048 characters. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String description; + + /** + * If not specified, all devices will be included in this adjustment. Otherwise, only the + * specified targeted devices will be included in this adjustment. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List devices; + + /** + * Required. The exclusive end time of the seasonality adjustment in yyyy-MM-dd HH:mm:ss format. + * The length of [start_date_time, end_date_time) interval must be within (0, 14 days]. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String endDateTime; + + /** + * The name of the seasonality adjustment. The name can be at most 255 characters. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * Immutable. The resource name of the seasonality adjustment. Seasonality adjustment resource + * names have the form: + * `customers/{customer_id}/biddingSeasonalityAdjustments/{seasonality_adjustment_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * The scope of the seasonality adjustment. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String scope; + + /** + * Output only. The ID of the seasonality adjustment. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long seasonalityAdjustmentId; + + /** + * Required. The inclusive start time of the seasonality adjustment in yyyy-MM-dd HH:mm:ss format. + * A seasonality adjustment is forward looking and should be used for events that start and end in + * the future. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String startDateTime; + + /** + * Output only. The status of the seasonality adjustment. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String status; + + /** + * The seasonality adjustment will apply to all the campaigns under the listed channels + * retroactively as well as going forward when the scope of this adjustment is CHANNEL. The + * supported advertising channel types are DISPLAY, SEARCH and SHOPPING. Note: a seasonality + * adjustment with both advertising_channel_types and campaign_ids is not supported. + * @return value or {@code null} for none + */ + public java.util.List getAdvertisingChannelTypes() { + return advertisingChannelTypes; + } + + /** + * The seasonality adjustment will apply to all the campaigns under the listed channels + * retroactively as well as going forward when the scope of this adjustment is CHANNEL. The + * supported advertising channel types are DISPLAY, SEARCH and SHOPPING. Note: a seasonality + * adjustment with both advertising_channel_types and campaign_ids is not supported. + * @param advertisingChannelTypes advertisingChannelTypes or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBiddingSeasonalityAdjustment setAdvertisingChannelTypes(java.util.List advertisingChannelTypes) { + this.advertisingChannelTypes = advertisingChannelTypes; + return this; + } + + /** + * The seasonality adjustment will apply to the campaigns listed when the scope of this adjustment + * is CAMPAIGN. The maximum number of campaigns per event is 2000. Note: a seasonality adjustment + * with both advertising_channel_types and campaign_ids is not supported. + * @return value or {@code null} for none + */ + public java.util.List getCampaigns() { + return campaigns; + } + + /** + * The seasonality adjustment will apply to the campaigns listed when the scope of this adjustment + * is CAMPAIGN. The maximum number of campaigns per event is 2000. Note: a seasonality adjustment + * with both advertising_channel_types and campaign_ids is not supported. + * @param campaigns campaigns or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBiddingSeasonalityAdjustment setCampaigns(java.util.List campaigns) { + this.campaigns = campaigns; + return this; + } + + /** + * Conversion rate modifier estimated based on expected conversion rate changes. When this field + * is unset or set to 1.0 no adjustment will be applied to traffic. The allowed range is 0.1 to + * 10.0. + * @return value or {@code null} for none + */ + public java.lang.Double getConversionRateModifier() { + return conversionRateModifier; + } + + /** + * Conversion rate modifier estimated based on expected conversion rate changes. When this field + * is unset or set to 1.0 no adjustment will be applied to traffic. The allowed range is 0.1 to + * 10.0. + * @param conversionRateModifier conversionRateModifier or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBiddingSeasonalityAdjustment setConversionRateModifier(java.lang.Double conversionRateModifier) { + this.conversionRateModifier = conversionRateModifier; + return this; + } + + /** + * The description of the seasonality adjustment. The description can be at most 2048 characters. + * @return value or {@code null} for none + */ + public java.lang.String getDescription() { + return description; + } + + /** + * The description of the seasonality adjustment. The description can be at most 2048 characters. + * @param description description or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBiddingSeasonalityAdjustment setDescription(java.lang.String description) { + this.description = description; + return this; + } + + /** + * If not specified, all devices will be included in this adjustment. Otherwise, only the + * specified targeted devices will be included in this adjustment. + * @return value or {@code null} for none + */ + public java.util.List getDevices() { + return devices; + } + + /** + * If not specified, all devices will be included in this adjustment. Otherwise, only the + * specified targeted devices will be included in this adjustment. + * @param devices devices or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBiddingSeasonalityAdjustment setDevices(java.util.List devices) { + this.devices = devices; + return this; + } + + /** + * Required. The exclusive end time of the seasonality adjustment in yyyy-MM-dd HH:mm:ss format. + * The length of [start_date_time, end_date_time) interval must be within (0, 14 days]. + * @return value or {@code null} for none + */ + public java.lang.String getEndDateTime() { + return endDateTime; + } + + /** + * Required. The exclusive end time of the seasonality adjustment in yyyy-MM-dd HH:mm:ss format. + * The length of [start_date_time, end_date_time) interval must be within (0, 14 days]. + * @param endDateTime endDateTime or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBiddingSeasonalityAdjustment setEndDateTime(java.lang.String endDateTime) { + this.endDateTime = endDateTime; + return this; + } + + /** + * The name of the seasonality adjustment. The name can be at most 255 characters. + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * The name of the seasonality adjustment. The name can be at most 255 characters. + * @param name name or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBiddingSeasonalityAdjustment setName(java.lang.String name) { + this.name = name; + return this; + } + + /** + * Immutable. The resource name of the seasonality adjustment. Seasonality adjustment resource + * names have the form: + * `customers/{customer_id}/biddingSeasonalityAdjustments/{seasonality_adjustment_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Immutable. The resource name of the seasonality adjustment. Seasonality adjustment resource + * names have the form: + * `customers/{customer_id}/biddingSeasonalityAdjustments/{seasonality_adjustment_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBiddingSeasonalityAdjustment setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * The scope of the seasonality adjustment. + * @return value or {@code null} for none + */ + public java.lang.String getScope() { + return scope; + } + + /** + * The scope of the seasonality adjustment. + * @param scope scope or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBiddingSeasonalityAdjustment setScope(java.lang.String scope) { + this.scope = scope; + return this; + } + + /** + * Output only. The ID of the seasonality adjustment. + * @return value or {@code null} for none + */ + public java.lang.Long getSeasonalityAdjustmentId() { + return seasonalityAdjustmentId; + } + + /** + * Output only. The ID of the seasonality adjustment. + * @param seasonalityAdjustmentId seasonalityAdjustmentId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBiddingSeasonalityAdjustment setSeasonalityAdjustmentId(java.lang.Long seasonalityAdjustmentId) { + this.seasonalityAdjustmentId = seasonalityAdjustmentId; + return this; + } + + /** + * Required. The inclusive start time of the seasonality adjustment in yyyy-MM-dd HH:mm:ss format. + * A seasonality adjustment is forward looking and should be used for events that start and end in + * the future. + * @return value or {@code null} for none + */ + public java.lang.String getStartDateTime() { + return startDateTime; + } + + /** + * Required. The inclusive start time of the seasonality adjustment in yyyy-MM-dd HH:mm:ss format. + * A seasonality adjustment is forward looking and should be used for events that start and end in + * the future. + * @param startDateTime startDateTime or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBiddingSeasonalityAdjustment setStartDateTime(java.lang.String startDateTime) { + this.startDateTime = startDateTime; + return this; + } + + /** + * Output only. The status of the seasonality adjustment. + * @return value or {@code null} for none + */ + public java.lang.String getStatus() { + return status; + } + + /** + * Output only. The status of the seasonality adjustment. + * @param status status or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBiddingSeasonalityAdjustment setStatus(java.lang.String status) { + this.status = status; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesBiddingSeasonalityAdjustment set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesBiddingSeasonalityAdjustment) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesBiddingSeasonalityAdjustment clone() { + return (GoogleAdsSearchads360V23ResourcesBiddingSeasonalityAdjustment) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesBiddingStrategy.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesBiddingStrategy.java new file mode 100644 index 00000000000..117823d329d --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesBiddingStrategy.java @@ -0,0 +1,514 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A bidding strategy. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesBiddingStrategy extends com.google.api.client.json.GenericJson { + + /** + * ID of the campaign budget that this portfolio bidding strategy is aligned with. When a + * portfolio and a campaign budget are aligned, that means that they are attached to the same set + * of campaigns. After a bidding strategy is aligned with a campaign budget, campaigns that are + * added to the bidding strategy must also use the aligned campaign budget. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long alignedCampaignBudgetId; + + /** + * Output only. The number of campaigns attached to this bidding strategy. This field is read- + * only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long campaignCount; + + /** + * Immutable. The currency used by the bidding strategy (ISO 4217 three-letter code). For bidding + * strategies in manager customers, this currency can be set on creation and defaults to the + * manager customer's currency. For serving customers, this field cannot be set; all strategies in + * a serving customer implicitly use the serving customer's currency. In all cases the + * effective_currency_code field returns the currency used by the strategy. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String currencyCode; + + /** + * Output only. The currency used by the bidding strategy (ISO 4217 three-letter code). For + * bidding strategies in manager customers, this is the currency set by the advertiser when + * creating the strategy. For serving customers, this is the customer's currency_code. Bidding + * strategy metrics are reported in this currency. This field is read-only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String effectiveCurrencyCode; + + /** + * A bidding strategy that raises bids for clicks that seem more likely to lead to a conversion + * and lowers them for clicks where they seem less likely. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonEnhancedCpc enhancedCpc; + + /** + * Output only. The ID of the bidding strategy. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long id; + + /** + * An automated bidding strategy to help get the most conversion value for your campaigns while + * spending your budget. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonMaximizeConversionValue maximizeConversionValue; + + /** + * An automated bidding strategy to help get the most conversions for your campaigns while + * spending your budget. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonMaximizeConversions maximizeConversions; + + /** + * The name of the bidding strategy. All bidding strategies within an account must be named + * distinctly. The length of this string should be between 1 and 255, inclusive, in UTF-8 bytes, + * (trimmed). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * Output only. The number of non-removed campaigns attached to this bidding strategy. This field + * is read-only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long nonRemovedCampaignCount; + + /** + * Immutable. The resource name of the bidding strategy. Bidding strategy resource names have the + * form: `customers/{customer_id}/biddingStrategies/{bidding_strategy_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. The status of the bidding strategy. This field is read-only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String status; + + /** + * A bidding strategy that sets bids to help get as many conversions as possible at the target + * cost-per-acquisition (CPA) you set. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonTargetCpa targetCpa; + + /** + * A bidding strategy that automatically optimizes towards a chosen percentage of impressions. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonTargetImpressionShare targetImpressionShare; + + /** + * A bidding strategy that helps you maximize revenue while averaging a specific target Return On + * Ad Spend (ROAS). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonTargetRoas targetRoas; + + /** + * A bid strategy that sets your bids to help get as many clicks as possible within your budget. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonTargetSpend targetSpend; + + /** + * Output only. The type of the bidding strategy. Create a bidding strategy by setting the bidding + * scheme. This field is read-only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String type; + + /** + * ID of the campaign budget that this portfolio bidding strategy is aligned with. When a + * portfolio and a campaign budget are aligned, that means that they are attached to the same set + * of campaigns. After a bidding strategy is aligned with a campaign budget, campaigns that are + * added to the bidding strategy must also use the aligned campaign budget. + * @return value or {@code null} for none + */ + public java.lang.Long getAlignedCampaignBudgetId() { + return alignedCampaignBudgetId; + } + + /** + * ID of the campaign budget that this portfolio bidding strategy is aligned with. When a + * portfolio and a campaign budget are aligned, that means that they are attached to the same set + * of campaigns. After a bidding strategy is aligned with a campaign budget, campaigns that are + * added to the bidding strategy must also use the aligned campaign budget. + * @param alignedCampaignBudgetId alignedCampaignBudgetId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBiddingStrategy setAlignedCampaignBudgetId(java.lang.Long alignedCampaignBudgetId) { + this.alignedCampaignBudgetId = alignedCampaignBudgetId; + return this; + } + + /** + * Output only. The number of campaigns attached to this bidding strategy. This field is read- + * only. + * @return value or {@code null} for none + */ + public java.lang.Long getCampaignCount() { + return campaignCount; + } + + /** + * Output only. The number of campaigns attached to this bidding strategy. This field is read- + * only. + * @param campaignCount campaignCount or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBiddingStrategy setCampaignCount(java.lang.Long campaignCount) { + this.campaignCount = campaignCount; + return this; + } + + /** + * Immutable. The currency used by the bidding strategy (ISO 4217 three-letter code). For bidding + * strategies in manager customers, this currency can be set on creation and defaults to the + * manager customer's currency. For serving customers, this field cannot be set; all strategies in + * a serving customer implicitly use the serving customer's currency. In all cases the + * effective_currency_code field returns the currency used by the strategy. + * @return value or {@code null} for none + */ + public java.lang.String getCurrencyCode() { + return currencyCode; + } + + /** + * Immutable. The currency used by the bidding strategy (ISO 4217 three-letter code). For bidding + * strategies in manager customers, this currency can be set on creation and defaults to the + * manager customer's currency. For serving customers, this field cannot be set; all strategies in + * a serving customer implicitly use the serving customer's currency. In all cases the + * effective_currency_code field returns the currency used by the strategy. + * @param currencyCode currencyCode or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBiddingStrategy setCurrencyCode(java.lang.String currencyCode) { + this.currencyCode = currencyCode; + return this; + } + + /** + * Output only. The currency used by the bidding strategy (ISO 4217 three-letter code). For + * bidding strategies in manager customers, this is the currency set by the advertiser when + * creating the strategy. For serving customers, this is the customer's currency_code. Bidding + * strategy metrics are reported in this currency. This field is read-only. + * @return value or {@code null} for none + */ + public java.lang.String getEffectiveCurrencyCode() { + return effectiveCurrencyCode; + } + + /** + * Output only. The currency used by the bidding strategy (ISO 4217 three-letter code). For + * bidding strategies in manager customers, this is the currency set by the advertiser when + * creating the strategy. For serving customers, this is the customer's currency_code. Bidding + * strategy metrics are reported in this currency. This field is read-only. + * @param effectiveCurrencyCode effectiveCurrencyCode or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBiddingStrategy setEffectiveCurrencyCode(java.lang.String effectiveCurrencyCode) { + this.effectiveCurrencyCode = effectiveCurrencyCode; + return this; + } + + /** + * A bidding strategy that raises bids for clicks that seem more likely to lead to a conversion + * and lowers them for clicks where they seem less likely. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonEnhancedCpc getEnhancedCpc() { + return enhancedCpc; + } + + /** + * A bidding strategy that raises bids for clicks that seem more likely to lead to a conversion + * and lowers them for clicks where they seem less likely. + * @param enhancedCpc enhancedCpc or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBiddingStrategy setEnhancedCpc(GoogleAdsSearchads360V23CommonEnhancedCpc enhancedCpc) { + this.enhancedCpc = enhancedCpc; + return this; + } + + /** + * Output only. The ID of the bidding strategy. + * @return value or {@code null} for none + */ + public java.lang.Long getId() { + return id; + } + + /** + * Output only. The ID of the bidding strategy. + * @param id id or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBiddingStrategy setId(java.lang.Long id) { + this.id = id; + return this; + } + + /** + * An automated bidding strategy to help get the most conversion value for your campaigns while + * spending your budget. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMaximizeConversionValue getMaximizeConversionValue() { + return maximizeConversionValue; + } + + /** + * An automated bidding strategy to help get the most conversion value for your campaigns while + * spending your budget. + * @param maximizeConversionValue maximizeConversionValue or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBiddingStrategy setMaximizeConversionValue(GoogleAdsSearchads360V23CommonMaximizeConversionValue maximizeConversionValue) { + this.maximizeConversionValue = maximizeConversionValue; + return this; + } + + /** + * An automated bidding strategy to help get the most conversions for your campaigns while + * spending your budget. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMaximizeConversions getMaximizeConversions() { + return maximizeConversions; + } + + /** + * An automated bidding strategy to help get the most conversions for your campaigns while + * spending your budget. + * @param maximizeConversions maximizeConversions or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBiddingStrategy setMaximizeConversions(GoogleAdsSearchads360V23CommonMaximizeConversions maximizeConversions) { + this.maximizeConversions = maximizeConversions; + return this; + } + + /** + * The name of the bidding strategy. All bidding strategies within an account must be named + * distinctly. The length of this string should be between 1 and 255, inclusive, in UTF-8 bytes, + * (trimmed). + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * The name of the bidding strategy. All bidding strategies within an account must be named + * distinctly. The length of this string should be between 1 and 255, inclusive, in UTF-8 bytes, + * (trimmed). + * @param name name or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBiddingStrategy setName(java.lang.String name) { + this.name = name; + return this; + } + + /** + * Output only. The number of non-removed campaigns attached to this bidding strategy. This field + * is read-only. + * @return value or {@code null} for none + */ + public java.lang.Long getNonRemovedCampaignCount() { + return nonRemovedCampaignCount; + } + + /** + * Output only. The number of non-removed campaigns attached to this bidding strategy. This field + * is read-only. + * @param nonRemovedCampaignCount nonRemovedCampaignCount or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBiddingStrategy setNonRemovedCampaignCount(java.lang.Long nonRemovedCampaignCount) { + this.nonRemovedCampaignCount = nonRemovedCampaignCount; + return this; + } + + /** + * Immutable. The resource name of the bidding strategy. Bidding strategy resource names have the + * form: `customers/{customer_id}/biddingStrategies/{bidding_strategy_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Immutable. The resource name of the bidding strategy. Bidding strategy resource names have the + * form: `customers/{customer_id}/biddingStrategies/{bidding_strategy_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBiddingStrategy setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Output only. The status of the bidding strategy. This field is read-only. + * @return value or {@code null} for none + */ + public java.lang.String getStatus() { + return status; + } + + /** + * Output only. The status of the bidding strategy. This field is read-only. + * @param status status or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBiddingStrategy setStatus(java.lang.String status) { + this.status = status; + return this; + } + + /** + * A bidding strategy that sets bids to help get as many conversions as possible at the target + * cost-per-acquisition (CPA) you set. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonTargetCpa getTargetCpa() { + return targetCpa; + } + + /** + * A bidding strategy that sets bids to help get as many conversions as possible at the target + * cost-per-acquisition (CPA) you set. + * @param targetCpa targetCpa or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBiddingStrategy setTargetCpa(GoogleAdsSearchads360V23CommonTargetCpa targetCpa) { + this.targetCpa = targetCpa; + return this; + } + + /** + * A bidding strategy that automatically optimizes towards a chosen percentage of impressions. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonTargetImpressionShare getTargetImpressionShare() { + return targetImpressionShare; + } + + /** + * A bidding strategy that automatically optimizes towards a chosen percentage of impressions. + * @param targetImpressionShare targetImpressionShare or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBiddingStrategy setTargetImpressionShare(GoogleAdsSearchads360V23CommonTargetImpressionShare targetImpressionShare) { + this.targetImpressionShare = targetImpressionShare; + return this; + } + + /** + * A bidding strategy that helps you maximize revenue while averaging a specific target Return On + * Ad Spend (ROAS). + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonTargetRoas getTargetRoas() { + return targetRoas; + } + + /** + * A bidding strategy that helps you maximize revenue while averaging a specific target Return On + * Ad Spend (ROAS). + * @param targetRoas targetRoas or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBiddingStrategy setTargetRoas(GoogleAdsSearchads360V23CommonTargetRoas targetRoas) { + this.targetRoas = targetRoas; + return this; + } + + /** + * A bid strategy that sets your bids to help get as many clicks as possible within your budget. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonTargetSpend getTargetSpend() { + return targetSpend; + } + + /** + * A bid strategy that sets your bids to help get as many clicks as possible within your budget. + * @param targetSpend targetSpend or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBiddingStrategy setTargetSpend(GoogleAdsSearchads360V23CommonTargetSpend targetSpend) { + this.targetSpend = targetSpend; + return this; + } + + /** + * Output only. The type of the bidding strategy. Create a bidding strategy by setting the bidding + * scheme. This field is read-only. + * @return value or {@code null} for none + */ + public java.lang.String getType() { + return type; + } + + /** + * Output only. The type of the bidding strategy. Create a bidding strategy by setting the bidding + * scheme. This field is read-only. + * @param type type or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBiddingStrategy setType(java.lang.String type) { + this.type = type; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesBiddingStrategy set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesBiddingStrategy) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesBiddingStrategy clone() { + return (GoogleAdsSearchads360V23ResourcesBiddingStrategy) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesBiddingStrategySimulation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesBiddingStrategySimulation.java new file mode 100644 index 00000000000..4fa98975611 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesBiddingStrategySimulation.java @@ -0,0 +1,243 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A bidding strategy simulation. Supported combinations of simulation type and simulation + * modification method are detailed below respectively. 1. TARGET_CPA - UNIFORM 2. TARGET_ROAS - + * UNIFORM + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesBiddingStrategySimulation extends com.google.api.client.json.GenericJson { + + /** + * Output only. Bidding strategy shared set id of the simulation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long biddingStrategyId; + + /** + * Output only. Last day on which the simulation is based, in YYYY-MM-DD format + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String endDate; + + /** + * Output only. How the simulation modifies the field. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String modificationMethod; + + /** + * Output only. The resource name of the bidding strategy simulation. Bidding strategy simulation + * resource names have the form: `customers/{customer_id}/biddingStrategySimulations/{bidding_stra + * tegy_id}~{type}~{modification_method}~{start_date}~{end_date}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. First day on which the simulation is based, in YYYY-MM-DD format. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String startDate; + + /** + * Output only. Simulation points if the simulation type is TARGET_CPA. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonTargetCpaSimulationPointList targetCpaPointList; + + /** + * Output only. Simulation points if the simulation type is TARGET_ROAS. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonTargetRoasSimulationPointList targetRoasPointList; + + /** + * Output only. The field that the simulation modifies. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String type; + + /** + * Output only. Bidding strategy shared set id of the simulation. + * @return value or {@code null} for none + */ + public java.lang.Long getBiddingStrategyId() { + return biddingStrategyId; + } + + /** + * Output only. Bidding strategy shared set id of the simulation. + * @param biddingStrategyId biddingStrategyId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBiddingStrategySimulation setBiddingStrategyId(java.lang.Long biddingStrategyId) { + this.biddingStrategyId = biddingStrategyId; + return this; + } + + /** + * Output only. Last day on which the simulation is based, in YYYY-MM-DD format + * @return value or {@code null} for none + */ + public java.lang.String getEndDate() { + return endDate; + } + + /** + * Output only. Last day on which the simulation is based, in YYYY-MM-DD format + * @param endDate endDate or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBiddingStrategySimulation setEndDate(java.lang.String endDate) { + this.endDate = endDate; + return this; + } + + /** + * Output only. How the simulation modifies the field. + * @return value or {@code null} for none + */ + public java.lang.String getModificationMethod() { + return modificationMethod; + } + + /** + * Output only. How the simulation modifies the field. + * @param modificationMethod modificationMethod or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBiddingStrategySimulation setModificationMethod(java.lang.String modificationMethod) { + this.modificationMethod = modificationMethod; + return this; + } + + /** + * Output only. The resource name of the bidding strategy simulation. Bidding strategy simulation + * resource names have the form: `customers/{customer_id}/biddingStrategySimulations/{bidding_stra + * tegy_id}~{type}~{modification_method}~{start_date}~{end_date}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Output only. The resource name of the bidding strategy simulation. Bidding strategy simulation + * resource names have the form: `customers/{customer_id}/biddingStrategySimulations/{bidding_stra + * tegy_id}~{type}~{modification_method}~{start_date}~{end_date}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBiddingStrategySimulation setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Output only. First day on which the simulation is based, in YYYY-MM-DD format. + * @return value or {@code null} for none + */ + public java.lang.String getStartDate() { + return startDate; + } + + /** + * Output only. First day on which the simulation is based, in YYYY-MM-DD format. + * @param startDate startDate or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBiddingStrategySimulation setStartDate(java.lang.String startDate) { + this.startDate = startDate; + return this; + } + + /** + * Output only. Simulation points if the simulation type is TARGET_CPA. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonTargetCpaSimulationPointList getTargetCpaPointList() { + return targetCpaPointList; + } + + /** + * Output only. Simulation points if the simulation type is TARGET_CPA. + * @param targetCpaPointList targetCpaPointList or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBiddingStrategySimulation setTargetCpaPointList(GoogleAdsSearchads360V23CommonTargetCpaSimulationPointList targetCpaPointList) { + this.targetCpaPointList = targetCpaPointList; + return this; + } + + /** + * Output only. Simulation points if the simulation type is TARGET_ROAS. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonTargetRoasSimulationPointList getTargetRoasPointList() { + return targetRoasPointList; + } + + /** + * Output only. Simulation points if the simulation type is TARGET_ROAS. + * @param targetRoasPointList targetRoasPointList or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBiddingStrategySimulation setTargetRoasPointList(GoogleAdsSearchads360V23CommonTargetRoasSimulationPointList targetRoasPointList) { + this.targetRoasPointList = targetRoasPointList; + return this; + } + + /** + * Output only. The field that the simulation modifies. + * @return value or {@code null} for none + */ + public java.lang.String getType() { + return type; + } + + /** + * Output only. The field that the simulation modifies. + * @param type type or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBiddingStrategySimulation setType(java.lang.String type) { + this.type = type; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesBiddingStrategySimulation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesBiddingStrategySimulation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesBiddingStrategySimulation clone() { + return (GoogleAdsSearchads360V23ResourcesBiddingStrategySimulation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesBillingSetup.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesBillingSetup.java new file mode 100644 index 00000000000..f8a4b09fd09 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesBillingSetup.java @@ -0,0 +1,284 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A billing setup, which associates a payments account and an advertiser. A billing setup is + * specific to one advertiser. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesBillingSetup extends com.google.api.client.json.GenericJson { + + /** + * Output only. The end date time in yyyy-MM-dd or yyyy-MM-dd HH:mm:ss format. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String endDateTime; + + /** + * Output only. The end time as a type. The only possible value is FOREVER. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String endTimeType; + + /** + * Output only. The ID of the billing setup. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long id; + + /** + * Immutable. The resource name of the payments account associated with this billing setup. + * Payments resource names have the form: + * `customers/{customer_id}/paymentsAccounts/{payments_account_id}` When setting up billing, this + * is used to signup with an existing payments account (and then payments_account_info should not + * be set). When getting a billing setup, this and payments_account_info will be populated. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String paymentsAccount; + + /** + * Immutable. The payments account information associated with this billing setup. When setting up + * billing, this is used to signup with a new payments account (and then payments_account should + * not be set). When getting a billing setup, this and payments_account will be populated. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesBillingSetupPaymentsAccountInfo paymentsAccountInfo; + + /** + * Immutable. The resource name of the billing setup. BillingSetup resource names have the form: + * `customers/{customer_id}/billingSetups/{billing_setup_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Immutable. The start date time in yyyy-MM-dd or yyyy-MM-dd HH:mm:ss format. Only a future time + * is allowed. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String startDateTime; + + /** + * Immutable. The start time as a type. Only NOW is allowed. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String startTimeType; + + /** + * Output only. The status of the billing setup. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String status; + + /** + * Output only. The end date time in yyyy-MM-dd or yyyy-MM-dd HH:mm:ss format. + * @return value or {@code null} for none + */ + public java.lang.String getEndDateTime() { + return endDateTime; + } + + /** + * Output only. The end date time in yyyy-MM-dd or yyyy-MM-dd HH:mm:ss format. + * @param endDateTime endDateTime or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBillingSetup setEndDateTime(java.lang.String endDateTime) { + this.endDateTime = endDateTime; + return this; + } + + /** + * Output only. The end time as a type. The only possible value is FOREVER. + * @return value or {@code null} for none + */ + public java.lang.String getEndTimeType() { + return endTimeType; + } + + /** + * Output only. The end time as a type. The only possible value is FOREVER. + * @param endTimeType endTimeType or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBillingSetup setEndTimeType(java.lang.String endTimeType) { + this.endTimeType = endTimeType; + return this; + } + + /** + * Output only. The ID of the billing setup. + * @return value or {@code null} for none + */ + public java.lang.Long getId() { + return id; + } + + /** + * Output only. The ID of the billing setup. + * @param id id or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBillingSetup setId(java.lang.Long id) { + this.id = id; + return this; + } + + /** + * Immutable. The resource name of the payments account associated with this billing setup. + * Payments resource names have the form: + * `customers/{customer_id}/paymentsAccounts/{payments_account_id}` When setting up billing, this + * is used to signup with an existing payments account (and then payments_account_info should not + * be set). When getting a billing setup, this and payments_account_info will be populated. + * @return value or {@code null} for none + */ + public java.lang.String getPaymentsAccount() { + return paymentsAccount; + } + + /** + * Immutable. The resource name of the payments account associated with this billing setup. + * Payments resource names have the form: + * `customers/{customer_id}/paymentsAccounts/{payments_account_id}` When setting up billing, this + * is used to signup with an existing payments account (and then payments_account_info should not + * be set). When getting a billing setup, this and payments_account_info will be populated. + * @param paymentsAccount paymentsAccount or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBillingSetup setPaymentsAccount(java.lang.String paymentsAccount) { + this.paymentsAccount = paymentsAccount; + return this; + } + + /** + * Immutable. The payments account information associated with this billing setup. When setting up + * billing, this is used to signup with a new payments account (and then payments_account should + * not be set). When getting a billing setup, this and payments_account will be populated. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBillingSetupPaymentsAccountInfo getPaymentsAccountInfo() { + return paymentsAccountInfo; + } + + /** + * Immutable. The payments account information associated with this billing setup. When setting up + * billing, this is used to signup with a new payments account (and then payments_account should + * not be set). When getting a billing setup, this and payments_account will be populated. + * @param paymentsAccountInfo paymentsAccountInfo or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBillingSetup setPaymentsAccountInfo(GoogleAdsSearchads360V23ResourcesBillingSetupPaymentsAccountInfo paymentsAccountInfo) { + this.paymentsAccountInfo = paymentsAccountInfo; + return this; + } + + /** + * Immutable. The resource name of the billing setup. BillingSetup resource names have the form: + * `customers/{customer_id}/billingSetups/{billing_setup_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Immutable. The resource name of the billing setup. BillingSetup resource names have the form: + * `customers/{customer_id}/billingSetups/{billing_setup_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBillingSetup setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Immutable. The start date time in yyyy-MM-dd or yyyy-MM-dd HH:mm:ss format. Only a future time + * is allowed. + * @return value or {@code null} for none + */ + public java.lang.String getStartDateTime() { + return startDateTime; + } + + /** + * Immutable. The start date time in yyyy-MM-dd or yyyy-MM-dd HH:mm:ss format. Only a future time + * is allowed. + * @param startDateTime startDateTime or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBillingSetup setStartDateTime(java.lang.String startDateTime) { + this.startDateTime = startDateTime; + return this; + } + + /** + * Immutable. The start time as a type. Only NOW is allowed. + * @return value or {@code null} for none + */ + public java.lang.String getStartTimeType() { + return startTimeType; + } + + /** + * Immutable. The start time as a type. Only NOW is allowed. + * @param startTimeType startTimeType or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBillingSetup setStartTimeType(java.lang.String startTimeType) { + this.startTimeType = startTimeType; + return this; + } + + /** + * Output only. The status of the billing setup. + * @return value or {@code null} for none + */ + public java.lang.String getStatus() { + return status; + } + + /** + * Output only. The status of the billing setup. + * @param status status or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBillingSetup setStatus(java.lang.String status) { + this.status = status; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesBillingSetup set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesBillingSetup) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesBillingSetup clone() { + return (GoogleAdsSearchads360V23ResourcesBillingSetup) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesBillingSetupPaymentsAccountInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesBillingSetupPaymentsAccountInfo.java new file mode 100644 index 00000000000..611a34736fa --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesBillingSetupPaymentsAccountInfo.java @@ -0,0 +1,178 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Container of payments account information for this billing. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesBillingSetupPaymentsAccountInfo extends com.google.api.client.json.GenericJson { + + /** + * Output only. A 16 digit id used to identify the payments account associated with the billing + * setup. This must be passed as a string with dashes, for example, "1234-5678-9012-3456". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String paymentsAccountId; + + /** + * Immutable. The name of the payments account associated with the billing setup. This enables the + * user to specify a meaningful name for a payments account to aid in reconciling monthly + * invoices. This name will be printed in the monthly invoices. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String paymentsAccountName; + + /** + * Immutable. A 12 digit id used to identify the payments profile associated with the billing + * setup. This must be passed in as a string with dashes, for example, "1234-5678-9012". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String paymentsProfileId; + + /** + * Output only. The name of the payments profile associated with the billing setup. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String paymentsProfileName; + + /** + * Output only. A secondary payments profile id present in uncommon situations, for example, when + * a sequential liability agreement has been arranged. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String secondaryPaymentsProfileId; + + /** + * Output only. A 16 digit id used to identify the payments account associated with the billing + * setup. This must be passed as a string with dashes, for example, "1234-5678-9012-3456". + * @return value or {@code null} for none + */ + public java.lang.String getPaymentsAccountId() { + return paymentsAccountId; + } + + /** + * Output only. A 16 digit id used to identify the payments account associated with the billing + * setup. This must be passed as a string with dashes, for example, "1234-5678-9012-3456". + * @param paymentsAccountId paymentsAccountId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBillingSetupPaymentsAccountInfo setPaymentsAccountId(java.lang.String paymentsAccountId) { + this.paymentsAccountId = paymentsAccountId; + return this; + } + + /** + * Immutable. The name of the payments account associated with the billing setup. This enables the + * user to specify a meaningful name for a payments account to aid in reconciling monthly + * invoices. This name will be printed in the monthly invoices. + * @return value or {@code null} for none + */ + public java.lang.String getPaymentsAccountName() { + return paymentsAccountName; + } + + /** + * Immutable. The name of the payments account associated with the billing setup. This enables the + * user to specify a meaningful name for a payments account to aid in reconciling monthly + * invoices. This name will be printed in the monthly invoices. + * @param paymentsAccountName paymentsAccountName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBillingSetupPaymentsAccountInfo setPaymentsAccountName(java.lang.String paymentsAccountName) { + this.paymentsAccountName = paymentsAccountName; + return this; + } + + /** + * Immutable. A 12 digit id used to identify the payments profile associated with the billing + * setup. This must be passed in as a string with dashes, for example, "1234-5678-9012". + * @return value or {@code null} for none + */ + public java.lang.String getPaymentsProfileId() { + return paymentsProfileId; + } + + /** + * Immutable. A 12 digit id used to identify the payments profile associated with the billing + * setup. This must be passed in as a string with dashes, for example, "1234-5678-9012". + * @param paymentsProfileId paymentsProfileId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBillingSetupPaymentsAccountInfo setPaymentsProfileId(java.lang.String paymentsProfileId) { + this.paymentsProfileId = paymentsProfileId; + return this; + } + + /** + * Output only. The name of the payments profile associated with the billing setup. + * @return value or {@code null} for none + */ + public java.lang.String getPaymentsProfileName() { + return paymentsProfileName; + } + + /** + * Output only. The name of the payments profile associated with the billing setup. + * @param paymentsProfileName paymentsProfileName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBillingSetupPaymentsAccountInfo setPaymentsProfileName(java.lang.String paymentsProfileName) { + this.paymentsProfileName = paymentsProfileName; + return this; + } + + /** + * Output only. A secondary payments profile id present in uncommon situations, for example, when + * a sequential liability agreement has been arranged. + * @return value or {@code null} for none + */ + public java.lang.String getSecondaryPaymentsProfileId() { + return secondaryPaymentsProfileId; + } + + /** + * Output only. A secondary payments profile id present in uncommon situations, for example, when + * a sequential liability agreement has been arranged. + * @param secondaryPaymentsProfileId secondaryPaymentsProfileId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBillingSetupPaymentsAccountInfo setSecondaryPaymentsProfileId(java.lang.String secondaryPaymentsProfileId) { + this.secondaryPaymentsProfileId = secondaryPaymentsProfileId; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesBillingSetupPaymentsAccountInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesBillingSetupPaymentsAccountInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesBillingSetupPaymentsAccountInfo clone() { + return (GoogleAdsSearchads360V23ResourcesBillingSetupPaymentsAccountInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesBusinessRegistrationCheckVerificationArtifact.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesBusinessRegistrationCheckVerificationArtifact.java new file mode 100644 index 00000000000..e08a739ff13 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesBusinessRegistrationCheckVerificationArtifact.java @@ -0,0 +1,163 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * specific to a local services business registration check. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesBusinessRegistrationCheckVerificationArtifact extends com.google.api.client.json.GenericJson { + + /** + * Output only. The id of the check, such as vat_tax_id, representing "VAT Tax ID" requirement. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String checkId; + + /** + * Output only. Message storing document info for the business. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesBusinessRegistrationDocument registrationDocument; + + /** + * Output only. Message storing government issued number for the business. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesBusinessRegistrationNumber registrationNumber; + + /** + * Output only. The type of business registration check (number, document). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String registrationType; + + /** + * Output only. Registration document rejection reason. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String rejectionReason; + + /** + * Output only. The id of the check, such as vat_tax_id, representing "VAT Tax ID" requirement. + * @return value or {@code null} for none + */ + public java.lang.String getCheckId() { + return checkId; + } + + /** + * Output only. The id of the check, such as vat_tax_id, representing "VAT Tax ID" requirement. + * @param checkId checkId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBusinessRegistrationCheckVerificationArtifact setCheckId(java.lang.String checkId) { + this.checkId = checkId; + return this; + } + + /** + * Output only. Message storing document info for the business. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBusinessRegistrationDocument getRegistrationDocument() { + return registrationDocument; + } + + /** + * Output only. Message storing document info for the business. + * @param registrationDocument registrationDocument or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBusinessRegistrationCheckVerificationArtifact setRegistrationDocument(GoogleAdsSearchads360V23ResourcesBusinessRegistrationDocument registrationDocument) { + this.registrationDocument = registrationDocument; + return this; + } + + /** + * Output only. Message storing government issued number for the business. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBusinessRegistrationNumber getRegistrationNumber() { + return registrationNumber; + } + + /** + * Output only. Message storing government issued number for the business. + * @param registrationNumber registrationNumber or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBusinessRegistrationCheckVerificationArtifact setRegistrationNumber(GoogleAdsSearchads360V23ResourcesBusinessRegistrationNumber registrationNumber) { + this.registrationNumber = registrationNumber; + return this; + } + + /** + * Output only. The type of business registration check (number, document). + * @return value or {@code null} for none + */ + public java.lang.String getRegistrationType() { + return registrationType; + } + + /** + * Output only. The type of business registration check (number, document). + * @param registrationType registrationType or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBusinessRegistrationCheckVerificationArtifact setRegistrationType(java.lang.String registrationType) { + this.registrationType = registrationType; + return this; + } + + /** + * Output only. Registration document rejection reason. + * @return value or {@code null} for none + */ + public java.lang.String getRejectionReason() { + return rejectionReason; + } + + /** + * Output only. Registration document rejection reason. + * @param rejectionReason rejectionReason or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBusinessRegistrationCheckVerificationArtifact setRejectionReason(java.lang.String rejectionReason) { + this.rejectionReason = rejectionReason; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesBusinessRegistrationCheckVerificationArtifact set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesBusinessRegistrationCheckVerificationArtifact) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesBusinessRegistrationCheckVerificationArtifact clone() { + return (GoogleAdsSearchads360V23ResourcesBusinessRegistrationCheckVerificationArtifact) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesBusinessRegistrationDocument.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesBusinessRegistrationDocument.java new file mode 100644 index 00000000000..085c22abe10 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesBusinessRegistrationDocument.java @@ -0,0 +1,70 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * specific to a local services business registration document. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesBusinessRegistrationDocument extends com.google.api.client.json.GenericJson { + + /** + * Output only. The readonly field containing the information for an uploaded business + * registration document. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonLocalServicesDocumentReadOnly documentReadonly; + + /** + * Output only. The readonly field containing the information for an uploaded business + * registration document. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLocalServicesDocumentReadOnly getDocumentReadonly() { + return documentReadonly; + } + + /** + * Output only. The readonly field containing the information for an uploaded business + * registration document. + * @param documentReadonly documentReadonly or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBusinessRegistrationDocument setDocumentReadonly(GoogleAdsSearchads360V23CommonLocalServicesDocumentReadOnly documentReadonly) { + this.documentReadonly = documentReadonly; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesBusinessRegistrationDocument set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesBusinessRegistrationDocument) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesBusinessRegistrationDocument clone() { + return (GoogleAdsSearchads360V23ResourcesBusinessRegistrationDocument) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesBusinessRegistrationNumber.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesBusinessRegistrationNumber.java new file mode 100644 index 00000000000..6f2bfe3b84e --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesBusinessRegistrationNumber.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * specific to a local services business registration number. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesBusinessRegistrationNumber extends com.google.api.client.json.GenericJson { + + /** + * Output only. Government-issued number for the business. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String number; + + /** + * Output only. Government-issued number for the business. + * @return value or {@code null} for none + */ + public java.lang.String getNumber() { + return number; + } + + /** + * Output only. Government-issued number for the business. + * @param number number or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBusinessRegistrationNumber setNumber(java.lang.String number) { + this.number = number; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesBusinessRegistrationNumber set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesBusinessRegistrationNumber) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesBusinessRegistrationNumber clone() { + return (GoogleAdsSearchads360V23ResourcesBusinessRegistrationNumber) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCallReportingSetting.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCallReportingSetting.java new file mode 100644 index 00000000000..c7dec157f76 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCallReportingSetting.java @@ -0,0 +1,121 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Call reporting setting for a customer. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesCallReportingSetting extends com.google.api.client.json.GenericJson { + + /** + * Customer-level call conversion action to attribute a call conversion to. If not set a default + * conversion action is used. Only in effect when call_conversion_reporting_enabled is set to + * true. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String callConversionAction; + + /** + * Whether to enable call conversion reporting. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean callConversionReportingEnabled; + + /** + * Enable reporting of phone call events by redirecting them through Google System. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean callReportingEnabled; + + /** + * Customer-level call conversion action to attribute a call conversion to. If not set a default + * conversion action is used. Only in effect when call_conversion_reporting_enabled is set to + * true. + * @return value or {@code null} for none + */ + public java.lang.String getCallConversionAction() { + return callConversionAction; + } + + /** + * Customer-level call conversion action to attribute a call conversion to. If not set a default + * conversion action is used. Only in effect when call_conversion_reporting_enabled is set to + * true. + * @param callConversionAction callConversionAction or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCallReportingSetting setCallConversionAction(java.lang.String callConversionAction) { + this.callConversionAction = callConversionAction; + return this; + } + + /** + * Whether to enable call conversion reporting. + * @return value or {@code null} for none + */ + public java.lang.Boolean getCallConversionReportingEnabled() { + return callConversionReportingEnabled; + } + + /** + * Whether to enable call conversion reporting. + * @param callConversionReportingEnabled callConversionReportingEnabled or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCallReportingSetting setCallConversionReportingEnabled(java.lang.Boolean callConversionReportingEnabled) { + this.callConversionReportingEnabled = callConversionReportingEnabled; + return this; + } + + /** + * Enable reporting of phone call events by redirecting them through Google System. + * @return value or {@code null} for none + */ + public java.lang.Boolean getCallReportingEnabled() { + return callReportingEnabled; + } + + /** + * Enable reporting of phone call events by redirecting them through Google System. + * @param callReportingEnabled callReportingEnabled or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCallReportingSetting setCallReportingEnabled(java.lang.Boolean callReportingEnabled) { + this.callReportingEnabled = callReportingEnabled; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesCallReportingSetting set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesCallReportingSetting) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesCallReportingSetting clone() { + return (GoogleAdsSearchads360V23ResourcesCallReportingSetting) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCallView.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCallView.java new file mode 100644 index 00000000000..38b100353f0 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCallView.java @@ -0,0 +1,262 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A call view that includes data for call tracking of call-only ads or call extensions. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesCallView extends com.google.api.client.json.GenericJson { + + /** + * Output only. The advertiser-provided call duration in seconds. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long callDurationSeconds; + + /** + * Output only. The status of the call. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String callStatus; + + /** + * Output only. The call tracking display location. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String callTrackingDisplayLocation; + + /** + * Output only. Area code of the caller. Null if the call duration is shorter than 15 seconds. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String callerAreaCode; + + /** + * Output only. code of the caller. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String callerCountryCode; + + /** + * Output only. The advertiser-provided call end date time. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String endCallDateTime; + + /** + * Output only. The resource name of the call view. Call view resource names have the form: + * `customers/{customer_id}/callViews/{call_detail_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. The advertiser-provided call start date time. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String startCallDateTime; + + /** + * Output only. The type of the call. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String type; + + /** + * Output only. The advertiser-provided call duration in seconds. + * @return value or {@code null} for none + */ + public java.lang.Long getCallDurationSeconds() { + return callDurationSeconds; + } + + /** + * Output only. The advertiser-provided call duration in seconds. + * @param callDurationSeconds callDurationSeconds or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCallView setCallDurationSeconds(java.lang.Long callDurationSeconds) { + this.callDurationSeconds = callDurationSeconds; + return this; + } + + /** + * Output only. The status of the call. + * @return value or {@code null} for none + */ + public java.lang.String getCallStatus() { + return callStatus; + } + + /** + * Output only. The status of the call. + * @param callStatus callStatus or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCallView setCallStatus(java.lang.String callStatus) { + this.callStatus = callStatus; + return this; + } + + /** + * Output only. The call tracking display location. + * @return value or {@code null} for none + */ + public java.lang.String getCallTrackingDisplayLocation() { + return callTrackingDisplayLocation; + } + + /** + * Output only. The call tracking display location. + * @param callTrackingDisplayLocation callTrackingDisplayLocation or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCallView setCallTrackingDisplayLocation(java.lang.String callTrackingDisplayLocation) { + this.callTrackingDisplayLocation = callTrackingDisplayLocation; + return this; + } + + /** + * Output only. Area code of the caller. Null if the call duration is shorter than 15 seconds. + * @return value or {@code null} for none + */ + public java.lang.String getCallerAreaCode() { + return callerAreaCode; + } + + /** + * Output only. Area code of the caller. Null if the call duration is shorter than 15 seconds. + * @param callerAreaCode callerAreaCode or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCallView setCallerAreaCode(java.lang.String callerAreaCode) { + this.callerAreaCode = callerAreaCode; + return this; + } + + /** + * Output only. code of the caller. + * @return value or {@code null} for none + */ + public java.lang.String getCallerCountryCode() { + return callerCountryCode; + } + + /** + * Output only. code of the caller. + * @param callerCountryCode callerCountryCode or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCallView setCallerCountryCode(java.lang.String callerCountryCode) { + this.callerCountryCode = callerCountryCode; + return this; + } + + /** + * Output only. The advertiser-provided call end date time. + * @return value or {@code null} for none + */ + public java.lang.String getEndCallDateTime() { + return endCallDateTime; + } + + /** + * Output only. The advertiser-provided call end date time. + * @param endCallDateTime endCallDateTime or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCallView setEndCallDateTime(java.lang.String endCallDateTime) { + this.endCallDateTime = endCallDateTime; + return this; + } + + /** + * Output only. The resource name of the call view. Call view resource names have the form: + * `customers/{customer_id}/callViews/{call_detail_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Output only. The resource name of the call view. Call view resource names have the form: + * `customers/{customer_id}/callViews/{call_detail_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCallView setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Output only. The advertiser-provided call start date time. + * @return value or {@code null} for none + */ + public java.lang.String getStartCallDateTime() { + return startCallDateTime; + } + + /** + * Output only. The advertiser-provided call start date time. + * @param startCallDateTime startCallDateTime or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCallView setStartCallDateTime(java.lang.String startCallDateTime) { + this.startCallDateTime = startCallDateTime; + return this; + } + + /** + * Output only. The type of the call. + * @return value or {@code null} for none + */ + public java.lang.String getType() { + return type; + } + + /** + * Output only. The type of the call. + * @param type type or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCallView setType(java.lang.String type) { + this.type = type; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesCallView set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesCallView) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesCallView clone() { + return (GoogleAdsSearchads360V23ResourcesCallView) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaign.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaign.java new file mode 100644 index 00000000000..9a45ef1fbbe --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaign.java @@ -0,0 +1,2137 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A campaign. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesCampaign extends com.google.api.client.json.GenericJson { + + /** + * Output only. Resource name of AccessibleBiddingStrategy, a read-only view of the unrestricted + * attributes of the attached portfolio bidding strategy identified by 'bidding_strategy'. Empty, + * if the campaign does not use a portfolio strategy. Unrestricted strategy attributes are + * available to all customers with whom the strategy is shared and are read from the + * AccessibleBiddingStrategy resource. In contrast, restricted attributes are only available to + * the owner customer of the strategy and their managers. Restricted attributes can only be read + * from the BiddingStrategy resource. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String accessibleBiddingStrategy; + + /** + * The ad serving optimization status of the campaign. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String adServingOptimizationStatus; + + /** + * Immutable. Optional refinement to `advertising_channel_type`. Must be a valid sub-type of the + * parent channel type. Can be set only when creating campaigns. After campaign is created, the + * field can not be changed. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String advertisingChannelSubType; + + /** + * Immutable. The primary serving target for ads within the campaign. The targeting options can be + * refined in `network_settings`. This field is required and should not be empty when creating new + * campaigns. Can be set only when creating campaigns. After the campaign is created, the field + * can not be changed. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String advertisingChannelType; + + /** + * Settings for AI Max in search campaigns. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCampaignAiMaxSetting aiMaxSetting; + + /** + * The setting related to App Campaign. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCampaignAppCampaignSetting appCampaignSetting; + + /** + * Contains the opt-in/out status of each AssetAutomationType. See documentation of each asset + * automation type enum for default opt in/out behavior. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List assetAutomationSettings; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ResourcesCampaignAssetAutomationSetting used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ResourcesCampaignAssetAutomationSetting.class); + } + + /** + * Immutable. Setting for audience related features. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCampaignAudienceSetting audienceSetting; + + /** + * Output only. The resource name of the base campaign of a draft or experiment campaign. For base + * campaigns, this is equal to `resource_name`. This field is read-only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String baseCampaign; + + /** + * The resource name of the portfolio bidding strategy used by the campaign. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String biddingStrategy; + + /** + * Output only. The system status of the campaign's bidding strategy. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String biddingStrategySystemStatus; + + /** + * Output only. The type of bidding strategy. A bidding strategy can be created by setting either + * the bidding scheme to create a standard bidding strategy or the `bidding_strategy` field to + * create a portfolio bidding strategy. This field is read-only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String biddingStrategyType; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCampaignBrandGuidelines brandGuidelines; + + /** + * Immutable. Whether Brand Guidelines are enabled for this Campaign. Only applicable to + * Performance Max campaigns. If enabled, business name and logo assets must be linked as + * CampaignAssets instead of AssetGroupAssets. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean brandGuidelinesEnabled; + + /** + * The resource name of the campaign budget of the campaign. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String campaignBudget; + + /** + * The resource name of the campaign group that this campaign belongs to. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String campaignGroup; + + /** + * Commission is an automatic bidding strategy in which the advertiser pays a certain portion of + * the conversion value. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonCommission commission; + + /** + * The advertiser should self-declare whether this campaign contains political advertising content + * targeted towards the European Union. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String containsEuPoliticalAdvertising; + + /** + * Settings for Demand Gen campaign. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCampaignDemandGenCampaignSettings demandGenCampaignSettings; + + /** + * The setting for controlling Dynamic Search Ads (DSA). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCampaignDynamicSearchAdsSetting dynamicSearchAdsSetting; + + /** + * Output only. The resource names of effective labels attached to this campaign. An effective + * label is a label inherited or directly assigned to this campaign. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List effectiveLabels; + + /** + * The last day and time of the campaign in serving customer's timezone in "yyyy-MM-dd HH:mm:ss" + * format. Set the time component to 23:59:59 for daily granularity, time granularity is only + * supported for some campaign types. On create, defaults to running indefinitely. To set an + * existing campaign to run indefinitely, clear this field. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String endDateTime; + + /** + * Output only. ID of the campaign in the external engine account. This field is for non-Google + * Ads account only, for example, Yahoo Japan, Microsoft, Baidu etc. For Google Ads entity, use + * "campaign.id" instead. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String engineId; + + /** + * The asset field types that should be excluded from this campaign. Asset links with these field + * types will not be inherited by this campaign from the upper level. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List excludedParentAssetFieldTypes; + + /** + * The asset set types that should be excluded from this campaign. Asset set links with these + * types will not be inherited by this campaign from the upper level. Location group types + * (GMB_DYNAMIC_LOCATION_GROUP, CHAIN_DYNAMIC_LOCATION_GROUP, and STATIC_LOCATION_GROUP) are child + * types of LOCATION_SYNC. Therefore, if LOCATION_SYNC is set for this field, all location group + * asset sets are not allowed to be linked to this campaign, and all Location Extension (LE) and + * Affiliate Location Extensions (ALE) will not be served under this campaign. Only LOCATION_SYNC + * is currently supported. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List excludedParentAssetSetTypes; + + /** + * Output only. The type of campaign: normal, draft, or experiment. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String experimentType; + + /** + * Output only. Types of feeds that are attached directly to this campaign. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List feedTypes; + + /** + * Suffix used to append query parameters to landing pages that are served with parallel tracking. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String finalUrlSuffix; + + /** + * A list that limits how often each user will see this campaign's ads. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List frequencyCaps; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonFrequencyCapEntry used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonFrequencyCapEntry.class); + } + + /** + * The setting for ads geotargeting. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCampaignGeoTargetTypeSetting geoTargetTypeSetting; + + /** + * Immutable. The resource name for a set of hotel properties for Performance Max for travel goals + * campaigns. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String hotelPropertyAssetSet; + + /** + * Output only. The hotel setting for the campaign. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCampaignHotelSettingInfo hotelSetting; + + /** + * Output only. The ID of the campaign. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long id; + + /** + * Keyword match type of Campaign. Set to BROAD to set broad matching for all keywords in a + * campaign. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String keywordMatchType; + + /** + * Output only. The resource names of labels attached to this campaign. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List labels; + + /** + * Output only. The datetime when this campaign was last modified. The datetime is in the + * customer's time zone and in "yyyy-MM-dd HH:mm:ss.ssssss" format. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String lastModifiedTime; + + /** + * Immutable. Listing type of ads served for this campaign. Field is restricted for usage with + * Performance Max campaigns. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String listingType; + + /** + * The setting for local campaign. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCampaignLocalCampaignSetting localCampaignSetting; + + /** + * The Local Services Campaign related settings. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCampaignLocalServicesCampaignSettings localServicesCampaignSettings; + + /** + * Standard Manual CPA bidding strategy. Manual bidding strategy that allows advertiser to set the + * bid per advertiser-specified action. Supported only for Local Services campaigns. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonManualCpa manualCpa; + + /** + * Standard Manual CPC bidding strategy. Manual click-based bidding where user pays per click. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonManualCpc manualCpc; + + /** + * Standard Manual CPM bidding strategy. Manual impression-based bidding where user pays per + * thousand impressions. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonManualCpm manualCpm; + + /** + * A bidding strategy that pays a configurable amount per video view. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonManualCpv manualCpv; + + /** + * Standard Maximize Conversion Value bidding strategy that automatically sets bids to maximize + * revenue while spending your budget. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonMaximizeConversionValue maximizeConversionValue; + + /** + * Standard Maximize Conversions bidding strategy that automatically maximizes number of + * conversions while spending your budget. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonMaximizeConversions maximizeConversions; + + /** + * Output only. Indicates whether this campaign is missing a declaration about whether it contains + * political advertising targeted towards the EU and is ineligible for any exemptions. If this + * field is true, use the contains_eu_political_advertising field to add the required declaration. + * This field is read-only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean missingEuPoliticalAdvertisingDeclaration; + + /** + * The name of the campaign. This field is required and should not be empty when creating new + * campaigns. It must not contain any null (code point 0x0), NL line feed (code point 0xA) or + * carriage return (code point 0xD) characters. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * The network settings for the campaign. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCampaignNetworkSettings networkSettings; + + /** + * Optimization goal setting for this campaign, which includes a set of optimization goal types. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCampaignOptimizationGoalSetting optimizationGoalSetting; + + /** + * Output only. Optimization score of the campaign. Optimization score is an estimate of how well + * a campaign is set to perform. It ranges from 0% (0.0) to 100% (1.0), with 100% indicating that + * the campaign is performing at full potential. This field is null for unscored campaigns. See + * "About optimization score" at https://support.google.com/google-ads/answer/9061546. This field + * is read-only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double optimizationScore; + + /** + * Payment mode for the campaign. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String paymentMode; + + /** + * Standard Percent Cpc bidding strategy where bids are a fraction of the advertised price for + * some good or service. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonPercentCpc percentCpc; + + /** + * Output only. Information about campaigns being upgraded to Performance Max. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCampaignPerformanceMaxUpgrade performanceMaxUpgrade; + + /** + * Settings for Performance Max campaign. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCampaignPmaxCampaignSettings pmaxCampaignSettings; + + /** + * Output only. The primary status of the campaign. Provides insight into why a campaign is not + * serving or not serving optimally. Modification to the campaign and its related entities might + * take a while to be reflected in this status. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String primaryStatus; + + /** + * Output only. The primary status reasons of the campaign. Provides insight into why a campaign + * is not serving or not serving optimally. These reasons are aggregated to determine an overall + * CampaignPrimaryStatus. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List primaryStatusReasons; + + /** + * Settings for Real-Time Bidding, a feature only available for campaigns targeting the Ad + * Exchange network. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonRealTimeBiddingSetting realTimeBiddingSetting; + + /** + * Immutable. The resource name of the campaign. Campaign resource names have the form: + * `customers/{customer_id}/campaigns/{campaign_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Selective optimization setting for this campaign, which includes a set of conversion actions to + * optimize this campaign towards. This feature only applies to app campaigns that use + * MULTI_CHANNEL as AdvertisingChannelType and APP_CAMPAIGN or APP_CAMPAIGN_FOR_ENGAGEMENT as + * AdvertisingChannelSubType. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCampaignSelectiveOptimization selectiveOptimization; + + /** + * Selective optimization mode for this campaign. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String selectiveOptimizationMode; + + /** + * Output only. The ad serving status of the campaign. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String servingStatus; + + /** + * The setting for controlling Shopping campaigns. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCampaignShoppingSetting shoppingSetting; + + /** + * The date and time when campaign started in serving. The timestamp is in the customer's time + * zone and in "yyyy-MM-dd HH:mm:ss" format. Set the time component to 00:00:00 for daily + * granularity, time granularity is only supported for some campaign types. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String startDateTime; + + /** + * The status of the campaign. When a new campaign is added, the status defaults to ENABLED. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String status; + + /** + * Standard Target CPA bidding strategy that automatically sets bids to help get as many + * conversions as possible at the target cost-per-acquisition (CPA) you set. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonTargetCpa targetCpa; + + /** + * An automated bidding strategy that sets bids to help get as many clicks as possible at the + * target cost-per-click (CPC) you set. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonTargetCpc targetCpc; + + /** + * A bidding strategy that automatically optimizes cost per thousand impressions. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonTargetCpm targetCpm; + + /** + * Target Impression Share bidding strategy. An automated bidding strategy that sets bids to + * achieve a chosen percentage of impressions. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonTargetImpressionShare targetImpressionShare; + + /** + * Standard Target ROAS bidding strategy that automatically maximizes revenue while averaging a + * specific target return on ad spend (ROAS). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonTargetRoas targetRoas; + + /** + * Standard Target Spend bidding strategy that automatically sets your bids to help get as many + * clicks as possible within your budget. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonTargetSpend targetSpend; + + /** + * Setting for targeting related features. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonTargetingSetting targetingSetting; + + /** + * Third-Party integration partners. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonCampaignThirdPartyIntegrationPartners thirdPartyIntegrationPartners; + + /** + * Output only. Campaign-level settings for tracking information. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCampaignTrackingSetting trackingSetting; + + /** + * The URL template for constructing a tracking URL. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String trackingUrlTemplate; + + /** + * Settings for Travel campaign. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCampaignTravelCampaignSettings travelCampaignSettings; + + /** + * The list of mappings used to substitute custom parameter tags in a `tracking_url_template`, + * `final_urls`, or `mobile_final_urls`. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List urlCustomParameters; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonCustomParameter used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonCustomParameter.class); + } + + /** + * Describes how unbranded pharma ads will be displayed. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCampaignVanityPharma vanityPharma; + + /** + * Brand Safety setting at the individual campaign level. Allows for selecting an inventory type + * to show your ads on content that is the right fit for your brand. See + * https://support.google.com/google-ads/answer/7515513. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String videoBrandSafetySuitability; + + /** + * Output only. Resource name of AccessibleBiddingStrategy, a read-only view of the unrestricted + * attributes of the attached portfolio bidding strategy identified by 'bidding_strategy'. Empty, + * if the campaign does not use a portfolio strategy. Unrestricted strategy attributes are + * available to all customers with whom the strategy is shared and are read from the + * AccessibleBiddingStrategy resource. In contrast, restricted attributes are only available to + * the owner customer of the strategy and their managers. Restricted attributes can only be read + * from the BiddingStrategy resource. + * @return value or {@code null} for none + */ + public java.lang.String getAccessibleBiddingStrategy() { + return accessibleBiddingStrategy; + } + + /** + * Output only. Resource name of AccessibleBiddingStrategy, a read-only view of the unrestricted + * attributes of the attached portfolio bidding strategy identified by 'bidding_strategy'. Empty, + * if the campaign does not use a portfolio strategy. Unrestricted strategy attributes are + * available to all customers with whom the strategy is shared and are read from the + * AccessibleBiddingStrategy resource. In contrast, restricted attributes are only available to + * the owner customer of the strategy and their managers. Restricted attributes can only be read + * from the BiddingStrategy resource. + * @param accessibleBiddingStrategy accessibleBiddingStrategy or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaign setAccessibleBiddingStrategy(java.lang.String accessibleBiddingStrategy) { + this.accessibleBiddingStrategy = accessibleBiddingStrategy; + return this; + } + + /** + * The ad serving optimization status of the campaign. + * @return value or {@code null} for none + */ + public java.lang.String getAdServingOptimizationStatus() { + return adServingOptimizationStatus; + } + + /** + * The ad serving optimization status of the campaign. + * @param adServingOptimizationStatus adServingOptimizationStatus or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaign setAdServingOptimizationStatus(java.lang.String adServingOptimizationStatus) { + this.adServingOptimizationStatus = adServingOptimizationStatus; + return this; + } + + /** + * Immutable. Optional refinement to `advertising_channel_type`. Must be a valid sub-type of the + * parent channel type. Can be set only when creating campaigns. After campaign is created, the + * field can not be changed. + * @return value or {@code null} for none + */ + public java.lang.String getAdvertisingChannelSubType() { + return advertisingChannelSubType; + } + + /** + * Immutable. Optional refinement to `advertising_channel_type`. Must be a valid sub-type of the + * parent channel type. Can be set only when creating campaigns. After campaign is created, the + * field can not be changed. + * @param advertisingChannelSubType advertisingChannelSubType or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaign setAdvertisingChannelSubType(java.lang.String advertisingChannelSubType) { + this.advertisingChannelSubType = advertisingChannelSubType; + return this; + } + + /** + * Immutable. The primary serving target for ads within the campaign. The targeting options can be + * refined in `network_settings`. This field is required and should not be empty when creating new + * campaigns. Can be set only when creating campaigns. After the campaign is created, the field + * can not be changed. + * @return value or {@code null} for none + */ + public java.lang.String getAdvertisingChannelType() { + return advertisingChannelType; + } + + /** + * Immutable. The primary serving target for ads within the campaign. The targeting options can be + * refined in `network_settings`. This field is required and should not be empty when creating new + * campaigns. Can be set only when creating campaigns. After the campaign is created, the field + * can not be changed. + * @param advertisingChannelType advertisingChannelType or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaign setAdvertisingChannelType(java.lang.String advertisingChannelType) { + this.advertisingChannelType = advertisingChannelType; + return this; + } + + /** + * Settings for AI Max in search campaigns. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignAiMaxSetting getAiMaxSetting() { + return aiMaxSetting; + } + + /** + * Settings for AI Max in search campaigns. + * @param aiMaxSetting aiMaxSetting or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaign setAiMaxSetting(GoogleAdsSearchads360V23ResourcesCampaignAiMaxSetting aiMaxSetting) { + this.aiMaxSetting = aiMaxSetting; + return this; + } + + /** + * The setting related to App Campaign. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignAppCampaignSetting getAppCampaignSetting() { + return appCampaignSetting; + } + + /** + * The setting related to App Campaign. + * @param appCampaignSetting appCampaignSetting or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaign setAppCampaignSetting(GoogleAdsSearchads360V23ResourcesCampaignAppCampaignSetting appCampaignSetting) { + this.appCampaignSetting = appCampaignSetting; + return this; + } + + /** + * Contains the opt-in/out status of each AssetAutomationType. See documentation of each asset + * automation type enum for default opt in/out behavior. + * @return value or {@code null} for none + */ + public java.util.List getAssetAutomationSettings() { + return assetAutomationSettings; + } + + /** + * Contains the opt-in/out status of each AssetAutomationType. See documentation of each asset + * automation type enum for default opt in/out behavior. + * @param assetAutomationSettings assetAutomationSettings or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaign setAssetAutomationSettings(java.util.List assetAutomationSettings) { + this.assetAutomationSettings = assetAutomationSettings; + return this; + } + + /** + * Immutable. Setting for audience related features. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignAudienceSetting getAudienceSetting() { + return audienceSetting; + } + + /** + * Immutable. Setting for audience related features. + * @param audienceSetting audienceSetting or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaign setAudienceSetting(GoogleAdsSearchads360V23ResourcesCampaignAudienceSetting audienceSetting) { + this.audienceSetting = audienceSetting; + return this; + } + + /** + * Output only. The resource name of the base campaign of a draft or experiment campaign. For base + * campaigns, this is equal to `resource_name`. This field is read-only. + * @return value or {@code null} for none + */ + public java.lang.String getBaseCampaign() { + return baseCampaign; + } + + /** + * Output only. The resource name of the base campaign of a draft or experiment campaign. For base + * campaigns, this is equal to `resource_name`. This field is read-only. + * @param baseCampaign baseCampaign or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaign setBaseCampaign(java.lang.String baseCampaign) { + this.baseCampaign = baseCampaign; + return this; + } + + /** + * The resource name of the portfolio bidding strategy used by the campaign. + * @return value or {@code null} for none + */ + public java.lang.String getBiddingStrategy() { + return biddingStrategy; + } + + /** + * The resource name of the portfolio bidding strategy used by the campaign. + * @param biddingStrategy biddingStrategy or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaign setBiddingStrategy(java.lang.String biddingStrategy) { + this.biddingStrategy = biddingStrategy; + return this; + } + + /** + * Output only. The system status of the campaign's bidding strategy. + * @return value or {@code null} for none + */ + public java.lang.String getBiddingStrategySystemStatus() { + return biddingStrategySystemStatus; + } + + /** + * Output only. The system status of the campaign's bidding strategy. + * @param biddingStrategySystemStatus biddingStrategySystemStatus or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaign setBiddingStrategySystemStatus(java.lang.String biddingStrategySystemStatus) { + this.biddingStrategySystemStatus = biddingStrategySystemStatus; + return this; + } + + /** + * Output only. The type of bidding strategy. A bidding strategy can be created by setting either + * the bidding scheme to create a standard bidding strategy or the `bidding_strategy` field to + * create a portfolio bidding strategy. This field is read-only. + * @return value or {@code null} for none + */ + public java.lang.String getBiddingStrategyType() { + return biddingStrategyType; + } + + /** + * Output only. The type of bidding strategy. A bidding strategy can be created by setting either + * the bidding scheme to create a standard bidding strategy or the `bidding_strategy` field to + * create a portfolio bidding strategy. This field is read-only. + * @param biddingStrategyType biddingStrategyType or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaign setBiddingStrategyType(java.lang.String biddingStrategyType) { + this.biddingStrategyType = biddingStrategyType; + return this; + } + + /** + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignBrandGuidelines getBrandGuidelines() { + return brandGuidelines; + } + + /** + * @param brandGuidelines brandGuidelines or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaign setBrandGuidelines(GoogleAdsSearchads360V23ResourcesCampaignBrandGuidelines brandGuidelines) { + this.brandGuidelines = brandGuidelines; + return this; + } + + /** + * Immutable. Whether Brand Guidelines are enabled for this Campaign. Only applicable to + * Performance Max campaigns. If enabled, business name and logo assets must be linked as + * CampaignAssets instead of AssetGroupAssets. + * @return value or {@code null} for none + */ + public java.lang.Boolean getBrandGuidelinesEnabled() { + return brandGuidelinesEnabled; + } + + /** + * Immutable. Whether Brand Guidelines are enabled for this Campaign. Only applicable to + * Performance Max campaigns. If enabled, business name and logo assets must be linked as + * CampaignAssets instead of AssetGroupAssets. + * @param brandGuidelinesEnabled brandGuidelinesEnabled or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaign setBrandGuidelinesEnabled(java.lang.Boolean brandGuidelinesEnabled) { + this.brandGuidelinesEnabled = brandGuidelinesEnabled; + return this; + } + + /** + * The resource name of the campaign budget of the campaign. + * @return value or {@code null} for none + */ + public java.lang.String getCampaignBudget() { + return campaignBudget; + } + + /** + * The resource name of the campaign budget of the campaign. + * @param campaignBudget campaignBudget or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaign setCampaignBudget(java.lang.String campaignBudget) { + this.campaignBudget = campaignBudget; + return this; + } + + /** + * The resource name of the campaign group that this campaign belongs to. + * @return value or {@code null} for none + */ + public java.lang.String getCampaignGroup() { + return campaignGroup; + } + + /** + * The resource name of the campaign group that this campaign belongs to. + * @param campaignGroup campaignGroup or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaign setCampaignGroup(java.lang.String campaignGroup) { + this.campaignGroup = campaignGroup; + return this; + } + + /** + * Commission is an automatic bidding strategy in which the advertiser pays a certain portion of + * the conversion value. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCommission getCommission() { + return commission; + } + + /** + * Commission is an automatic bidding strategy in which the advertiser pays a certain portion of + * the conversion value. + * @param commission commission or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaign setCommission(GoogleAdsSearchads360V23CommonCommission commission) { + this.commission = commission; + return this; + } + + /** + * The advertiser should self-declare whether this campaign contains political advertising content + * targeted towards the European Union. + * @return value or {@code null} for none + */ + public java.lang.String getContainsEuPoliticalAdvertising() { + return containsEuPoliticalAdvertising; + } + + /** + * The advertiser should self-declare whether this campaign contains political advertising content + * targeted towards the European Union. + * @param containsEuPoliticalAdvertising containsEuPoliticalAdvertising or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaign setContainsEuPoliticalAdvertising(java.lang.String containsEuPoliticalAdvertising) { + this.containsEuPoliticalAdvertising = containsEuPoliticalAdvertising; + return this; + } + + /** + * Settings for Demand Gen campaign. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignDemandGenCampaignSettings getDemandGenCampaignSettings() { + return demandGenCampaignSettings; + } + + /** + * Settings for Demand Gen campaign. + * @param demandGenCampaignSettings demandGenCampaignSettings or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaign setDemandGenCampaignSettings(GoogleAdsSearchads360V23ResourcesCampaignDemandGenCampaignSettings demandGenCampaignSettings) { + this.demandGenCampaignSettings = demandGenCampaignSettings; + return this; + } + + /** + * The setting for controlling Dynamic Search Ads (DSA). + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignDynamicSearchAdsSetting getDynamicSearchAdsSetting() { + return dynamicSearchAdsSetting; + } + + /** + * The setting for controlling Dynamic Search Ads (DSA). + * @param dynamicSearchAdsSetting dynamicSearchAdsSetting or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaign setDynamicSearchAdsSetting(GoogleAdsSearchads360V23ResourcesCampaignDynamicSearchAdsSetting dynamicSearchAdsSetting) { + this.dynamicSearchAdsSetting = dynamicSearchAdsSetting; + return this; + } + + /** + * Output only. The resource names of effective labels attached to this campaign. An effective + * label is a label inherited or directly assigned to this campaign. + * @return value or {@code null} for none + */ + public java.util.List getEffectiveLabels() { + return effectiveLabels; + } + + /** + * Output only. The resource names of effective labels attached to this campaign. An effective + * label is a label inherited or directly assigned to this campaign. + * @param effectiveLabels effectiveLabels or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaign setEffectiveLabels(java.util.List effectiveLabels) { + this.effectiveLabels = effectiveLabels; + return this; + } + + /** + * The last day and time of the campaign in serving customer's timezone in "yyyy-MM-dd HH:mm:ss" + * format. Set the time component to 23:59:59 for daily granularity, time granularity is only + * supported for some campaign types. On create, defaults to running indefinitely. To set an + * existing campaign to run indefinitely, clear this field. + * @return value or {@code null} for none + */ + public java.lang.String getEndDateTime() { + return endDateTime; + } + + /** + * The last day and time of the campaign in serving customer's timezone in "yyyy-MM-dd HH:mm:ss" + * format. Set the time component to 23:59:59 for daily granularity, time granularity is only + * supported for some campaign types. On create, defaults to running indefinitely. To set an + * existing campaign to run indefinitely, clear this field. + * @param endDateTime endDateTime or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaign setEndDateTime(java.lang.String endDateTime) { + this.endDateTime = endDateTime; + return this; + } + + /** + * Output only. ID of the campaign in the external engine account. This field is for non-Google + * Ads account only, for example, Yahoo Japan, Microsoft, Baidu etc. For Google Ads entity, use + * "campaign.id" instead. + * @return value or {@code null} for none + */ + public java.lang.String getEngineId() { + return engineId; + } + + /** + * Output only. ID of the campaign in the external engine account. This field is for non-Google + * Ads account only, for example, Yahoo Japan, Microsoft, Baidu etc. For Google Ads entity, use + * "campaign.id" instead. + * @param engineId engineId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaign setEngineId(java.lang.String engineId) { + this.engineId = engineId; + return this; + } + + /** + * The asset field types that should be excluded from this campaign. Asset links with these field + * types will not be inherited by this campaign from the upper level. + * @return value or {@code null} for none + */ + public java.util.List getExcludedParentAssetFieldTypes() { + return excludedParentAssetFieldTypes; + } + + /** + * The asset field types that should be excluded from this campaign. Asset links with these field + * types will not be inherited by this campaign from the upper level. + * @param excludedParentAssetFieldTypes excludedParentAssetFieldTypes or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaign setExcludedParentAssetFieldTypes(java.util.List excludedParentAssetFieldTypes) { + this.excludedParentAssetFieldTypes = excludedParentAssetFieldTypes; + return this; + } + + /** + * The asset set types that should be excluded from this campaign. Asset set links with these + * types will not be inherited by this campaign from the upper level. Location group types + * (GMB_DYNAMIC_LOCATION_GROUP, CHAIN_DYNAMIC_LOCATION_GROUP, and STATIC_LOCATION_GROUP) are child + * types of LOCATION_SYNC. Therefore, if LOCATION_SYNC is set for this field, all location group + * asset sets are not allowed to be linked to this campaign, and all Location Extension (LE) and + * Affiliate Location Extensions (ALE) will not be served under this campaign. Only LOCATION_SYNC + * is currently supported. + * @return value or {@code null} for none + */ + public java.util.List getExcludedParentAssetSetTypes() { + return excludedParentAssetSetTypes; + } + + /** + * The asset set types that should be excluded from this campaign. Asset set links with these + * types will not be inherited by this campaign from the upper level. Location group types + * (GMB_DYNAMIC_LOCATION_GROUP, CHAIN_DYNAMIC_LOCATION_GROUP, and STATIC_LOCATION_GROUP) are child + * types of LOCATION_SYNC. Therefore, if LOCATION_SYNC is set for this field, all location group + * asset sets are not allowed to be linked to this campaign, and all Location Extension (LE) and + * Affiliate Location Extensions (ALE) will not be served under this campaign. Only LOCATION_SYNC + * is currently supported. + * @param excludedParentAssetSetTypes excludedParentAssetSetTypes or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaign setExcludedParentAssetSetTypes(java.util.List excludedParentAssetSetTypes) { + this.excludedParentAssetSetTypes = excludedParentAssetSetTypes; + return this; + } + + /** + * Output only. The type of campaign: normal, draft, or experiment. + * @return value or {@code null} for none + */ + public java.lang.String getExperimentType() { + return experimentType; + } + + /** + * Output only. The type of campaign: normal, draft, or experiment. + * @param experimentType experimentType or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaign setExperimentType(java.lang.String experimentType) { + this.experimentType = experimentType; + return this; + } + + /** + * Output only. Types of feeds that are attached directly to this campaign. + * @return value or {@code null} for none + */ + public java.util.List getFeedTypes() { + return feedTypes; + } + + /** + * Output only. Types of feeds that are attached directly to this campaign. + * @param feedTypes feedTypes or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaign setFeedTypes(java.util.List feedTypes) { + this.feedTypes = feedTypes; + return this; + } + + /** + * Suffix used to append query parameters to landing pages that are served with parallel tracking. + * @return value or {@code null} for none + */ + public java.lang.String getFinalUrlSuffix() { + return finalUrlSuffix; + } + + /** + * Suffix used to append query parameters to landing pages that are served with parallel tracking. + * @param finalUrlSuffix finalUrlSuffix or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaign setFinalUrlSuffix(java.lang.String finalUrlSuffix) { + this.finalUrlSuffix = finalUrlSuffix; + return this; + } + + /** + * A list that limits how often each user will see this campaign's ads. + * @return value or {@code null} for none + */ + public java.util.List getFrequencyCaps() { + return frequencyCaps; + } + + /** + * A list that limits how often each user will see this campaign's ads. + * @param frequencyCaps frequencyCaps or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaign setFrequencyCaps(java.util.List frequencyCaps) { + this.frequencyCaps = frequencyCaps; + return this; + } + + /** + * The setting for ads geotargeting. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignGeoTargetTypeSetting getGeoTargetTypeSetting() { + return geoTargetTypeSetting; + } + + /** + * The setting for ads geotargeting. + * @param geoTargetTypeSetting geoTargetTypeSetting or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaign setGeoTargetTypeSetting(GoogleAdsSearchads360V23ResourcesCampaignGeoTargetTypeSetting geoTargetTypeSetting) { + this.geoTargetTypeSetting = geoTargetTypeSetting; + return this; + } + + /** + * Immutable. The resource name for a set of hotel properties for Performance Max for travel goals + * campaigns. + * @return value or {@code null} for none + */ + public java.lang.String getHotelPropertyAssetSet() { + return hotelPropertyAssetSet; + } + + /** + * Immutable. The resource name for a set of hotel properties for Performance Max for travel goals + * campaigns. + * @param hotelPropertyAssetSet hotelPropertyAssetSet or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaign setHotelPropertyAssetSet(java.lang.String hotelPropertyAssetSet) { + this.hotelPropertyAssetSet = hotelPropertyAssetSet; + return this; + } + + /** + * Output only. The hotel setting for the campaign. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignHotelSettingInfo getHotelSetting() { + return hotelSetting; + } + + /** + * Output only. The hotel setting for the campaign. + * @param hotelSetting hotelSetting or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaign setHotelSetting(GoogleAdsSearchads360V23ResourcesCampaignHotelSettingInfo hotelSetting) { + this.hotelSetting = hotelSetting; + return this; + } + + /** + * Output only. The ID of the campaign. + * @return value or {@code null} for none + */ + public java.lang.Long getId() { + return id; + } + + /** + * Output only. The ID of the campaign. + * @param id id or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaign setId(java.lang.Long id) { + this.id = id; + return this; + } + + /** + * Keyword match type of Campaign. Set to BROAD to set broad matching for all keywords in a + * campaign. + * @return value or {@code null} for none + */ + public java.lang.String getKeywordMatchType() { + return keywordMatchType; + } + + /** + * Keyword match type of Campaign. Set to BROAD to set broad matching for all keywords in a + * campaign. + * @param keywordMatchType keywordMatchType or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaign setKeywordMatchType(java.lang.String keywordMatchType) { + this.keywordMatchType = keywordMatchType; + return this; + } + + /** + * Output only. The resource names of labels attached to this campaign. + * @return value or {@code null} for none + */ + public java.util.List getLabels() { + return labels; + } + + /** + * Output only. The resource names of labels attached to this campaign. + * @param labels labels or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaign setLabels(java.util.List labels) { + this.labels = labels; + return this; + } + + /** + * Output only. The datetime when this campaign was last modified. The datetime is in the + * customer's time zone and in "yyyy-MM-dd HH:mm:ss.ssssss" format. + * @return value or {@code null} for none + */ + public java.lang.String getLastModifiedTime() { + return lastModifiedTime; + } + + /** + * Output only. The datetime when this campaign was last modified. The datetime is in the + * customer's time zone and in "yyyy-MM-dd HH:mm:ss.ssssss" format. + * @param lastModifiedTime lastModifiedTime or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaign setLastModifiedTime(java.lang.String lastModifiedTime) { + this.lastModifiedTime = lastModifiedTime; + return this; + } + + /** + * Immutable. Listing type of ads served for this campaign. Field is restricted for usage with + * Performance Max campaigns. + * @return value or {@code null} for none + */ + public java.lang.String getListingType() { + return listingType; + } + + /** + * Immutable. Listing type of ads served for this campaign. Field is restricted for usage with + * Performance Max campaigns. + * @param listingType listingType or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaign setListingType(java.lang.String listingType) { + this.listingType = listingType; + return this; + } + + /** + * The setting for local campaign. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignLocalCampaignSetting getLocalCampaignSetting() { + return localCampaignSetting; + } + + /** + * The setting for local campaign. + * @param localCampaignSetting localCampaignSetting or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaign setLocalCampaignSetting(GoogleAdsSearchads360V23ResourcesCampaignLocalCampaignSetting localCampaignSetting) { + this.localCampaignSetting = localCampaignSetting; + return this; + } + + /** + * The Local Services Campaign related settings. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignLocalServicesCampaignSettings getLocalServicesCampaignSettings() { + return localServicesCampaignSettings; + } + + /** + * The Local Services Campaign related settings. + * @param localServicesCampaignSettings localServicesCampaignSettings or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaign setLocalServicesCampaignSettings(GoogleAdsSearchads360V23ResourcesCampaignLocalServicesCampaignSettings localServicesCampaignSettings) { + this.localServicesCampaignSettings = localServicesCampaignSettings; + return this; + } + + /** + * Standard Manual CPA bidding strategy. Manual bidding strategy that allows advertiser to set the + * bid per advertiser-specified action. Supported only for Local Services campaigns. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonManualCpa getManualCpa() { + return manualCpa; + } + + /** + * Standard Manual CPA bidding strategy. Manual bidding strategy that allows advertiser to set the + * bid per advertiser-specified action. Supported only for Local Services campaigns. + * @param manualCpa manualCpa or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaign setManualCpa(GoogleAdsSearchads360V23CommonManualCpa manualCpa) { + this.manualCpa = manualCpa; + return this; + } + + /** + * Standard Manual CPC bidding strategy. Manual click-based bidding where user pays per click. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonManualCpc getManualCpc() { + return manualCpc; + } + + /** + * Standard Manual CPC bidding strategy. Manual click-based bidding where user pays per click. + * @param manualCpc manualCpc or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaign setManualCpc(GoogleAdsSearchads360V23CommonManualCpc manualCpc) { + this.manualCpc = manualCpc; + return this; + } + + /** + * Standard Manual CPM bidding strategy. Manual impression-based bidding where user pays per + * thousand impressions. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonManualCpm getManualCpm() { + return manualCpm; + } + + /** + * Standard Manual CPM bidding strategy. Manual impression-based bidding where user pays per + * thousand impressions. + * @param manualCpm manualCpm or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaign setManualCpm(GoogleAdsSearchads360V23CommonManualCpm manualCpm) { + this.manualCpm = manualCpm; + return this; + } + + /** + * A bidding strategy that pays a configurable amount per video view. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonManualCpv getManualCpv() { + return manualCpv; + } + + /** + * A bidding strategy that pays a configurable amount per video view. + * @param manualCpv manualCpv or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaign setManualCpv(GoogleAdsSearchads360V23CommonManualCpv manualCpv) { + this.manualCpv = manualCpv; + return this; + } + + /** + * Standard Maximize Conversion Value bidding strategy that automatically sets bids to maximize + * revenue while spending your budget. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMaximizeConversionValue getMaximizeConversionValue() { + return maximizeConversionValue; + } + + /** + * Standard Maximize Conversion Value bidding strategy that automatically sets bids to maximize + * revenue while spending your budget. + * @param maximizeConversionValue maximizeConversionValue or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaign setMaximizeConversionValue(GoogleAdsSearchads360V23CommonMaximizeConversionValue maximizeConversionValue) { + this.maximizeConversionValue = maximizeConversionValue; + return this; + } + + /** + * Standard Maximize Conversions bidding strategy that automatically maximizes number of + * conversions while spending your budget. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMaximizeConversions getMaximizeConversions() { + return maximizeConversions; + } + + /** + * Standard Maximize Conversions bidding strategy that automatically maximizes number of + * conversions while spending your budget. + * @param maximizeConversions maximizeConversions or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaign setMaximizeConversions(GoogleAdsSearchads360V23CommonMaximizeConversions maximizeConversions) { + this.maximizeConversions = maximizeConversions; + return this; + } + + /** + * Output only. Indicates whether this campaign is missing a declaration about whether it contains + * political advertising targeted towards the EU and is ineligible for any exemptions. If this + * field is true, use the contains_eu_political_advertising field to add the required declaration. + * This field is read-only. + * @return value or {@code null} for none + */ + public java.lang.Boolean getMissingEuPoliticalAdvertisingDeclaration() { + return missingEuPoliticalAdvertisingDeclaration; + } + + /** + * Output only. Indicates whether this campaign is missing a declaration about whether it contains + * political advertising targeted towards the EU and is ineligible for any exemptions. If this + * field is true, use the contains_eu_political_advertising field to add the required declaration. + * This field is read-only. + * @param missingEuPoliticalAdvertisingDeclaration missingEuPoliticalAdvertisingDeclaration or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaign setMissingEuPoliticalAdvertisingDeclaration(java.lang.Boolean missingEuPoliticalAdvertisingDeclaration) { + this.missingEuPoliticalAdvertisingDeclaration = missingEuPoliticalAdvertisingDeclaration; + return this; + } + + /** + * The name of the campaign. This field is required and should not be empty when creating new + * campaigns. It must not contain any null (code point 0x0), NL line feed (code point 0xA) or + * carriage return (code point 0xD) characters. + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * The name of the campaign. This field is required and should not be empty when creating new + * campaigns. It must not contain any null (code point 0x0), NL line feed (code point 0xA) or + * carriage return (code point 0xD) characters. + * @param name name or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaign setName(java.lang.String name) { + this.name = name; + return this; + } + + /** + * The network settings for the campaign. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignNetworkSettings getNetworkSettings() { + return networkSettings; + } + + /** + * The network settings for the campaign. + * @param networkSettings networkSettings or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaign setNetworkSettings(GoogleAdsSearchads360V23ResourcesCampaignNetworkSettings networkSettings) { + this.networkSettings = networkSettings; + return this; + } + + /** + * Optimization goal setting for this campaign, which includes a set of optimization goal types. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignOptimizationGoalSetting getOptimizationGoalSetting() { + return optimizationGoalSetting; + } + + /** + * Optimization goal setting for this campaign, which includes a set of optimization goal types. + * @param optimizationGoalSetting optimizationGoalSetting or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaign setOptimizationGoalSetting(GoogleAdsSearchads360V23ResourcesCampaignOptimizationGoalSetting optimizationGoalSetting) { + this.optimizationGoalSetting = optimizationGoalSetting; + return this; + } + + /** + * Output only. Optimization score of the campaign. Optimization score is an estimate of how well + * a campaign is set to perform. It ranges from 0% (0.0) to 100% (1.0), with 100% indicating that + * the campaign is performing at full potential. This field is null for unscored campaigns. See + * "About optimization score" at https://support.google.com/google-ads/answer/9061546. This field + * is read-only. + * @return value or {@code null} for none + */ + public java.lang.Double getOptimizationScore() { + return optimizationScore; + } + + /** + * Output only. Optimization score of the campaign. Optimization score is an estimate of how well + * a campaign is set to perform. It ranges from 0% (0.0) to 100% (1.0), with 100% indicating that + * the campaign is performing at full potential. This field is null for unscored campaigns. See + * "About optimization score" at https://support.google.com/google-ads/answer/9061546. This field + * is read-only. + * @param optimizationScore optimizationScore or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaign setOptimizationScore(java.lang.Double optimizationScore) { + this.optimizationScore = optimizationScore; + return this; + } + + /** + * Payment mode for the campaign. + * @return value or {@code null} for none + */ + public java.lang.String getPaymentMode() { + return paymentMode; + } + + /** + * Payment mode for the campaign. + * @param paymentMode paymentMode or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaign setPaymentMode(java.lang.String paymentMode) { + this.paymentMode = paymentMode; + return this; + } + + /** + * Standard Percent Cpc bidding strategy where bids are a fraction of the advertised price for + * some good or service. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPercentCpc getPercentCpc() { + return percentCpc; + } + + /** + * Standard Percent Cpc bidding strategy where bids are a fraction of the advertised price for + * some good or service. + * @param percentCpc percentCpc or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaign setPercentCpc(GoogleAdsSearchads360V23CommonPercentCpc percentCpc) { + this.percentCpc = percentCpc; + return this; + } + + /** + * Output only. Information about campaigns being upgraded to Performance Max. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignPerformanceMaxUpgrade getPerformanceMaxUpgrade() { + return performanceMaxUpgrade; + } + + /** + * Output only. Information about campaigns being upgraded to Performance Max. + * @param performanceMaxUpgrade performanceMaxUpgrade or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaign setPerformanceMaxUpgrade(GoogleAdsSearchads360V23ResourcesCampaignPerformanceMaxUpgrade performanceMaxUpgrade) { + this.performanceMaxUpgrade = performanceMaxUpgrade; + return this; + } + + /** + * Settings for Performance Max campaign. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignPmaxCampaignSettings getPmaxCampaignSettings() { + return pmaxCampaignSettings; + } + + /** + * Settings for Performance Max campaign. + * @param pmaxCampaignSettings pmaxCampaignSettings or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaign setPmaxCampaignSettings(GoogleAdsSearchads360V23ResourcesCampaignPmaxCampaignSettings pmaxCampaignSettings) { + this.pmaxCampaignSettings = pmaxCampaignSettings; + return this; + } + + /** + * Output only. The primary status of the campaign. Provides insight into why a campaign is not + * serving or not serving optimally. Modification to the campaign and its related entities might + * take a while to be reflected in this status. + * @return value or {@code null} for none + */ + public java.lang.String getPrimaryStatus() { + return primaryStatus; + } + + /** + * Output only. The primary status of the campaign. Provides insight into why a campaign is not + * serving or not serving optimally. Modification to the campaign and its related entities might + * take a while to be reflected in this status. + * @param primaryStatus primaryStatus or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaign setPrimaryStatus(java.lang.String primaryStatus) { + this.primaryStatus = primaryStatus; + return this; + } + + /** + * Output only. The primary status reasons of the campaign. Provides insight into why a campaign + * is not serving or not serving optimally. These reasons are aggregated to determine an overall + * CampaignPrimaryStatus. + * @return value or {@code null} for none + */ + public java.util.List getPrimaryStatusReasons() { + return primaryStatusReasons; + } + + /** + * Output only. The primary status reasons of the campaign. Provides insight into why a campaign + * is not serving or not serving optimally. These reasons are aggregated to determine an overall + * CampaignPrimaryStatus. + * @param primaryStatusReasons primaryStatusReasons or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaign setPrimaryStatusReasons(java.util.List primaryStatusReasons) { + this.primaryStatusReasons = primaryStatusReasons; + return this; + } + + /** + * Settings for Real-Time Bidding, a feature only available for campaigns targeting the Ad + * Exchange network. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonRealTimeBiddingSetting getRealTimeBiddingSetting() { + return realTimeBiddingSetting; + } + + /** + * Settings for Real-Time Bidding, a feature only available for campaigns targeting the Ad + * Exchange network. + * @param realTimeBiddingSetting realTimeBiddingSetting or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaign setRealTimeBiddingSetting(GoogleAdsSearchads360V23CommonRealTimeBiddingSetting realTimeBiddingSetting) { + this.realTimeBiddingSetting = realTimeBiddingSetting; + return this; + } + + /** + * Immutable. The resource name of the campaign. Campaign resource names have the form: + * `customers/{customer_id}/campaigns/{campaign_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Immutable. The resource name of the campaign. Campaign resource names have the form: + * `customers/{customer_id}/campaigns/{campaign_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaign setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Selective optimization setting for this campaign, which includes a set of conversion actions to + * optimize this campaign towards. This feature only applies to app campaigns that use + * MULTI_CHANNEL as AdvertisingChannelType and APP_CAMPAIGN or APP_CAMPAIGN_FOR_ENGAGEMENT as + * AdvertisingChannelSubType. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignSelectiveOptimization getSelectiveOptimization() { + return selectiveOptimization; + } + + /** + * Selective optimization setting for this campaign, which includes a set of conversion actions to + * optimize this campaign towards. This feature only applies to app campaigns that use + * MULTI_CHANNEL as AdvertisingChannelType and APP_CAMPAIGN or APP_CAMPAIGN_FOR_ENGAGEMENT as + * AdvertisingChannelSubType. + * @param selectiveOptimization selectiveOptimization or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaign setSelectiveOptimization(GoogleAdsSearchads360V23ResourcesCampaignSelectiveOptimization selectiveOptimization) { + this.selectiveOptimization = selectiveOptimization; + return this; + } + + /** + * Selective optimization mode for this campaign. + * @return value or {@code null} for none + */ + public java.lang.String getSelectiveOptimizationMode() { + return selectiveOptimizationMode; + } + + /** + * Selective optimization mode for this campaign. + * @param selectiveOptimizationMode selectiveOptimizationMode or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaign setSelectiveOptimizationMode(java.lang.String selectiveOptimizationMode) { + this.selectiveOptimizationMode = selectiveOptimizationMode; + return this; + } + + /** + * Output only. The ad serving status of the campaign. + * @return value or {@code null} for none + */ + public java.lang.String getServingStatus() { + return servingStatus; + } + + /** + * Output only. The ad serving status of the campaign. + * @param servingStatus servingStatus or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaign setServingStatus(java.lang.String servingStatus) { + this.servingStatus = servingStatus; + return this; + } + + /** + * The setting for controlling Shopping campaigns. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignShoppingSetting getShoppingSetting() { + return shoppingSetting; + } + + /** + * The setting for controlling Shopping campaigns. + * @param shoppingSetting shoppingSetting or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaign setShoppingSetting(GoogleAdsSearchads360V23ResourcesCampaignShoppingSetting shoppingSetting) { + this.shoppingSetting = shoppingSetting; + return this; + } + + /** + * The date and time when campaign started in serving. The timestamp is in the customer's time + * zone and in "yyyy-MM-dd HH:mm:ss" format. Set the time component to 00:00:00 for daily + * granularity, time granularity is only supported for some campaign types. + * @return value or {@code null} for none + */ + public java.lang.String getStartDateTime() { + return startDateTime; + } + + /** + * The date and time when campaign started in serving. The timestamp is in the customer's time + * zone and in "yyyy-MM-dd HH:mm:ss" format. Set the time component to 00:00:00 for daily + * granularity, time granularity is only supported for some campaign types. + * @param startDateTime startDateTime or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaign setStartDateTime(java.lang.String startDateTime) { + this.startDateTime = startDateTime; + return this; + } + + /** + * The status of the campaign. When a new campaign is added, the status defaults to ENABLED. + * @return value or {@code null} for none + */ + public java.lang.String getStatus() { + return status; + } + + /** + * The status of the campaign. When a new campaign is added, the status defaults to ENABLED. + * @param status status or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaign setStatus(java.lang.String status) { + this.status = status; + return this; + } + + /** + * Standard Target CPA bidding strategy that automatically sets bids to help get as many + * conversions as possible at the target cost-per-acquisition (CPA) you set. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonTargetCpa getTargetCpa() { + return targetCpa; + } + + /** + * Standard Target CPA bidding strategy that automatically sets bids to help get as many + * conversions as possible at the target cost-per-acquisition (CPA) you set. + * @param targetCpa targetCpa or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaign setTargetCpa(GoogleAdsSearchads360V23CommonTargetCpa targetCpa) { + this.targetCpa = targetCpa; + return this; + } + + /** + * An automated bidding strategy that sets bids to help get as many clicks as possible at the + * target cost-per-click (CPC) you set. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonTargetCpc getTargetCpc() { + return targetCpc; + } + + /** + * An automated bidding strategy that sets bids to help get as many clicks as possible at the + * target cost-per-click (CPC) you set. + * @param targetCpc targetCpc or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaign setTargetCpc(GoogleAdsSearchads360V23CommonTargetCpc targetCpc) { + this.targetCpc = targetCpc; + return this; + } + + /** + * A bidding strategy that automatically optimizes cost per thousand impressions. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonTargetCpm getTargetCpm() { + return targetCpm; + } + + /** + * A bidding strategy that automatically optimizes cost per thousand impressions. + * @param targetCpm targetCpm or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaign setTargetCpm(GoogleAdsSearchads360V23CommonTargetCpm targetCpm) { + this.targetCpm = targetCpm; + return this; + } + + /** + * Target Impression Share bidding strategy. An automated bidding strategy that sets bids to + * achieve a chosen percentage of impressions. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonTargetImpressionShare getTargetImpressionShare() { + return targetImpressionShare; + } + + /** + * Target Impression Share bidding strategy. An automated bidding strategy that sets bids to + * achieve a chosen percentage of impressions. + * @param targetImpressionShare targetImpressionShare or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaign setTargetImpressionShare(GoogleAdsSearchads360V23CommonTargetImpressionShare targetImpressionShare) { + this.targetImpressionShare = targetImpressionShare; + return this; + } + + /** + * Standard Target ROAS bidding strategy that automatically maximizes revenue while averaging a + * specific target return on ad spend (ROAS). + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonTargetRoas getTargetRoas() { + return targetRoas; + } + + /** + * Standard Target ROAS bidding strategy that automatically maximizes revenue while averaging a + * specific target return on ad spend (ROAS). + * @param targetRoas targetRoas or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaign setTargetRoas(GoogleAdsSearchads360V23CommonTargetRoas targetRoas) { + this.targetRoas = targetRoas; + return this; + } + + /** + * Standard Target Spend bidding strategy that automatically sets your bids to help get as many + * clicks as possible within your budget. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonTargetSpend getTargetSpend() { + return targetSpend; + } + + /** + * Standard Target Spend bidding strategy that automatically sets your bids to help get as many + * clicks as possible within your budget. + * @param targetSpend targetSpend or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaign setTargetSpend(GoogleAdsSearchads360V23CommonTargetSpend targetSpend) { + this.targetSpend = targetSpend; + return this; + } + + /** + * Setting for targeting related features. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonTargetingSetting getTargetingSetting() { + return targetingSetting; + } + + /** + * Setting for targeting related features. + * @param targetingSetting targetingSetting or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaign setTargetingSetting(GoogleAdsSearchads360V23CommonTargetingSetting targetingSetting) { + this.targetingSetting = targetingSetting; + return this; + } + + /** + * Third-Party integration partners. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCampaignThirdPartyIntegrationPartners getThirdPartyIntegrationPartners() { + return thirdPartyIntegrationPartners; + } + + /** + * Third-Party integration partners. + * @param thirdPartyIntegrationPartners thirdPartyIntegrationPartners or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaign setThirdPartyIntegrationPartners(GoogleAdsSearchads360V23CommonCampaignThirdPartyIntegrationPartners thirdPartyIntegrationPartners) { + this.thirdPartyIntegrationPartners = thirdPartyIntegrationPartners; + return this; + } + + /** + * Output only. Campaign-level settings for tracking information. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignTrackingSetting getTrackingSetting() { + return trackingSetting; + } + + /** + * Output only. Campaign-level settings for tracking information. + * @param trackingSetting trackingSetting or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaign setTrackingSetting(GoogleAdsSearchads360V23ResourcesCampaignTrackingSetting trackingSetting) { + this.trackingSetting = trackingSetting; + return this; + } + + /** + * The URL template for constructing a tracking URL. + * @return value or {@code null} for none + */ + public java.lang.String getTrackingUrlTemplate() { + return trackingUrlTemplate; + } + + /** + * The URL template for constructing a tracking URL. + * @param trackingUrlTemplate trackingUrlTemplate or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaign setTrackingUrlTemplate(java.lang.String trackingUrlTemplate) { + this.trackingUrlTemplate = trackingUrlTemplate; + return this; + } + + /** + * Settings for Travel campaign. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignTravelCampaignSettings getTravelCampaignSettings() { + return travelCampaignSettings; + } + + /** + * Settings for Travel campaign. + * @param travelCampaignSettings travelCampaignSettings or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaign setTravelCampaignSettings(GoogleAdsSearchads360V23ResourcesCampaignTravelCampaignSettings travelCampaignSettings) { + this.travelCampaignSettings = travelCampaignSettings; + return this; + } + + /** + * The list of mappings used to substitute custom parameter tags in a `tracking_url_template`, + * `final_urls`, or `mobile_final_urls`. + * @return value or {@code null} for none + */ + public java.util.List getUrlCustomParameters() { + return urlCustomParameters; + } + + /** + * The list of mappings used to substitute custom parameter tags in a `tracking_url_template`, + * `final_urls`, or `mobile_final_urls`. + * @param urlCustomParameters urlCustomParameters or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaign setUrlCustomParameters(java.util.List urlCustomParameters) { + this.urlCustomParameters = urlCustomParameters; + return this; + } + + /** + * Describes how unbranded pharma ads will be displayed. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignVanityPharma getVanityPharma() { + return vanityPharma; + } + + /** + * Describes how unbranded pharma ads will be displayed. + * @param vanityPharma vanityPharma or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaign setVanityPharma(GoogleAdsSearchads360V23ResourcesCampaignVanityPharma vanityPharma) { + this.vanityPharma = vanityPharma; + return this; + } + + /** + * Brand Safety setting at the individual campaign level. Allows for selecting an inventory type + * to show your ads on content that is the right fit for your brand. See + * https://support.google.com/google-ads/answer/7515513. + * @return value or {@code null} for none + */ + public java.lang.String getVideoBrandSafetySuitability() { + return videoBrandSafetySuitability; + } + + /** + * Brand Safety setting at the individual campaign level. Allows for selecting an inventory type + * to show your ads on content that is the right fit for your brand. See + * https://support.google.com/google-ads/answer/7515513. + * @param videoBrandSafetySuitability videoBrandSafetySuitability or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaign setVideoBrandSafetySuitability(java.lang.String videoBrandSafetySuitability) { + this.videoBrandSafetySuitability = videoBrandSafetySuitability; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesCampaign set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesCampaign) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesCampaign clone() { + return (GoogleAdsSearchads360V23ResourcesCampaign) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignAiMaxSetting.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignAiMaxSetting.java new file mode 100644 index 00000000000..1deefaf7380 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignAiMaxSetting.java @@ -0,0 +1,109 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Settings for AI Max in search campaigns. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesCampaignAiMaxSetting extends com.google.api.client.json.GenericJson { + + /** + * Output only. Indicates whether a search campaign has adopted AI Max before, and is required to + * have AI Max enabled to adopt campaign-level text asset automation and brand list targeting in + * all API versions. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String bundlingRequired; + + /** + * Controls whether or not AI Max features are served for this campaign. Individual AI Max + * features are enabled or disabled by their respective settings. But if enable_ai_max is set to + * false or cleared, then no AI Max features will serve for this campaign, regardless of the other + * settings. Search Term Matching is enabled by default when AI Max is enabled, and can be + * disabled at the ad group level. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean enableAiMax; + + /** + * Output only. Indicates whether a search campaign has adopted AI Max before, and is required to + * have AI Max enabled to adopt campaign-level text asset automation and brand list targeting in + * all API versions. + * @return value or {@code null} for none + */ + public java.lang.String getBundlingRequired() { + return bundlingRequired; + } + + /** + * Output only. Indicates whether a search campaign has adopted AI Max before, and is required to + * have AI Max enabled to adopt campaign-level text asset automation and brand list targeting in + * all API versions. + * @param bundlingRequired bundlingRequired or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignAiMaxSetting setBundlingRequired(java.lang.String bundlingRequired) { + this.bundlingRequired = bundlingRequired; + return this; + } + + /** + * Controls whether or not AI Max features are served for this campaign. Individual AI Max + * features are enabled or disabled by their respective settings. But if enable_ai_max is set to + * false or cleared, then no AI Max features will serve for this campaign, regardless of the other + * settings. Search Term Matching is enabled by default when AI Max is enabled, and can be + * disabled at the ad group level. + * @return value or {@code null} for none + */ + public java.lang.Boolean getEnableAiMax() { + return enableAiMax; + } + + /** + * Controls whether or not AI Max features are served for this campaign. Individual AI Max + * features are enabled or disabled by their respective settings. But if enable_ai_max is set to + * false or cleared, then no AI Max features will serve for this campaign, regardless of the other + * settings. Search Term Matching is enabled by default when AI Max is enabled, and can be + * disabled at the ad group level. + * @param enableAiMax enableAiMax or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignAiMaxSetting setEnableAiMax(java.lang.Boolean enableAiMax) { + this.enableAiMax = enableAiMax; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesCampaignAiMaxSetting set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesCampaignAiMaxSetting) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesCampaignAiMaxSetting clone() { + return (GoogleAdsSearchads360V23ResourcesCampaignAiMaxSetting) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignAppCampaignSetting.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignAppCampaignSetting.java new file mode 100644 index 00000000000..e841a2c3b95 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignAppCampaignSetting.java @@ -0,0 +1,115 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Campaign-level settings for App Campaigns. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesCampaignAppCampaignSetting extends com.google.api.client.json.GenericJson { + + /** + * Immutable. A string that uniquely identifies a mobile application. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String appId; + + /** + * Immutable. The application store that distributes this specific app. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String appStore; + + /** + * Represents the goal which the bidding strategy of this app campaign should optimize towards. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String biddingStrategyGoalType; + + /** + * Immutable. A string that uniquely identifies a mobile application. + * @return value or {@code null} for none + */ + public java.lang.String getAppId() { + return appId; + } + + /** + * Immutable. A string that uniquely identifies a mobile application. + * @param appId appId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignAppCampaignSetting setAppId(java.lang.String appId) { + this.appId = appId; + return this; + } + + /** + * Immutable. The application store that distributes this specific app. + * @return value or {@code null} for none + */ + public java.lang.String getAppStore() { + return appStore; + } + + /** + * Immutable. The application store that distributes this specific app. + * @param appStore appStore or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignAppCampaignSetting setAppStore(java.lang.String appStore) { + this.appStore = appStore; + return this; + } + + /** + * Represents the goal which the bidding strategy of this app campaign should optimize towards. + * @return value or {@code null} for none + */ + public java.lang.String getBiddingStrategyGoalType() { + return biddingStrategyGoalType; + } + + /** + * Represents the goal which the bidding strategy of this app campaign should optimize towards. + * @param biddingStrategyGoalType biddingStrategyGoalType or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignAppCampaignSetting setBiddingStrategyGoalType(java.lang.String biddingStrategyGoalType) { + this.biddingStrategyGoalType = biddingStrategyGoalType; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesCampaignAppCampaignSetting set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesCampaignAppCampaignSetting) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesCampaignAppCampaignSetting clone() { + return (GoogleAdsSearchads360V23ResourcesCampaignAppCampaignSetting) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignAsset.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignAsset.java new file mode 100644 index 00000000000..b2b89261116 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignAsset.java @@ -0,0 +1,283 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A link between a Campaign and an Asset. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesCampaignAsset extends com.google.api.client.json.GenericJson { + + /** + * Immutable. The asset which is linked to the campaign. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String asset; + + /** + * Immutable. The campaign to which the asset is linked. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String campaign; + + /** + * Immutable. Role that the asset takes under the linked campaign. Required. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String fieldType; + + /** + * Output only. Provides the PrimaryStatus of this asset link. Primary status is meant essentially + * to differentiate between the plain "status" field, which has advertiser set values of enabled, + * paused, or removed. The primary status takes into account other signals (for assets its mainly + * policy and quality approvals) to come up with a more comprehensive status to indicate its + * serving state. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String primaryStatus; + + /** + * Output only. Provides the details of the primary status and its associated reasons. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List primaryStatusDetails; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonAssetLinkPrimaryStatusDetails used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonAssetLinkPrimaryStatusDetails.class); + } + + /** + * Output only. Provides a list of reasons for why an asset is not serving or not serving at full + * capacity. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List primaryStatusReasons; + + /** + * Immutable. The resource name of the campaign asset. CampaignAsset resource names have the form: + * `customers/{customer_id}/campaignAssets/{campaign_id}~{asset_id}~{field_type}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. Source of the campaign asset link. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String source; + + /** + * Status of the campaign asset. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String status; + + /** + * Immutable. The asset which is linked to the campaign. + * @return value or {@code null} for none + */ + public java.lang.String getAsset() { + return asset; + } + + /** + * Immutable. The asset which is linked to the campaign. + * @param asset asset or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignAsset setAsset(java.lang.String asset) { + this.asset = asset; + return this; + } + + /** + * Immutable. The campaign to which the asset is linked. + * @return value or {@code null} for none + */ + public java.lang.String getCampaign() { + return campaign; + } + + /** + * Immutable. The campaign to which the asset is linked. + * @param campaign campaign or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignAsset setCampaign(java.lang.String campaign) { + this.campaign = campaign; + return this; + } + + /** + * Immutable. Role that the asset takes under the linked campaign. Required. + * @return value or {@code null} for none + */ + public java.lang.String getFieldType() { + return fieldType; + } + + /** + * Immutable. Role that the asset takes under the linked campaign. Required. + * @param fieldType fieldType or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignAsset setFieldType(java.lang.String fieldType) { + this.fieldType = fieldType; + return this; + } + + /** + * Output only. Provides the PrimaryStatus of this asset link. Primary status is meant essentially + * to differentiate between the plain "status" field, which has advertiser set values of enabled, + * paused, or removed. The primary status takes into account other signals (for assets its mainly + * policy and quality approvals) to come up with a more comprehensive status to indicate its + * serving state. + * @return value or {@code null} for none + */ + public java.lang.String getPrimaryStatus() { + return primaryStatus; + } + + /** + * Output only. Provides the PrimaryStatus of this asset link. Primary status is meant essentially + * to differentiate between the plain "status" field, which has advertiser set values of enabled, + * paused, or removed. The primary status takes into account other signals (for assets its mainly + * policy and quality approvals) to come up with a more comprehensive status to indicate its + * serving state. + * @param primaryStatus primaryStatus or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignAsset setPrimaryStatus(java.lang.String primaryStatus) { + this.primaryStatus = primaryStatus; + return this; + } + + /** + * Output only. Provides the details of the primary status and its associated reasons. + * @return value or {@code null} for none + */ + public java.util.List getPrimaryStatusDetails() { + return primaryStatusDetails; + } + + /** + * Output only. Provides the details of the primary status and its associated reasons. + * @param primaryStatusDetails primaryStatusDetails or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignAsset setPrimaryStatusDetails(java.util.List primaryStatusDetails) { + this.primaryStatusDetails = primaryStatusDetails; + return this; + } + + /** + * Output only. Provides a list of reasons for why an asset is not serving or not serving at full + * capacity. + * @return value or {@code null} for none + */ + public java.util.List getPrimaryStatusReasons() { + return primaryStatusReasons; + } + + /** + * Output only. Provides a list of reasons for why an asset is not serving or not serving at full + * capacity. + * @param primaryStatusReasons primaryStatusReasons or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignAsset setPrimaryStatusReasons(java.util.List primaryStatusReasons) { + this.primaryStatusReasons = primaryStatusReasons; + return this; + } + + /** + * Immutable. The resource name of the campaign asset. CampaignAsset resource names have the form: + * `customers/{customer_id}/campaignAssets/{campaign_id}~{asset_id}~{field_type}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Immutable. The resource name of the campaign asset. CampaignAsset resource names have the form: + * `customers/{customer_id}/campaignAssets/{campaign_id}~{asset_id}~{field_type}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignAsset setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Output only. Source of the campaign asset link. + * @return value or {@code null} for none + */ + public java.lang.String getSource() { + return source; + } + + /** + * Output only. Source of the campaign asset link. + * @param source source or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignAsset setSource(java.lang.String source) { + this.source = source; + return this; + } + + /** + * Status of the campaign asset. + * @return value or {@code null} for none + */ + public java.lang.String getStatus() { + return status; + } + + /** + * Status of the campaign asset. + * @param status status or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignAsset setStatus(java.lang.String status) { + this.status = status; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesCampaignAsset set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesCampaignAsset) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesCampaignAsset clone() { + return (GoogleAdsSearchads360V23ResourcesCampaignAsset) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignAssetAutomationSetting.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignAssetAutomationSetting.java new file mode 100644 index 00000000000..cde755f5cde --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignAssetAutomationSetting.java @@ -0,0 +1,92 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Asset automation setting contains pair of AssetAutomationType and the asset automation opt-in/out + * status + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesCampaignAssetAutomationSetting extends com.google.api.client.json.GenericJson { + + /** + * The opt-in/out status of asset automation type. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String assetAutomationStatus; + + /** + * The asset automation type advertiser would like to opt-in/out. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String assetAutomationType; + + /** + * The opt-in/out status of asset automation type. + * @return value or {@code null} for none + */ + public java.lang.String getAssetAutomationStatus() { + return assetAutomationStatus; + } + + /** + * The opt-in/out status of asset automation type. + * @param assetAutomationStatus assetAutomationStatus or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignAssetAutomationSetting setAssetAutomationStatus(java.lang.String assetAutomationStatus) { + this.assetAutomationStatus = assetAutomationStatus; + return this; + } + + /** + * The asset automation type advertiser would like to opt-in/out. + * @return value or {@code null} for none + */ + public java.lang.String getAssetAutomationType() { + return assetAutomationType; + } + + /** + * The asset automation type advertiser would like to opt-in/out. + * @param assetAutomationType assetAutomationType or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignAssetAutomationSetting setAssetAutomationType(java.lang.String assetAutomationType) { + this.assetAutomationType = assetAutomationType; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesCampaignAssetAutomationSetting set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesCampaignAssetAutomationSetting) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesCampaignAssetAutomationSetting clone() { + return (GoogleAdsSearchads360V23ResourcesCampaignAssetAutomationSetting) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignAssetSet.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignAssetSet.java new file mode 100644 index 00000000000..85a7b061735 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignAssetSet.java @@ -0,0 +1,143 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * CampaignAssetSet is the linkage between a campaign and an asset set. Adding a CampaignAssetSet + * links an asset set with a campaign. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesCampaignAssetSet extends com.google.api.client.json.GenericJson { + + /** + * Immutable. The asset set which is linked to the campaign. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String assetSet; + + /** + * Immutable. The campaign to which this asset set is linked. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String campaign; + + /** + * Immutable. The resource name of the campaign asset set. Asset set asset resource names have the + * form: `customers/{customer_id}/campaignAssetSets/{campaign_id}~{asset_set_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. The status of the campaign asset set asset. Read-only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String status; + + /** + * Immutable. The asset set which is linked to the campaign. + * @return value or {@code null} for none + */ + public java.lang.String getAssetSet() { + return assetSet; + } + + /** + * Immutable. The asset set which is linked to the campaign. + * @param assetSet assetSet or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignAssetSet setAssetSet(java.lang.String assetSet) { + this.assetSet = assetSet; + return this; + } + + /** + * Immutable. The campaign to which this asset set is linked. + * @return value or {@code null} for none + */ + public java.lang.String getCampaign() { + return campaign; + } + + /** + * Immutable. The campaign to which this asset set is linked. + * @param campaign campaign or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignAssetSet setCampaign(java.lang.String campaign) { + this.campaign = campaign; + return this; + } + + /** + * Immutable. The resource name of the campaign asset set. Asset set asset resource names have the + * form: `customers/{customer_id}/campaignAssetSets/{campaign_id}~{asset_set_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Immutable. The resource name of the campaign asset set. Asset set asset resource names have the + * form: `customers/{customer_id}/campaignAssetSets/{campaign_id}~{asset_set_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignAssetSet setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Output only. The status of the campaign asset set asset. Read-only. + * @return value or {@code null} for none + */ + public java.lang.String getStatus() { + return status; + } + + /** + * Output only. The status of the campaign asset set asset. Read-only. + * @param status status or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignAssetSet setStatus(java.lang.String status) { + this.status = status; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesCampaignAssetSet set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesCampaignAssetSet) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesCampaignAssetSet clone() { + return (GoogleAdsSearchads360V23ResourcesCampaignAssetSet) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignAudienceSetting.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignAudienceSetting.java new file mode 100644 index 00000000000..2c85ee31e70 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignAudienceSetting.java @@ -0,0 +1,70 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Settings for the audience targeting. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesCampaignAudienceSetting extends com.google.api.client.json.GenericJson { + + /** + * Immutable. If true, this campaign uses an Audience resource for audience targeting. If false, + * this campaign may use audience segment criteria instead. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean useAudienceGrouped; + + /** + * Immutable. If true, this campaign uses an Audience resource for audience targeting. If false, + * this campaign may use audience segment criteria instead. + * @return value or {@code null} for none + */ + public java.lang.Boolean getUseAudienceGrouped() { + return useAudienceGrouped; + } + + /** + * Immutable. If true, this campaign uses an Audience resource for audience targeting. If false, + * this campaign may use audience segment criteria instead. + * @param useAudienceGrouped useAudienceGrouped or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignAudienceSetting setUseAudienceGrouped(java.lang.Boolean useAudienceGrouped) { + this.useAudienceGrouped = useAudienceGrouped; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesCampaignAudienceSetting set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesCampaignAudienceSetting) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesCampaignAudienceSetting clone() { + return (GoogleAdsSearchads360V23ResourcesCampaignAudienceSetting) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignAudienceView.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignAudienceView.java new file mode 100644 index 00000000000..564cd23c393 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignAudienceView.java @@ -0,0 +1,76 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A campaign audience view. Includes performance data from interests and remarketing lists for + * Display Network and YouTube Network ads, and remarketing lists for search ads (RLSA), aggregated + * by campaign and audience criterion. This view only includes audiences attached at the campaign + * level. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesCampaignAudienceView extends com.google.api.client.json.GenericJson { + + /** + * Output only. The resource name of the campaign audience view. Campaign audience view resource + * names have the form: + * `customers/{customer_id}/campaignAudienceViews/{campaign_id}~{criterion_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. The resource name of the campaign audience view. Campaign audience view resource + * names have the form: + * `customers/{customer_id}/campaignAudienceViews/{campaign_id}~{criterion_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Output only. The resource name of the campaign audience view. Campaign audience view resource + * names have the form: + * `customers/{customer_id}/campaignAudienceViews/{campaign_id}~{criterion_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignAudienceView setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesCampaignAudienceView set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesCampaignAudienceView) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesCampaignAudienceView clone() { + return (GoogleAdsSearchads360V23ResourcesCampaignAudienceView) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignBidModifier.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignBidModifier.java new file mode 100644 index 00000000000..578759b88ee --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignBidModifier.java @@ -0,0 +1,166 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Represents a bid-modifiable only criterion at the campaign level. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesCampaignBidModifier extends com.google.api.client.json.GenericJson { + + /** + * The modifier for the bid when the criterion matches. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double bidModifier; + + /** + * Output only. The campaign to which this criterion belongs. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String campaign; + + /** + * Output only. The ID of the criterion to bid modify. This field is ignored for mutates. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long criterionId; + + /** + * Immutable. Criterion for interaction type. Only supported for search campaigns. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonInteractionTypeInfo interactionType; + + /** + * Immutable. The resource name of the campaign bid modifier. Campaign bid modifier resource names + * have the form: `customers/{customer_id}/campaignBidModifiers/{campaign_id}~{criterion_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * The modifier for the bid when the criterion matches. + * @return value or {@code null} for none + */ + public java.lang.Double getBidModifier() { + return bidModifier; + } + + /** + * The modifier for the bid when the criterion matches. + * @param bidModifier bidModifier or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignBidModifier setBidModifier(java.lang.Double bidModifier) { + this.bidModifier = bidModifier; + return this; + } + + /** + * Output only. The campaign to which this criterion belongs. + * @return value or {@code null} for none + */ + public java.lang.String getCampaign() { + return campaign; + } + + /** + * Output only. The campaign to which this criterion belongs. + * @param campaign campaign or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignBidModifier setCampaign(java.lang.String campaign) { + this.campaign = campaign; + return this; + } + + /** + * Output only. The ID of the criterion to bid modify. This field is ignored for mutates. + * @return value or {@code null} for none + */ + public java.lang.Long getCriterionId() { + return criterionId; + } + + /** + * Output only. The ID of the criterion to bid modify. This field is ignored for mutates. + * @param criterionId criterionId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignBidModifier setCriterionId(java.lang.Long criterionId) { + this.criterionId = criterionId; + return this; + } + + /** + * Immutable. Criterion for interaction type. Only supported for search campaigns. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonInteractionTypeInfo getInteractionType() { + return interactionType; + } + + /** + * Immutable. Criterion for interaction type. Only supported for search campaigns. + * @param interactionType interactionType or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignBidModifier setInteractionType(GoogleAdsSearchads360V23CommonInteractionTypeInfo interactionType) { + this.interactionType = interactionType; + return this; + } + + /** + * Immutable. The resource name of the campaign bid modifier. Campaign bid modifier resource names + * have the form: `customers/{customer_id}/campaignBidModifiers/{campaign_id}~{criterion_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Immutable. The resource name of the campaign bid modifier. Campaign bid modifier resource names + * have the form: `customers/{customer_id}/campaignBidModifiers/{campaign_id}~{criterion_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignBidModifier setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesCampaignBidModifier set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesCampaignBidModifier) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesCampaignBidModifier clone() { + return (GoogleAdsSearchads360V23ResourcesCampaignBidModifier) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignBrandGuidelines.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignBrandGuidelines.java new file mode 100644 index 00000000000..712d3c46974 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignBrandGuidelines.java @@ -0,0 +1,125 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Settings that control the visual appearance of your brand in a campaign's automatically generated + * assets and formats. Only applicable to Performance Max campaigns. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesCampaignBrandGuidelines extends com.google.api.client.json.GenericJson { + + /** + * The accent brand color, entered as a hex code (e.g., #00ff00). You must provide the + * accent_color if you provide a main_color. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String accentColor; + + /** + * The main brand color, entered as a hex code (e.g., #00ff00). You must provide the main_color if + * you provide an accent_color. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String mainColor; + + /** + * The brand's font family. Must be one of the following Google Fonts (case sensitive): Open Sans, + * Roboto, Montserrat, Poppins, Lato, Oswald, Playfair Display, Roboto Slab. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String predefinedFontFamily; + + /** + * The accent brand color, entered as a hex code (e.g., #00ff00). You must provide the + * accent_color if you provide a main_color. + * @return value or {@code null} for none + */ + public java.lang.String getAccentColor() { + return accentColor; + } + + /** + * The accent brand color, entered as a hex code (e.g., #00ff00). You must provide the + * accent_color if you provide a main_color. + * @param accentColor accentColor or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignBrandGuidelines setAccentColor(java.lang.String accentColor) { + this.accentColor = accentColor; + return this; + } + + /** + * The main brand color, entered as a hex code (e.g., #00ff00). You must provide the main_color if + * you provide an accent_color. + * @return value or {@code null} for none + */ + public java.lang.String getMainColor() { + return mainColor; + } + + /** + * The main brand color, entered as a hex code (e.g., #00ff00). You must provide the main_color if + * you provide an accent_color. + * @param mainColor mainColor or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignBrandGuidelines setMainColor(java.lang.String mainColor) { + this.mainColor = mainColor; + return this; + } + + /** + * The brand's font family. Must be one of the following Google Fonts (case sensitive): Open Sans, + * Roboto, Montserrat, Poppins, Lato, Oswald, Playfair Display, Roboto Slab. + * @return value or {@code null} for none + */ + public java.lang.String getPredefinedFontFamily() { + return predefinedFontFamily; + } + + /** + * The brand's font family. Must be one of the following Google Fonts (case sensitive): Open Sans, + * Roboto, Montserrat, Poppins, Lato, Oswald, Playfair Display, Roboto Slab. + * @param predefinedFontFamily predefinedFontFamily or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignBrandGuidelines setPredefinedFontFamily(java.lang.String predefinedFontFamily) { + this.predefinedFontFamily = predefinedFontFamily; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesCampaignBrandGuidelines set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesCampaignBrandGuidelines) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesCampaignBrandGuidelines clone() { + return (GoogleAdsSearchads360V23ResourcesCampaignBrandGuidelines) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignBudget.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignBudget.java new file mode 100644 index 00000000000..42173db2d36 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignBudget.java @@ -0,0 +1,577 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A campaign budget. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesCampaignBudget extends com.google.api.client.json.GenericJson { + + /** + * ID of the portfolio bidding strategy that this shared campaign budget is aligned with. When a + * bidding strategy and a campaign budget are aligned, they are attached to the same set of + * campaigns. After a campaign budget is aligned with a bidding strategy, campaigns that are added + * to the campaign budget must also use the aligned bidding strategy. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long alignedBiddingStrategyId; + + /** + * The average daily amount to be spent by the campaign. This field is used when the + * CampaignBudget `period` is set to `DAILY`, which is the default. Amount is specified in micros + * in the account's local currency. One million micros is equivalent to one currency unit. The + * effective monthly spend is capped at 30.4 times this daily amount. This field is mutually + * exclusive with 'total_amount_micros'. Only one of 'amount_micros' or 'total_amount_micros' + * should be set. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long amountMicros; + + /** + * The delivery method that determines the rate at which the campaign budget is spent. Defaults to + * STANDARD if unspecified in a create operation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String deliveryMethod; + + /** + * Specifies whether the budget is explicitly shared. Defaults to true if unspecified in a create + * operation. If true, the budget was created with the purpose of sharing across one or more + * campaigns. If false, the budget was created with the intention of only being used with a single + * campaign. The budget's name and status will stay in sync with the campaign's name and status. + * Attempting to share the budget with a second campaign will result in an error. A non-shared + * budget can become an explicitly shared. The same operation must also assign the budget a name. + * A shared campaign budget can never become non-shared. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean explicitlyShared; + + /** + * Output only. Indicates whether there is a recommended budget for this campaign budget. This + * field is read-only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean hasRecommendedBudget; + + /** + * Output only. The ID of the campaign budget. A campaign budget is created using the + * CampaignBudgetService create operation and is assigned a budget ID. A budget ID can be shared + * across different campaigns; the system will then allocate the campaign budget among different + * campaigns to get optimum results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long id; + + /** + * The name of the campaign budget. When creating a campaign budget through CampaignBudgetService, + * every explicitly shared campaign budget must have a non-null, non-empty name. Campaign budgets + * that are not explicitly shared derive their name from the attached campaign's name. The length + * of this string must be between 1 and 255, inclusive, in UTF-8 bytes, (trimmed). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * Immutable. Period over which to spend the budget. Defaults to DAILY if not specified. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String period; + + /** + * Output only. The recommended budget amount. If no recommendation is available, this will be set + * to the budget amount. Amount is specified in micros, where one million is equivalent to one + * currency unit. This field is read-only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long recommendedBudgetAmountMicros; + + /** + * Output only. The estimated change in weekly clicks if the recommended budget is applied. This + * field is read-only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long recommendedBudgetEstimatedChangeWeeklyClicks; + + /** + * Output only. The estimated change in weekly cost in micros if the recommended budget is + * applied. One million is equivalent to one currency unit. This field is read-only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long recommendedBudgetEstimatedChangeWeeklyCostMicros; + + /** + * Output only. The estimated change in weekly interactions if the recommended budget is applied. + * This field is read-only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long recommendedBudgetEstimatedChangeWeeklyInteractions; + + /** + * Output only. The estimated change in weekly views if the recommended budget is applied. This + * field is read-only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long recommendedBudgetEstimatedChangeWeeklyViews; + + /** + * Output only. The number of campaigns actively using the budget. This field is read-only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long referenceCount; + + /** + * Immutable. The resource name of the campaign budget. Campaign budget resource names have the + * form: `customers/{customer_id}/campaignBudgets/{campaign_budget_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. The status of this campaign budget. This field is read-only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String status; + + /** + * The total amount to be spent by the campaign over its entire duration. This field is used + * *only* when the CampaignBudget `period` is set to `CUSTOM_PERIOD`. It represents the budget cap + * for the campaign's lifetime, rather than a daily limit. The amount is specified in micros in + * the account's local currency. One million micros is equivalent to one currency unit. This field + * is mutually exclusive with 'amount_micros'. Only one of 'total_amount_micros' or + * 'amount_micros' should be set. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long totalAmountMicros; + + /** + * Immutable. The type of the campaign budget. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String type; + + /** + * ID of the portfolio bidding strategy that this shared campaign budget is aligned with. When a + * bidding strategy and a campaign budget are aligned, they are attached to the same set of + * campaigns. After a campaign budget is aligned with a bidding strategy, campaigns that are added + * to the campaign budget must also use the aligned bidding strategy. + * @return value or {@code null} for none + */ + public java.lang.Long getAlignedBiddingStrategyId() { + return alignedBiddingStrategyId; + } + + /** + * ID of the portfolio bidding strategy that this shared campaign budget is aligned with. When a + * bidding strategy and a campaign budget are aligned, they are attached to the same set of + * campaigns. After a campaign budget is aligned with a bidding strategy, campaigns that are added + * to the campaign budget must also use the aligned bidding strategy. + * @param alignedBiddingStrategyId alignedBiddingStrategyId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignBudget setAlignedBiddingStrategyId(java.lang.Long alignedBiddingStrategyId) { + this.alignedBiddingStrategyId = alignedBiddingStrategyId; + return this; + } + + /** + * The average daily amount to be spent by the campaign. This field is used when the + * CampaignBudget `period` is set to `DAILY`, which is the default. Amount is specified in micros + * in the account's local currency. One million micros is equivalent to one currency unit. The + * effective monthly spend is capped at 30.4 times this daily amount. This field is mutually + * exclusive with 'total_amount_micros'. Only one of 'amount_micros' or 'total_amount_micros' + * should be set. + * @return value or {@code null} for none + */ + public java.lang.Long getAmountMicros() { + return amountMicros; + } + + /** + * The average daily amount to be spent by the campaign. This field is used when the + * CampaignBudget `period` is set to `DAILY`, which is the default. Amount is specified in micros + * in the account's local currency. One million micros is equivalent to one currency unit. The + * effective monthly spend is capped at 30.4 times this daily amount. This field is mutually + * exclusive with 'total_amount_micros'. Only one of 'amount_micros' or 'total_amount_micros' + * should be set. + * @param amountMicros amountMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignBudget setAmountMicros(java.lang.Long amountMicros) { + this.amountMicros = amountMicros; + return this; + } + + /** + * The delivery method that determines the rate at which the campaign budget is spent. Defaults to + * STANDARD if unspecified in a create operation. + * @return value or {@code null} for none + */ + public java.lang.String getDeliveryMethod() { + return deliveryMethod; + } + + /** + * The delivery method that determines the rate at which the campaign budget is spent. Defaults to + * STANDARD if unspecified in a create operation. + * @param deliveryMethod deliveryMethod or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignBudget setDeliveryMethod(java.lang.String deliveryMethod) { + this.deliveryMethod = deliveryMethod; + return this; + } + + /** + * Specifies whether the budget is explicitly shared. Defaults to true if unspecified in a create + * operation. If true, the budget was created with the purpose of sharing across one or more + * campaigns. If false, the budget was created with the intention of only being used with a single + * campaign. The budget's name and status will stay in sync with the campaign's name and status. + * Attempting to share the budget with a second campaign will result in an error. A non-shared + * budget can become an explicitly shared. The same operation must also assign the budget a name. + * A shared campaign budget can never become non-shared. + * @return value or {@code null} for none + */ + public java.lang.Boolean getExplicitlyShared() { + return explicitlyShared; + } + + /** + * Specifies whether the budget is explicitly shared. Defaults to true if unspecified in a create + * operation. If true, the budget was created with the purpose of sharing across one or more + * campaigns. If false, the budget was created with the intention of only being used with a single + * campaign. The budget's name and status will stay in sync with the campaign's name and status. + * Attempting to share the budget with a second campaign will result in an error. A non-shared + * budget can become an explicitly shared. The same operation must also assign the budget a name. + * A shared campaign budget can never become non-shared. + * @param explicitlyShared explicitlyShared or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignBudget setExplicitlyShared(java.lang.Boolean explicitlyShared) { + this.explicitlyShared = explicitlyShared; + return this; + } + + /** + * Output only. Indicates whether there is a recommended budget for this campaign budget. This + * field is read-only. + * @return value or {@code null} for none + */ + public java.lang.Boolean getHasRecommendedBudget() { + return hasRecommendedBudget; + } + + /** + * Output only. Indicates whether there is a recommended budget for this campaign budget. This + * field is read-only. + * @param hasRecommendedBudget hasRecommendedBudget or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignBudget setHasRecommendedBudget(java.lang.Boolean hasRecommendedBudget) { + this.hasRecommendedBudget = hasRecommendedBudget; + return this; + } + + /** + * Output only. The ID of the campaign budget. A campaign budget is created using the + * CampaignBudgetService create operation and is assigned a budget ID. A budget ID can be shared + * across different campaigns; the system will then allocate the campaign budget among different + * campaigns to get optimum results. + * @return value or {@code null} for none + */ + public java.lang.Long getId() { + return id; + } + + /** + * Output only. The ID of the campaign budget. A campaign budget is created using the + * CampaignBudgetService create operation and is assigned a budget ID. A budget ID can be shared + * across different campaigns; the system will then allocate the campaign budget among different + * campaigns to get optimum results. + * @param id id or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignBudget setId(java.lang.Long id) { + this.id = id; + return this; + } + + /** + * The name of the campaign budget. When creating a campaign budget through CampaignBudgetService, + * every explicitly shared campaign budget must have a non-null, non-empty name. Campaign budgets + * that are not explicitly shared derive their name from the attached campaign's name. The length + * of this string must be between 1 and 255, inclusive, in UTF-8 bytes, (trimmed). + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * The name of the campaign budget. When creating a campaign budget through CampaignBudgetService, + * every explicitly shared campaign budget must have a non-null, non-empty name. Campaign budgets + * that are not explicitly shared derive their name from the attached campaign's name. The length + * of this string must be between 1 and 255, inclusive, in UTF-8 bytes, (trimmed). + * @param name name or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignBudget setName(java.lang.String name) { + this.name = name; + return this; + } + + /** + * Immutable. Period over which to spend the budget. Defaults to DAILY if not specified. + * @return value or {@code null} for none + */ + public java.lang.String getPeriod() { + return period; + } + + /** + * Immutable. Period over which to spend the budget. Defaults to DAILY if not specified. + * @param period period or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignBudget setPeriod(java.lang.String period) { + this.period = period; + return this; + } + + /** + * Output only. The recommended budget amount. If no recommendation is available, this will be set + * to the budget amount. Amount is specified in micros, where one million is equivalent to one + * currency unit. This field is read-only. + * @return value or {@code null} for none + */ + public java.lang.Long getRecommendedBudgetAmountMicros() { + return recommendedBudgetAmountMicros; + } + + /** + * Output only. The recommended budget amount. If no recommendation is available, this will be set + * to the budget amount. Amount is specified in micros, where one million is equivalent to one + * currency unit. This field is read-only. + * @param recommendedBudgetAmountMicros recommendedBudgetAmountMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignBudget setRecommendedBudgetAmountMicros(java.lang.Long recommendedBudgetAmountMicros) { + this.recommendedBudgetAmountMicros = recommendedBudgetAmountMicros; + return this; + } + + /** + * Output only. The estimated change in weekly clicks if the recommended budget is applied. This + * field is read-only. + * @return value or {@code null} for none + */ + public java.lang.Long getRecommendedBudgetEstimatedChangeWeeklyClicks() { + return recommendedBudgetEstimatedChangeWeeklyClicks; + } + + /** + * Output only. The estimated change in weekly clicks if the recommended budget is applied. This + * field is read-only. + * @param recommendedBudgetEstimatedChangeWeeklyClicks recommendedBudgetEstimatedChangeWeeklyClicks or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignBudget setRecommendedBudgetEstimatedChangeWeeklyClicks(java.lang.Long recommendedBudgetEstimatedChangeWeeklyClicks) { + this.recommendedBudgetEstimatedChangeWeeklyClicks = recommendedBudgetEstimatedChangeWeeklyClicks; + return this; + } + + /** + * Output only. The estimated change in weekly cost in micros if the recommended budget is + * applied. One million is equivalent to one currency unit. This field is read-only. + * @return value or {@code null} for none + */ + public java.lang.Long getRecommendedBudgetEstimatedChangeWeeklyCostMicros() { + return recommendedBudgetEstimatedChangeWeeklyCostMicros; + } + + /** + * Output only. The estimated change in weekly cost in micros if the recommended budget is + * applied. One million is equivalent to one currency unit. This field is read-only. + * @param recommendedBudgetEstimatedChangeWeeklyCostMicros recommendedBudgetEstimatedChangeWeeklyCostMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignBudget setRecommendedBudgetEstimatedChangeWeeklyCostMicros(java.lang.Long recommendedBudgetEstimatedChangeWeeklyCostMicros) { + this.recommendedBudgetEstimatedChangeWeeklyCostMicros = recommendedBudgetEstimatedChangeWeeklyCostMicros; + return this; + } + + /** + * Output only. The estimated change in weekly interactions if the recommended budget is applied. + * This field is read-only. + * @return value or {@code null} for none + */ + public java.lang.Long getRecommendedBudgetEstimatedChangeWeeklyInteractions() { + return recommendedBudgetEstimatedChangeWeeklyInteractions; + } + + /** + * Output only. The estimated change in weekly interactions if the recommended budget is applied. + * This field is read-only. + * @param recommendedBudgetEstimatedChangeWeeklyInteractions recommendedBudgetEstimatedChangeWeeklyInteractions or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignBudget setRecommendedBudgetEstimatedChangeWeeklyInteractions(java.lang.Long recommendedBudgetEstimatedChangeWeeklyInteractions) { + this.recommendedBudgetEstimatedChangeWeeklyInteractions = recommendedBudgetEstimatedChangeWeeklyInteractions; + return this; + } + + /** + * Output only. The estimated change in weekly views if the recommended budget is applied. This + * field is read-only. + * @return value or {@code null} for none + */ + public java.lang.Long getRecommendedBudgetEstimatedChangeWeeklyViews() { + return recommendedBudgetEstimatedChangeWeeklyViews; + } + + /** + * Output only. The estimated change in weekly views if the recommended budget is applied. This + * field is read-only. + * @param recommendedBudgetEstimatedChangeWeeklyViews recommendedBudgetEstimatedChangeWeeklyViews or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignBudget setRecommendedBudgetEstimatedChangeWeeklyViews(java.lang.Long recommendedBudgetEstimatedChangeWeeklyViews) { + this.recommendedBudgetEstimatedChangeWeeklyViews = recommendedBudgetEstimatedChangeWeeklyViews; + return this; + } + + /** + * Output only. The number of campaigns actively using the budget. This field is read-only. + * @return value or {@code null} for none + */ + public java.lang.Long getReferenceCount() { + return referenceCount; + } + + /** + * Output only. The number of campaigns actively using the budget. This field is read-only. + * @param referenceCount referenceCount or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignBudget setReferenceCount(java.lang.Long referenceCount) { + this.referenceCount = referenceCount; + return this; + } + + /** + * Immutable. The resource name of the campaign budget. Campaign budget resource names have the + * form: `customers/{customer_id}/campaignBudgets/{campaign_budget_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Immutable. The resource name of the campaign budget. Campaign budget resource names have the + * form: `customers/{customer_id}/campaignBudgets/{campaign_budget_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignBudget setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Output only. The status of this campaign budget. This field is read-only. + * @return value or {@code null} for none + */ + public java.lang.String getStatus() { + return status; + } + + /** + * Output only. The status of this campaign budget. This field is read-only. + * @param status status or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignBudget setStatus(java.lang.String status) { + this.status = status; + return this; + } + + /** + * The total amount to be spent by the campaign over its entire duration. This field is used + * *only* when the CampaignBudget `period` is set to `CUSTOM_PERIOD`. It represents the budget cap + * for the campaign's lifetime, rather than a daily limit. The amount is specified in micros in + * the account's local currency. One million micros is equivalent to one currency unit. This field + * is mutually exclusive with 'amount_micros'. Only one of 'total_amount_micros' or + * 'amount_micros' should be set. + * @return value or {@code null} for none + */ + public java.lang.Long getTotalAmountMicros() { + return totalAmountMicros; + } + + /** + * The total amount to be spent by the campaign over its entire duration. This field is used + * *only* when the CampaignBudget `period` is set to `CUSTOM_PERIOD`. It represents the budget cap + * for the campaign's lifetime, rather than a daily limit. The amount is specified in micros in + * the account's local currency. One million micros is equivalent to one currency unit. This field + * is mutually exclusive with 'amount_micros'. Only one of 'total_amount_micros' or + * 'amount_micros' should be set. + * @param totalAmountMicros totalAmountMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignBudget setTotalAmountMicros(java.lang.Long totalAmountMicros) { + this.totalAmountMicros = totalAmountMicros; + return this; + } + + /** + * Immutable. The type of the campaign budget. + * @return value or {@code null} for none + */ + public java.lang.String getType() { + return type; + } + + /** + * Immutable. The type of the campaign budget. + * @param type type or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignBudget setType(java.lang.String type) { + this.type = type; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesCampaignBudget set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesCampaignBudget) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesCampaignBudget clone() { + return (GoogleAdsSearchads360V23ResourcesCampaignBudget) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignCategoryBid.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignCategoryBid.java new file mode 100644 index 00000000000..3a79872ba51 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignCategoryBid.java @@ -0,0 +1,121 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Category bids in LocalServicesReportingCampaignSettings. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesCampaignCategoryBid extends com.google.api.client.json.GenericJson { + + /** + * Category for which the bid will be associated with. For example, + * xcat:service_area_business_plumber. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String categoryId; + + /** + * Manual CPA bid for the category. Bid must be greater than the reserve price associated for that + * category. Value is in micros and in the advertiser's currency. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long manualCpaBidMicros; + + /** + * Target CPA bid for the category. Value is in micros and in the advertiser's currency. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long targetCpaBidMicros; + + /** + * Category for which the bid will be associated with. For example, + * xcat:service_area_business_plumber. + * @return value or {@code null} for none + */ + public java.lang.String getCategoryId() { + return categoryId; + } + + /** + * Category for which the bid will be associated with. For example, + * xcat:service_area_business_plumber. + * @param categoryId categoryId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignCategoryBid setCategoryId(java.lang.String categoryId) { + this.categoryId = categoryId; + return this; + } + + /** + * Manual CPA bid for the category. Bid must be greater than the reserve price associated for that + * category. Value is in micros and in the advertiser's currency. + * @return value or {@code null} for none + */ + public java.lang.Long getManualCpaBidMicros() { + return manualCpaBidMicros; + } + + /** + * Manual CPA bid for the category. Bid must be greater than the reserve price associated for that + * category. Value is in micros and in the advertiser's currency. + * @param manualCpaBidMicros manualCpaBidMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignCategoryBid setManualCpaBidMicros(java.lang.Long manualCpaBidMicros) { + this.manualCpaBidMicros = manualCpaBidMicros; + return this; + } + + /** + * Target CPA bid for the category. Value is in micros and in the advertiser's currency. + * @return value or {@code null} for none + */ + public java.lang.Long getTargetCpaBidMicros() { + return targetCpaBidMicros; + } + + /** + * Target CPA bid for the category. Value is in micros and in the advertiser's currency. + * @param targetCpaBidMicros targetCpaBidMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignCategoryBid setTargetCpaBidMicros(java.lang.Long targetCpaBidMicros) { + this.targetCpaBidMicros = targetCpaBidMicros; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesCampaignCategoryBid set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesCampaignCategoryBid) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesCampaignCategoryBid clone() { + return (GoogleAdsSearchads360V23ResourcesCampaignCategoryBid) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignConversionGoal.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignConversionGoal.java new file mode 100644 index 00000000000..137c61343ce --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignConversionGoal.java @@ -0,0 +1,194 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The biddability setting for the specified campaign only for all conversion actions with a + * matching category and origin. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesCampaignConversionGoal extends com.google.api.client.json.GenericJson { + + /** + * The biddability of the campaign conversion goal. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean biddable; + + /** + * Immutable. The campaign with which this campaign conversion goal is associated. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String campaign; + + /** + * The conversion category of this campaign conversion goal. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String category; + + /** + * The conversion origin of this campaign conversion goal. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String origin; + + /** + * Immutable. The resource name of the campaign conversion goal. Campaign conversion goal resource + * names have the form: + * `customers/{customer_id}/campaignConversionGoals/{campaign_id}~{category}~{origin}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Search Ads 360 biddability of the campaign conversion goal. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean searchAds360Biddable; + + /** + * The biddability of the campaign conversion goal. + * @return value or {@code null} for none + */ + public java.lang.Boolean getBiddable() { + return biddable; + } + + /** + * The biddability of the campaign conversion goal. + * @param biddable biddable or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignConversionGoal setBiddable(java.lang.Boolean biddable) { + this.biddable = biddable; + return this; + } + + /** + * Immutable. The campaign with which this campaign conversion goal is associated. + * @return value or {@code null} for none + */ + public java.lang.String getCampaign() { + return campaign; + } + + /** + * Immutable. The campaign with which this campaign conversion goal is associated. + * @param campaign campaign or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignConversionGoal setCampaign(java.lang.String campaign) { + this.campaign = campaign; + return this; + } + + /** + * The conversion category of this campaign conversion goal. + * @return value or {@code null} for none + */ + public java.lang.String getCategory() { + return category; + } + + /** + * The conversion category of this campaign conversion goal. + * @param category category or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignConversionGoal setCategory(java.lang.String category) { + this.category = category; + return this; + } + + /** + * The conversion origin of this campaign conversion goal. + * @return value or {@code null} for none + */ + public java.lang.String getOrigin() { + return origin; + } + + /** + * The conversion origin of this campaign conversion goal. + * @param origin origin or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignConversionGoal setOrigin(java.lang.String origin) { + this.origin = origin; + return this; + } + + /** + * Immutable. The resource name of the campaign conversion goal. Campaign conversion goal resource + * names have the form: + * `customers/{customer_id}/campaignConversionGoals/{campaign_id}~{category}~{origin}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Immutable. The resource name of the campaign conversion goal. Campaign conversion goal resource + * names have the form: + * `customers/{customer_id}/campaignConversionGoals/{campaign_id}~{category}~{origin}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignConversionGoal setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Search Ads 360 biddability of the campaign conversion goal. + * @return value or {@code null} for none + */ + public java.lang.Boolean getSearchAds360Biddable() { + return searchAds360Biddable; + } + + /** + * Search Ads 360 biddability of the campaign conversion goal. + * @param searchAds360Biddable searchAds360Biddable or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignConversionGoal setSearchAds360Biddable(java.lang.Boolean searchAds360Biddable) { + this.searchAds360Biddable = searchAds360Biddable; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesCampaignConversionGoal set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesCampaignConversionGoal) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesCampaignConversionGoal clone() { + return (GoogleAdsSearchads360V23ResourcesCampaignConversionGoal) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignCriterion.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignCriterion.java new file mode 100644 index 00000000000..3b22c6b4f49 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignCriterion.java @@ -0,0 +1,1084 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A campaign criterion. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesCampaignCriterion extends com.google.api.client.json.GenericJson { + + /** + * Immutable. Ad Schedule. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonAdScheduleInfo adSchedule; + + /** + * Immutable. Age range. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonAgeRangeInfo ageRange; + + /** + * The modifier for the bids when the criterion matches. The modifier must be in the range: 0.1 - + * 10.0. Most targetable criteria types support modifiers. Use 0 to opt out of a Device type. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Float bidModifier; + + /** + * Immutable. Brand list campaign criterion. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonBrandListInfo brandList; + + /** + * Immutable. The campaign to which the criterion belongs. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String campaign; + + /** + * Immutable. Carrier. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonCarrierInfo carrier; + + /** + * Immutable. Combined Audience. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonCombinedAudienceInfo combinedAudience; + + /** + * Immutable. ContentLabel. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonContentLabelInfo contentLabel; + + /** + * Output only. The ID of the criterion. This field is ignored during mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long criterionId; + + /** + * Immutable. Device. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonDeviceInfo device; + + /** + * Output only. The display name of the criterion. This field is ignored for mutates. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String displayName; + + /** + * Immutable. Extended demographic criterion. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonExtendedDemographicInfo extendedDemographic; + + /** + * Immutable. Gender. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonGenderInfo gender; + + /** + * Immutable. Income range. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonIncomeRangeInfo incomeRange; + + /** + * Immutable. IpBlock. You can exclude up to 500 IP addresses per campaign. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonIpBlockInfo ipBlock; + + /** + * Immutable. Keyword. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonKeywordInfo keyword; + + /** + * Immutable. Smart Campaign Keyword Theme. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonKeywordThemeInfo keywordTheme; + + /** + * Immutable. Language. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonLanguageInfo language; + + /** + * Output only. The datetime when this campaign criterion was last modified. The datetime is in + * the customer's time zone and in "yyyy-MM-dd HH:mm:ss.ssssss" format. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String lastModifiedTime; + + /** + * Immutable. Life event campaign criterion. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonLifeEventInfo lifeEvent; + + /** + * Immutable. Listing scope. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonListingScopeInfo listingScope; + + /** + * Immutable. GLS service campaign criterion. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonLocalServiceIdInfo localServiceId; + + /** + * Immutable. Location. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonLocationInfo location; + + /** + * Immutable. Location Group + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonLocationGroupInfo locationGroup; + + /** + * Immutable. Mobile app category. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonMobileAppCategoryInfo mobileAppCategory; + + /** + * Immutable. Mobile application. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonMobileApplicationInfo mobileApplication; + + /** + * Immutable. Mobile Device. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonMobileDeviceInfo mobileDevice; + + /** + * Immutable. Whether to target (`false`) or exclude (`true`) the criterion. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean negative; + + /** + * Immutable. Operating system version. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonOperatingSystemVersionInfo operatingSystemVersion; + + /** + * Immutable. Parental status. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonParentalStatusInfo parentalStatus; + + /** + * Immutable. Placement. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonPlacementInfo placement; + + /** + * Immutable. Proximity. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonProximityInfo proximity; + + /** + * Immutable. The resource name of the campaign criterion. Campaign criterion resource names have + * the form: `customers/{customer_id}/campaignCriteria/{campaign_id}~{criterion_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * The status of the criterion. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String status; + + /** + * Immutable. Topic. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonTopicInfo topic; + + /** + * Output only. The type of the criterion. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String type; + + /** + * Immutable. User Interest. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonUserInterestInfo userInterest; + + /** + * Immutable. User List. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonUserListInfo userList; + + /** + * Immutable. Video lineup criterion. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonVideoLineupInfo videoLineup; + + /** + * Immutable. Webpage. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonWebpageInfo webpage; + + /** + * Immutable. Webpage list. This criterion is not publicly available. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonWebpageListInfo webpageList; + + /** + * Immutable. YouTube Channel. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonYouTubeChannelInfo youtubeChannel; + + /** + * Immutable. YouTube Video. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonYouTubeVideoInfo youtubeVideo; + + /** + * Immutable. Ad Schedule. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAdScheduleInfo getAdSchedule() { + return adSchedule; + } + + /** + * Immutable. Ad Schedule. + * @param adSchedule adSchedule or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignCriterion setAdSchedule(GoogleAdsSearchads360V23CommonAdScheduleInfo adSchedule) { + this.adSchedule = adSchedule; + return this; + } + + /** + * Immutable. Age range. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAgeRangeInfo getAgeRange() { + return ageRange; + } + + /** + * Immutable. Age range. + * @param ageRange ageRange or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignCriterion setAgeRange(GoogleAdsSearchads360V23CommonAgeRangeInfo ageRange) { + this.ageRange = ageRange; + return this; + } + + /** + * The modifier for the bids when the criterion matches. The modifier must be in the range: 0.1 - + * 10.0. Most targetable criteria types support modifiers. Use 0 to opt out of a Device type. + * @return value or {@code null} for none + */ + public java.lang.Float getBidModifier() { + return bidModifier; + } + + /** + * The modifier for the bids when the criterion matches. The modifier must be in the range: 0.1 - + * 10.0. Most targetable criteria types support modifiers. Use 0 to opt out of a Device type. + * @param bidModifier bidModifier or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignCriterion setBidModifier(java.lang.Float bidModifier) { + this.bidModifier = bidModifier; + return this; + } + + /** + * Immutable. Brand list campaign criterion. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonBrandListInfo getBrandList() { + return brandList; + } + + /** + * Immutable. Brand list campaign criterion. + * @param brandList brandList or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignCriterion setBrandList(GoogleAdsSearchads360V23CommonBrandListInfo brandList) { + this.brandList = brandList; + return this; + } + + /** + * Immutable. The campaign to which the criterion belongs. + * @return value or {@code null} for none + */ + public java.lang.String getCampaign() { + return campaign; + } + + /** + * Immutable. The campaign to which the criterion belongs. + * @param campaign campaign or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignCriterion setCampaign(java.lang.String campaign) { + this.campaign = campaign; + return this; + } + + /** + * Immutable. Carrier. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCarrierInfo getCarrier() { + return carrier; + } + + /** + * Immutable. Carrier. + * @param carrier carrier or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignCriterion setCarrier(GoogleAdsSearchads360V23CommonCarrierInfo carrier) { + this.carrier = carrier; + return this; + } + + /** + * Immutable. Combined Audience. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCombinedAudienceInfo getCombinedAudience() { + return combinedAudience; + } + + /** + * Immutable. Combined Audience. + * @param combinedAudience combinedAudience or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignCriterion setCombinedAudience(GoogleAdsSearchads360V23CommonCombinedAudienceInfo combinedAudience) { + this.combinedAudience = combinedAudience; + return this; + } + + /** + * Immutable. ContentLabel. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonContentLabelInfo getContentLabel() { + return contentLabel; + } + + /** + * Immutable. ContentLabel. + * @param contentLabel contentLabel or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignCriterion setContentLabel(GoogleAdsSearchads360V23CommonContentLabelInfo contentLabel) { + this.contentLabel = contentLabel; + return this; + } + + /** + * Output only. The ID of the criterion. This field is ignored during mutate. + * @return value or {@code null} for none + */ + public java.lang.Long getCriterionId() { + return criterionId; + } + + /** + * Output only. The ID of the criterion. This field is ignored during mutate. + * @param criterionId criterionId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignCriterion setCriterionId(java.lang.Long criterionId) { + this.criterionId = criterionId; + return this; + } + + /** + * Immutable. Device. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDeviceInfo getDevice() { + return device; + } + + /** + * Immutable. Device. + * @param device device or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignCriterion setDevice(GoogleAdsSearchads360V23CommonDeviceInfo device) { + this.device = device; + return this; + } + + /** + * Output only. The display name of the criterion. This field is ignored for mutates. + * @return value or {@code null} for none + */ + public java.lang.String getDisplayName() { + return displayName; + } + + /** + * Output only. The display name of the criterion. This field is ignored for mutates. + * @param displayName displayName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignCriterion setDisplayName(java.lang.String displayName) { + this.displayName = displayName; + return this; + } + + /** + * Immutable. Extended demographic criterion. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonExtendedDemographicInfo getExtendedDemographic() { + return extendedDemographic; + } + + /** + * Immutable. Extended demographic criterion. + * @param extendedDemographic extendedDemographic or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignCriterion setExtendedDemographic(GoogleAdsSearchads360V23CommonExtendedDemographicInfo extendedDemographic) { + this.extendedDemographic = extendedDemographic; + return this; + } + + /** + * Immutable. Gender. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonGenderInfo getGender() { + return gender; + } + + /** + * Immutable. Gender. + * @param gender gender or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignCriterion setGender(GoogleAdsSearchads360V23CommonGenderInfo gender) { + this.gender = gender; + return this; + } + + /** + * Immutable. Income range. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonIncomeRangeInfo getIncomeRange() { + return incomeRange; + } + + /** + * Immutable. Income range. + * @param incomeRange incomeRange or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignCriterion setIncomeRange(GoogleAdsSearchads360V23CommonIncomeRangeInfo incomeRange) { + this.incomeRange = incomeRange; + return this; + } + + /** + * Immutable. IpBlock. You can exclude up to 500 IP addresses per campaign. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonIpBlockInfo getIpBlock() { + return ipBlock; + } + + /** + * Immutable. IpBlock. You can exclude up to 500 IP addresses per campaign. + * @param ipBlock ipBlock or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignCriterion setIpBlock(GoogleAdsSearchads360V23CommonIpBlockInfo ipBlock) { + this.ipBlock = ipBlock; + return this; + } + + /** + * Immutable. Keyword. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonKeywordInfo getKeyword() { + return keyword; + } + + /** + * Immutable. Keyword. + * @param keyword keyword or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignCriterion setKeyword(GoogleAdsSearchads360V23CommonKeywordInfo keyword) { + this.keyword = keyword; + return this; + } + + /** + * Immutable. Smart Campaign Keyword Theme. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonKeywordThemeInfo getKeywordTheme() { + return keywordTheme; + } + + /** + * Immutable. Smart Campaign Keyword Theme. + * @param keywordTheme keywordTheme or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignCriterion setKeywordTheme(GoogleAdsSearchads360V23CommonKeywordThemeInfo keywordTheme) { + this.keywordTheme = keywordTheme; + return this; + } + + /** + * Immutable. Language. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLanguageInfo getLanguage() { + return language; + } + + /** + * Immutable. Language. + * @param language language or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignCriterion setLanguage(GoogleAdsSearchads360V23CommonLanguageInfo language) { + this.language = language; + return this; + } + + /** + * Output only. The datetime when this campaign criterion was last modified. The datetime is in + * the customer's time zone and in "yyyy-MM-dd HH:mm:ss.ssssss" format. + * @return value or {@code null} for none + */ + public java.lang.String getLastModifiedTime() { + return lastModifiedTime; + } + + /** + * Output only. The datetime when this campaign criterion was last modified. The datetime is in + * the customer's time zone and in "yyyy-MM-dd HH:mm:ss.ssssss" format. + * @param lastModifiedTime lastModifiedTime or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignCriterion setLastModifiedTime(java.lang.String lastModifiedTime) { + this.lastModifiedTime = lastModifiedTime; + return this; + } + + /** + * Immutable. Life event campaign criterion. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLifeEventInfo getLifeEvent() { + return lifeEvent; + } + + /** + * Immutable. Life event campaign criterion. + * @param lifeEvent lifeEvent or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignCriterion setLifeEvent(GoogleAdsSearchads360V23CommonLifeEventInfo lifeEvent) { + this.lifeEvent = lifeEvent; + return this; + } + + /** + * Immutable. Listing scope. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonListingScopeInfo getListingScope() { + return listingScope; + } + + /** + * Immutable. Listing scope. + * @param listingScope listingScope or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignCriterion setListingScope(GoogleAdsSearchads360V23CommonListingScopeInfo listingScope) { + this.listingScope = listingScope; + return this; + } + + /** + * Immutable. GLS service campaign criterion. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLocalServiceIdInfo getLocalServiceId() { + return localServiceId; + } + + /** + * Immutable. GLS service campaign criterion. + * @param localServiceId localServiceId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignCriterion setLocalServiceId(GoogleAdsSearchads360V23CommonLocalServiceIdInfo localServiceId) { + this.localServiceId = localServiceId; + return this; + } + + /** + * Immutable. Location. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLocationInfo getLocation() { + return location; + } + + /** + * Immutable. Location. + * @param location location or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignCriterion setLocation(GoogleAdsSearchads360V23CommonLocationInfo location) { + this.location = location; + return this; + } + + /** + * Immutable. Location Group + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLocationGroupInfo getLocationGroup() { + return locationGroup; + } + + /** + * Immutable. Location Group + * @param locationGroup locationGroup or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignCriterion setLocationGroup(GoogleAdsSearchads360V23CommonLocationGroupInfo locationGroup) { + this.locationGroup = locationGroup; + return this; + } + + /** + * Immutable. Mobile app category. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMobileAppCategoryInfo getMobileAppCategory() { + return mobileAppCategory; + } + + /** + * Immutable. Mobile app category. + * @param mobileAppCategory mobileAppCategory or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignCriterion setMobileAppCategory(GoogleAdsSearchads360V23CommonMobileAppCategoryInfo mobileAppCategory) { + this.mobileAppCategory = mobileAppCategory; + return this; + } + + /** + * Immutable. Mobile application. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMobileApplicationInfo getMobileApplication() { + return mobileApplication; + } + + /** + * Immutable. Mobile application. + * @param mobileApplication mobileApplication or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignCriterion setMobileApplication(GoogleAdsSearchads360V23CommonMobileApplicationInfo mobileApplication) { + this.mobileApplication = mobileApplication; + return this; + } + + /** + * Immutable. Mobile Device. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMobileDeviceInfo getMobileDevice() { + return mobileDevice; + } + + /** + * Immutable. Mobile Device. + * @param mobileDevice mobileDevice or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignCriterion setMobileDevice(GoogleAdsSearchads360V23CommonMobileDeviceInfo mobileDevice) { + this.mobileDevice = mobileDevice; + return this; + } + + /** + * Immutable. Whether to target (`false`) or exclude (`true`) the criterion. + * @return value or {@code null} for none + */ + public java.lang.Boolean getNegative() { + return negative; + } + + /** + * Immutable. Whether to target (`false`) or exclude (`true`) the criterion. + * @param negative negative or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignCriterion setNegative(java.lang.Boolean negative) { + this.negative = negative; + return this; + } + + /** + * Immutable. Operating system version. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonOperatingSystemVersionInfo getOperatingSystemVersion() { + return operatingSystemVersion; + } + + /** + * Immutable. Operating system version. + * @param operatingSystemVersion operatingSystemVersion or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignCriterion setOperatingSystemVersion(GoogleAdsSearchads360V23CommonOperatingSystemVersionInfo operatingSystemVersion) { + this.operatingSystemVersion = operatingSystemVersion; + return this; + } + + /** + * Immutable. Parental status. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonParentalStatusInfo getParentalStatus() { + return parentalStatus; + } + + /** + * Immutable. Parental status. + * @param parentalStatus parentalStatus or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignCriterion setParentalStatus(GoogleAdsSearchads360V23CommonParentalStatusInfo parentalStatus) { + this.parentalStatus = parentalStatus; + return this; + } + + /** + * Immutable. Placement. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPlacementInfo getPlacement() { + return placement; + } + + /** + * Immutable. Placement. + * @param placement placement or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignCriterion setPlacement(GoogleAdsSearchads360V23CommonPlacementInfo placement) { + this.placement = placement; + return this; + } + + /** + * Immutable. Proximity. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonProximityInfo getProximity() { + return proximity; + } + + /** + * Immutable. Proximity. + * @param proximity proximity or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignCriterion setProximity(GoogleAdsSearchads360V23CommonProximityInfo proximity) { + this.proximity = proximity; + return this; + } + + /** + * Immutable. The resource name of the campaign criterion. Campaign criterion resource names have + * the form: `customers/{customer_id}/campaignCriteria/{campaign_id}~{criterion_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Immutable. The resource name of the campaign criterion. Campaign criterion resource names have + * the form: `customers/{customer_id}/campaignCriteria/{campaign_id}~{criterion_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignCriterion setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * The status of the criterion. + * @return value or {@code null} for none + */ + public java.lang.String getStatus() { + return status; + } + + /** + * The status of the criterion. + * @param status status or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignCriterion setStatus(java.lang.String status) { + this.status = status; + return this; + } + + /** + * Immutable. Topic. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonTopicInfo getTopic() { + return topic; + } + + /** + * Immutable. Topic. + * @param topic topic or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignCriterion setTopic(GoogleAdsSearchads360V23CommonTopicInfo topic) { + this.topic = topic; + return this; + } + + /** + * Output only. The type of the criterion. + * @return value or {@code null} for none + */ + public java.lang.String getType() { + return type; + } + + /** + * Output only. The type of the criterion. + * @param type type or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignCriterion setType(java.lang.String type) { + this.type = type; + return this; + } + + /** + * Immutable. User Interest. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUserInterestInfo getUserInterest() { + return userInterest; + } + + /** + * Immutable. User Interest. + * @param userInterest userInterest or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignCriterion setUserInterest(GoogleAdsSearchads360V23CommonUserInterestInfo userInterest) { + this.userInterest = userInterest; + return this; + } + + /** + * Immutable. User List. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUserListInfo getUserList() { + return userList; + } + + /** + * Immutable. User List. + * @param userList userList or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignCriterion setUserList(GoogleAdsSearchads360V23CommonUserListInfo userList) { + this.userList = userList; + return this; + } + + /** + * Immutable. Video lineup criterion. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonVideoLineupInfo getVideoLineup() { + return videoLineup; + } + + /** + * Immutable. Video lineup criterion. + * @param videoLineup videoLineup or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignCriterion setVideoLineup(GoogleAdsSearchads360V23CommonVideoLineupInfo videoLineup) { + this.videoLineup = videoLineup; + return this; + } + + /** + * Immutable. Webpage. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonWebpageInfo getWebpage() { + return webpage; + } + + /** + * Immutable. Webpage. + * @param webpage webpage or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignCriterion setWebpage(GoogleAdsSearchads360V23CommonWebpageInfo webpage) { + this.webpage = webpage; + return this; + } + + /** + * Immutable. Webpage list. This criterion is not publicly available. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonWebpageListInfo getWebpageList() { + return webpageList; + } + + /** + * Immutable. Webpage list. This criterion is not publicly available. + * @param webpageList webpageList or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignCriterion setWebpageList(GoogleAdsSearchads360V23CommonWebpageListInfo webpageList) { + this.webpageList = webpageList; + return this; + } + + /** + * Immutable. YouTube Channel. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonYouTubeChannelInfo getYoutubeChannel() { + return youtubeChannel; + } + + /** + * Immutable. YouTube Channel. + * @param youtubeChannel youtubeChannel or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignCriterion setYoutubeChannel(GoogleAdsSearchads360V23CommonYouTubeChannelInfo youtubeChannel) { + this.youtubeChannel = youtubeChannel; + return this; + } + + /** + * Immutable. YouTube Video. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonYouTubeVideoInfo getYoutubeVideo() { + return youtubeVideo; + } + + /** + * Immutable. YouTube Video. + * @param youtubeVideo youtubeVideo or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignCriterion setYoutubeVideo(GoogleAdsSearchads360V23CommonYouTubeVideoInfo youtubeVideo) { + this.youtubeVideo = youtubeVideo; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesCampaignCriterion set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesCampaignCriterion) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesCampaignCriterion clone() { + return (GoogleAdsSearchads360V23ResourcesCampaignCriterion) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignCustomizer.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignCustomizer.java new file mode 100644 index 00000000000..43a8816a909 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignCustomizer.java @@ -0,0 +1,172 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A customizer value for the associated CustomizerAttribute at the Campaign level. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesCampaignCustomizer extends com.google.api.client.json.GenericJson { + + /** + * Immutable. The campaign to which the customizer attribute is linked. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String campaign; + + /** + * Required. Immutable. The customizer attribute which is linked to the campaign. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String customizerAttribute; + + /** + * Immutable. The resource name of the campaign customizer. Campaign customizer resource names + * have the form: + * `customers/{customer_id}/campaignCustomizers/{campaign_id}~{customizer_attribute_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. The status of the campaign customizer. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String status; + + /** + * Required. The value to associate with the customizer attribute at this level. The value must be + * of the type specified for the CustomizerAttribute. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonCustomizerValue value; + + /** + * Immutable. The campaign to which the customizer attribute is linked. + * @return value or {@code null} for none + */ + public java.lang.String getCampaign() { + return campaign; + } + + /** + * Immutable. The campaign to which the customizer attribute is linked. + * @param campaign campaign or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignCustomizer setCampaign(java.lang.String campaign) { + this.campaign = campaign; + return this; + } + + /** + * Required. Immutable. The customizer attribute which is linked to the campaign. + * @return value or {@code null} for none + */ + public java.lang.String getCustomizerAttribute() { + return customizerAttribute; + } + + /** + * Required. Immutable. The customizer attribute which is linked to the campaign. + * @param customizerAttribute customizerAttribute or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignCustomizer setCustomizerAttribute(java.lang.String customizerAttribute) { + this.customizerAttribute = customizerAttribute; + return this; + } + + /** + * Immutable. The resource name of the campaign customizer. Campaign customizer resource names + * have the form: + * `customers/{customer_id}/campaignCustomizers/{campaign_id}~{customizer_attribute_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Immutable. The resource name of the campaign customizer. Campaign customizer resource names + * have the form: + * `customers/{customer_id}/campaignCustomizers/{campaign_id}~{customizer_attribute_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignCustomizer setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Output only. The status of the campaign customizer. + * @return value or {@code null} for none + */ + public java.lang.String getStatus() { + return status; + } + + /** + * Output only. The status of the campaign customizer. + * @param status status or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignCustomizer setStatus(java.lang.String status) { + this.status = status; + return this; + } + + /** + * Required. The value to associate with the customizer attribute at this level. The value must be + * of the type specified for the CustomizerAttribute. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCustomizerValue getValue() { + return value; + } + + /** + * Required. The value to associate with the customizer attribute at this level. The value must be + * of the type specified for the CustomizerAttribute. + * @param value value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignCustomizer setValue(GoogleAdsSearchads360V23CommonCustomizerValue value) { + this.value = value; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesCampaignCustomizer set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesCampaignCustomizer) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesCampaignCustomizer clone() { + return (GoogleAdsSearchads360V23ResourcesCampaignCustomizer) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignDemandGenCampaignSettings.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignDemandGenCampaignSettings.java new file mode 100644 index 00000000000..a854e308e68 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignDemandGenCampaignSettings.java @@ -0,0 +1,73 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Settings for Demand Gen campaign. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesCampaignDemandGenCampaignSettings extends com.google.api.client.json.GenericJson { + + /** + * Immutable. Specifies whether this campaign uses upgraded targeting options. When this field is + * set to `true`, you can use location and language targeting at the ad group level as opposed to + * the standard campaign-level targeting. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean upgradedTargeting; + + /** + * Immutable. Specifies whether this campaign uses upgraded targeting options. When this field is + * set to `true`, you can use location and language targeting at the ad group level as opposed to + * the standard campaign-level targeting. + * @return value or {@code null} for none + */ + public java.lang.Boolean getUpgradedTargeting() { + return upgradedTargeting; + } + + /** + * Immutable. Specifies whether this campaign uses upgraded targeting options. When this field is + * set to `true`, you can use location and language targeting at the ad group level as opposed to + * the standard campaign-level targeting. + * @param upgradedTargeting upgradedTargeting or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignDemandGenCampaignSettings setUpgradedTargeting(java.lang.Boolean upgradedTargeting) { + this.upgradedTargeting = upgradedTargeting; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesCampaignDemandGenCampaignSettings set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesCampaignDemandGenCampaignSettings) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesCampaignDemandGenCampaignSettings clone() { + return (GoogleAdsSearchads360V23ResourcesCampaignDemandGenCampaignSettings) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignDraft.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignDraft.java new file mode 100644 index 00000000000..0b6e43ca161 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignDraft.java @@ -0,0 +1,256 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A campaign draft. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesCampaignDraft extends com.google.api.client.json.GenericJson { + + /** + * Immutable. The base campaign to which the draft belongs. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String baseCampaign; + + /** + * Output only. Resource name of the Campaign that results from overlaying the draft changes onto + * the base campaign. This field is read-only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String draftCampaign; + + /** + * Output only. The ID of the draft. This field is read-only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long draftId; + + /** + * Output only. Whether there is an experiment based on this draft currently serving. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean hasExperimentRunning; + + /** + * Output only. The resource name of the long-running operation that can be used to poll for + * completion of draft promotion. This is only set if the draft promotion is in progress or + * finished. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String longRunningOperation; + + /** + * The name of the campaign draft. This field is required and should not be empty when creating + * new campaign drafts. It must not contain any null (code point 0x0), NL line feed (code point + * 0xA) or carriage return (code point 0xD) characters. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * Immutable. The resource name of the campaign draft. Campaign draft resource names have the + * form: `customers/{customer_id}/campaignDrafts/{base_campaign_id}~{draft_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. The status of the campaign draft. This field is read-only. When a new campaign + * draft is added, the status defaults to PROPOSED. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String status; + + /** + * Immutable. The base campaign to which the draft belongs. + * @return value or {@code null} for none + */ + public java.lang.String getBaseCampaign() { + return baseCampaign; + } + + /** + * Immutable. The base campaign to which the draft belongs. + * @param baseCampaign baseCampaign or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignDraft setBaseCampaign(java.lang.String baseCampaign) { + this.baseCampaign = baseCampaign; + return this; + } + + /** + * Output only. Resource name of the Campaign that results from overlaying the draft changes onto + * the base campaign. This field is read-only. + * @return value or {@code null} for none + */ + public java.lang.String getDraftCampaign() { + return draftCampaign; + } + + /** + * Output only. Resource name of the Campaign that results from overlaying the draft changes onto + * the base campaign. This field is read-only. + * @param draftCampaign draftCampaign or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignDraft setDraftCampaign(java.lang.String draftCampaign) { + this.draftCampaign = draftCampaign; + return this; + } + + /** + * Output only. The ID of the draft. This field is read-only. + * @return value or {@code null} for none + */ + public java.lang.Long getDraftId() { + return draftId; + } + + /** + * Output only. The ID of the draft. This field is read-only. + * @param draftId draftId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignDraft setDraftId(java.lang.Long draftId) { + this.draftId = draftId; + return this; + } + + /** + * Output only. Whether there is an experiment based on this draft currently serving. + * @return value or {@code null} for none + */ + public java.lang.Boolean getHasExperimentRunning() { + return hasExperimentRunning; + } + + /** + * Output only. Whether there is an experiment based on this draft currently serving. + * @param hasExperimentRunning hasExperimentRunning or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignDraft setHasExperimentRunning(java.lang.Boolean hasExperimentRunning) { + this.hasExperimentRunning = hasExperimentRunning; + return this; + } + + /** + * Output only. The resource name of the long-running operation that can be used to poll for + * completion of draft promotion. This is only set if the draft promotion is in progress or + * finished. + * @return value or {@code null} for none + */ + public java.lang.String getLongRunningOperation() { + return longRunningOperation; + } + + /** + * Output only. The resource name of the long-running operation that can be used to poll for + * completion of draft promotion. This is only set if the draft promotion is in progress or + * finished. + * @param longRunningOperation longRunningOperation or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignDraft setLongRunningOperation(java.lang.String longRunningOperation) { + this.longRunningOperation = longRunningOperation; + return this; + } + + /** + * The name of the campaign draft. This field is required and should not be empty when creating + * new campaign drafts. It must not contain any null (code point 0x0), NL line feed (code point + * 0xA) or carriage return (code point 0xD) characters. + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * The name of the campaign draft. This field is required and should not be empty when creating + * new campaign drafts. It must not contain any null (code point 0x0), NL line feed (code point + * 0xA) or carriage return (code point 0xD) characters. + * @param name name or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignDraft setName(java.lang.String name) { + this.name = name; + return this; + } + + /** + * Immutable. The resource name of the campaign draft. Campaign draft resource names have the + * form: `customers/{customer_id}/campaignDrafts/{base_campaign_id}~{draft_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Immutable. The resource name of the campaign draft. Campaign draft resource names have the + * form: `customers/{customer_id}/campaignDrafts/{base_campaign_id}~{draft_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignDraft setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Output only. The status of the campaign draft. This field is read-only. When a new campaign + * draft is added, the status defaults to PROPOSED. + * @return value or {@code null} for none + */ + public java.lang.String getStatus() { + return status; + } + + /** + * Output only. The status of the campaign draft. This field is read-only. When a new campaign + * draft is added, the status defaults to PROPOSED. + * @param status status or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignDraft setStatus(java.lang.String status) { + this.status = status; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesCampaignDraft set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesCampaignDraft) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesCampaignDraft clone() { + return (GoogleAdsSearchads360V23ResourcesCampaignDraft) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignDynamicSearchAdsSetting.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignDynamicSearchAdsSetting.java new file mode 100644 index 00000000000..1f9d558478c --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignDynamicSearchAdsSetting.java @@ -0,0 +1,118 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The setting for controlling Dynamic Search Ads (DSA). + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesCampaignDynamicSearchAdsSetting extends com.google.api.client.json.GenericJson { + + /** + * Required. The Internet domain name that this setting represents, for example, "google.com" or + * "www.google.com". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String domainName; + + /** + * Required. The language code specifying the language of the domain, for example, "en". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String languageCode; + + /** + * Whether the campaign uses advertiser supplied URLs exclusively. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean useSuppliedUrlsOnly; + + /** + * Required. The Internet domain name that this setting represents, for example, "google.com" or + * "www.google.com". + * @return value or {@code null} for none + */ + public java.lang.String getDomainName() { + return domainName; + } + + /** + * Required. The Internet domain name that this setting represents, for example, "google.com" or + * "www.google.com". + * @param domainName domainName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignDynamicSearchAdsSetting setDomainName(java.lang.String domainName) { + this.domainName = domainName; + return this; + } + + /** + * Required. The language code specifying the language of the domain, for example, "en". + * @return value or {@code null} for none + */ + public java.lang.String getLanguageCode() { + return languageCode; + } + + /** + * Required. The language code specifying the language of the domain, for example, "en". + * @param languageCode languageCode or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignDynamicSearchAdsSetting setLanguageCode(java.lang.String languageCode) { + this.languageCode = languageCode; + return this; + } + + /** + * Whether the campaign uses advertiser supplied URLs exclusively. + * @return value or {@code null} for none + */ + public java.lang.Boolean getUseSuppliedUrlsOnly() { + return useSuppliedUrlsOnly; + } + + /** + * Whether the campaign uses advertiser supplied URLs exclusively. + * @param useSuppliedUrlsOnly useSuppliedUrlsOnly or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignDynamicSearchAdsSetting setUseSuppliedUrlsOnly(java.lang.Boolean useSuppliedUrlsOnly) { + this.useSuppliedUrlsOnly = useSuppliedUrlsOnly; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesCampaignDynamicSearchAdsSetting set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesCampaignDynamicSearchAdsSetting) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesCampaignDynamicSearchAdsSetting clone() { + return (GoogleAdsSearchads360V23ResourcesCampaignDynamicSearchAdsSetting) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignEffectiveLabel.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignEffectiveLabel.java new file mode 100644 index 00000000000..c99b9bff88f --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignEffectiveLabel.java @@ -0,0 +1,143 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Represents a relationship between a campaign and an effective label. An effective label is a + * label inherited or directly assigned to this campaign. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesCampaignEffectiveLabel extends com.google.api.client.json.GenericJson { + + /** + * Immutable. The campaign to which the effective label is attached. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String campaign; + + /** + * Immutable. The effective label assigned to the campaign. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String label; + + /** + * Output only. The ID of the Customer which owns the effective label. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long ownerCustomerId; + + /** + * Immutable. Name of the resource. CampaignEffectivelabel resource names have the form: + * `customers/{owner_customer_id}/campaignEffectiveLabels/{campaign_id}~{label_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Immutable. The campaign to which the effective label is attached. + * @return value or {@code null} for none + */ + public java.lang.String getCampaign() { + return campaign; + } + + /** + * Immutable. The campaign to which the effective label is attached. + * @param campaign campaign or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignEffectiveLabel setCampaign(java.lang.String campaign) { + this.campaign = campaign; + return this; + } + + /** + * Immutable. The effective label assigned to the campaign. + * @return value or {@code null} for none + */ + public java.lang.String getLabel() { + return label; + } + + /** + * Immutable. The effective label assigned to the campaign. + * @param label label or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignEffectiveLabel setLabel(java.lang.String label) { + this.label = label; + return this; + } + + /** + * Output only. The ID of the Customer which owns the effective label. + * @return value or {@code null} for none + */ + public java.lang.Long getOwnerCustomerId() { + return ownerCustomerId; + } + + /** + * Output only. The ID of the Customer which owns the effective label. + * @param ownerCustomerId ownerCustomerId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignEffectiveLabel setOwnerCustomerId(java.lang.Long ownerCustomerId) { + this.ownerCustomerId = ownerCustomerId; + return this; + } + + /** + * Immutable. Name of the resource. CampaignEffectivelabel resource names have the form: + * `customers/{owner_customer_id}/campaignEffectiveLabels/{campaign_id}~{label_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Immutable. Name of the resource. CampaignEffectivelabel resource names have the form: + * `customers/{owner_customer_id}/campaignEffectiveLabels/{campaign_id}~{label_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignEffectiveLabel setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesCampaignEffectiveLabel set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesCampaignEffectiveLabel) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesCampaignEffectiveLabel clone() { + return (GoogleAdsSearchads360V23ResourcesCampaignEffectiveLabel) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignGeoTargetTypeSetting.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignGeoTargetTypeSetting.java new file mode 100644 index 00000000000..3d992ebe1c5 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignGeoTargetTypeSetting.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Represents a collection of settings related to ads geotargeting. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesCampaignGeoTargetTypeSetting extends com.google.api.client.json.GenericJson { + + /** + * The setting used for negative geotargeting in this particular campaign. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String negativeGeoTargetType; + + /** + * The setting used for positive geotargeting in this particular campaign. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String positiveGeoTargetType; + + /** + * The setting used for negative geotargeting in this particular campaign. + * @return value or {@code null} for none + */ + public java.lang.String getNegativeGeoTargetType() { + return negativeGeoTargetType; + } + + /** + * The setting used for negative geotargeting in this particular campaign. + * @param negativeGeoTargetType negativeGeoTargetType or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignGeoTargetTypeSetting setNegativeGeoTargetType(java.lang.String negativeGeoTargetType) { + this.negativeGeoTargetType = negativeGeoTargetType; + return this; + } + + /** + * The setting used for positive geotargeting in this particular campaign. + * @return value or {@code null} for none + */ + public java.lang.String getPositiveGeoTargetType() { + return positiveGeoTargetType; + } + + /** + * The setting used for positive geotargeting in this particular campaign. + * @param positiveGeoTargetType positiveGeoTargetType or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignGeoTargetTypeSetting setPositiveGeoTargetType(java.lang.String positiveGeoTargetType) { + this.positiveGeoTargetType = positiveGeoTargetType; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesCampaignGeoTargetTypeSetting set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesCampaignGeoTargetTypeSetting) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesCampaignGeoTargetTypeSetting clone() { + return (GoogleAdsSearchads360V23ResourcesCampaignGeoTargetTypeSetting) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignGoalConfig.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignGoalConfig.java new file mode 100644 index 00000000000..53136b90c95 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignGoalConfig.java @@ -0,0 +1,166 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A link between a campaign and a goal enabling campaign-specific optimization. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesCampaignGoalConfig extends com.google.api.client.json.GenericJson { + + /** + * Immutable. The resource name of the campaign for this link. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String campaign; + + /** + * Retention goal campaign settings. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonCampaignGoalSettingsCampaignRetentionGoalSettings campaignRetentionSettings; + + /** + * Immutable. The resource name of the goal this link is attached to. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String goal; + + /** + * Output only. The goal type this link is attached to. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String goalType; + + /** + * Immutable. The resource name of the campaign goal config. campaign goal config resource names + * have the form: `customers/{customer_id}/campaignGoalConfigs/{campaign_id}~{goal_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Immutable. The resource name of the campaign for this link. + * @return value or {@code null} for none + */ + public java.lang.String getCampaign() { + return campaign; + } + + /** + * Immutable. The resource name of the campaign for this link. + * @param campaign campaign or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignGoalConfig setCampaign(java.lang.String campaign) { + this.campaign = campaign; + return this; + } + + /** + * Retention goal campaign settings. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCampaignGoalSettingsCampaignRetentionGoalSettings getCampaignRetentionSettings() { + return campaignRetentionSettings; + } + + /** + * Retention goal campaign settings. + * @param campaignRetentionSettings campaignRetentionSettings or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignGoalConfig setCampaignRetentionSettings(GoogleAdsSearchads360V23CommonCampaignGoalSettingsCampaignRetentionGoalSettings campaignRetentionSettings) { + this.campaignRetentionSettings = campaignRetentionSettings; + return this; + } + + /** + * Immutable. The resource name of the goal this link is attached to. + * @return value or {@code null} for none + */ + public java.lang.String getGoal() { + return goal; + } + + /** + * Immutable. The resource name of the goal this link is attached to. + * @param goal goal or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignGoalConfig setGoal(java.lang.String goal) { + this.goal = goal; + return this; + } + + /** + * Output only. The goal type this link is attached to. + * @return value or {@code null} for none + */ + public java.lang.String getGoalType() { + return goalType; + } + + /** + * Output only. The goal type this link is attached to. + * @param goalType goalType or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignGoalConfig setGoalType(java.lang.String goalType) { + this.goalType = goalType; + return this; + } + + /** + * Immutable. The resource name of the campaign goal config. campaign goal config resource names + * have the form: `customers/{customer_id}/campaignGoalConfigs/{campaign_id}~{goal_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Immutable. The resource name of the campaign goal config. campaign goal config resource names + * have the form: `customers/{customer_id}/campaignGoalConfigs/{campaign_id}~{goal_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignGoalConfig setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesCampaignGoalConfig set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesCampaignGoalConfig) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesCampaignGoalConfig clone() { + return (GoogleAdsSearchads360V23ResourcesCampaignGoalConfig) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignGroup.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignGroup.java new file mode 100644 index 00000000000..87969acb4ec --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignGroup.java @@ -0,0 +1,151 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A campaign group. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesCampaignGroup extends com.google.api.client.json.GenericJson { + + /** + * Output only. The ID of the campaign group. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long id; + + /** + * The name of the campaign group. This field is required and should not be empty when creating + * new campaign groups. It must not contain any null (code point 0x0), NL line feed (code point + * 0xA) or carriage return (code point 0xD) characters. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * Immutable. The resource name of the campaign group. Campaign group resource names have the + * form: `customers/{customer_id}/campaignGroups/{campaign_group_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * The status of the campaign group. When a new campaign group is added, the status defaults to + * ENABLED. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String status; + + /** + * Output only. The ID of the campaign group. + * @return value or {@code null} for none + */ + public java.lang.Long getId() { + return id; + } + + /** + * Output only. The ID of the campaign group. + * @param id id or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignGroup setId(java.lang.Long id) { + this.id = id; + return this; + } + + /** + * The name of the campaign group. This field is required and should not be empty when creating + * new campaign groups. It must not contain any null (code point 0x0), NL line feed (code point + * 0xA) or carriage return (code point 0xD) characters. + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * The name of the campaign group. This field is required and should not be empty when creating + * new campaign groups. It must not contain any null (code point 0x0), NL line feed (code point + * 0xA) or carriage return (code point 0xD) characters. + * @param name name or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignGroup setName(java.lang.String name) { + this.name = name; + return this; + } + + /** + * Immutable. The resource name of the campaign group. Campaign group resource names have the + * form: `customers/{customer_id}/campaignGroups/{campaign_group_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Immutable. The resource name of the campaign group. Campaign group resource names have the + * form: `customers/{customer_id}/campaignGroups/{campaign_group_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignGroup setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * The status of the campaign group. When a new campaign group is added, the status defaults to + * ENABLED. + * @return value or {@code null} for none + */ + public java.lang.String getStatus() { + return status; + } + + /** + * The status of the campaign group. When a new campaign group is added, the status defaults to + * ENABLED. + * @param status status or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignGroup setStatus(java.lang.String status) { + this.status = status; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesCampaignGroup set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesCampaignGroup) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesCampaignGroup clone() { + return (GoogleAdsSearchads360V23ResourcesCampaignGroup) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignHotelSettingInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignHotelSettingInfo.java new file mode 100644 index 00000000000..96af2092b10 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignHotelSettingInfo.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Campaign-level settings for hotel ads. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesCampaignHotelSettingInfo extends com.google.api.client.json.GenericJson { + + /** + * Output only. The linked Hotel Center account. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long hotelCenterId; + + /** + * Output only. The linked Hotel Center account. + * @return value or {@code null} for none + */ + public java.lang.Long getHotelCenterId() { + return hotelCenterId; + } + + /** + * Output only. The linked Hotel Center account. + * @param hotelCenterId hotelCenterId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignHotelSettingInfo setHotelCenterId(java.lang.Long hotelCenterId) { + this.hotelCenterId = hotelCenterId; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesCampaignHotelSettingInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesCampaignHotelSettingInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesCampaignHotelSettingInfo clone() { + return (GoogleAdsSearchads360V23ResourcesCampaignHotelSettingInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignLabel.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignLabel.java new file mode 100644 index 00000000000..44658099baf --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignLabel.java @@ -0,0 +1,142 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Represents a relationship between a campaign and a label. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesCampaignLabel extends com.google.api.client.json.GenericJson { + + /** + * Immutable. The campaign to which the label is attached. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String campaign; + + /** + * Immutable. The label assigned to the campaign. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String label; + + /** + * Output only. The ID of the Customer which owns the label. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long ownerCustomerId; + + /** + * Immutable. Name of the resource. Campaign label resource names have the form: + * `customers/{owner_customer_id}/campaignLabels/{campaign_id}~{label_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Immutable. The campaign to which the label is attached. + * @return value or {@code null} for none + */ + public java.lang.String getCampaign() { + return campaign; + } + + /** + * Immutable. The campaign to which the label is attached. + * @param campaign campaign or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignLabel setCampaign(java.lang.String campaign) { + this.campaign = campaign; + return this; + } + + /** + * Immutable. The label assigned to the campaign. + * @return value or {@code null} for none + */ + public java.lang.String getLabel() { + return label; + } + + /** + * Immutable. The label assigned to the campaign. + * @param label label or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignLabel setLabel(java.lang.String label) { + this.label = label; + return this; + } + + /** + * Output only. The ID of the Customer which owns the label. + * @return value or {@code null} for none + */ + public java.lang.Long getOwnerCustomerId() { + return ownerCustomerId; + } + + /** + * Output only. The ID of the Customer which owns the label. + * @param ownerCustomerId ownerCustomerId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignLabel setOwnerCustomerId(java.lang.Long ownerCustomerId) { + this.ownerCustomerId = ownerCustomerId; + return this; + } + + /** + * Immutable. Name of the resource. Campaign label resource names have the form: + * `customers/{owner_customer_id}/campaignLabels/{campaign_id}~{label_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Immutable. Name of the resource. Campaign label resource names have the form: + * `customers/{owner_customer_id}/campaignLabels/{campaign_id}~{label_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignLabel setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesCampaignLabel set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesCampaignLabel) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesCampaignLabel clone() { + return (GoogleAdsSearchads360V23ResourcesCampaignLabel) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignLifecycleGoal.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignLifecycleGoal.java new file mode 100644 index 00000000000..67a557c6289 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignLifecycleGoal.java @@ -0,0 +1,121 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Campaign level customer lifecycle goal settings. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesCampaignLifecycleGoal extends com.google.api.client.json.GenericJson { + + /** + * Output only. The campaign where the goal is attached. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String campaign; + + /** + * Output only. The customer acquisition goal settings for the campaign. The customer acquisition + * goal is described in this article: https://support.google.com/google-ads/answer/12080169 + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCustomerAcquisitionGoalSettings customerAcquisitionGoalSettings; + + /** + * Immutable. The resource name of the customer lifecycle goal of a campaign. + * `customers/{customer_id}/campaignLifecycleGoal/{campaign_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. The campaign where the goal is attached. + * @return value or {@code null} for none + */ + public java.lang.String getCampaign() { + return campaign; + } + + /** + * Output only. The campaign where the goal is attached. + * @param campaign campaign or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignLifecycleGoal setCampaign(java.lang.String campaign) { + this.campaign = campaign; + return this; + } + + /** + * Output only. The customer acquisition goal settings for the campaign. The customer acquisition + * goal is described in this article: https://support.google.com/google-ads/answer/12080169 + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerAcquisitionGoalSettings getCustomerAcquisitionGoalSettings() { + return customerAcquisitionGoalSettings; + } + + /** + * Output only. The customer acquisition goal settings for the campaign. The customer acquisition + * goal is described in this article: https://support.google.com/google-ads/answer/12080169 + * @param customerAcquisitionGoalSettings customerAcquisitionGoalSettings or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignLifecycleGoal setCustomerAcquisitionGoalSettings(GoogleAdsSearchads360V23ResourcesCustomerAcquisitionGoalSettings customerAcquisitionGoalSettings) { + this.customerAcquisitionGoalSettings = customerAcquisitionGoalSettings; + return this; + } + + /** + * Immutable. The resource name of the customer lifecycle goal of a campaign. + * `customers/{customer_id}/campaignLifecycleGoal/{campaign_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Immutable. The resource name of the customer lifecycle goal of a campaign. + * `customers/{customer_id}/campaignLifecycleGoal/{campaign_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignLifecycleGoal setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesCampaignLifecycleGoal set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesCampaignLifecycleGoal) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesCampaignLifecycleGoal clone() { + return (GoogleAdsSearchads360V23ResourcesCampaignLifecycleGoal) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignLocalCampaignSetting.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignLocalCampaignSetting.java new file mode 100644 index 00000000000..f09d4ef2783 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignLocalCampaignSetting.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Campaign setting for local campaigns. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesCampaignLocalCampaignSetting extends com.google.api.client.json.GenericJson { + + /** + * The location source type for this local campaign. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String locationSourceType; + + /** + * The location source type for this local campaign. + * @return value or {@code null} for none + */ + public java.lang.String getLocationSourceType() { + return locationSourceType; + } + + /** + * The location source type for this local campaign. + * @param locationSourceType locationSourceType or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignLocalCampaignSetting setLocationSourceType(java.lang.String locationSourceType) { + this.locationSourceType = locationSourceType; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesCampaignLocalCampaignSetting set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesCampaignLocalCampaignSetting) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesCampaignLocalCampaignSetting clone() { + return (GoogleAdsSearchads360V23ResourcesCampaignLocalCampaignSetting) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignLocalServicesCampaignSettings.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignLocalServicesCampaignSettings.java new file mode 100644 index 00000000000..409def3a8b6 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignLocalServicesCampaignSettings.java @@ -0,0 +1,73 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Settings for LocalServicesCampaign subresource. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesCampaignLocalServicesCampaignSettings extends com.google.api.client.json.GenericJson { + + /** + * Categorical level bids associated with MANUAL_CPA bidding strategy. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List categoryBids; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ResourcesCampaignCategoryBid used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ResourcesCampaignCategoryBid.class); + } + + /** + * Categorical level bids associated with MANUAL_CPA bidding strategy. + * @return value or {@code null} for none + */ + public java.util.List getCategoryBids() { + return categoryBids; + } + + /** + * Categorical level bids associated with MANUAL_CPA bidding strategy. + * @param categoryBids categoryBids or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignLocalServicesCampaignSettings setCategoryBids(java.util.List categoryBids) { + this.categoryBids = categoryBids; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesCampaignLocalServicesCampaignSettings set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesCampaignLocalServicesCampaignSettings) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesCampaignLocalServicesCampaignSettings clone() { + return (GoogleAdsSearchads360V23ResourcesCampaignLocalServicesCampaignSettings) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignNetworkSettings.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignNetworkSettings.java new file mode 100644 index 00000000000..29fe9c03993 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignNetworkSettings.java @@ -0,0 +1,202 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The network settings for the campaign. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesCampaignNetworkSettings extends com.google.api.client.json.GenericJson { + + /** + * Whether ads will be served on specified placements in the Google Display Network. Placements + * are specified using the Placement criterion. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean targetContentNetwork; + + /** + * Whether ads will be served with google.com search results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean targetGoogleSearch; + + /** + * Whether ads will be served on the Google TV network. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean targetGoogleTvNetwork; + + /** + * Whether ads will be served on the partner network. This is available only to some select + * partner accounts. Unless you have been instructed to use this field, it likely does not apply + * to your account. This does not control whether ads will be served on Google Search Partners + * Network; use `target_search_network` for that instead. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean targetPartnerSearchNetwork; + + /** + * Whether ads will be served on sites in the Google Search Partners Network (requires + * `target_google_search` to also be `true`). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean targetSearchNetwork; + + /** + * Whether ads will be served on YouTube. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean targetYoutube; + + /** + * Whether ads will be served on specified placements in the Google Display Network. Placements + * are specified using the Placement criterion. + * @return value or {@code null} for none + */ + public java.lang.Boolean getTargetContentNetwork() { + return targetContentNetwork; + } + + /** + * Whether ads will be served on specified placements in the Google Display Network. Placements + * are specified using the Placement criterion. + * @param targetContentNetwork targetContentNetwork or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignNetworkSettings setTargetContentNetwork(java.lang.Boolean targetContentNetwork) { + this.targetContentNetwork = targetContentNetwork; + return this; + } + + /** + * Whether ads will be served with google.com search results. + * @return value or {@code null} for none + */ + public java.lang.Boolean getTargetGoogleSearch() { + return targetGoogleSearch; + } + + /** + * Whether ads will be served with google.com search results. + * @param targetGoogleSearch targetGoogleSearch or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignNetworkSettings setTargetGoogleSearch(java.lang.Boolean targetGoogleSearch) { + this.targetGoogleSearch = targetGoogleSearch; + return this; + } + + /** + * Whether ads will be served on the Google TV network. + * @return value or {@code null} for none + */ + public java.lang.Boolean getTargetGoogleTvNetwork() { + return targetGoogleTvNetwork; + } + + /** + * Whether ads will be served on the Google TV network. + * @param targetGoogleTvNetwork targetGoogleTvNetwork or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignNetworkSettings setTargetGoogleTvNetwork(java.lang.Boolean targetGoogleTvNetwork) { + this.targetGoogleTvNetwork = targetGoogleTvNetwork; + return this; + } + + /** + * Whether ads will be served on the partner network. This is available only to some select + * partner accounts. Unless you have been instructed to use this field, it likely does not apply + * to your account. This does not control whether ads will be served on Google Search Partners + * Network; use `target_search_network` for that instead. + * @return value or {@code null} for none + */ + public java.lang.Boolean getTargetPartnerSearchNetwork() { + return targetPartnerSearchNetwork; + } + + /** + * Whether ads will be served on the partner network. This is available only to some select + * partner accounts. Unless you have been instructed to use this field, it likely does not apply + * to your account. This does not control whether ads will be served on Google Search Partners + * Network; use `target_search_network` for that instead. + * @param targetPartnerSearchNetwork targetPartnerSearchNetwork or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignNetworkSettings setTargetPartnerSearchNetwork(java.lang.Boolean targetPartnerSearchNetwork) { + this.targetPartnerSearchNetwork = targetPartnerSearchNetwork; + return this; + } + + /** + * Whether ads will be served on sites in the Google Search Partners Network (requires + * `target_google_search` to also be `true`). + * @return value or {@code null} for none + */ + public java.lang.Boolean getTargetSearchNetwork() { + return targetSearchNetwork; + } + + /** + * Whether ads will be served on sites in the Google Search Partners Network (requires + * `target_google_search` to also be `true`). + * @param targetSearchNetwork targetSearchNetwork or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignNetworkSettings setTargetSearchNetwork(java.lang.Boolean targetSearchNetwork) { + this.targetSearchNetwork = targetSearchNetwork; + return this; + } + + /** + * Whether ads will be served on YouTube. + * @return value or {@code null} for none + */ + public java.lang.Boolean getTargetYoutube() { + return targetYoutube; + } + + /** + * Whether ads will be served on YouTube. + * @param targetYoutube targetYoutube or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignNetworkSettings setTargetYoutube(java.lang.Boolean targetYoutube) { + this.targetYoutube = targetYoutube; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesCampaignNetworkSettings set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesCampaignNetworkSettings) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesCampaignNetworkSettings clone() { + return (GoogleAdsSearchads360V23ResourcesCampaignNetworkSettings) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignOptimizationGoalSetting.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignOptimizationGoalSetting.java new file mode 100644 index 00000000000..1ec8f774993 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignOptimizationGoalSetting.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Optimization goal setting for this campaign, which includes a set of optimization goal types. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesCampaignOptimizationGoalSetting extends com.google.api.client.json.GenericJson { + + /** + * The list of optimization goal types. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List optimizationGoalTypes; + + /** + * The list of optimization goal types. + * @return value or {@code null} for none + */ + public java.util.List getOptimizationGoalTypes() { + return optimizationGoalTypes; + } + + /** + * The list of optimization goal types. + * @param optimizationGoalTypes optimizationGoalTypes or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignOptimizationGoalSetting setOptimizationGoalTypes(java.util.List optimizationGoalTypes) { + this.optimizationGoalTypes = optimizationGoalTypes; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesCampaignOptimizationGoalSetting set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesCampaignOptimizationGoalSetting) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesCampaignOptimizationGoalSetting clone() { + return (GoogleAdsSearchads360V23ResourcesCampaignOptimizationGoalSetting) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignPerformanceMaxUpgrade.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignPerformanceMaxUpgrade.java new file mode 100644 index 00000000000..fa46ac7c6a2 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignPerformanceMaxUpgrade.java @@ -0,0 +1,115 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Information about a campaign being upgraded to Performance Max. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesCampaignPerformanceMaxUpgrade extends com.google.api.client.json.GenericJson { + + /** + * Output only. The resource name of the Performance Max campaign the campaign is upgraded to. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String performanceMaxCampaign; + + /** + * Output only. The resource name of the legacy campaign upgraded to Performance Max. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String preUpgradeCampaign; + + /** + * Output only. The upgrade status of a campaign requested to be upgraded to Performance Max. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String status; + + /** + * Output only. The resource name of the Performance Max campaign the campaign is upgraded to. + * @return value or {@code null} for none + */ + public java.lang.String getPerformanceMaxCampaign() { + return performanceMaxCampaign; + } + + /** + * Output only. The resource name of the Performance Max campaign the campaign is upgraded to. + * @param performanceMaxCampaign performanceMaxCampaign or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignPerformanceMaxUpgrade setPerformanceMaxCampaign(java.lang.String performanceMaxCampaign) { + this.performanceMaxCampaign = performanceMaxCampaign; + return this; + } + + /** + * Output only. The resource name of the legacy campaign upgraded to Performance Max. + * @return value or {@code null} for none + */ + public java.lang.String getPreUpgradeCampaign() { + return preUpgradeCampaign; + } + + /** + * Output only. The resource name of the legacy campaign upgraded to Performance Max. + * @param preUpgradeCampaign preUpgradeCampaign or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignPerformanceMaxUpgrade setPreUpgradeCampaign(java.lang.String preUpgradeCampaign) { + this.preUpgradeCampaign = preUpgradeCampaign; + return this; + } + + /** + * Output only. The upgrade status of a campaign requested to be upgraded to Performance Max. + * @return value or {@code null} for none + */ + public java.lang.String getStatus() { + return status; + } + + /** + * Output only. The upgrade status of a campaign requested to be upgraded to Performance Max. + * @param status status or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignPerformanceMaxUpgrade setStatus(java.lang.String status) { + this.status = status; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesCampaignPerformanceMaxUpgrade set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesCampaignPerformanceMaxUpgrade) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesCampaignPerformanceMaxUpgrade clone() { + return (GoogleAdsSearchads360V23ResourcesCampaignPerformanceMaxUpgrade) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignPmaxCampaignSettings.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignPmaxCampaignSettings.java new file mode 100644 index 00000000000..cbeb58ebeef --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignPmaxCampaignSettings.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Settings for Performance Max campaigns. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesCampaignPmaxCampaignSettings extends com.google.api.client.json.GenericJson { + + /** + * Overrides of brand targeting for various ad types. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCampaignPmaxCampaignSettingsBrandTargetingOverrides brandTargetingOverrides; + + /** + * Overrides of brand targeting for various ad types. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignPmaxCampaignSettingsBrandTargetingOverrides getBrandTargetingOverrides() { + return brandTargetingOverrides; + } + + /** + * Overrides of brand targeting for various ad types. + * @param brandTargetingOverrides brandTargetingOverrides or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignPmaxCampaignSettings setBrandTargetingOverrides(GoogleAdsSearchads360V23ResourcesCampaignPmaxCampaignSettingsBrandTargetingOverrides brandTargetingOverrides) { + this.brandTargetingOverrides = brandTargetingOverrides; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesCampaignPmaxCampaignSettings set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesCampaignPmaxCampaignSettings) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesCampaignPmaxCampaignSettings clone() { + return (GoogleAdsSearchads360V23ResourcesCampaignPmaxCampaignSettings) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignPmaxCampaignSettingsBrandTargetingOverrides.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignPmaxCampaignSettingsBrandTargetingOverrides.java new file mode 100644 index 00000000000..758561ba7d6 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignPmaxCampaignSettingsBrandTargetingOverrides.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Overrides of brand targeting for various ad types. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesCampaignPmaxCampaignSettingsBrandTargetingOverrides extends com.google.api.client.json.GenericJson { + + /** + * If true, brand exclusions are ignored for Shopping ads. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean ignoreExclusionsForShoppingAds; + + /** + * If true, brand exclusions are ignored for Shopping ads. + * @return value or {@code null} for none + */ + public java.lang.Boolean getIgnoreExclusionsForShoppingAds() { + return ignoreExclusionsForShoppingAds; + } + + /** + * If true, brand exclusions are ignored for Shopping ads. + * @param ignoreExclusionsForShoppingAds ignoreExclusionsForShoppingAds or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignPmaxCampaignSettingsBrandTargetingOverrides setIgnoreExclusionsForShoppingAds(java.lang.Boolean ignoreExclusionsForShoppingAds) { + this.ignoreExclusionsForShoppingAds = ignoreExclusionsForShoppingAds; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesCampaignPmaxCampaignSettingsBrandTargetingOverrides set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesCampaignPmaxCampaignSettingsBrandTargetingOverrides) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesCampaignPmaxCampaignSettingsBrandTargetingOverrides clone() { + return (GoogleAdsSearchads360V23ResourcesCampaignPmaxCampaignSettingsBrandTargetingOverrides) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignSearchTermInsight.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignSearchTermInsight.java new file mode 100644 index 00000000000..bfda257a241 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignSearchTermInsight.java @@ -0,0 +1,150 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * This report provides a high-level view of search demand at the campaign level by grouping similar + * search terms into categories and showing their search volume. Historical data is available + * starting March 2023. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesCampaignSearchTermInsight extends com.google.api.client.json.GenericJson { + + /** + * Output only. The ID of the campaign. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long campaignId; + + /** + * Output only. The label for the search category. An empty string denotes the catch-all category + * for search terms that didn't fit into another category. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String categoryLabel; + + /** + * Output only. The ID of the insight. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long id; + + /** + * Output only. The resource name of the campaign level search term insight. Campaign level search + * term insight resource names have the form: + * `customers/{customer_id}/campaignSearchTermInsights/{campaign_id}~{category_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. The ID of the campaign. + * @return value or {@code null} for none + */ + public java.lang.Long getCampaignId() { + return campaignId; + } + + /** + * Output only. The ID of the campaign. + * @param campaignId campaignId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignSearchTermInsight setCampaignId(java.lang.Long campaignId) { + this.campaignId = campaignId; + return this; + } + + /** + * Output only. The label for the search category. An empty string denotes the catch-all category + * for search terms that didn't fit into another category. + * @return value or {@code null} for none + */ + public java.lang.String getCategoryLabel() { + return categoryLabel; + } + + /** + * Output only. The label for the search category. An empty string denotes the catch-all category + * for search terms that didn't fit into another category. + * @param categoryLabel categoryLabel or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignSearchTermInsight setCategoryLabel(java.lang.String categoryLabel) { + this.categoryLabel = categoryLabel; + return this; + } + + /** + * Output only. The ID of the insight. + * @return value or {@code null} for none + */ + public java.lang.Long getId() { + return id; + } + + /** + * Output only. The ID of the insight. + * @param id id or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignSearchTermInsight setId(java.lang.Long id) { + this.id = id; + return this; + } + + /** + * Output only. The resource name of the campaign level search term insight. Campaign level search + * term insight resource names have the form: + * `customers/{customer_id}/campaignSearchTermInsights/{campaign_id}~{category_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Output only. The resource name of the campaign level search term insight. Campaign level search + * term insight resource names have the form: + * `customers/{customer_id}/campaignSearchTermInsights/{campaign_id}~{category_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignSearchTermInsight setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesCampaignSearchTermInsight set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesCampaignSearchTermInsight) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesCampaignSearchTermInsight clone() { + return (GoogleAdsSearchads360V23ResourcesCampaignSearchTermInsight) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignSearchTermView.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignSearchTermView.java new file mode 100644 index 00000000000..bd92c81146b --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignSearchTermView.java @@ -0,0 +1,123 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * This report provides granular performance data, including cost metrics, for each individual + * search term that triggered your ads. If keyword-related segments are used, Performance Max data + * will be excluded from the results. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesCampaignSearchTermView extends com.google.api.client.json.GenericJson { + + /** + * Output only. The campaign the search term served in. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String campaign; + + /** + * Output only. The resource name of the campaign search term view. Campaign search term view + * resource names have the form: + * `customers/{customer_id}/campaignSearchTermViews/{campaign_id}~{URL-base64_search_term}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. The search term. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String searchTerm; + + /** + * Output only. The campaign the search term served in. + * @return value or {@code null} for none + */ + public java.lang.String getCampaign() { + return campaign; + } + + /** + * Output only. The campaign the search term served in. + * @param campaign campaign or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignSearchTermView setCampaign(java.lang.String campaign) { + this.campaign = campaign; + return this; + } + + /** + * Output only. The resource name of the campaign search term view. Campaign search term view + * resource names have the form: + * `customers/{customer_id}/campaignSearchTermViews/{campaign_id}~{URL-base64_search_term}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Output only. The resource name of the campaign search term view. Campaign search term view + * resource names have the form: + * `customers/{customer_id}/campaignSearchTermViews/{campaign_id}~{URL-base64_search_term}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignSearchTermView setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Output only. The search term. + * @return value or {@code null} for none + */ + public java.lang.String getSearchTerm() { + return searchTerm; + } + + /** + * Output only. The search term. + * @param searchTerm searchTerm or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignSearchTermView setSearchTerm(java.lang.String searchTerm) { + this.searchTerm = searchTerm; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesCampaignSearchTermView set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesCampaignSearchTermView) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesCampaignSearchTermView clone() { + return (GoogleAdsSearchads360V23ResourcesCampaignSearchTermView) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignSelectiveOptimization.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignSelectiveOptimization.java new file mode 100644 index 00000000000..6b0a773e2fb --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignSelectiveOptimization.java @@ -0,0 +1,70 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Selective optimization setting for this campaign, which includes a set of conversion actions to + * optimize this campaign towards. This feature only applies to app campaigns that use MULTI_CHANNEL + * as AdvertisingChannelType and APP_CAMPAIGN or APP_CAMPAIGN_FOR_ENGAGEMENT as + * AdvertisingChannelSubType. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesCampaignSelectiveOptimization extends com.google.api.client.json.GenericJson { + + /** + * The selected set of resource names for conversion actions for optimizing this campaign. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List conversionActions; + + /** + * The selected set of resource names for conversion actions for optimizing this campaign. + * @return value or {@code null} for none + */ + public java.util.List getConversionActions() { + return conversionActions; + } + + /** + * The selected set of resource names for conversion actions for optimizing this campaign. + * @param conversionActions conversionActions or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignSelectiveOptimization setConversionActions(java.util.List conversionActions) { + this.conversionActions = conversionActions; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesCampaignSelectiveOptimization set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesCampaignSelectiveOptimization) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesCampaignSelectiveOptimization clone() { + return (GoogleAdsSearchads360V23ResourcesCampaignSelectiveOptimization) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignSharedSet.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignSharedSet.java new file mode 100644 index 00000000000..c1b1530f902 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignSharedSet.java @@ -0,0 +1,154 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * CampaignSharedSets are used for managing the shared sets associated with a campaign. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesCampaignSharedSet extends com.google.api.client.json.GenericJson { + + /** + * Immutable. The campaign to which the campaign shared set belongs. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String campaign; + + /** + * Immutable. The resource name of the campaign shared set. Campaign shared set resource names + * have the form: `customers/{customer_id}/campaignSharedSets/{campaign_id}~{shared_set_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Immutable. The shared set associated with the campaign. This may be a negative keyword shared + * set of another customer. This customer should be a manager of the other customer, otherwise the + * campaign shared set will exist but have no serving effect. Only negative keyword shared sets + * can be associated with Shopping campaigns. Only negative placement shared sets can be + * associated with Display mobile app campaigns. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String sharedSet; + + /** + * Output only. The status of this campaign shared set. Read only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String status; + + /** + * Immutable. The campaign to which the campaign shared set belongs. + * @return value or {@code null} for none + */ + public java.lang.String getCampaign() { + return campaign; + } + + /** + * Immutable. The campaign to which the campaign shared set belongs. + * @param campaign campaign or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignSharedSet setCampaign(java.lang.String campaign) { + this.campaign = campaign; + return this; + } + + /** + * Immutable. The resource name of the campaign shared set. Campaign shared set resource names + * have the form: `customers/{customer_id}/campaignSharedSets/{campaign_id}~{shared_set_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Immutable. The resource name of the campaign shared set. Campaign shared set resource names + * have the form: `customers/{customer_id}/campaignSharedSets/{campaign_id}~{shared_set_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignSharedSet setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Immutable. The shared set associated with the campaign. This may be a negative keyword shared + * set of another customer. This customer should be a manager of the other customer, otherwise the + * campaign shared set will exist but have no serving effect. Only negative keyword shared sets + * can be associated with Shopping campaigns. Only negative placement shared sets can be + * associated with Display mobile app campaigns. + * @return value or {@code null} for none + */ + public java.lang.String getSharedSet() { + return sharedSet; + } + + /** + * Immutable. The shared set associated with the campaign. This may be a negative keyword shared + * set of another customer. This customer should be a manager of the other customer, otherwise the + * campaign shared set will exist but have no serving effect. Only negative keyword shared sets + * can be associated with Shopping campaigns. Only negative placement shared sets can be + * associated with Display mobile app campaigns. + * @param sharedSet sharedSet or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignSharedSet setSharedSet(java.lang.String sharedSet) { + this.sharedSet = sharedSet; + return this; + } + + /** + * Output only. The status of this campaign shared set. Read only. + * @return value or {@code null} for none + */ + public java.lang.String getStatus() { + return status; + } + + /** + * Output only. The status of this campaign shared set. Read only. + * @param status status or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignSharedSet setStatus(java.lang.String status) { + this.status = status; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesCampaignSharedSet set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesCampaignSharedSet) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesCampaignSharedSet clone() { + return (GoogleAdsSearchads360V23ResourcesCampaignSharedSet) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignShoppingSetting.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignShoppingSetting.java new file mode 100644 index 00000000000..d54760bb62e --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignShoppingSetting.java @@ -0,0 +1,251 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The setting for Shopping campaigns. Defines the universe of products that can be advertised by + * the campaign, and how this campaign interacts with other Shopping campaigns. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesCampaignShoppingSetting extends com.google.api.client.json.GenericJson { + + /** + * The list of Google Ads accounts IDs of advertising partners cooperating within the campaign. + * This feature is currently available only for accounts having an advertising partner link. This + * feature is currently supported only for Performance Max, Shopping, Search and Demand Gen + * campaign types. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.util.List advertisingPartnerIds; + + /** + * Priority of the campaign. Campaigns with numerically higher priorities take precedence over + * those with lower priorities. This field is required for Shopping campaigns, with values between + * 0 and 2, inclusive. This field is optional for Smart Shopping campaigns, but must be equal to 3 + * if set. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer campaignPriority; + + /** + * Disable the optional product feed. This field is currently supported only for Demand Gen + * campaigns. See https://support.google.com/google-ads/answer/13721750 to learn more about this + * feature. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean disableProductFeed; + + /** + * Whether to include local products. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean enableLocal; + + /** + * Feed label of products to include in the campaign. Valid feed labels may contain a maximum of + * 20 characters including uppercase letters, numbers, hyphens, and underscores. If you previously + * used the deprecated `sales_country` in the two-letter country code (`XX`) format, the + * `feed_label` field should be used instead. For more information see the [feed + * label](//support.google.com/merchants/answer/12453549) support article. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String feedLabel; + + /** + * ID of the Merchant Center account. This field is required for create operations. This field is + * immutable for Shopping campaigns. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long merchantId; + + /** + * Immutable. Whether to target Vehicle Listing inventory. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean useVehicleInventory; + + /** + * The list of Google Ads accounts IDs of advertising partners cooperating within the campaign. + * This feature is currently available only for accounts having an advertising partner link. This + * feature is currently supported only for Performance Max, Shopping, Search and Demand Gen + * campaign types. + * @return value or {@code null} for none + */ + public java.util.List getAdvertisingPartnerIds() { + return advertisingPartnerIds; + } + + /** + * The list of Google Ads accounts IDs of advertising partners cooperating within the campaign. + * This feature is currently available only for accounts having an advertising partner link. This + * feature is currently supported only for Performance Max, Shopping, Search and Demand Gen + * campaign types. + * @param advertisingPartnerIds advertisingPartnerIds or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignShoppingSetting setAdvertisingPartnerIds(java.util.List advertisingPartnerIds) { + this.advertisingPartnerIds = advertisingPartnerIds; + return this; + } + + /** + * Priority of the campaign. Campaigns with numerically higher priorities take precedence over + * those with lower priorities. This field is required for Shopping campaigns, with values between + * 0 and 2, inclusive. This field is optional for Smart Shopping campaigns, but must be equal to 3 + * if set. + * @return value or {@code null} for none + */ + public java.lang.Integer getCampaignPriority() { + return campaignPriority; + } + + /** + * Priority of the campaign. Campaigns with numerically higher priorities take precedence over + * those with lower priorities. This field is required for Shopping campaigns, with values between + * 0 and 2, inclusive. This field is optional for Smart Shopping campaigns, but must be equal to 3 + * if set. + * @param campaignPriority campaignPriority or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignShoppingSetting setCampaignPriority(java.lang.Integer campaignPriority) { + this.campaignPriority = campaignPriority; + return this; + } + + /** + * Disable the optional product feed. This field is currently supported only for Demand Gen + * campaigns. See https://support.google.com/google-ads/answer/13721750 to learn more about this + * feature. + * @return value or {@code null} for none + */ + public java.lang.Boolean getDisableProductFeed() { + return disableProductFeed; + } + + /** + * Disable the optional product feed. This field is currently supported only for Demand Gen + * campaigns. See https://support.google.com/google-ads/answer/13721750 to learn more about this + * feature. + * @param disableProductFeed disableProductFeed or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignShoppingSetting setDisableProductFeed(java.lang.Boolean disableProductFeed) { + this.disableProductFeed = disableProductFeed; + return this; + } + + /** + * Whether to include local products. + * @return value or {@code null} for none + */ + public java.lang.Boolean getEnableLocal() { + return enableLocal; + } + + /** + * Whether to include local products. + * @param enableLocal enableLocal or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignShoppingSetting setEnableLocal(java.lang.Boolean enableLocal) { + this.enableLocal = enableLocal; + return this; + } + + /** + * Feed label of products to include in the campaign. Valid feed labels may contain a maximum of + * 20 characters including uppercase letters, numbers, hyphens, and underscores. If you previously + * used the deprecated `sales_country` in the two-letter country code (`XX`) format, the + * `feed_label` field should be used instead. For more information see the [feed + * label](//support.google.com/merchants/answer/12453549) support article. + * @return value or {@code null} for none + */ + public java.lang.String getFeedLabel() { + return feedLabel; + } + + /** + * Feed label of products to include in the campaign. Valid feed labels may contain a maximum of + * 20 characters including uppercase letters, numbers, hyphens, and underscores. If you previously + * used the deprecated `sales_country` in the two-letter country code (`XX`) format, the + * `feed_label` field should be used instead. For more information see the [feed + * label](//support.google.com/merchants/answer/12453549) support article. + * @param feedLabel feedLabel or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignShoppingSetting setFeedLabel(java.lang.String feedLabel) { + this.feedLabel = feedLabel; + return this; + } + + /** + * ID of the Merchant Center account. This field is required for create operations. This field is + * immutable for Shopping campaigns. + * @return value or {@code null} for none + */ + public java.lang.Long getMerchantId() { + return merchantId; + } + + /** + * ID of the Merchant Center account. This field is required for create operations. This field is + * immutable for Shopping campaigns. + * @param merchantId merchantId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignShoppingSetting setMerchantId(java.lang.Long merchantId) { + this.merchantId = merchantId; + return this; + } + + /** + * Immutable. Whether to target Vehicle Listing inventory. + * @return value or {@code null} for none + */ + public java.lang.Boolean getUseVehicleInventory() { + return useVehicleInventory; + } + + /** + * Immutable. Whether to target Vehicle Listing inventory. + * @param useVehicleInventory useVehicleInventory or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignShoppingSetting setUseVehicleInventory(java.lang.Boolean useVehicleInventory) { + this.useVehicleInventory = useVehicleInventory; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesCampaignShoppingSetting set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesCampaignShoppingSetting) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesCampaignShoppingSetting clone() { + return (GoogleAdsSearchads360V23ResourcesCampaignShoppingSetting) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignSimulation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignSimulation.java new file mode 100644 index 00000000000..5193ab3a2b7 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignSimulation.java @@ -0,0 +1,320 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A campaign simulation. Supported combinations of advertising channel type, simulation type and + * simulation modification method is detailed below respectively. * SEARCH - CPC_BID - UNIFORM * + * SEARCH - CPC_BID - SCALING * SEARCH - TARGET_CPA - UNIFORM * SEARCH - TARGET_CPA - SCALING * + * SEARCH - TARGET_ROAS - UNIFORM * SEARCH - TARGET_IMPRESSION_SHARE - UNIFORM * SEARCH - BUDGET - + * UNIFORM * SHOPPING - BUDGET - UNIFORM * SHOPPING - TARGET_ROAS - UNIFORM * MULTI_CHANNEL - + * TARGET_CPA - UNIFORM * MULTI_CHANNEL - TARGET_ROAS - UNIFORM * DEMAND_GEN - TARGET_CPA - DEFAULT + * * DISPLAY - TARGET_CPA - UNIFORM * PERFORMANCE_MAX - TARGET_CPA - UNIFORM * PERFORMANCE_MAX - + * TARGET_ROAS - UNIFORM * PERFORMANCE_MAX - BUDGET - UNIFORM + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesCampaignSimulation extends com.google.api.client.json.GenericJson { + + /** + * Output only. Simulation points if the simulation type is BUDGET. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonBudgetSimulationPointList budgetPointList; + + /** + * Output only. Campaign id of the simulation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long campaignId; + + /** + * Output only. Simulation points if the simulation type is CPC_BID. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonCpcBidSimulationPointList cpcBidPointList; + + /** + * Output only. Last day on which the simulation is based, in YYYY-MM-DD format + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String endDate; + + /** + * Output only. How the simulation modifies the field. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String modificationMethod; + + /** + * Output only. The resource name of the campaign simulation. Campaign simulation resource names + * have the form: `customers/{customer_id}/campaignSimulations/{campaign_id}~{type}~{modification_ + * method}~{start_date}~{end_date}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. First day on which the simulation is based, in YYYY-MM-DD format. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String startDate; + + /** + * Output only. Simulation points if the simulation type is TARGET_CPA. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonTargetCpaSimulationPointList targetCpaPointList; + + /** + * Output only. Simulation points if the simulation type is TARGET_IMPRESSION_SHARE. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonTargetImpressionShareSimulationPointList targetImpressionSharePointList; + + /** + * Output only. Simulation points if the simulation type is TARGET_ROAS. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonTargetRoasSimulationPointList targetRoasPointList; + + /** + * Output only. The field that the simulation modifies. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String type; + + /** + * Output only. Simulation points if the simulation type is BUDGET. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonBudgetSimulationPointList getBudgetPointList() { + return budgetPointList; + } + + /** + * Output only. Simulation points if the simulation type is BUDGET. + * @param budgetPointList budgetPointList or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignSimulation setBudgetPointList(GoogleAdsSearchads360V23CommonBudgetSimulationPointList budgetPointList) { + this.budgetPointList = budgetPointList; + return this; + } + + /** + * Output only. Campaign id of the simulation. + * @return value or {@code null} for none + */ + public java.lang.Long getCampaignId() { + return campaignId; + } + + /** + * Output only. Campaign id of the simulation. + * @param campaignId campaignId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignSimulation setCampaignId(java.lang.Long campaignId) { + this.campaignId = campaignId; + return this; + } + + /** + * Output only. Simulation points if the simulation type is CPC_BID. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCpcBidSimulationPointList getCpcBidPointList() { + return cpcBidPointList; + } + + /** + * Output only. Simulation points if the simulation type is CPC_BID. + * @param cpcBidPointList cpcBidPointList or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignSimulation setCpcBidPointList(GoogleAdsSearchads360V23CommonCpcBidSimulationPointList cpcBidPointList) { + this.cpcBidPointList = cpcBidPointList; + return this; + } + + /** + * Output only. Last day on which the simulation is based, in YYYY-MM-DD format + * @return value or {@code null} for none + */ + public java.lang.String getEndDate() { + return endDate; + } + + /** + * Output only. Last day on which the simulation is based, in YYYY-MM-DD format + * @param endDate endDate or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignSimulation setEndDate(java.lang.String endDate) { + this.endDate = endDate; + return this; + } + + /** + * Output only. How the simulation modifies the field. + * @return value or {@code null} for none + */ + public java.lang.String getModificationMethod() { + return modificationMethod; + } + + /** + * Output only. How the simulation modifies the field. + * @param modificationMethod modificationMethod or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignSimulation setModificationMethod(java.lang.String modificationMethod) { + this.modificationMethod = modificationMethod; + return this; + } + + /** + * Output only. The resource name of the campaign simulation. Campaign simulation resource names + * have the form: `customers/{customer_id}/campaignSimulations/{campaign_id}~{type}~{modification_ + * method}~{start_date}~{end_date}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Output only. The resource name of the campaign simulation. Campaign simulation resource names + * have the form: `customers/{customer_id}/campaignSimulations/{campaign_id}~{type}~{modification_ + * method}~{start_date}~{end_date}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignSimulation setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Output only. First day on which the simulation is based, in YYYY-MM-DD format. + * @return value or {@code null} for none + */ + public java.lang.String getStartDate() { + return startDate; + } + + /** + * Output only. First day on which the simulation is based, in YYYY-MM-DD format. + * @param startDate startDate or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignSimulation setStartDate(java.lang.String startDate) { + this.startDate = startDate; + return this; + } + + /** + * Output only. Simulation points if the simulation type is TARGET_CPA. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonTargetCpaSimulationPointList getTargetCpaPointList() { + return targetCpaPointList; + } + + /** + * Output only. Simulation points if the simulation type is TARGET_CPA. + * @param targetCpaPointList targetCpaPointList or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignSimulation setTargetCpaPointList(GoogleAdsSearchads360V23CommonTargetCpaSimulationPointList targetCpaPointList) { + this.targetCpaPointList = targetCpaPointList; + return this; + } + + /** + * Output only. Simulation points if the simulation type is TARGET_IMPRESSION_SHARE. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonTargetImpressionShareSimulationPointList getTargetImpressionSharePointList() { + return targetImpressionSharePointList; + } + + /** + * Output only. Simulation points if the simulation type is TARGET_IMPRESSION_SHARE. + * @param targetImpressionSharePointList targetImpressionSharePointList or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignSimulation setTargetImpressionSharePointList(GoogleAdsSearchads360V23CommonTargetImpressionShareSimulationPointList targetImpressionSharePointList) { + this.targetImpressionSharePointList = targetImpressionSharePointList; + return this; + } + + /** + * Output only. Simulation points if the simulation type is TARGET_ROAS. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonTargetRoasSimulationPointList getTargetRoasPointList() { + return targetRoasPointList; + } + + /** + * Output only. Simulation points if the simulation type is TARGET_ROAS. + * @param targetRoasPointList targetRoasPointList or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignSimulation setTargetRoasPointList(GoogleAdsSearchads360V23CommonTargetRoasSimulationPointList targetRoasPointList) { + this.targetRoasPointList = targetRoasPointList; + return this; + } + + /** + * Output only. The field that the simulation modifies. + * @return value or {@code null} for none + */ + public java.lang.String getType() { + return type; + } + + /** + * Output only. The field that the simulation modifies. + * @param type type or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignSimulation setType(java.lang.String type) { + this.type = type; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesCampaignSimulation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesCampaignSimulation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesCampaignSimulation clone() { + return (GoogleAdsSearchads360V23ResourcesCampaignSimulation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignTrackingSetting.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignTrackingSetting.java new file mode 100644 index 00000000000..2216e0a20c0 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignTrackingSetting.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Campaign-level settings for tracking information. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesCampaignTrackingSetting extends com.google.api.client.json.GenericJson { + + /** + * Output only. The url used for dynamic tracking. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String trackingUrl; + + /** + * Output only. The url used for dynamic tracking. + * @return value or {@code null} for none + */ + public java.lang.String getTrackingUrl() { + return trackingUrl; + } + + /** + * Output only. The url used for dynamic tracking. + * @param trackingUrl trackingUrl or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignTrackingSetting setTrackingUrl(java.lang.String trackingUrl) { + this.trackingUrl = trackingUrl; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesCampaignTrackingSetting set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesCampaignTrackingSetting) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesCampaignTrackingSetting clone() { + return (GoogleAdsSearchads360V23ResourcesCampaignTrackingSetting) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignTravelCampaignSettings.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignTravelCampaignSettings.java new file mode 100644 index 00000000000..eb9458887fc --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignTravelCampaignSettings.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Settings for Travel campaign. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesCampaignTravelCampaignSettings extends com.google.api.client.json.GenericJson { + + /** + * Immutable. The Travel account ID associated with the Travel campaign. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long travelAccountId; + + /** + * Immutable. The Travel account ID associated with the Travel campaign. + * @return value or {@code null} for none + */ + public java.lang.Long getTravelAccountId() { + return travelAccountId; + } + + /** + * Immutable. The Travel account ID associated with the Travel campaign. + * @param travelAccountId travelAccountId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignTravelCampaignSettings setTravelAccountId(java.lang.Long travelAccountId) { + this.travelAccountId = travelAccountId; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesCampaignTravelCampaignSettings set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesCampaignTravelCampaignSettings) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesCampaignTravelCampaignSettings clone() { + return (GoogleAdsSearchads360V23ResourcesCampaignTravelCampaignSettings) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignVanityPharma.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignVanityPharma.java new file mode 100644 index 00000000000..1bf0468dc8a --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCampaignVanityPharma.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Describes how unbranded pharma ads will be displayed. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesCampaignVanityPharma extends com.google.api.client.json.GenericJson { + + /** + * The display mode for vanity pharma URLs. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String vanityPharmaDisplayUrlMode; + + /** + * The text that will be displayed in display URL of the text ad when website description is the + * selected display mode for vanity pharma URLs. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String vanityPharmaText; + + /** + * The display mode for vanity pharma URLs. + * @return value or {@code null} for none + */ + public java.lang.String getVanityPharmaDisplayUrlMode() { + return vanityPharmaDisplayUrlMode; + } + + /** + * The display mode for vanity pharma URLs. + * @param vanityPharmaDisplayUrlMode vanityPharmaDisplayUrlMode or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignVanityPharma setVanityPharmaDisplayUrlMode(java.lang.String vanityPharmaDisplayUrlMode) { + this.vanityPharmaDisplayUrlMode = vanityPharmaDisplayUrlMode; + return this; + } + + /** + * The text that will be displayed in display URL of the text ad when website description is the + * selected display mode for vanity pharma URLs. + * @return value or {@code null} for none + */ + public java.lang.String getVanityPharmaText() { + return vanityPharmaText; + } + + /** + * The text that will be displayed in display URL of the text ad when website description is the + * selected display mode for vanity pharma URLs. + * @param vanityPharmaText vanityPharmaText or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignVanityPharma setVanityPharmaText(java.lang.String vanityPharmaText) { + this.vanityPharmaText = vanityPharmaText; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesCampaignVanityPharma set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesCampaignVanityPharma) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesCampaignVanityPharma clone() { + return (GoogleAdsSearchads360V23ResourcesCampaignVanityPharma) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCarrierConstant.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCarrierConstant.java new file mode 100644 index 00000000000..cb08294968e --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCarrierConstant.java @@ -0,0 +1,145 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A carrier criterion that can be used in campaign targeting. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesCarrierConstant extends com.google.api.client.json.GenericJson { + + /** + * Output only. The country code of the country where the carrier is located, for example, "AR", + * "FR", etc. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String countryCode; + + /** + * Output only. The ID of the carrier criterion. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long id; + + /** + * Output only. The full name of the carrier in English. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * Output only. The resource name of the carrier criterion. Carrier criterion resource names have + * the form: `carrierConstants/{criterion_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. The country code of the country where the carrier is located, for example, "AR", + * "FR", etc. + * @return value or {@code null} for none + */ + public java.lang.String getCountryCode() { + return countryCode; + } + + /** + * Output only. The country code of the country where the carrier is located, for example, "AR", + * "FR", etc. + * @param countryCode countryCode or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCarrierConstant setCountryCode(java.lang.String countryCode) { + this.countryCode = countryCode; + return this; + } + + /** + * Output only. The ID of the carrier criterion. + * @return value or {@code null} for none + */ + public java.lang.Long getId() { + return id; + } + + /** + * Output only. The ID of the carrier criterion. + * @param id id or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCarrierConstant setId(java.lang.Long id) { + this.id = id; + return this; + } + + /** + * Output only. The full name of the carrier in English. + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * Output only. The full name of the carrier in English. + * @param name name or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCarrierConstant setName(java.lang.String name) { + this.name = name; + return this; + } + + /** + * Output only. The resource name of the carrier criterion. Carrier criterion resource names have + * the form: `carrierConstants/{criterion_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Output only. The resource name of the carrier criterion. Carrier criterion resource names have + * the form: `carrierConstants/{criterion_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCarrierConstant setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesCarrierConstant set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesCarrierConstant) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesCarrierConstant clone() { + return (GoogleAdsSearchads360V23ResourcesCarrierConstant) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCartDataSalesView.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCartDataSalesView.java new file mode 100644 index 00000000000..a4a18c5eada --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCartDataSalesView.java @@ -0,0 +1,75 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Cart data sales view. Provides information about the products which were purchased if conversions + * with cart data is implemented. Performance metrics like revenue, gross profit, lead/cross-sell + * metrics etc. and Merchant Center attributes such as brand, category etc. are available for + * products defined in an inventory feed and sold as a result of Google ads. For purchases + * attributed to clicks on Shopping ads, dimensions of both clicked and sold products can be viewed + * together. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesCartDataSalesView extends com.google.api.client.json.GenericJson { + + /** + * Output only. The resource name of the Cart data sales view. Cart data sales view resource names + * have the form: `customers/{customer_id}/cartDataSalesView` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. The resource name of the Cart data sales view. Cart data sales view resource names + * have the form: `customers/{customer_id}/cartDataSalesView` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Output only. The resource name of the Cart data sales view. Cart data sales view resource names + * have the form: `customers/{customer_id}/cartDataSalesView` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCartDataSalesView setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesCartDataSalesView set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesCartDataSalesView) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesCartDataSalesView clone() { + return (GoogleAdsSearchads360V23ResourcesCartDataSalesView) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesChangeEvent.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesChangeEvent.java new file mode 100644 index 00000000000..f9ec4c2b07a --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesChangeEvent.java @@ -0,0 +1,363 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Describes the granular change of returned resources of certain resource types. Changes made + * through the UI or API in the past 30 days are included. Previous and new values of the changed + * fields are shown. ChangeEvent could have up to 3 minutes delay to reflect a new change. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesChangeEvent extends com.google.api.client.json.GenericJson { + + /** + * Output only. The AdGroup affected by this change. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String adGroup; + + /** + * Output only. The Asset affected by this change. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String asset; + + /** + * Output only. The Campaign affected by this change. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String campaign; + + /** + * Output only. Time at which the change was committed on this resource. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String changeDateTime; + + /** + * Output only. The Simply resource this change occurred on. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String changeResourceName; + + /** + * Output only. The type of the changed resource. This dictates what resource will be set in + * old_resource and new_resource. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String changeResourceType; + + /** + * Output only. A list of fields that are changed in the returned resource. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String changedFields; + + /** + * Output only. Where the change was made through. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String clientType; + + /** + * Output only. The new resource after the change. Only changed fields will be populated. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesChangeEventChangedResource newResource; + + /** + * Output only. The old resource before the change. Only changed fields will be populated. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesChangeEventChangedResource oldResource; + + /** + * Output only. The operation on the changed resource. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceChangeOperation; + + /** + * Output only. The resource name of the change event. Change event resource names have the form: + * `customers/{customer_id}/changeEvents/{timestamp_micros}~{command_index}~{mutate_index}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. The email of the user who made this change. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String userEmail; + + /** + * Output only. The AdGroup affected by this change. + * @return value or {@code null} for none + */ + public java.lang.String getAdGroup() { + return adGroup; + } + + /** + * Output only. The AdGroup affected by this change. + * @param adGroup adGroup or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesChangeEvent setAdGroup(java.lang.String adGroup) { + this.adGroup = adGroup; + return this; + } + + /** + * Output only. The Asset affected by this change. + * @return value or {@code null} for none + */ + public java.lang.String getAsset() { + return asset; + } + + /** + * Output only. The Asset affected by this change. + * @param asset asset or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesChangeEvent setAsset(java.lang.String asset) { + this.asset = asset; + return this; + } + + /** + * Output only. The Campaign affected by this change. + * @return value or {@code null} for none + */ + public java.lang.String getCampaign() { + return campaign; + } + + /** + * Output only. The Campaign affected by this change. + * @param campaign campaign or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesChangeEvent setCampaign(java.lang.String campaign) { + this.campaign = campaign; + return this; + } + + /** + * Output only. Time at which the change was committed on this resource. + * @return value or {@code null} for none + */ + public java.lang.String getChangeDateTime() { + return changeDateTime; + } + + /** + * Output only. Time at which the change was committed on this resource. + * @param changeDateTime changeDateTime or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesChangeEvent setChangeDateTime(java.lang.String changeDateTime) { + this.changeDateTime = changeDateTime; + return this; + } + + /** + * Output only. The Simply resource this change occurred on. + * @return value or {@code null} for none + */ + public java.lang.String getChangeResourceName() { + return changeResourceName; + } + + /** + * Output only. The Simply resource this change occurred on. + * @param changeResourceName changeResourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesChangeEvent setChangeResourceName(java.lang.String changeResourceName) { + this.changeResourceName = changeResourceName; + return this; + } + + /** + * Output only. The type of the changed resource. This dictates what resource will be set in + * old_resource and new_resource. + * @return value or {@code null} for none + */ + public java.lang.String getChangeResourceType() { + return changeResourceType; + } + + /** + * Output only. The type of the changed resource. This dictates what resource will be set in + * old_resource and new_resource. + * @param changeResourceType changeResourceType or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesChangeEvent setChangeResourceType(java.lang.String changeResourceType) { + this.changeResourceType = changeResourceType; + return this; + } + + /** + * Output only. A list of fields that are changed in the returned resource. + * @return value or {@code null} for none + */ + public String getChangedFields() { + return changedFields; + } + + /** + * Output only. A list of fields that are changed in the returned resource. + * @param changedFields changedFields or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesChangeEvent setChangedFields(String changedFields) { + this.changedFields = changedFields; + return this; + } + + /** + * Output only. Where the change was made through. + * @return value or {@code null} for none + */ + public java.lang.String getClientType() { + return clientType; + } + + /** + * Output only. Where the change was made through. + * @param clientType clientType or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesChangeEvent setClientType(java.lang.String clientType) { + this.clientType = clientType; + return this; + } + + /** + * Output only. The new resource after the change. Only changed fields will be populated. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesChangeEventChangedResource getNewResource() { + return newResource; + } + + /** + * Output only. The new resource after the change. Only changed fields will be populated. + * @param newResource newResource or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesChangeEvent setNewResource(GoogleAdsSearchads360V23ResourcesChangeEventChangedResource newResource) { + this.newResource = newResource; + return this; + } + + /** + * Output only. The old resource before the change. Only changed fields will be populated. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesChangeEventChangedResource getOldResource() { + return oldResource; + } + + /** + * Output only. The old resource before the change. Only changed fields will be populated. + * @param oldResource oldResource or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesChangeEvent setOldResource(GoogleAdsSearchads360V23ResourcesChangeEventChangedResource oldResource) { + this.oldResource = oldResource; + return this; + } + + /** + * Output only. The operation on the changed resource. + * @return value or {@code null} for none + */ + public java.lang.String getResourceChangeOperation() { + return resourceChangeOperation; + } + + /** + * Output only. The operation on the changed resource. + * @param resourceChangeOperation resourceChangeOperation or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesChangeEvent setResourceChangeOperation(java.lang.String resourceChangeOperation) { + this.resourceChangeOperation = resourceChangeOperation; + return this; + } + + /** + * Output only. The resource name of the change event. Change event resource names have the form: + * `customers/{customer_id}/changeEvents/{timestamp_micros}~{command_index}~{mutate_index}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Output only. The resource name of the change event. Change event resource names have the form: + * `customers/{customer_id}/changeEvents/{timestamp_micros}~{command_index}~{mutate_index}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesChangeEvent setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Output only. The email of the user who made this change. + * @return value or {@code null} for none + */ + public java.lang.String getUserEmail() { + return userEmail; + } + + /** + * Output only. The email of the user who made this change. + * @param userEmail userEmail or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesChangeEvent setUserEmail(java.lang.String userEmail) { + this.userEmail = userEmail; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesChangeEvent set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesChangeEvent) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesChangeEvent clone() { + return (GoogleAdsSearchads360V23ResourcesChangeEvent) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesChangeEventChangedResource.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesChangeEventChangedResource.java new file mode 100644 index 00000000000..2091bb89b37 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesChangeEventChangedResource.java @@ -0,0 +1,404 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A wrapper proto presenting all supported resources. Only the resource of the change_resource_type + * will be set. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesChangeEventChangedResource extends com.google.api.client.json.GenericJson { + + /** + * Output only. Set if change_resource_type == AD. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAd ad; + + /** + * Output only. Set if change_resource_type == AD_GROUP. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAdGroup adGroup; + + /** + * Output only. Set if change_resource_type == AD_GROUP_AD. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAdGroupAd adGroupAd; + + /** + * Output only. Set if change_resource_type == AD_GROUP_ASSET. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAdGroupAsset adGroupAsset; + + /** + * Output only. Set if change_resource_type == AD_GROUP_BID_MODIFIER. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAdGroupBidModifier adGroupBidModifier; + + /** + * Output only. Set if change_resource_type == AD_GROUP_CRITERION. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAdGroupCriterion adGroupCriterion; + + /** + * Output only. Set if change_resource_type == ASSET. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAsset asset; + + /** + * Output only. Set if change_resource_type == ASSET_SET. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAssetSet assetSet; + + /** + * Output only. Set if change_resource_type == ASSET_SET_ASSET. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAssetSetAsset assetSetAsset; + + /** + * Output only. Set if change_resource_type == CAMPAIGN. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCampaign campaign; + + /** + * Output only. Set if change_resource_type == CAMPAIGN_ASSET. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCampaignAsset campaignAsset; + + /** + * Output only. Set if change_resource_type == CAMPAIGN_ASSET_SET. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCampaignAssetSet campaignAssetSet; + + /** + * Output only. Set if change_resource_type == CAMPAIGN_BUDGET. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCampaignBudget campaignBudget; + + /** + * Output only. Set if change_resource_type == CAMPAIGN_CRITERION. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCampaignCriterion campaignCriterion; + + /** + * Output only. Set if change_resource_type == CUSTOMER_ASSET. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCustomerAsset customerAsset; + + /** + * Output only. Set if change_resource_type == AD. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAd getAd() { + return ad; + } + + /** + * Output only. Set if change_resource_type == AD. + * @param ad ad or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesChangeEventChangedResource setAd(GoogleAdsSearchads360V23ResourcesAd ad) { + this.ad = ad; + return this; + } + + /** + * Output only. Set if change_resource_type == AD_GROUP. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroup getAdGroup() { + return adGroup; + } + + /** + * Output only. Set if change_resource_type == AD_GROUP. + * @param adGroup adGroup or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesChangeEventChangedResource setAdGroup(GoogleAdsSearchads360V23ResourcesAdGroup adGroup) { + this.adGroup = adGroup; + return this; + } + + /** + * Output only. Set if change_resource_type == AD_GROUP_AD. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupAd getAdGroupAd() { + return adGroupAd; + } + + /** + * Output only. Set if change_resource_type == AD_GROUP_AD. + * @param adGroupAd adGroupAd or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesChangeEventChangedResource setAdGroupAd(GoogleAdsSearchads360V23ResourcesAdGroupAd adGroupAd) { + this.adGroupAd = adGroupAd; + return this; + } + + /** + * Output only. Set if change_resource_type == AD_GROUP_ASSET. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupAsset getAdGroupAsset() { + return adGroupAsset; + } + + /** + * Output only. Set if change_resource_type == AD_GROUP_ASSET. + * @param adGroupAsset adGroupAsset or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesChangeEventChangedResource setAdGroupAsset(GoogleAdsSearchads360V23ResourcesAdGroupAsset adGroupAsset) { + this.adGroupAsset = adGroupAsset; + return this; + } + + /** + * Output only. Set if change_resource_type == AD_GROUP_BID_MODIFIER. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupBidModifier getAdGroupBidModifier() { + return adGroupBidModifier; + } + + /** + * Output only. Set if change_resource_type == AD_GROUP_BID_MODIFIER. + * @param adGroupBidModifier adGroupBidModifier or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesChangeEventChangedResource setAdGroupBidModifier(GoogleAdsSearchads360V23ResourcesAdGroupBidModifier adGroupBidModifier) { + this.adGroupBidModifier = adGroupBidModifier; + return this; + } + + /** + * Output only. Set if change_resource_type == AD_GROUP_CRITERION. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterion getAdGroupCriterion() { + return adGroupCriterion; + } + + /** + * Output only. Set if change_resource_type == AD_GROUP_CRITERION. + * @param adGroupCriterion adGroupCriterion or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesChangeEventChangedResource setAdGroupCriterion(GoogleAdsSearchads360V23ResourcesAdGroupCriterion adGroupCriterion) { + this.adGroupCriterion = adGroupCriterion; + return this; + } + + /** + * Output only. Set if change_resource_type == ASSET. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAsset getAsset() { + return asset; + } + + /** + * Output only. Set if change_resource_type == ASSET. + * @param asset asset or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesChangeEventChangedResource setAsset(GoogleAdsSearchads360V23ResourcesAsset asset) { + this.asset = asset; + return this; + } + + /** + * Output only. Set if change_resource_type == ASSET_SET. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetSet getAssetSet() { + return assetSet; + } + + /** + * Output only. Set if change_resource_type == ASSET_SET. + * @param assetSet assetSet or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesChangeEventChangedResource setAssetSet(GoogleAdsSearchads360V23ResourcesAssetSet assetSet) { + this.assetSet = assetSet; + return this; + } + + /** + * Output only. Set if change_resource_type == ASSET_SET_ASSET. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetSetAsset getAssetSetAsset() { + return assetSetAsset; + } + + /** + * Output only. Set if change_resource_type == ASSET_SET_ASSET. + * @param assetSetAsset assetSetAsset or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesChangeEventChangedResource setAssetSetAsset(GoogleAdsSearchads360V23ResourcesAssetSetAsset assetSetAsset) { + this.assetSetAsset = assetSetAsset; + return this; + } + + /** + * Output only. Set if change_resource_type == CAMPAIGN. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaign getCampaign() { + return campaign; + } + + /** + * Output only. Set if change_resource_type == CAMPAIGN. + * @param campaign campaign or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesChangeEventChangedResource setCampaign(GoogleAdsSearchads360V23ResourcesCampaign campaign) { + this.campaign = campaign; + return this; + } + + /** + * Output only. Set if change_resource_type == CAMPAIGN_ASSET. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignAsset getCampaignAsset() { + return campaignAsset; + } + + /** + * Output only. Set if change_resource_type == CAMPAIGN_ASSET. + * @param campaignAsset campaignAsset or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesChangeEventChangedResource setCampaignAsset(GoogleAdsSearchads360V23ResourcesCampaignAsset campaignAsset) { + this.campaignAsset = campaignAsset; + return this; + } + + /** + * Output only. Set if change_resource_type == CAMPAIGN_ASSET_SET. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignAssetSet getCampaignAssetSet() { + return campaignAssetSet; + } + + /** + * Output only. Set if change_resource_type == CAMPAIGN_ASSET_SET. + * @param campaignAssetSet campaignAssetSet or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesChangeEventChangedResource setCampaignAssetSet(GoogleAdsSearchads360V23ResourcesCampaignAssetSet campaignAssetSet) { + this.campaignAssetSet = campaignAssetSet; + return this; + } + + /** + * Output only. Set if change_resource_type == CAMPAIGN_BUDGET. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignBudget getCampaignBudget() { + return campaignBudget; + } + + /** + * Output only. Set if change_resource_type == CAMPAIGN_BUDGET. + * @param campaignBudget campaignBudget or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesChangeEventChangedResource setCampaignBudget(GoogleAdsSearchads360V23ResourcesCampaignBudget campaignBudget) { + this.campaignBudget = campaignBudget; + return this; + } + + /** + * Output only. Set if change_resource_type == CAMPAIGN_CRITERION. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignCriterion getCampaignCriterion() { + return campaignCriterion; + } + + /** + * Output only. Set if change_resource_type == CAMPAIGN_CRITERION. + * @param campaignCriterion campaignCriterion or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesChangeEventChangedResource setCampaignCriterion(GoogleAdsSearchads360V23ResourcesCampaignCriterion campaignCriterion) { + this.campaignCriterion = campaignCriterion; + return this; + } + + /** + * Output only. Set if change_resource_type == CUSTOMER_ASSET. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerAsset getCustomerAsset() { + return customerAsset; + } + + /** + * Output only. Set if change_resource_type == CUSTOMER_ASSET. + * @param customerAsset customerAsset or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesChangeEventChangedResource setCustomerAsset(GoogleAdsSearchads360V23ResourcesCustomerAsset customerAsset) { + this.customerAsset = customerAsset; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesChangeEventChangedResource set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesChangeEventChangedResource) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesChangeEventChangedResource clone() { + return (GoogleAdsSearchads360V23ResourcesChangeEventChangedResource) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesChangeStatus.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesChangeStatus.java new file mode 100644 index 00000000000..115ffa6616c --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesChangeStatus.java @@ -0,0 +1,554 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Describes the status of returned resource. ChangeStatus could have up to 3 minutes delay to + * reflect a new change. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesChangeStatus extends com.google.api.client.json.GenericJson { + + /** + * Output only. The AdGroup affected by this change. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String adGroup; + + /** + * Output only. The AdGroupAd affected by this change. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String adGroupAd; + + /** + * Output only. The AdGroupAsset affected by this change. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String adGroupAsset; + + /** + * Output only. The AdGroupBidModifier affected by this change. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String adGroupBidModifier; + + /** + * Output only. The AdGroupCriterion affected by this change. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String adGroupCriterion; + + /** + * Output only. The Asset affected by this change. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String asset; + + /** + * Output only. The AssetGroup affected by this change. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String assetGroup; + + /** + * Output only. The AssetSet affected by this change. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String assetSet; + + /** + * Output only. The Campaign affected by this change. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String campaign; + + /** + * Output only. The CampaignAsset affected by this change. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String campaignAsset; + + /** + * Output only. The CampaignAssetSet affected by this change. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String campaignAssetSet; + + /** + * Output only. The CampaignBudget affected by this change. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String campaignBudget; + + /** + * Output only. The CampaignCriterion affected by this change. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String campaignCriterion; + + /** + * Output only. The CampaignSharedSet affected by this change. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String campaignSharedSet; + + /** + * Output only. The CombinedAudience affected by this change. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String combinedAudience; + + /** + * Output only. The CustomerAsset affected by this change. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String customerAsset; + + /** + * Output only. Time at which the most recent change has occurred on this resource. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String lastChangeDateTime; + + /** + * Output only. The resource name of the change status. Change status resource names have the + * form: `customers/{customer_id}/changeStatus/{change_status_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. Represents the status of the changed resource. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceStatus; + + /** + * Output only. Represents the type of the changed resource. This dictates what fields will be + * set. For example, for AD_GROUP, campaign and ad_group fields will be set. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceType; + + /** + * Output only. The SharedSet affected by this change. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String sharedSet; + + /** + * Output only. The AdGroup affected by this change. + * @return value or {@code null} for none + */ + public java.lang.String getAdGroup() { + return adGroup; + } + + /** + * Output only. The AdGroup affected by this change. + * @param adGroup adGroup or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesChangeStatus setAdGroup(java.lang.String adGroup) { + this.adGroup = adGroup; + return this; + } + + /** + * Output only. The AdGroupAd affected by this change. + * @return value or {@code null} for none + */ + public java.lang.String getAdGroupAd() { + return adGroupAd; + } + + /** + * Output only. The AdGroupAd affected by this change. + * @param adGroupAd adGroupAd or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesChangeStatus setAdGroupAd(java.lang.String adGroupAd) { + this.adGroupAd = adGroupAd; + return this; + } + + /** + * Output only. The AdGroupAsset affected by this change. + * @return value or {@code null} for none + */ + public java.lang.String getAdGroupAsset() { + return adGroupAsset; + } + + /** + * Output only. The AdGroupAsset affected by this change. + * @param adGroupAsset adGroupAsset or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesChangeStatus setAdGroupAsset(java.lang.String adGroupAsset) { + this.adGroupAsset = adGroupAsset; + return this; + } + + /** + * Output only. The AdGroupBidModifier affected by this change. + * @return value or {@code null} for none + */ + public java.lang.String getAdGroupBidModifier() { + return adGroupBidModifier; + } + + /** + * Output only. The AdGroupBidModifier affected by this change. + * @param adGroupBidModifier adGroupBidModifier or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesChangeStatus setAdGroupBidModifier(java.lang.String adGroupBidModifier) { + this.adGroupBidModifier = adGroupBidModifier; + return this; + } + + /** + * Output only. The AdGroupCriterion affected by this change. + * @return value or {@code null} for none + */ + public java.lang.String getAdGroupCriterion() { + return adGroupCriterion; + } + + /** + * Output only. The AdGroupCriterion affected by this change. + * @param adGroupCriterion adGroupCriterion or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesChangeStatus setAdGroupCriterion(java.lang.String adGroupCriterion) { + this.adGroupCriterion = adGroupCriterion; + return this; + } + + /** + * Output only. The Asset affected by this change. + * @return value or {@code null} for none + */ + public java.lang.String getAsset() { + return asset; + } + + /** + * Output only. The Asset affected by this change. + * @param asset asset or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesChangeStatus setAsset(java.lang.String asset) { + this.asset = asset; + return this; + } + + /** + * Output only. The AssetGroup affected by this change. + * @return value or {@code null} for none + */ + public java.lang.String getAssetGroup() { + return assetGroup; + } + + /** + * Output only. The AssetGroup affected by this change. + * @param assetGroup assetGroup or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesChangeStatus setAssetGroup(java.lang.String assetGroup) { + this.assetGroup = assetGroup; + return this; + } + + /** + * Output only. The AssetSet affected by this change. + * @return value or {@code null} for none + */ + public java.lang.String getAssetSet() { + return assetSet; + } + + /** + * Output only. The AssetSet affected by this change. + * @param assetSet assetSet or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesChangeStatus setAssetSet(java.lang.String assetSet) { + this.assetSet = assetSet; + return this; + } + + /** + * Output only. The Campaign affected by this change. + * @return value or {@code null} for none + */ + public java.lang.String getCampaign() { + return campaign; + } + + /** + * Output only. The Campaign affected by this change. + * @param campaign campaign or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesChangeStatus setCampaign(java.lang.String campaign) { + this.campaign = campaign; + return this; + } + + /** + * Output only. The CampaignAsset affected by this change. + * @return value or {@code null} for none + */ + public java.lang.String getCampaignAsset() { + return campaignAsset; + } + + /** + * Output only. The CampaignAsset affected by this change. + * @param campaignAsset campaignAsset or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesChangeStatus setCampaignAsset(java.lang.String campaignAsset) { + this.campaignAsset = campaignAsset; + return this; + } + + /** + * Output only. The CampaignAssetSet affected by this change. + * @return value or {@code null} for none + */ + public java.lang.String getCampaignAssetSet() { + return campaignAssetSet; + } + + /** + * Output only. The CampaignAssetSet affected by this change. + * @param campaignAssetSet campaignAssetSet or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesChangeStatus setCampaignAssetSet(java.lang.String campaignAssetSet) { + this.campaignAssetSet = campaignAssetSet; + return this; + } + + /** + * Output only. The CampaignBudget affected by this change. + * @return value or {@code null} for none + */ + public java.lang.String getCampaignBudget() { + return campaignBudget; + } + + /** + * Output only. The CampaignBudget affected by this change. + * @param campaignBudget campaignBudget or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesChangeStatus setCampaignBudget(java.lang.String campaignBudget) { + this.campaignBudget = campaignBudget; + return this; + } + + /** + * Output only. The CampaignCriterion affected by this change. + * @return value or {@code null} for none + */ + public java.lang.String getCampaignCriterion() { + return campaignCriterion; + } + + /** + * Output only. The CampaignCriterion affected by this change. + * @param campaignCriterion campaignCriterion or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesChangeStatus setCampaignCriterion(java.lang.String campaignCriterion) { + this.campaignCriterion = campaignCriterion; + return this; + } + + /** + * Output only. The CampaignSharedSet affected by this change. + * @return value or {@code null} for none + */ + public java.lang.String getCampaignSharedSet() { + return campaignSharedSet; + } + + /** + * Output only. The CampaignSharedSet affected by this change. + * @param campaignSharedSet campaignSharedSet or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesChangeStatus setCampaignSharedSet(java.lang.String campaignSharedSet) { + this.campaignSharedSet = campaignSharedSet; + return this; + } + + /** + * Output only. The CombinedAudience affected by this change. + * @return value or {@code null} for none + */ + public java.lang.String getCombinedAudience() { + return combinedAudience; + } + + /** + * Output only. The CombinedAudience affected by this change. + * @param combinedAudience combinedAudience or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesChangeStatus setCombinedAudience(java.lang.String combinedAudience) { + this.combinedAudience = combinedAudience; + return this; + } + + /** + * Output only. The CustomerAsset affected by this change. + * @return value or {@code null} for none + */ + public java.lang.String getCustomerAsset() { + return customerAsset; + } + + /** + * Output only. The CustomerAsset affected by this change. + * @param customerAsset customerAsset or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesChangeStatus setCustomerAsset(java.lang.String customerAsset) { + this.customerAsset = customerAsset; + return this; + } + + /** + * Output only. Time at which the most recent change has occurred on this resource. + * @return value or {@code null} for none + */ + public java.lang.String getLastChangeDateTime() { + return lastChangeDateTime; + } + + /** + * Output only. Time at which the most recent change has occurred on this resource. + * @param lastChangeDateTime lastChangeDateTime or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesChangeStatus setLastChangeDateTime(java.lang.String lastChangeDateTime) { + this.lastChangeDateTime = lastChangeDateTime; + return this; + } + + /** + * Output only. The resource name of the change status. Change status resource names have the + * form: `customers/{customer_id}/changeStatus/{change_status_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Output only. The resource name of the change status. Change status resource names have the + * form: `customers/{customer_id}/changeStatus/{change_status_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesChangeStatus setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Output only. Represents the status of the changed resource. + * @return value or {@code null} for none + */ + public java.lang.String getResourceStatus() { + return resourceStatus; + } + + /** + * Output only. Represents the status of the changed resource. + * @param resourceStatus resourceStatus or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesChangeStatus setResourceStatus(java.lang.String resourceStatus) { + this.resourceStatus = resourceStatus; + return this; + } + + /** + * Output only. Represents the type of the changed resource. This dictates what fields will be + * set. For example, for AD_GROUP, campaign and ad_group fields will be set. + * @return value or {@code null} for none + */ + public java.lang.String getResourceType() { + return resourceType; + } + + /** + * Output only. Represents the type of the changed resource. This dictates what fields will be + * set. For example, for AD_GROUP, campaign and ad_group fields will be set. + * @param resourceType resourceType or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesChangeStatus setResourceType(java.lang.String resourceType) { + this.resourceType = resourceType; + return this; + } + + /** + * Output only. The SharedSet affected by this change. + * @return value or {@code null} for none + */ + public java.lang.String getSharedSet() { + return sharedSet; + } + + /** + * Output only. The SharedSet affected by this change. + * @param sharedSet sharedSet or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesChangeStatus setSharedSet(java.lang.String sharedSet) { + this.sharedSet = sharedSet; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesChangeStatus set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesChangeStatus) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesChangeStatus clone() { + return (GoogleAdsSearchads360V23ResourcesChangeStatus) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesClickView.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesClickView.java new file mode 100644 index 00000000000..13a2bd9af25 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesClickView.java @@ -0,0 +1,300 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A click view with metrics aggregated at each click level, including both valid and invalid + * clicks. For non-Search campaigns, metrics.clicks represents the number of valid and invalid + * interactions. Queries including ClickView must have a filter limiting the results to one day and + * can be requested for dates back to 90 days before the time of the request. GCLIDs are not + * available in this report for App Campaigns for Installs (ACi) and App Campaigns for Pre- + * registration (ACpre). + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesClickView extends com.google.api.client.json.GenericJson { + + /** + * Output only. The associated ad. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String adGroupAd; + + /** + * Output only. The location criteria matching the area of interest associated with the + * impression. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonClickLocation areaOfInterest; + + /** + * Output only. The associated campaign location target, if one exists. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String campaignLocationTarget; + + /** + * Output only. The Google Click ID. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String gclid; + + /** + * Output only. The associated keyword, if one exists and the click corresponds to the SEARCH + * channel. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String keyword; + + /** + * Output only. Basic information about the associated keyword, if it exists. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonKeywordInfo keywordInfo; + + /** + * Output only. The location criteria matching the location of presence associated with the + * impression. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonClickLocation locationOfPresence; + + /** + * Output only. Page number in search results where the ad was shown. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long pageNumber; + + /** + * Output only. The resource name of the click view. Click view resource names have the form: + * `customers/{customer_id}/clickViews/{date (yyyy-MM-dd)}~{gclid}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. The associated user list, if one exists. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String userList; + + /** + * Output only. The associated ad. + * @return value or {@code null} for none + */ + public java.lang.String getAdGroupAd() { + return adGroupAd; + } + + /** + * Output only. The associated ad. + * @param adGroupAd adGroupAd or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesClickView setAdGroupAd(java.lang.String adGroupAd) { + this.adGroupAd = adGroupAd; + return this; + } + + /** + * Output only. The location criteria matching the area of interest associated with the + * impression. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonClickLocation getAreaOfInterest() { + return areaOfInterest; + } + + /** + * Output only. The location criteria matching the area of interest associated with the + * impression. + * @param areaOfInterest areaOfInterest or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesClickView setAreaOfInterest(GoogleAdsSearchads360V23CommonClickLocation areaOfInterest) { + this.areaOfInterest = areaOfInterest; + return this; + } + + /** + * Output only. The associated campaign location target, if one exists. + * @return value or {@code null} for none + */ + public java.lang.String getCampaignLocationTarget() { + return campaignLocationTarget; + } + + /** + * Output only. The associated campaign location target, if one exists. + * @param campaignLocationTarget campaignLocationTarget or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesClickView setCampaignLocationTarget(java.lang.String campaignLocationTarget) { + this.campaignLocationTarget = campaignLocationTarget; + return this; + } + + /** + * Output only. The Google Click ID. + * @return value or {@code null} for none + */ + public java.lang.String getGclid() { + return gclid; + } + + /** + * Output only. The Google Click ID. + * @param gclid gclid or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesClickView setGclid(java.lang.String gclid) { + this.gclid = gclid; + return this; + } + + /** + * Output only. The associated keyword, if one exists and the click corresponds to the SEARCH + * channel. + * @return value or {@code null} for none + */ + public java.lang.String getKeyword() { + return keyword; + } + + /** + * Output only. The associated keyword, if one exists and the click corresponds to the SEARCH + * channel. + * @param keyword keyword or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesClickView setKeyword(java.lang.String keyword) { + this.keyword = keyword; + return this; + } + + /** + * Output only. Basic information about the associated keyword, if it exists. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonKeywordInfo getKeywordInfo() { + return keywordInfo; + } + + /** + * Output only. Basic information about the associated keyword, if it exists. + * @param keywordInfo keywordInfo or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesClickView setKeywordInfo(GoogleAdsSearchads360V23CommonKeywordInfo keywordInfo) { + this.keywordInfo = keywordInfo; + return this; + } + + /** + * Output only. The location criteria matching the location of presence associated with the + * impression. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonClickLocation getLocationOfPresence() { + return locationOfPresence; + } + + /** + * Output only. The location criteria matching the location of presence associated with the + * impression. + * @param locationOfPresence locationOfPresence or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesClickView setLocationOfPresence(GoogleAdsSearchads360V23CommonClickLocation locationOfPresence) { + this.locationOfPresence = locationOfPresence; + return this; + } + + /** + * Output only. Page number in search results where the ad was shown. + * @return value or {@code null} for none + */ + public java.lang.Long getPageNumber() { + return pageNumber; + } + + /** + * Output only. Page number in search results where the ad was shown. + * @param pageNumber pageNumber or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesClickView setPageNumber(java.lang.Long pageNumber) { + this.pageNumber = pageNumber; + return this; + } + + /** + * Output only. The resource name of the click view. Click view resource names have the form: + * `customers/{customer_id}/clickViews/{date (yyyy-MM-dd)}~{gclid}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Output only. The resource name of the click view. Click view resource names have the form: + * `customers/{customer_id}/clickViews/{date (yyyy-MM-dd)}~{gclid}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesClickView setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Output only. The associated user list, if one exists. + * @return value or {@code null} for none + */ + public java.lang.String getUserList() { + return userList; + } + + /** + * Output only. The associated user list, if one exists. + * @param userList userList or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesClickView setUserList(java.lang.String userList) { + this.userList = userList; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesClickView set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesClickView) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesClickView clone() { + return (GoogleAdsSearchads360V23ResourcesClickView) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCombinedAudience.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCombinedAudience.java new file mode 100644 index 00000000000..22944cab1c0 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCombinedAudience.java @@ -0,0 +1,169 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Describe a resource for combined audiences which includes different audiences. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesCombinedAudience extends com.google.api.client.json.GenericJson { + + /** + * Output only. Description of this combined audience. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String description; + + /** + * Output only. ID of the combined audience. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long id; + + /** + * Output only. Name of the combined audience. It should be unique across all combined audiences. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * Immutable. The resource name of the combined audience. Combined audience names have the form: + * `customers/{customer_id}/combinedAudience/{combined_audience_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. Status of this combined audience. Indicates whether the combined audience is + * enabled or removed. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String status; + + /** + * Output only. Description of this combined audience. + * @return value or {@code null} for none + */ + public java.lang.String getDescription() { + return description; + } + + /** + * Output only. Description of this combined audience. + * @param description description or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCombinedAudience setDescription(java.lang.String description) { + this.description = description; + return this; + } + + /** + * Output only. ID of the combined audience. + * @return value or {@code null} for none + */ + public java.lang.Long getId() { + return id; + } + + /** + * Output only. ID of the combined audience. + * @param id id or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCombinedAudience setId(java.lang.Long id) { + this.id = id; + return this; + } + + /** + * Output only. Name of the combined audience. It should be unique across all combined audiences. + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * Output only. Name of the combined audience. It should be unique across all combined audiences. + * @param name name or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCombinedAudience setName(java.lang.String name) { + this.name = name; + return this; + } + + /** + * Immutable. The resource name of the combined audience. Combined audience names have the form: + * `customers/{customer_id}/combinedAudience/{combined_audience_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Immutable. The resource name of the combined audience. Combined audience names have the form: + * `customers/{customer_id}/combinedAudience/{combined_audience_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCombinedAudience setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Output only. Status of this combined audience. Indicates whether the combined audience is + * enabled or removed. + * @return value or {@code null} for none + */ + public java.lang.String getStatus() { + return status; + } + + /** + * Output only. Status of this combined audience. Indicates whether the combined audience is + * enabled or removed. + * @param status status or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCombinedAudience setStatus(java.lang.String status) { + this.status = status; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesCombinedAudience set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesCombinedAudience) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesCombinedAudience clone() { + return (GoogleAdsSearchads360V23ResourcesCombinedAudience) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesContactDetails.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesContactDetails.java new file mode 100644 index 00000000000..dde82d571a3 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesContactDetails.java @@ -0,0 +1,124 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Fields containing consumer contact details. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesContactDetails extends com.google.api.client.json.GenericJson { + + /** + * Output only. Consumer name if consumer provided name from Message or Booking form on google.com + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String consumerName; + + /** + * Output only. Consumer email address. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String email; + + /** + * Output only. Phone number of the consumer for the lead. This can be a real phone number or a + * tracking number. The phone number is returned in E164 format. See + * https://support.google.com/google-ads/answer/16355235?hl=en to learn more. Example: + * +16504519489. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String phoneNumber; + + /** + * Output only. Consumer name if consumer provided name from Message or Booking form on google.com + * @return value or {@code null} for none + */ + public java.lang.String getConsumerName() { + return consumerName; + } + + /** + * Output only. Consumer name if consumer provided name from Message or Booking form on google.com + * @param consumerName consumerName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesContactDetails setConsumerName(java.lang.String consumerName) { + this.consumerName = consumerName; + return this; + } + + /** + * Output only. Consumer email address. + * @return value or {@code null} for none + */ + public java.lang.String getEmail() { + return email; + } + + /** + * Output only. Consumer email address. + * @param email email or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesContactDetails setEmail(java.lang.String email) { + this.email = email; + return this; + } + + /** + * Output only. Phone number of the consumer for the lead. This can be a real phone number or a + * tracking number. The phone number is returned in E164 format. See + * https://support.google.com/google-ads/answer/16355235?hl=en to learn more. Example: + * +16504519489. + * @return value or {@code null} for none + */ + public java.lang.String getPhoneNumber() { + return phoneNumber; + } + + /** + * Output only. Phone number of the consumer for the lead. This can be a real phone number or a + * tracking number. The phone number is returned in E164 format. See + * https://support.google.com/google-ads/answer/16355235?hl=en to learn more. Example: + * +16504519489. + * @param phoneNumber phoneNumber or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesContactDetails setPhoneNumber(java.lang.String phoneNumber) { + this.phoneNumber = phoneNumber; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesContactDetails set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesContactDetails) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesContactDetails clone() { + return (GoogleAdsSearchads360V23ResourcesContactDetails) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesContentCriterionView.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesContentCriterionView.java new file mode 100644 index 00000000000..a41dd388865 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesContentCriterionView.java @@ -0,0 +1,73 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A content criterion view. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesContentCriterionView extends com.google.api.client.json.GenericJson { + + /** + * Output only. The resource name of the content criterion view. Content criterion view resource + * names have the form: + * `customers/{customer_id}/contentCriterionViews/{ad_group_id}~{criterion_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. The resource name of the content criterion view. Content criterion view resource + * names have the form: + * `customers/{customer_id}/contentCriterionViews/{ad_group_id}~{criterion_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Output only. The resource name of the content criterion view. Content criterion view resource + * names have the form: + * `customers/{customer_id}/contentCriterionViews/{ad_group_id}~{criterion_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesContentCriterionView setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesContentCriterionView set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesContentCriterionView) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesContentCriterionView clone() { + return (GoogleAdsSearchads360V23ResourcesContentCriterionView) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesConversion.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesConversion.java new file mode 100644 index 00000000000..7f34dc55c1a --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesConversion.java @@ -0,0 +1,661 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A conversion. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesConversion extends com.google.api.client.json.GenericJson { + + /** + * Output only. Ad ID. A value of 0 indicates that the ad is unattributed. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long adId; + + /** + * Output only. For offline conversions, this is an ID provided by advertisers. If an advertiser + * doesn't specify such an ID, Search Ads 360 generates one. For online conversions, this is equal + * to the id column or the floodlight_order_id column depending on the advertiser's Floodlight + * instructions. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String advertiserConversionId; + + /** + * Output only. Asset field type of the conversion event. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String assetFieldType; + + /** + * Output only. ID of the asset which was interacted with during the conversion event. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long assetId; + + /** + * Output only. What the conversion is attributed to: Visit or Keyword+Ad. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String attributionType; + + /** + * Output only. A unique string, for the visit that the conversion is attributed to, that is + * passed to the landing page as the click id URL parameter. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String clickId; + + /** + * Output only. The timestamp of the conversion event. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String conversionDateTime; + + /** + * Output only. The timestamp of the last time the conversion was modified. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String conversionLastModifiedDateTime; + + /** + * Output only. The quantity of items recorded by the conversion, as determined by the qty url + * parameter. The advertiser is responsible for dynamically populating the parameter (such as + * number of items sold in the conversion), otherwise it defaults to 1. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long conversionQuantity; + + /** + * Output only. The adjusted revenue in micros for the conversion event. This will always be in + * the currency of the serving account. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long conversionRevenueMicros; + + /** + * Output only. The timestamp of the visit that the conversion is attributed to. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String conversionVisitDateTime; + + /** + * Output only. Search Ads 360 criterion ID. A value of 0 indicates that the criterion is + * unattributed. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long criterionId; + + /** + * Output only. The Floodlight order ID provided by the advertiser for the conversion. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String floodlightOrderId; + + /** + * Output only. The original, unchanged revenue associated with the Floodlight event (in the + * currency of the current report), before Floodlight currency instruction modifications. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long floodlightOriginalRevenue; + + /** + * Output only. The ID of the conversion + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long id; + + /** + * Output only. The Search Ads 360 inventory account ID containing the product that was clicked + * on. Search Ads 360 generates this ID when you link an inventory account in Search Ads 360. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long merchantId; + + /** + * Output only. The sales channel of the product that was clicked on: Online or Local. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String productChannel; + + /** + * Output only. The country (ISO-3166-format) registered for the inventory feed that contains the + * product clicked on. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String productCountryCode; + + /** + * Output only. The ID of the product clicked on. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String productId; + + /** + * Output only. The language (ISO-639-1) that has been set for the Merchant Center feed containing + * data about the product. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String productLanguageCode; + + /** + * Output only. The store in the Local Inventory Ad that was clicked on. This should match the + * store IDs used in your local products feed. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String productStoreId; + + /** + * Output only. The resource name of the conversion. Conversion resource names have the form: + * `customers/{customer_id}/conversions/{ad_group_id}~{criterion_id}~{ds_conversion_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. The status of the conversion, either ENABLED or REMOVED.. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String status; + + /** + * Output only. The Search Ads 360 visit ID that the conversion is attributed to. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long visitId; + + /** + * Output only. Ad ID. A value of 0 indicates that the ad is unattributed. + * @return value or {@code null} for none + */ + public java.lang.Long getAdId() { + return adId; + } + + /** + * Output only. Ad ID. A value of 0 indicates that the ad is unattributed. + * @param adId adId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversion setAdId(java.lang.Long adId) { + this.adId = adId; + return this; + } + + /** + * Output only. For offline conversions, this is an ID provided by advertisers. If an advertiser + * doesn't specify such an ID, Search Ads 360 generates one. For online conversions, this is equal + * to the id column or the floodlight_order_id column depending on the advertiser's Floodlight + * instructions. + * @return value or {@code null} for none + */ + public java.lang.String getAdvertiserConversionId() { + return advertiserConversionId; + } + + /** + * Output only. For offline conversions, this is an ID provided by advertisers. If an advertiser + * doesn't specify such an ID, Search Ads 360 generates one. For online conversions, this is equal + * to the id column or the floodlight_order_id column depending on the advertiser's Floodlight + * instructions. + * @param advertiserConversionId advertiserConversionId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversion setAdvertiserConversionId(java.lang.String advertiserConversionId) { + this.advertiserConversionId = advertiserConversionId; + return this; + } + + /** + * Output only. Asset field type of the conversion event. + * @return value or {@code null} for none + */ + public java.lang.String getAssetFieldType() { + return assetFieldType; + } + + /** + * Output only. Asset field type of the conversion event. + * @param assetFieldType assetFieldType or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversion setAssetFieldType(java.lang.String assetFieldType) { + this.assetFieldType = assetFieldType; + return this; + } + + /** + * Output only. ID of the asset which was interacted with during the conversion event. + * @return value or {@code null} for none + */ + public java.lang.Long getAssetId() { + return assetId; + } + + /** + * Output only. ID of the asset which was interacted with during the conversion event. + * @param assetId assetId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversion setAssetId(java.lang.Long assetId) { + this.assetId = assetId; + return this; + } + + /** + * Output only. What the conversion is attributed to: Visit or Keyword+Ad. + * @return value or {@code null} for none + */ + public java.lang.String getAttributionType() { + return attributionType; + } + + /** + * Output only. What the conversion is attributed to: Visit or Keyword+Ad. + * @param attributionType attributionType or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversion setAttributionType(java.lang.String attributionType) { + this.attributionType = attributionType; + return this; + } + + /** + * Output only. A unique string, for the visit that the conversion is attributed to, that is + * passed to the landing page as the click id URL parameter. + * @return value or {@code null} for none + */ + public java.lang.String getClickId() { + return clickId; + } + + /** + * Output only. A unique string, for the visit that the conversion is attributed to, that is + * passed to the landing page as the click id URL parameter. + * @param clickId clickId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversion setClickId(java.lang.String clickId) { + this.clickId = clickId; + return this; + } + + /** + * Output only. The timestamp of the conversion event. + * @return value or {@code null} for none + */ + public java.lang.String getConversionDateTime() { + return conversionDateTime; + } + + /** + * Output only. The timestamp of the conversion event. + * @param conversionDateTime conversionDateTime or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversion setConversionDateTime(java.lang.String conversionDateTime) { + this.conversionDateTime = conversionDateTime; + return this; + } + + /** + * Output only. The timestamp of the last time the conversion was modified. + * @return value or {@code null} for none + */ + public java.lang.String getConversionLastModifiedDateTime() { + return conversionLastModifiedDateTime; + } + + /** + * Output only. The timestamp of the last time the conversion was modified. + * @param conversionLastModifiedDateTime conversionLastModifiedDateTime or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversion setConversionLastModifiedDateTime(java.lang.String conversionLastModifiedDateTime) { + this.conversionLastModifiedDateTime = conversionLastModifiedDateTime; + return this; + } + + /** + * Output only. The quantity of items recorded by the conversion, as determined by the qty url + * parameter. The advertiser is responsible for dynamically populating the parameter (such as + * number of items sold in the conversion), otherwise it defaults to 1. + * @return value or {@code null} for none + */ + public java.lang.Long getConversionQuantity() { + return conversionQuantity; + } + + /** + * Output only. The quantity of items recorded by the conversion, as determined by the qty url + * parameter. The advertiser is responsible for dynamically populating the parameter (such as + * number of items sold in the conversion), otherwise it defaults to 1. + * @param conversionQuantity conversionQuantity or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversion setConversionQuantity(java.lang.Long conversionQuantity) { + this.conversionQuantity = conversionQuantity; + return this; + } + + /** + * Output only. The adjusted revenue in micros for the conversion event. This will always be in + * the currency of the serving account. + * @return value or {@code null} for none + */ + public java.lang.Long getConversionRevenueMicros() { + return conversionRevenueMicros; + } + + /** + * Output only. The adjusted revenue in micros for the conversion event. This will always be in + * the currency of the serving account. + * @param conversionRevenueMicros conversionRevenueMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversion setConversionRevenueMicros(java.lang.Long conversionRevenueMicros) { + this.conversionRevenueMicros = conversionRevenueMicros; + return this; + } + + /** + * Output only. The timestamp of the visit that the conversion is attributed to. + * @return value or {@code null} for none + */ + public java.lang.String getConversionVisitDateTime() { + return conversionVisitDateTime; + } + + /** + * Output only. The timestamp of the visit that the conversion is attributed to. + * @param conversionVisitDateTime conversionVisitDateTime or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversion setConversionVisitDateTime(java.lang.String conversionVisitDateTime) { + this.conversionVisitDateTime = conversionVisitDateTime; + return this; + } + + /** + * Output only. Search Ads 360 criterion ID. A value of 0 indicates that the criterion is + * unattributed. + * @return value or {@code null} for none + */ + public java.lang.Long getCriterionId() { + return criterionId; + } + + /** + * Output only. Search Ads 360 criterion ID. A value of 0 indicates that the criterion is + * unattributed. + * @param criterionId criterionId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversion setCriterionId(java.lang.Long criterionId) { + this.criterionId = criterionId; + return this; + } + + /** + * Output only. The Floodlight order ID provided by the advertiser for the conversion. + * @return value or {@code null} for none + */ + public java.lang.String getFloodlightOrderId() { + return floodlightOrderId; + } + + /** + * Output only. The Floodlight order ID provided by the advertiser for the conversion. + * @param floodlightOrderId floodlightOrderId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversion setFloodlightOrderId(java.lang.String floodlightOrderId) { + this.floodlightOrderId = floodlightOrderId; + return this; + } + + /** + * Output only. The original, unchanged revenue associated with the Floodlight event (in the + * currency of the current report), before Floodlight currency instruction modifications. + * @return value or {@code null} for none + */ + public java.lang.Long getFloodlightOriginalRevenue() { + return floodlightOriginalRevenue; + } + + /** + * Output only. The original, unchanged revenue associated with the Floodlight event (in the + * currency of the current report), before Floodlight currency instruction modifications. + * @param floodlightOriginalRevenue floodlightOriginalRevenue or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversion setFloodlightOriginalRevenue(java.lang.Long floodlightOriginalRevenue) { + this.floodlightOriginalRevenue = floodlightOriginalRevenue; + return this; + } + + /** + * Output only. The ID of the conversion + * @return value or {@code null} for none + */ + public java.lang.Long getId() { + return id; + } + + /** + * Output only. The ID of the conversion + * @param id id or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversion setId(java.lang.Long id) { + this.id = id; + return this; + } + + /** + * Output only. The Search Ads 360 inventory account ID containing the product that was clicked + * on. Search Ads 360 generates this ID when you link an inventory account in Search Ads 360. + * @return value or {@code null} for none + */ + public java.lang.Long getMerchantId() { + return merchantId; + } + + /** + * Output only. The Search Ads 360 inventory account ID containing the product that was clicked + * on. Search Ads 360 generates this ID when you link an inventory account in Search Ads 360. + * @param merchantId merchantId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversion setMerchantId(java.lang.Long merchantId) { + this.merchantId = merchantId; + return this; + } + + /** + * Output only. The sales channel of the product that was clicked on: Online or Local. + * @return value or {@code null} for none + */ + public java.lang.String getProductChannel() { + return productChannel; + } + + /** + * Output only. The sales channel of the product that was clicked on: Online or Local. + * @param productChannel productChannel or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversion setProductChannel(java.lang.String productChannel) { + this.productChannel = productChannel; + return this; + } + + /** + * Output only. The country (ISO-3166-format) registered for the inventory feed that contains the + * product clicked on. + * @return value or {@code null} for none + */ + public java.lang.String getProductCountryCode() { + return productCountryCode; + } + + /** + * Output only. The country (ISO-3166-format) registered for the inventory feed that contains the + * product clicked on. + * @param productCountryCode productCountryCode or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversion setProductCountryCode(java.lang.String productCountryCode) { + this.productCountryCode = productCountryCode; + return this; + } + + /** + * Output only. The ID of the product clicked on. + * @return value or {@code null} for none + */ + public java.lang.String getProductId() { + return productId; + } + + /** + * Output only. The ID of the product clicked on. + * @param productId productId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversion setProductId(java.lang.String productId) { + this.productId = productId; + return this; + } + + /** + * Output only. The language (ISO-639-1) that has been set for the Merchant Center feed containing + * data about the product. + * @return value or {@code null} for none + */ + public java.lang.String getProductLanguageCode() { + return productLanguageCode; + } + + /** + * Output only. The language (ISO-639-1) that has been set for the Merchant Center feed containing + * data about the product. + * @param productLanguageCode productLanguageCode or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversion setProductLanguageCode(java.lang.String productLanguageCode) { + this.productLanguageCode = productLanguageCode; + return this; + } + + /** + * Output only. The store in the Local Inventory Ad that was clicked on. This should match the + * store IDs used in your local products feed. + * @return value or {@code null} for none + */ + public java.lang.String getProductStoreId() { + return productStoreId; + } + + /** + * Output only. The store in the Local Inventory Ad that was clicked on. This should match the + * store IDs used in your local products feed. + * @param productStoreId productStoreId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversion setProductStoreId(java.lang.String productStoreId) { + this.productStoreId = productStoreId; + return this; + } + + /** + * Output only. The resource name of the conversion. Conversion resource names have the form: + * `customers/{customer_id}/conversions/{ad_group_id}~{criterion_id}~{ds_conversion_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Output only. The resource name of the conversion. Conversion resource names have the form: + * `customers/{customer_id}/conversions/{ad_group_id}~{criterion_id}~{ds_conversion_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversion setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Output only. The status of the conversion, either ENABLED or REMOVED.. + * @return value or {@code null} for none + */ + public java.lang.String getStatus() { + return status; + } + + /** + * Output only. The status of the conversion, either ENABLED or REMOVED.. + * @param status status or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversion setStatus(java.lang.String status) { + this.status = status; + return this; + } + + /** + * Output only. The Search Ads 360 visit ID that the conversion is attributed to. + * @return value or {@code null} for none + */ + public java.lang.Long getVisitId() { + return visitId; + } + + /** + * Output only. The Search Ads 360 visit ID that the conversion is attributed to. + * @param visitId visitId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversion setVisitId(java.lang.Long visitId) { + this.visitId = visitId; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesConversion set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesConversion) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesConversion clone() { + return (GoogleAdsSearchads360V23ResourcesConversion) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesConversionAction.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesConversionAction.java new file mode 100644 index 00000000000..54290280caa --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesConversionAction.java @@ -0,0 +1,685 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A conversion action. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesConversionAction extends com.google.api.client.json.GenericJson { + + /** + * App ID for an app conversion action. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String appId; + + /** + * Settings related to this conversion action's attribution model. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesConversionActionAttributionModelSettings attributionModelSettings; + + /** + * The category of conversions reported for this conversion action. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String category; + + /** + * The maximum number of days that may elapse between an interaction (for example, a click) and a + * conversion event. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long clickThroughLookbackWindowDays; + + /** + * How to count conversion events for the conversion action. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String countingType; + + /** + * Output only. Timestamp of the Floodlight activity's creation, formatted in ISO 8601. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String creationTime; + + /** + * Output only. Firebase settings for Firebase conversion types. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesConversionActionFirebaseSettings firebaseSettings; + + /** + * Output only. Floodlight settings for Floodlight conversion types. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesConversionActionFloodlightSettings floodlightSettings; + + /** + * Output only. Google Analytics 4 settings for Google Analytics 4 conversion types. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesConversionActionGoogleAnalytics4Settings googleAnalytics4Settings; + + /** + * Output only. The ID of the conversion action. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long id; + + /** + * Whether this conversion action should be included in the "client_account_conversions" metric. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean includeInClientAccountConversionsMetric; + + /** + * Output only. Whether this conversion action should be included in the "conversions" metric. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean includeInConversionsMetric; + + /** + * Output only. Mobile app vendor for an app conversion action. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String mobileAppVendor; + + /** + * The name of the conversion action. This field is required and should not be empty when creating + * new conversion actions. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * Output only. The conversion origin of this conversion action. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String origin; + + /** + * Output only. The resource name of the conversion action owner customer, or null if this is a + * system-defined conversion action. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String ownerCustomer; + + /** + * The phone call duration in seconds after which a conversion should be reported for this + * conversion action. The value must be between 0 and 10000, inclusive. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long phoneCallDurationSeconds; + + /** + * If a conversion action's primary_for_goal bit is false, the conversion action is non-biddable + * for all campaigns regardless of their customer conversion goal or campaign conversion goal. + * However, custom conversion goals do not respect primary_for_goal, so if a campaign has a custom + * conversion goal configured with a primary_for_goal = false conversion action, that conversion + * action is still biddable. By default, primary_for_goal will be true if not set. In V9, + * primary_for_goal can only be set to false after creation through an 'update' operation because + * it's not declared as optional. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean primaryForGoal; + + /** + * Immutable. The resource name of the conversion action. Conversion action resource names have + * the form: `customers/{customer_id}/conversionActions/{conversion_action_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * The status of this conversion action for conversion event accrual. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String status; + + /** + * Output only. The snippets used for tracking conversions. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List tagSnippets; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonTagSnippet used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonTagSnippet.class); + } + + /** + * Output only. Third Party App Analytics settings for third party conversion types. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesConversionActionThirdPartyAppAnalyticsSettings thirdPartyAppAnalyticsSettings; + + /** + * Immutable. The type of this conversion action. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String type; + + /** + * Settings related to the value for conversion events associated with this conversion action. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesConversionActionValueSettings valueSettings; + + /** + * The maximum number of days which may elapse between an impression and a conversion without an + * interaction. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long viewThroughLookbackWindowDays; + + /** + * App ID for an app conversion action. + * @return value or {@code null} for none + */ + public java.lang.String getAppId() { + return appId; + } + + /** + * App ID for an app conversion action. + * @param appId appId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionAction setAppId(java.lang.String appId) { + this.appId = appId; + return this; + } + + /** + * Settings related to this conversion action's attribution model. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionActionAttributionModelSettings getAttributionModelSettings() { + return attributionModelSettings; + } + + /** + * Settings related to this conversion action's attribution model. + * @param attributionModelSettings attributionModelSettings or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionAction setAttributionModelSettings(GoogleAdsSearchads360V23ResourcesConversionActionAttributionModelSettings attributionModelSettings) { + this.attributionModelSettings = attributionModelSettings; + return this; + } + + /** + * The category of conversions reported for this conversion action. + * @return value or {@code null} for none + */ + public java.lang.String getCategory() { + return category; + } + + /** + * The category of conversions reported for this conversion action. + * @param category category or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionAction setCategory(java.lang.String category) { + this.category = category; + return this; + } + + /** + * The maximum number of days that may elapse between an interaction (for example, a click) and a + * conversion event. + * @return value or {@code null} for none + */ + public java.lang.Long getClickThroughLookbackWindowDays() { + return clickThroughLookbackWindowDays; + } + + /** + * The maximum number of days that may elapse between an interaction (for example, a click) and a + * conversion event. + * @param clickThroughLookbackWindowDays clickThroughLookbackWindowDays or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionAction setClickThroughLookbackWindowDays(java.lang.Long clickThroughLookbackWindowDays) { + this.clickThroughLookbackWindowDays = clickThroughLookbackWindowDays; + return this; + } + + /** + * How to count conversion events for the conversion action. + * @return value or {@code null} for none + */ + public java.lang.String getCountingType() { + return countingType; + } + + /** + * How to count conversion events for the conversion action. + * @param countingType countingType or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionAction setCountingType(java.lang.String countingType) { + this.countingType = countingType; + return this; + } + + /** + * Output only. Timestamp of the Floodlight activity's creation, formatted in ISO 8601. + * @return value or {@code null} for none + */ + public java.lang.String getCreationTime() { + return creationTime; + } + + /** + * Output only. Timestamp of the Floodlight activity's creation, formatted in ISO 8601. + * @param creationTime creationTime or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionAction setCreationTime(java.lang.String creationTime) { + this.creationTime = creationTime; + return this; + } + + /** + * Output only. Firebase settings for Firebase conversion types. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionActionFirebaseSettings getFirebaseSettings() { + return firebaseSettings; + } + + /** + * Output only. Firebase settings for Firebase conversion types. + * @param firebaseSettings firebaseSettings or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionAction setFirebaseSettings(GoogleAdsSearchads360V23ResourcesConversionActionFirebaseSettings firebaseSettings) { + this.firebaseSettings = firebaseSettings; + return this; + } + + /** + * Output only. Floodlight settings for Floodlight conversion types. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionActionFloodlightSettings getFloodlightSettings() { + return floodlightSettings; + } + + /** + * Output only. Floodlight settings for Floodlight conversion types. + * @param floodlightSettings floodlightSettings or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionAction setFloodlightSettings(GoogleAdsSearchads360V23ResourcesConversionActionFloodlightSettings floodlightSettings) { + this.floodlightSettings = floodlightSettings; + return this; + } + + /** + * Output only. Google Analytics 4 settings for Google Analytics 4 conversion types. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionActionGoogleAnalytics4Settings getGoogleAnalytics4Settings() { + return googleAnalytics4Settings; + } + + /** + * Output only. Google Analytics 4 settings for Google Analytics 4 conversion types. + * @param googleAnalytics4Settings googleAnalytics4Settings or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionAction setGoogleAnalytics4Settings(GoogleAdsSearchads360V23ResourcesConversionActionGoogleAnalytics4Settings googleAnalytics4Settings) { + this.googleAnalytics4Settings = googleAnalytics4Settings; + return this; + } + + /** + * Output only. The ID of the conversion action. + * @return value or {@code null} for none + */ + public java.lang.Long getId() { + return id; + } + + /** + * Output only. The ID of the conversion action. + * @param id id or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionAction setId(java.lang.Long id) { + this.id = id; + return this; + } + + /** + * Whether this conversion action should be included in the "client_account_conversions" metric. + * @return value or {@code null} for none + */ + public java.lang.Boolean getIncludeInClientAccountConversionsMetric() { + return includeInClientAccountConversionsMetric; + } + + /** + * Whether this conversion action should be included in the "client_account_conversions" metric. + * @param includeInClientAccountConversionsMetric includeInClientAccountConversionsMetric or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionAction setIncludeInClientAccountConversionsMetric(java.lang.Boolean includeInClientAccountConversionsMetric) { + this.includeInClientAccountConversionsMetric = includeInClientAccountConversionsMetric; + return this; + } + + /** + * Output only. Whether this conversion action should be included in the "conversions" metric. + * @return value or {@code null} for none + */ + public java.lang.Boolean getIncludeInConversionsMetric() { + return includeInConversionsMetric; + } + + /** + * Output only. Whether this conversion action should be included in the "conversions" metric. + * @param includeInConversionsMetric includeInConversionsMetric or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionAction setIncludeInConversionsMetric(java.lang.Boolean includeInConversionsMetric) { + this.includeInConversionsMetric = includeInConversionsMetric; + return this; + } + + /** + * Output only. Mobile app vendor for an app conversion action. + * @return value or {@code null} for none + */ + public java.lang.String getMobileAppVendor() { + return mobileAppVendor; + } + + /** + * Output only. Mobile app vendor for an app conversion action. + * @param mobileAppVendor mobileAppVendor or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionAction setMobileAppVendor(java.lang.String mobileAppVendor) { + this.mobileAppVendor = mobileAppVendor; + return this; + } + + /** + * The name of the conversion action. This field is required and should not be empty when creating + * new conversion actions. + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * The name of the conversion action. This field is required and should not be empty when creating + * new conversion actions. + * @param name name or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionAction setName(java.lang.String name) { + this.name = name; + return this; + } + + /** + * Output only. The conversion origin of this conversion action. + * @return value or {@code null} for none + */ + public java.lang.String getOrigin() { + return origin; + } + + /** + * Output only. The conversion origin of this conversion action. + * @param origin origin or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionAction setOrigin(java.lang.String origin) { + this.origin = origin; + return this; + } + + /** + * Output only. The resource name of the conversion action owner customer, or null if this is a + * system-defined conversion action. + * @return value or {@code null} for none + */ + public java.lang.String getOwnerCustomer() { + return ownerCustomer; + } + + /** + * Output only. The resource name of the conversion action owner customer, or null if this is a + * system-defined conversion action. + * @param ownerCustomer ownerCustomer or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionAction setOwnerCustomer(java.lang.String ownerCustomer) { + this.ownerCustomer = ownerCustomer; + return this; + } + + /** + * The phone call duration in seconds after which a conversion should be reported for this + * conversion action. The value must be between 0 and 10000, inclusive. + * @return value or {@code null} for none + */ + public java.lang.Long getPhoneCallDurationSeconds() { + return phoneCallDurationSeconds; + } + + /** + * The phone call duration in seconds after which a conversion should be reported for this + * conversion action. The value must be between 0 and 10000, inclusive. + * @param phoneCallDurationSeconds phoneCallDurationSeconds or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionAction setPhoneCallDurationSeconds(java.lang.Long phoneCallDurationSeconds) { + this.phoneCallDurationSeconds = phoneCallDurationSeconds; + return this; + } + + /** + * If a conversion action's primary_for_goal bit is false, the conversion action is non-biddable + * for all campaigns regardless of their customer conversion goal or campaign conversion goal. + * However, custom conversion goals do not respect primary_for_goal, so if a campaign has a custom + * conversion goal configured with a primary_for_goal = false conversion action, that conversion + * action is still biddable. By default, primary_for_goal will be true if not set. In V9, + * primary_for_goal can only be set to false after creation through an 'update' operation because + * it's not declared as optional. + * @return value or {@code null} for none + */ + public java.lang.Boolean getPrimaryForGoal() { + return primaryForGoal; + } + + /** + * If a conversion action's primary_for_goal bit is false, the conversion action is non-biddable + * for all campaigns regardless of their customer conversion goal or campaign conversion goal. + * However, custom conversion goals do not respect primary_for_goal, so if a campaign has a custom + * conversion goal configured with a primary_for_goal = false conversion action, that conversion + * action is still biddable. By default, primary_for_goal will be true if not set. In V9, + * primary_for_goal can only be set to false after creation through an 'update' operation because + * it's not declared as optional. + * @param primaryForGoal primaryForGoal or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionAction setPrimaryForGoal(java.lang.Boolean primaryForGoal) { + this.primaryForGoal = primaryForGoal; + return this; + } + + /** + * Immutable. The resource name of the conversion action. Conversion action resource names have + * the form: `customers/{customer_id}/conversionActions/{conversion_action_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Immutable. The resource name of the conversion action. Conversion action resource names have + * the form: `customers/{customer_id}/conversionActions/{conversion_action_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionAction setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * The status of this conversion action for conversion event accrual. + * @return value or {@code null} for none + */ + public java.lang.String getStatus() { + return status; + } + + /** + * The status of this conversion action for conversion event accrual. + * @param status status or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionAction setStatus(java.lang.String status) { + this.status = status; + return this; + } + + /** + * Output only. The snippets used for tracking conversions. + * @return value or {@code null} for none + */ + public java.util.List getTagSnippets() { + return tagSnippets; + } + + /** + * Output only. The snippets used for tracking conversions. + * @param tagSnippets tagSnippets or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionAction setTagSnippets(java.util.List tagSnippets) { + this.tagSnippets = tagSnippets; + return this; + } + + /** + * Output only. Third Party App Analytics settings for third party conversion types. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionActionThirdPartyAppAnalyticsSettings getThirdPartyAppAnalyticsSettings() { + return thirdPartyAppAnalyticsSettings; + } + + /** + * Output only. Third Party App Analytics settings for third party conversion types. + * @param thirdPartyAppAnalyticsSettings thirdPartyAppAnalyticsSettings or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionAction setThirdPartyAppAnalyticsSettings(GoogleAdsSearchads360V23ResourcesConversionActionThirdPartyAppAnalyticsSettings thirdPartyAppAnalyticsSettings) { + this.thirdPartyAppAnalyticsSettings = thirdPartyAppAnalyticsSettings; + return this; + } + + /** + * Immutable. The type of this conversion action. + * @return value or {@code null} for none + */ + public java.lang.String getType() { + return type; + } + + /** + * Immutable. The type of this conversion action. + * @param type type or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionAction setType(java.lang.String type) { + this.type = type; + return this; + } + + /** + * Settings related to the value for conversion events associated with this conversion action. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionActionValueSettings getValueSettings() { + return valueSettings; + } + + /** + * Settings related to the value for conversion events associated with this conversion action. + * @param valueSettings valueSettings or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionAction setValueSettings(GoogleAdsSearchads360V23ResourcesConversionActionValueSettings valueSettings) { + this.valueSettings = valueSettings; + return this; + } + + /** + * The maximum number of days which may elapse between an impression and a conversion without an + * interaction. + * @return value or {@code null} for none + */ + public java.lang.Long getViewThroughLookbackWindowDays() { + return viewThroughLookbackWindowDays; + } + + /** + * The maximum number of days which may elapse between an impression and a conversion without an + * interaction. + * @param viewThroughLookbackWindowDays viewThroughLookbackWindowDays or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionAction setViewThroughLookbackWindowDays(java.lang.Long viewThroughLookbackWindowDays) { + this.viewThroughLookbackWindowDays = viewThroughLookbackWindowDays; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesConversionAction set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesConversionAction) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesConversionAction clone() { + return (GoogleAdsSearchads360V23ResourcesConversionAction) super.clone(); + } + +} From db307498c28ac9753650635d80b9eb201ab82693 Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Wed, 3 Jun 2026 18:43:27 -0700 Subject: [PATCH 06/14] chore: regenerate searchads360 client --- ...versionActionAttributionModelSettings.java | 91 ++ ...urcesConversionActionFirebaseSettings.java | 139 +++ ...cesConversionActionFloodlightSettings.java | 115 ++ ...versionActionGoogleAnalytics4Settings.java | 115 ++ ...nActionThirdPartyAppAnalyticsSettings.java | 91 ++ ...esourcesConversionActionValueSettings.java | 130 ++ ...0V23ResourcesConversionCustomVariable.java | 299 +++++ ...loodlightConversionCustomVariableInfo.java | 91 ++ ...ResourcesConversionGoalCampaignConfig.java | 193 +++ ...V23ResourcesConversionTrackingSetting.java | 253 ++++ ...ads360V23ResourcesConversionValueRule.java | 271 +++++ ...360V23ResourcesConversionValueRuleSet.java | 287 +++++ ...cesConversionValueRuleValueRuleAction.java | 91 ++ ...onValueRuleValueRuleAudienceCondition.java | 91 ++ ...sionValueRuleValueRuleDeviceCondition.java | 67 + ...alueRuleValueRuleGeoLocationCondition.java | 139 +++ ...alueRuleItineraryAdvanceBookingWindow.java | 91 ++ ...nValueRuleValueRuleItineraryCondition.java | 115 ++ ...lueRuleValueRuleItineraryTravelLength.java | 91 ++ ...eRuleValueRuleItineraryTravelStartDay.java | 211 ++++ ...Searchads360V23ResourcesCreditDetails.java | 97 ++ ...rchads360V23ResourcesCurrencyConstant.java | 169 +++ ...earchads360V23ResourcesCustomAudience.java | 231 ++++ ...ds360V23ResourcesCustomAudienceMember.java | 173 +++ ...sSearchads360V23ResourcesCustomColumn.java | 296 +++++ ...ds360V23ResourcesCustomConversionGoal.java | 166 +++ ...earchads360V23ResourcesCustomInterest.java | 226 ++++ ...ds360V23ResourcesCustomInterestMember.java | 92 ++ ...esourcesCustomLeadFormSubmissionField.java | 91 ++ ...leAdsSearchads360V23ResourcesCustomer.java | 1081 +++++++++++++++++ ...ourcesCustomerAcquisitionGoalSettings.java | 91 ++ ...0V23ResourcesCustomerAgreementSetting.java | 67 + ...Searchads360V23ResourcesCustomerAsset.java | 259 ++++ ...rchads360V23ResourcesCustomerAssetSet.java | 143 +++ ...earchads360V23ResourcesCustomerClient.java | 350 ++++++ ...hads360V23ResourcesCustomerClientLink.java | 169 +++ ...360V23ResourcesCustomerConversionGoal.java | 148 +++ ...hads360V23ResourcesCustomerCustomizer.java | 145 +++ ...Searchads360V23ResourcesCustomerLabel.java | 123 ++ ...s360V23ResourcesCustomerLifecycleGoal.java | 118 ++ ...ads360V23ResourcesCustomerManagerLink.java | 169 +++ ...V23ResourcesCustomerNegativeCriterion.java | 334 +++++ ...V23ResourcesCustomerSearchTermInsight.java | 126 ++ ...tomerSkAdNetworkConversionValueSchema.java | 97 ++ ...chemaSkAdNetworkConversionValueSchema.java | 160 +++ ...aCoarseGrainedConversionValueMappings.java | 115 ++ ...sionValueSchemaConversionValueMapping.java | 121 ++ ...SkAdNetworkConversionValueSchemaEvent.java | 190 +++ ...nValueSchemaEventEventOccurrenceRange.java | 97 ++ ...onversionValueSchemaEventRevenueRange.java | 97 ++ ...emaFineGrainedConversionValueMappings.java | 91 ++ ...kConversionValueSchemaPostbackMapping.java | 166 +++ ...hads360V23ResourcesCustomerUserAccess.java | 193 +++ ...ResourcesCustomerUserAccessInvitation.java | 196 +++ ...ads360V23ResourcesCustomizerAttribute.java | 174 +++ ...leAdsSearchads360V23ResourcesDataLink.java | 187 +++ ...s360V23ResourcesDataPartnerIdentifier.java | 73 ++ ...DetailContentSuitabilityPlacementView.java | 181 +++ ...ads360V23ResourcesDetailPlacementView.java | 212 ++++ ...ads360V23ResourcesDetailedDemographic.java | 200 +++ ...hads360V23ResourcesDisplayKeywordView.java | 78 ++ ...sSearchads360V23ResourcesDistanceView.java | 121 ++ ...rcesDoubleClickCampaignManagerSetting.java | 118 ++ ...sourcesDynamicSearchAdsSearchTermView.java | 250 ++++ ...60V23ResourcesExpandedLandingPageView.java | 97 ++ ...AdsSearchads360V23ResourcesExperiment.java | 404 ++++++ ...Searchads360V23ResourcesExperimentArm.java | 254 ++++ ...urcesExperimentArmAssetGroupAssetInfo.java | 91 ++ ...3ResourcesExperimentArmAssetGroupInfo.java | 97 ++ ...AdsSearchads360V23ResourcesFellowship.java | 92 ++ ...23ResourcesFinalUrlExpansionAssetView.java | 235 ++++ ...AdsSearchads360V23ResourcesGenderView.java | 72 ++ ...chads360V23ResourcesGeoTargetConstant.java | 244 ++++ ...earchads360V23ResourcesGeographicView.java | 120 ++ ...GoogleAdsSearchads360V23ResourcesGoal.java | 190 +++ ...ads360V23ResourcesGoogleAdsIdentifier.java | 73 ++ ...60V23ResourcesGranularInsuranceStatus.java | 127 ++ ...s360V23ResourcesGranularLicenseStatus.java | 127 ++ ...sGroupContentSuitabilityPlacementView.java | 181 +++ ...hads360V23ResourcesGroupPlacementView.java | 172 +++ ...esHotelCenterLinkInvitationIdentifier.java | 67 + ...earchads360V23ResourcesHotelGroupView.java | 70 ++ ...ds360V23ResourcesHotelPerformanceView.java | 70 ++ ...ads360V23ResourcesHotelReconciliation.java | 356 ++++++ ...archads360V23ResourcesIncomeRangeView.java | 70 ++ ...esourcesInsuranceVerificationArtifact.java | 145 +++ ...gleAdsSearchads360V23ResourcesInvoice.java | 767 ++++++++++++ ...3ResourcesInvoiceAccountBudgetSummary.java | 448 +++++++ ...s360V23ResourcesInvoiceAccountSummary.java | 553 +++++++++ ...0V23ResourcesInvoiceAdjustmentSummary.java | 94 ++ ...360V23ResourcesInvoiceCampaignSummary.java | 148 +++ ...esourcesInvoiceInvalidActivitySummary.java | 188 +++ ...ResourcesInvoiceRegulatoryCostSummary.java | 94 ++ ...dsSearchads360V23ResourcesKeywordPlan.java | 146 +++ ...hads360V23ResourcesKeywordPlanAdGroup.java | 172 +++ ...V23ResourcesKeywordPlanAdGroupKeyword.java | 223 ++++ ...ads360V23ResourcesKeywordPlanCampaign.java | 247 ++++ ...23ResourcesKeywordPlanCampaignKeyword.java | 196 +++ ...V23ResourcesKeywordPlanForecastPeriod.java | 97 ++ ...ds360V23ResourcesKeywordPlanGeoTarget.java | 67 + 100 files changed, 17746 insertions(+) create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesConversionActionAttributionModelSettings.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesConversionActionFirebaseSettings.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesConversionActionFloodlightSettings.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesConversionActionGoogleAnalytics4Settings.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesConversionActionThirdPartyAppAnalyticsSettings.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesConversionActionValueSettings.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesConversionCustomVariable.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesConversionCustomVariableFloodlightConversionCustomVariableInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesConversionGoalCampaignConfig.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesConversionTrackingSetting.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesConversionValueRule.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesConversionValueRuleSet.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleAction.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleAudienceCondition.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleDeviceCondition.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleGeoLocationCondition.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleItineraryAdvanceBookingWindow.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleItineraryCondition.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleItineraryTravelLength.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleItineraryTravelStartDay.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCreditDetails.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCurrencyConstant.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomAudience.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomAudienceMember.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomColumn.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomConversionGoal.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomInterest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomInterestMember.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomLeadFormSubmissionField.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomer.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerAcquisitionGoalSettings.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerAgreementSetting.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerAsset.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerAssetSet.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerClient.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerClientLink.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerConversionGoal.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerCustomizer.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerLabel.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerLifecycleGoal.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerManagerLink.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerNegativeCriterion.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerSearchTermInsight.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchema.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchema.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaCoarseGrainedConversionValueMappings.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaConversionValueMapping.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaEvent.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaEventEventOccurrenceRange.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaEventRevenueRange.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaFineGrainedConversionValueMappings.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaPostbackMapping.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerUserAccess.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerUserAccessInvitation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomizerAttribute.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesDataLink.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesDataPartnerIdentifier.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesDetailContentSuitabilityPlacementView.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesDetailPlacementView.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesDetailedDemographic.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesDisplayKeywordView.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesDistanceView.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesDoubleClickCampaignManagerSetting.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesDynamicSearchAdsSearchTermView.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesExpandedLandingPageView.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesExperiment.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesExperimentArm.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesExperimentArmAssetGroupAssetInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesExperimentArmAssetGroupInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesFellowship.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesFinalUrlExpansionAssetView.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesGenderView.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesGeoTargetConstant.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesGeographicView.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesGoal.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesGoogleAdsIdentifier.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesGranularInsuranceStatus.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesGranularLicenseStatus.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesGroupContentSuitabilityPlacementView.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesGroupPlacementView.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesHotelCenterLinkInvitationIdentifier.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesHotelGroupView.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesHotelPerformanceView.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesHotelReconciliation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesIncomeRangeView.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesInsuranceVerificationArtifact.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesInvoice.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesInvoiceAccountBudgetSummary.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesInvoiceAccountSummary.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesInvoiceAdjustmentSummary.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesInvoiceCampaignSummary.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesInvoiceInvalidActivitySummary.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesInvoiceRegulatoryCostSummary.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesKeywordPlan.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesKeywordPlanAdGroup.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesKeywordPlanAdGroupKeyword.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesKeywordPlanCampaign.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesKeywordPlanCampaignKeyword.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesKeywordPlanForecastPeriod.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesKeywordPlanGeoTarget.java diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesConversionActionAttributionModelSettings.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesConversionActionAttributionModelSettings.java new file mode 100644 index 00000000000..03ff929ce1d --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesConversionActionAttributionModelSettings.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Settings related to this conversion action's attribution model. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesConversionActionAttributionModelSettings extends com.google.api.client.json.GenericJson { + + /** + * The attribution model type of this conversion action. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String attributionModel; + + /** + * Output only. The status of the data-driven attribution model for the conversion action. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String dataDrivenModelStatus; + + /** + * The attribution model type of this conversion action. + * @return value or {@code null} for none + */ + public java.lang.String getAttributionModel() { + return attributionModel; + } + + /** + * The attribution model type of this conversion action. + * @param attributionModel attributionModel or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionActionAttributionModelSettings setAttributionModel(java.lang.String attributionModel) { + this.attributionModel = attributionModel; + return this; + } + + /** + * Output only. The status of the data-driven attribution model for the conversion action. + * @return value or {@code null} for none + */ + public java.lang.String getDataDrivenModelStatus() { + return dataDrivenModelStatus; + } + + /** + * Output only. The status of the data-driven attribution model for the conversion action. + * @param dataDrivenModelStatus dataDrivenModelStatus or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionActionAttributionModelSettings setDataDrivenModelStatus(java.lang.String dataDrivenModelStatus) { + this.dataDrivenModelStatus = dataDrivenModelStatus; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesConversionActionAttributionModelSettings set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesConversionActionAttributionModelSettings) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesConversionActionAttributionModelSettings clone() { + return (GoogleAdsSearchads360V23ResourcesConversionActionAttributionModelSettings) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesConversionActionFirebaseSettings.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesConversionActionFirebaseSettings.java new file mode 100644 index 00000000000..8bbf593406c --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesConversionActionFirebaseSettings.java @@ -0,0 +1,139 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Settings related to a Firebase conversion action. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesConversionActionFirebaseSettings extends com.google.api.client.json.GenericJson { + + /** + * Output only. The event name of a Firebase conversion. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String eventName; + + /** + * Output only. The Firebase project ID of the conversion. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String projectId; + + /** + * Output only. The GA property ID of the conversion. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long propertyId; + + /** + * Output only. The GA property name of the conversion. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String propertyName; + + /** + * Output only. The event name of a Firebase conversion. + * @return value or {@code null} for none + */ + public java.lang.String getEventName() { + return eventName; + } + + /** + * Output only. The event name of a Firebase conversion. + * @param eventName eventName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionActionFirebaseSettings setEventName(java.lang.String eventName) { + this.eventName = eventName; + return this; + } + + /** + * Output only. The Firebase project ID of the conversion. + * @return value or {@code null} for none + */ + public java.lang.String getProjectId() { + return projectId; + } + + /** + * Output only. The Firebase project ID of the conversion. + * @param projectId projectId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionActionFirebaseSettings setProjectId(java.lang.String projectId) { + this.projectId = projectId; + return this; + } + + /** + * Output only. The GA property ID of the conversion. + * @return value or {@code null} for none + */ + public java.lang.Long getPropertyId() { + return propertyId; + } + + /** + * Output only. The GA property ID of the conversion. + * @param propertyId propertyId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionActionFirebaseSettings setPropertyId(java.lang.Long propertyId) { + this.propertyId = propertyId; + return this; + } + + /** + * Output only. The GA property name of the conversion. + * @return value or {@code null} for none + */ + public java.lang.String getPropertyName() { + return propertyName; + } + + /** + * Output only. The GA property name of the conversion. + * @param propertyName propertyName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionActionFirebaseSettings setPropertyName(java.lang.String propertyName) { + this.propertyName = propertyName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesConversionActionFirebaseSettings set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesConversionActionFirebaseSettings) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesConversionActionFirebaseSettings clone() { + return (GoogleAdsSearchads360V23ResourcesConversionActionFirebaseSettings) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesConversionActionFloodlightSettings.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesConversionActionFloodlightSettings.java new file mode 100644 index 00000000000..4e35806b58a --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesConversionActionFloodlightSettings.java @@ -0,0 +1,115 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Settings related to a Floodlight conversion action. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesConversionActionFloodlightSettings extends com.google.api.client.json.GenericJson { + + /** + * Output only. String used to identify a Floodlight activity group when reporting conversions. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String activityGroupTag; + + /** + * Output only. ID of the Floodlight activity in DoubleClick Campaign Manager (DCM). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long activityId; + + /** + * Output only. String used to identify a Floodlight activity when reporting conversions. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String activityTag; + + /** + * Output only. String used to identify a Floodlight activity group when reporting conversions. + * @return value or {@code null} for none + */ + public java.lang.String getActivityGroupTag() { + return activityGroupTag; + } + + /** + * Output only. String used to identify a Floodlight activity group when reporting conversions. + * @param activityGroupTag activityGroupTag or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionActionFloodlightSettings setActivityGroupTag(java.lang.String activityGroupTag) { + this.activityGroupTag = activityGroupTag; + return this; + } + + /** + * Output only. ID of the Floodlight activity in DoubleClick Campaign Manager (DCM). + * @return value or {@code null} for none + */ + public java.lang.Long getActivityId() { + return activityId; + } + + /** + * Output only. ID of the Floodlight activity in DoubleClick Campaign Manager (DCM). + * @param activityId activityId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionActionFloodlightSettings setActivityId(java.lang.Long activityId) { + this.activityId = activityId; + return this; + } + + /** + * Output only. String used to identify a Floodlight activity when reporting conversions. + * @return value or {@code null} for none + */ + public java.lang.String getActivityTag() { + return activityTag; + } + + /** + * Output only. String used to identify a Floodlight activity when reporting conversions. + * @param activityTag activityTag or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionActionFloodlightSettings setActivityTag(java.lang.String activityTag) { + this.activityTag = activityTag; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesConversionActionFloodlightSettings set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesConversionActionFloodlightSettings) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesConversionActionFloodlightSettings clone() { + return (GoogleAdsSearchads360V23ResourcesConversionActionFloodlightSettings) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesConversionActionGoogleAnalytics4Settings.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesConversionActionGoogleAnalytics4Settings.java new file mode 100644 index 00000000000..333eb462e3e --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesConversionActionGoogleAnalytics4Settings.java @@ -0,0 +1,115 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Settings related to a Google Analytics 4 conversion action. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesConversionActionGoogleAnalytics4Settings extends com.google.api.client.json.GenericJson { + + /** + * Output only. The name of the GA 4 event. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String eventName; + + /** + * Output only. The ID of the GA 4 property. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long propertyId; + + /** + * Output only. The name of the GA 4 property. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String propertyName; + + /** + * Output only. The name of the GA 4 event. + * @return value or {@code null} for none + */ + public java.lang.String getEventName() { + return eventName; + } + + /** + * Output only. The name of the GA 4 event. + * @param eventName eventName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionActionGoogleAnalytics4Settings setEventName(java.lang.String eventName) { + this.eventName = eventName; + return this; + } + + /** + * Output only. The ID of the GA 4 property. + * @return value or {@code null} for none + */ + public java.lang.Long getPropertyId() { + return propertyId; + } + + /** + * Output only. The ID of the GA 4 property. + * @param propertyId propertyId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionActionGoogleAnalytics4Settings setPropertyId(java.lang.Long propertyId) { + this.propertyId = propertyId; + return this; + } + + /** + * Output only. The name of the GA 4 property. + * @return value or {@code null} for none + */ + public java.lang.String getPropertyName() { + return propertyName; + } + + /** + * Output only. The name of the GA 4 property. + * @param propertyName propertyName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionActionGoogleAnalytics4Settings setPropertyName(java.lang.String propertyName) { + this.propertyName = propertyName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesConversionActionGoogleAnalytics4Settings set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesConversionActionGoogleAnalytics4Settings) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesConversionActionGoogleAnalytics4Settings clone() { + return (GoogleAdsSearchads360V23ResourcesConversionActionGoogleAnalytics4Settings) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesConversionActionThirdPartyAppAnalyticsSettings.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesConversionActionThirdPartyAppAnalyticsSettings.java new file mode 100644 index 00000000000..abc268de3a8 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesConversionActionThirdPartyAppAnalyticsSettings.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Settings related to a third party app analytics conversion action. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesConversionActionThirdPartyAppAnalyticsSettings extends com.google.api.client.json.GenericJson { + + /** + * Output only. The event name of a third-party app analytics conversion. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String eventName; + + /** + * Output only. Name of the third-party app analytics provider. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String providerName; + + /** + * Output only. The event name of a third-party app analytics conversion. + * @return value or {@code null} for none + */ + public java.lang.String getEventName() { + return eventName; + } + + /** + * Output only. The event name of a third-party app analytics conversion. + * @param eventName eventName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionActionThirdPartyAppAnalyticsSettings setEventName(java.lang.String eventName) { + this.eventName = eventName; + return this; + } + + /** + * Output only. Name of the third-party app analytics provider. + * @return value or {@code null} for none + */ + public java.lang.String getProviderName() { + return providerName; + } + + /** + * Output only. Name of the third-party app analytics provider. + * @param providerName providerName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionActionThirdPartyAppAnalyticsSettings setProviderName(java.lang.String providerName) { + this.providerName = providerName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesConversionActionThirdPartyAppAnalyticsSettings set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesConversionActionThirdPartyAppAnalyticsSettings) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesConversionActionThirdPartyAppAnalyticsSettings clone() { + return (GoogleAdsSearchads360V23ResourcesConversionActionThirdPartyAppAnalyticsSettings) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesConversionActionValueSettings.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesConversionActionValueSettings.java new file mode 100644 index 00000000000..c6d60bbfc96 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesConversionActionValueSettings.java @@ -0,0 +1,130 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Settings related to the value for conversion events associated with this conversion action. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesConversionActionValueSettings extends com.google.api.client.json.GenericJson { + + /** + * Controls whether the default value and default currency code are used in place of the value and + * currency code specified in conversion events for this conversion action. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean alwaysUseDefaultValue; + + /** + * The currency code to use when conversion events for this conversion action are sent with an + * invalid or missing currency code, or when this conversion action is configured to always use + * the default value. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String defaultCurrencyCode; + + /** + * The value to use when conversion events for this conversion action are sent with an invalid, + * disallowed or missing value, or when this conversion action is configured to always use the + * default value. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double defaultValue; + + /** + * Controls whether the default value and default currency code are used in place of the value and + * currency code specified in conversion events for this conversion action. + * @return value or {@code null} for none + */ + public java.lang.Boolean getAlwaysUseDefaultValue() { + return alwaysUseDefaultValue; + } + + /** + * Controls whether the default value and default currency code are used in place of the value and + * currency code specified in conversion events for this conversion action. + * @param alwaysUseDefaultValue alwaysUseDefaultValue or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionActionValueSettings setAlwaysUseDefaultValue(java.lang.Boolean alwaysUseDefaultValue) { + this.alwaysUseDefaultValue = alwaysUseDefaultValue; + return this; + } + + /** + * The currency code to use when conversion events for this conversion action are sent with an + * invalid or missing currency code, or when this conversion action is configured to always use + * the default value. + * @return value or {@code null} for none + */ + public java.lang.String getDefaultCurrencyCode() { + return defaultCurrencyCode; + } + + /** + * The currency code to use when conversion events for this conversion action are sent with an + * invalid or missing currency code, or when this conversion action is configured to always use + * the default value. + * @param defaultCurrencyCode defaultCurrencyCode or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionActionValueSettings setDefaultCurrencyCode(java.lang.String defaultCurrencyCode) { + this.defaultCurrencyCode = defaultCurrencyCode; + return this; + } + + /** + * The value to use when conversion events for this conversion action are sent with an invalid, + * disallowed or missing value, or when this conversion action is configured to always use the + * default value. + * @return value or {@code null} for none + */ + public java.lang.Double getDefaultValue() { + return defaultValue; + } + + /** + * The value to use when conversion events for this conversion action are sent with an invalid, + * disallowed or missing value, or when this conversion action is configured to always use the + * default value. + * @param defaultValue defaultValue or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionActionValueSettings setDefaultValue(java.lang.Double defaultValue) { + this.defaultValue = defaultValue; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesConversionActionValueSettings set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesConversionActionValueSettings) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesConversionActionValueSettings clone() { + return (GoogleAdsSearchads360V23ResourcesConversionActionValueSettings) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesConversionCustomVariable.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesConversionCustomVariable.java new file mode 100644 index 00000000000..ebe8acfbfa3 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesConversionCustomVariable.java @@ -0,0 +1,299 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A conversion custom variable. See "About custom Floodlight metrics and dimensions in the new + * Search Ads 360" at https://support.google.com/sa360/answer/13567857 + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesConversionCustomVariable extends com.google.api.client.json.GenericJson { + + /** + * Output only. Cardinality of the conversion custom variable. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String cardinality; + + /** + * Output only. The IDs of custom columns that use this conversion custom variable. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.util.List customColumnIds; + + /** + * Output only. Family of the conversion custom variable. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String family; + + /** + * Output only. Fields for Search Ads 360 floodlight conversion custom variables. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesConversionCustomVariableFloodlightConversionCustomVariableInfo floodlightConversionCustomVariableInfo; + + /** + * Output only. The ID of the conversion custom variable. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long id; + + /** + * Required. The name of the conversion custom variable. Name should be unique. The maximum length + * of name is 100 characters. There should not be any extra spaces before and after. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * Output only. The resource name of the customer that owns the conversion custom variable. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String ownerCustomer; + + /** + * Immutable. The resource name of the conversion custom variable. Conversion custom variable + * resource names have the form: + * `customers/{customer_id}/conversionCustomVariables/{conversion_custom_variable_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * The status of the conversion custom variable for conversion event accrual. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String status; + + /** + * Required. Immutable. The tag of the conversion custom variable. Tag should be unique and + * consist of a "u" character directly followed with a number less than ormequal to 100. For + * example: "u4". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String tag; + + /** + * Output only. Cardinality of the conversion custom variable. + * @return value or {@code null} for none + */ + public java.lang.String getCardinality() { + return cardinality; + } + + /** + * Output only. Cardinality of the conversion custom variable. + * @param cardinality cardinality or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionCustomVariable setCardinality(java.lang.String cardinality) { + this.cardinality = cardinality; + return this; + } + + /** + * Output only. The IDs of custom columns that use this conversion custom variable. + * @return value or {@code null} for none + */ + public java.util.List getCustomColumnIds() { + return customColumnIds; + } + + /** + * Output only. The IDs of custom columns that use this conversion custom variable. + * @param customColumnIds customColumnIds or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionCustomVariable setCustomColumnIds(java.util.List customColumnIds) { + this.customColumnIds = customColumnIds; + return this; + } + + /** + * Output only. Family of the conversion custom variable. + * @return value or {@code null} for none + */ + public java.lang.String getFamily() { + return family; + } + + /** + * Output only. Family of the conversion custom variable. + * @param family family or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionCustomVariable setFamily(java.lang.String family) { + this.family = family; + return this; + } + + /** + * Output only. Fields for Search Ads 360 floodlight conversion custom variables. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionCustomVariableFloodlightConversionCustomVariableInfo getFloodlightConversionCustomVariableInfo() { + return floodlightConversionCustomVariableInfo; + } + + /** + * Output only. Fields for Search Ads 360 floodlight conversion custom variables. + * @param floodlightConversionCustomVariableInfo floodlightConversionCustomVariableInfo or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionCustomVariable setFloodlightConversionCustomVariableInfo(GoogleAdsSearchads360V23ResourcesConversionCustomVariableFloodlightConversionCustomVariableInfo floodlightConversionCustomVariableInfo) { + this.floodlightConversionCustomVariableInfo = floodlightConversionCustomVariableInfo; + return this; + } + + /** + * Output only. The ID of the conversion custom variable. + * @return value or {@code null} for none + */ + public java.lang.Long getId() { + return id; + } + + /** + * Output only. The ID of the conversion custom variable. + * @param id id or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionCustomVariable setId(java.lang.Long id) { + this.id = id; + return this; + } + + /** + * Required. The name of the conversion custom variable. Name should be unique. The maximum length + * of name is 100 characters. There should not be any extra spaces before and after. + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * Required. The name of the conversion custom variable. Name should be unique. The maximum length + * of name is 100 characters. There should not be any extra spaces before and after. + * @param name name or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionCustomVariable setName(java.lang.String name) { + this.name = name; + return this; + } + + /** + * Output only. The resource name of the customer that owns the conversion custom variable. + * @return value or {@code null} for none + */ + public java.lang.String getOwnerCustomer() { + return ownerCustomer; + } + + /** + * Output only. The resource name of the customer that owns the conversion custom variable. + * @param ownerCustomer ownerCustomer or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionCustomVariable setOwnerCustomer(java.lang.String ownerCustomer) { + this.ownerCustomer = ownerCustomer; + return this; + } + + /** + * Immutable. The resource name of the conversion custom variable. Conversion custom variable + * resource names have the form: + * `customers/{customer_id}/conversionCustomVariables/{conversion_custom_variable_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Immutable. The resource name of the conversion custom variable. Conversion custom variable + * resource names have the form: + * `customers/{customer_id}/conversionCustomVariables/{conversion_custom_variable_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionCustomVariable setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * The status of the conversion custom variable for conversion event accrual. + * @return value or {@code null} for none + */ + public java.lang.String getStatus() { + return status; + } + + /** + * The status of the conversion custom variable for conversion event accrual. + * @param status status or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionCustomVariable setStatus(java.lang.String status) { + this.status = status; + return this; + } + + /** + * Required. Immutable. The tag of the conversion custom variable. Tag should be unique and + * consist of a "u" character directly followed with a number less than ormequal to 100. For + * example: "u4". + * @return value or {@code null} for none + */ + public java.lang.String getTag() { + return tag; + } + + /** + * Required. Immutable. The tag of the conversion custom variable. Tag should be unique and + * consist of a "u" character directly followed with a number less than ormequal to 100. For + * example: "u4". + * @param tag tag or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionCustomVariable setTag(java.lang.String tag) { + this.tag = tag; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesConversionCustomVariable set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesConversionCustomVariable) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesConversionCustomVariable clone() { + return (GoogleAdsSearchads360V23ResourcesConversionCustomVariable) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesConversionCustomVariableFloodlightConversionCustomVariableInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesConversionCustomVariableFloodlightConversionCustomVariableInfo.java new file mode 100644 index 00000000000..5e448f32872 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesConversionCustomVariableFloodlightConversionCustomVariableInfo.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Information for Search Ads 360 Floodlight Conversion Custom Variables. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesConversionCustomVariableFloodlightConversionCustomVariableInfo extends com.google.api.client.json.GenericJson { + + /** + * Output only. Floodlight variable data type defined in Search Ads 360. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String floodlightVariableDataType; + + /** + * Output only. Floodlight variable type defined in Search Ads 360. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String floodlightVariableType; + + /** + * Output only. Floodlight variable data type defined in Search Ads 360. + * @return value or {@code null} for none + */ + public java.lang.String getFloodlightVariableDataType() { + return floodlightVariableDataType; + } + + /** + * Output only. Floodlight variable data type defined in Search Ads 360. + * @param floodlightVariableDataType floodlightVariableDataType or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionCustomVariableFloodlightConversionCustomVariableInfo setFloodlightVariableDataType(java.lang.String floodlightVariableDataType) { + this.floodlightVariableDataType = floodlightVariableDataType; + return this; + } + + /** + * Output only. Floodlight variable type defined in Search Ads 360. + * @return value or {@code null} for none + */ + public java.lang.String getFloodlightVariableType() { + return floodlightVariableType; + } + + /** + * Output only. Floodlight variable type defined in Search Ads 360. + * @param floodlightVariableType floodlightVariableType or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionCustomVariableFloodlightConversionCustomVariableInfo setFloodlightVariableType(java.lang.String floodlightVariableType) { + this.floodlightVariableType = floodlightVariableType; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesConversionCustomVariableFloodlightConversionCustomVariableInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesConversionCustomVariableFloodlightConversionCustomVariableInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesConversionCustomVariableFloodlightConversionCustomVariableInfo clone() { + return (GoogleAdsSearchads360V23ResourcesConversionCustomVariableFloodlightConversionCustomVariableInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesConversionGoalCampaignConfig.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesConversionGoalCampaignConfig.java new file mode 100644 index 00000000000..537d7d4c888 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesConversionGoalCampaignConfig.java @@ -0,0 +1,193 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Conversion goal settings for a Campaign. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesConversionGoalCampaignConfig extends com.google.api.client.json.GenericJson { + + /** + * Immutable. The campaign with which this conversion goal campaign config is associated. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String campaign; + + /** + * The custom conversion goal the campaign is using for optimization. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String customConversionGoal; + + /** + * The level of goal config the campaign is using. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String goalConfigLevel; + + /** + * Immutable. The resource name of the conversion goal campaign config. Conversion goal campaign + * config resource names have the form: + * `customers/{customer_id}/conversionGoalCampaignConfigs/{campaign_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * The Search Ads 360 custom conversion goal the campaign is using for optimization. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String searchAds360CustomConversionGoal; + + /** + * The level of Search Ads 360 goal config the campaign is using. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String searchAds360GoalConfigLevel; + + /** + * Immutable. The campaign with which this conversion goal campaign config is associated. + * @return value or {@code null} for none + */ + public java.lang.String getCampaign() { + return campaign; + } + + /** + * Immutable. The campaign with which this conversion goal campaign config is associated. + * @param campaign campaign or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionGoalCampaignConfig setCampaign(java.lang.String campaign) { + this.campaign = campaign; + return this; + } + + /** + * The custom conversion goal the campaign is using for optimization. + * @return value or {@code null} for none + */ + public java.lang.String getCustomConversionGoal() { + return customConversionGoal; + } + + /** + * The custom conversion goal the campaign is using for optimization. + * @param customConversionGoal customConversionGoal or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionGoalCampaignConfig setCustomConversionGoal(java.lang.String customConversionGoal) { + this.customConversionGoal = customConversionGoal; + return this; + } + + /** + * The level of goal config the campaign is using. + * @return value or {@code null} for none + */ + public java.lang.String getGoalConfigLevel() { + return goalConfigLevel; + } + + /** + * The level of goal config the campaign is using. + * @param goalConfigLevel goalConfigLevel or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionGoalCampaignConfig setGoalConfigLevel(java.lang.String goalConfigLevel) { + this.goalConfigLevel = goalConfigLevel; + return this; + } + + /** + * Immutable. The resource name of the conversion goal campaign config. Conversion goal campaign + * config resource names have the form: + * `customers/{customer_id}/conversionGoalCampaignConfigs/{campaign_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Immutable. The resource name of the conversion goal campaign config. Conversion goal campaign + * config resource names have the form: + * `customers/{customer_id}/conversionGoalCampaignConfigs/{campaign_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionGoalCampaignConfig setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * The Search Ads 360 custom conversion goal the campaign is using for optimization. + * @return value or {@code null} for none + */ + public java.lang.String getSearchAds360CustomConversionGoal() { + return searchAds360CustomConversionGoal; + } + + /** + * The Search Ads 360 custom conversion goal the campaign is using for optimization. + * @param searchAds360CustomConversionGoal searchAds360CustomConversionGoal or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionGoalCampaignConfig setSearchAds360CustomConversionGoal(java.lang.String searchAds360CustomConversionGoal) { + this.searchAds360CustomConversionGoal = searchAds360CustomConversionGoal; + return this; + } + + /** + * The level of Search Ads 360 goal config the campaign is using. + * @return value or {@code null} for none + */ + public java.lang.String getSearchAds360GoalConfigLevel() { + return searchAds360GoalConfigLevel; + } + + /** + * The level of Search Ads 360 goal config the campaign is using. + * @param searchAds360GoalConfigLevel searchAds360GoalConfigLevel or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionGoalCampaignConfig setSearchAds360GoalConfigLevel(java.lang.String searchAds360GoalConfigLevel) { + this.searchAds360GoalConfigLevel = searchAds360GoalConfigLevel; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesConversionGoalCampaignConfig set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesConversionGoalCampaignConfig) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesConversionGoalCampaignConfig clone() { + return (GoogleAdsSearchads360V23ResourcesConversionGoalCampaignConfig) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesConversionTrackingSetting.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesConversionTrackingSetting.java new file mode 100644 index 00000000000..728b4563069 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesConversionTrackingSetting.java @@ -0,0 +1,253 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A collection of customer-wide settings related to Search Ads 360 Conversion Tracking. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesConversionTrackingSetting extends com.google.api.client.json.GenericJson { + + /** + * Output only. Whether the customer has accepted customer data terms. If using cross-account + * conversion tracking, this value is inherited from the manager. This field is read-only. For + * more information, see https://support.google.com/adspolicy/answer/7475709. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean acceptedCustomerDataTerms; + + /** + * Output only. The conversion tracking id used for this account. This id doesn't indicate whether + * the customer uses conversion tracking (conversion_tracking_status does). This field is read- + * only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long conversionTrackingId; + + /** + * Output only. Conversion tracking status. It indicates whether the customer is using conversion + * tracking, and who is the conversion tracking owner of this customer. If this customer is using + * cross-account conversion tracking, the value returned will differ based on the `login-customer- + * id` of the request. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String conversionTrackingStatus; + + /** + * Output only. The conversion tracking id of the customer's manager. This is set when the + * customer is opted into cross-account conversion tracking, and it overrides + * conversion_tracking_id. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long crossAccountConversionTrackingId; + + /** + * Output only. Whether the customer is opted-in for enhanced conversions for leads. If using + * cross-account conversion tracking, this value is inherited from the manager. This field is + * read-only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean enhancedConversionsForLeadsEnabled; + + /** + * The resource name of the customer where conversions are created and managed. This field is + * read-only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String googleAdsConversionCustomer; + + /** + * Output only. The conversion tracking id of the customer's manager. This is set when the + * customer is opted into conversion tracking, and it overrides conversion_tracking_id. This field + * can only be managed through the Google Ads UI. This field is read-only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long googleAdsCrossAccountConversionTrackingId; + + /** + * Output only. Whether the customer has accepted customer data terms. If using cross-account + * conversion tracking, this value is inherited from the manager. This field is read-only. For + * more information, see https://support.google.com/adspolicy/answer/7475709. + * @return value or {@code null} for none + */ + public java.lang.Boolean getAcceptedCustomerDataTerms() { + return acceptedCustomerDataTerms; + } + + /** + * Output only. Whether the customer has accepted customer data terms. If using cross-account + * conversion tracking, this value is inherited from the manager. This field is read-only. For + * more information, see https://support.google.com/adspolicy/answer/7475709. + * @param acceptedCustomerDataTerms acceptedCustomerDataTerms or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionTrackingSetting setAcceptedCustomerDataTerms(java.lang.Boolean acceptedCustomerDataTerms) { + this.acceptedCustomerDataTerms = acceptedCustomerDataTerms; + return this; + } + + /** + * Output only. The conversion tracking id used for this account. This id doesn't indicate whether + * the customer uses conversion tracking (conversion_tracking_status does). This field is read- + * only. + * @return value or {@code null} for none + */ + public java.lang.Long getConversionTrackingId() { + return conversionTrackingId; + } + + /** + * Output only. The conversion tracking id used for this account. This id doesn't indicate whether + * the customer uses conversion tracking (conversion_tracking_status does). This field is read- + * only. + * @param conversionTrackingId conversionTrackingId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionTrackingSetting setConversionTrackingId(java.lang.Long conversionTrackingId) { + this.conversionTrackingId = conversionTrackingId; + return this; + } + + /** + * Output only. Conversion tracking status. It indicates whether the customer is using conversion + * tracking, and who is the conversion tracking owner of this customer. If this customer is using + * cross-account conversion tracking, the value returned will differ based on the `login-customer- + * id` of the request. + * @return value or {@code null} for none + */ + public java.lang.String getConversionTrackingStatus() { + return conversionTrackingStatus; + } + + /** + * Output only. Conversion tracking status. It indicates whether the customer is using conversion + * tracking, and who is the conversion tracking owner of this customer. If this customer is using + * cross-account conversion tracking, the value returned will differ based on the `login-customer- + * id` of the request. + * @param conversionTrackingStatus conversionTrackingStatus or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionTrackingSetting setConversionTrackingStatus(java.lang.String conversionTrackingStatus) { + this.conversionTrackingStatus = conversionTrackingStatus; + return this; + } + + /** + * Output only. The conversion tracking id of the customer's manager. This is set when the + * customer is opted into cross-account conversion tracking, and it overrides + * conversion_tracking_id. + * @return value or {@code null} for none + */ + public java.lang.Long getCrossAccountConversionTrackingId() { + return crossAccountConversionTrackingId; + } + + /** + * Output only. The conversion tracking id of the customer's manager. This is set when the + * customer is opted into cross-account conversion tracking, and it overrides + * conversion_tracking_id. + * @param crossAccountConversionTrackingId crossAccountConversionTrackingId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionTrackingSetting setCrossAccountConversionTrackingId(java.lang.Long crossAccountConversionTrackingId) { + this.crossAccountConversionTrackingId = crossAccountConversionTrackingId; + return this; + } + + /** + * Output only. Whether the customer is opted-in for enhanced conversions for leads. If using + * cross-account conversion tracking, this value is inherited from the manager. This field is + * read-only. + * @return value or {@code null} for none + */ + public java.lang.Boolean getEnhancedConversionsForLeadsEnabled() { + return enhancedConversionsForLeadsEnabled; + } + + /** + * Output only. Whether the customer is opted-in for enhanced conversions for leads. If using + * cross-account conversion tracking, this value is inherited from the manager. This field is + * read-only. + * @param enhancedConversionsForLeadsEnabled enhancedConversionsForLeadsEnabled or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionTrackingSetting setEnhancedConversionsForLeadsEnabled(java.lang.Boolean enhancedConversionsForLeadsEnabled) { + this.enhancedConversionsForLeadsEnabled = enhancedConversionsForLeadsEnabled; + return this; + } + + /** + * The resource name of the customer where conversions are created and managed. This field is + * read-only. + * @return value or {@code null} for none + */ + public java.lang.String getGoogleAdsConversionCustomer() { + return googleAdsConversionCustomer; + } + + /** + * The resource name of the customer where conversions are created and managed. This field is + * read-only. + * @param googleAdsConversionCustomer googleAdsConversionCustomer or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionTrackingSetting setGoogleAdsConversionCustomer(java.lang.String googleAdsConversionCustomer) { + this.googleAdsConversionCustomer = googleAdsConversionCustomer; + return this; + } + + /** + * Output only. The conversion tracking id of the customer's manager. This is set when the + * customer is opted into conversion tracking, and it overrides conversion_tracking_id. This field + * can only be managed through the Google Ads UI. This field is read-only. + * @return value or {@code null} for none + */ + public java.lang.Long getGoogleAdsCrossAccountConversionTrackingId() { + return googleAdsCrossAccountConversionTrackingId; + } + + /** + * Output only. The conversion tracking id of the customer's manager. This is set when the + * customer is opted into conversion tracking, and it overrides conversion_tracking_id. This field + * can only be managed through the Google Ads UI. This field is read-only. + * @param googleAdsCrossAccountConversionTrackingId googleAdsCrossAccountConversionTrackingId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionTrackingSetting setGoogleAdsCrossAccountConversionTrackingId(java.lang.Long googleAdsCrossAccountConversionTrackingId) { + this.googleAdsCrossAccountConversionTrackingId = googleAdsCrossAccountConversionTrackingId; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesConversionTrackingSetting set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesConversionTrackingSetting) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesConversionTrackingSetting clone() { + return (GoogleAdsSearchads360V23ResourcesConversionTrackingSetting) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesConversionValueRule.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesConversionValueRule.java new file mode 100644 index 00000000000..a3f6d3192c5 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesConversionValueRule.java @@ -0,0 +1,271 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A conversion value rule + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesConversionValueRule extends com.google.api.client.json.GenericJson { + + /** + * Action applied when the rule is triggered. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleAction action; + + /** + * Condition for audience that must be satisfied for the value rule to apply. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleAudienceCondition audienceCondition; + + /** + * Condition for device type that must be satisfied for the value rule to apply. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleDeviceCondition deviceCondition; + + /** + * Condition for Geo location that must be satisfied for the value rule to apply. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleGeoLocationCondition geoLocationCondition; + + /** + * Output only. The ID of the conversion value rule. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long id; + + /** + * Condition for itinerary that must be satisfied for the value rule to apply. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleItineraryCondition itineraryCondition; + + /** + * Output only. The resource name of the conversion value rule's owner customer. When the value + * rule is inherited from a manager customer, owner_customer will be the resource name of the + * manager whereas the customer in the resource_name will be of the requesting serving customer. + * ** Read-only ** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String ownerCustomer; + + /** + * Immutable. The resource name of the conversion value rule. Conversion value rule resource names + * have the form: `customers/{customer_id}/conversionValueRules/{conversion_value_rule_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * The status of the conversion value rule. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String status; + + /** + * Action applied when the rule is triggered. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleAction getAction() { + return action; + } + + /** + * Action applied when the rule is triggered. + * @param action action or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionValueRule setAction(GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleAction action) { + this.action = action; + return this; + } + + /** + * Condition for audience that must be satisfied for the value rule to apply. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleAudienceCondition getAudienceCondition() { + return audienceCondition; + } + + /** + * Condition for audience that must be satisfied for the value rule to apply. + * @param audienceCondition audienceCondition or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionValueRule setAudienceCondition(GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleAudienceCondition audienceCondition) { + this.audienceCondition = audienceCondition; + return this; + } + + /** + * Condition for device type that must be satisfied for the value rule to apply. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleDeviceCondition getDeviceCondition() { + return deviceCondition; + } + + /** + * Condition for device type that must be satisfied for the value rule to apply. + * @param deviceCondition deviceCondition or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionValueRule setDeviceCondition(GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleDeviceCondition deviceCondition) { + this.deviceCondition = deviceCondition; + return this; + } + + /** + * Condition for Geo location that must be satisfied for the value rule to apply. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleGeoLocationCondition getGeoLocationCondition() { + return geoLocationCondition; + } + + /** + * Condition for Geo location that must be satisfied for the value rule to apply. + * @param geoLocationCondition geoLocationCondition or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionValueRule setGeoLocationCondition(GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleGeoLocationCondition geoLocationCondition) { + this.geoLocationCondition = geoLocationCondition; + return this; + } + + /** + * Output only. The ID of the conversion value rule. + * @return value or {@code null} for none + */ + public java.lang.Long getId() { + return id; + } + + /** + * Output only. The ID of the conversion value rule. + * @param id id or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionValueRule setId(java.lang.Long id) { + this.id = id; + return this; + } + + /** + * Condition for itinerary that must be satisfied for the value rule to apply. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleItineraryCondition getItineraryCondition() { + return itineraryCondition; + } + + /** + * Condition for itinerary that must be satisfied for the value rule to apply. + * @param itineraryCondition itineraryCondition or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionValueRule setItineraryCondition(GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleItineraryCondition itineraryCondition) { + this.itineraryCondition = itineraryCondition; + return this; + } + + /** + * Output only. The resource name of the conversion value rule's owner customer. When the value + * rule is inherited from a manager customer, owner_customer will be the resource name of the + * manager whereas the customer in the resource_name will be of the requesting serving customer. + * ** Read-only ** + * @return value or {@code null} for none + */ + public java.lang.String getOwnerCustomer() { + return ownerCustomer; + } + + /** + * Output only. The resource name of the conversion value rule's owner customer. When the value + * rule is inherited from a manager customer, owner_customer will be the resource name of the + * manager whereas the customer in the resource_name will be of the requesting serving customer. + * ** Read-only ** + * @param ownerCustomer ownerCustomer or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionValueRule setOwnerCustomer(java.lang.String ownerCustomer) { + this.ownerCustomer = ownerCustomer; + return this; + } + + /** + * Immutable. The resource name of the conversion value rule. Conversion value rule resource names + * have the form: `customers/{customer_id}/conversionValueRules/{conversion_value_rule_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Immutable. The resource name of the conversion value rule. Conversion value rule resource names + * have the form: `customers/{customer_id}/conversionValueRules/{conversion_value_rule_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionValueRule setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * The status of the conversion value rule. + * @return value or {@code null} for none + */ + public java.lang.String getStatus() { + return status; + } + + /** + * The status of the conversion value rule. + * @param status status or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionValueRule setStatus(java.lang.String status) { + this.status = status; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesConversionValueRule set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesConversionValueRule) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesConversionValueRule clone() { + return (GoogleAdsSearchads360V23ResourcesConversionValueRule) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesConversionValueRuleSet.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesConversionValueRuleSet.java new file mode 100644 index 00000000000..586277287a6 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesConversionValueRuleSet.java @@ -0,0 +1,287 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A conversion value rule set is a collection of conversion value rules that lets you adjust + * conversion values based on the dimensions specified in the `dimensions` field. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesConversionValueRuleSet extends com.google.api.client.json.GenericJson { + + /** + * Immutable. Defines the scope where the conversion value rule set is attached. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String attachmentType; + + /** + * The resource name of the campaign when the conversion value rule set is attached to a campaign. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String campaign; + + /** + * Immutable. The conversion action categories of the conversion value rule set. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List conversionActionCategories; + + /** + * Resource names of rules within the rule set. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List conversionValueRules; + + /** + * Defines dimensions for Value Rule conditions. The condition types of value rules within this + * value rule set must be of these dimensions. The first entry in this list is the primary + * dimension of the included value rules. When using value rule primary dimension segmentation, + * conversion values will be segmented into the values adjusted by value rules and the original + * values, if some value rules apply. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List dimensions; + + /** + * Output only. The ID of the conversion value rule set. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long id; + + /** + * Output only. The resource name of the conversion value rule set's owner customer. When the + * value rule set is inherited from a manager customer, owner_customer will be the resource name + * of the manager whereas the customer in the resource_name will be of the requesting serving + * customer. ** Read-only ** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String ownerCustomer; + + /** + * Immutable. The resource name of the conversion value rule set. Conversion value rule set + * resource names have the form: + * `customers/{customer_id}/conversionValueRuleSets/{conversion_value_rule_set_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. The status of the conversion value rule set. ** Read-only ** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String status; + + /** + * Immutable. Defines the scope where the conversion value rule set is attached. + * @return value or {@code null} for none + */ + public java.lang.String getAttachmentType() { + return attachmentType; + } + + /** + * Immutable. Defines the scope where the conversion value rule set is attached. + * @param attachmentType attachmentType or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionValueRuleSet setAttachmentType(java.lang.String attachmentType) { + this.attachmentType = attachmentType; + return this; + } + + /** + * The resource name of the campaign when the conversion value rule set is attached to a campaign. + * @return value or {@code null} for none + */ + public java.lang.String getCampaign() { + return campaign; + } + + /** + * The resource name of the campaign when the conversion value rule set is attached to a campaign. + * @param campaign campaign or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionValueRuleSet setCampaign(java.lang.String campaign) { + this.campaign = campaign; + return this; + } + + /** + * Immutable. The conversion action categories of the conversion value rule set. + * @return value or {@code null} for none + */ + public java.util.List getConversionActionCategories() { + return conversionActionCategories; + } + + /** + * Immutable. The conversion action categories of the conversion value rule set. + * @param conversionActionCategories conversionActionCategories or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionValueRuleSet setConversionActionCategories(java.util.List conversionActionCategories) { + this.conversionActionCategories = conversionActionCategories; + return this; + } + + /** + * Resource names of rules within the rule set. + * @return value or {@code null} for none + */ + public java.util.List getConversionValueRules() { + return conversionValueRules; + } + + /** + * Resource names of rules within the rule set. + * @param conversionValueRules conversionValueRules or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionValueRuleSet setConversionValueRules(java.util.List conversionValueRules) { + this.conversionValueRules = conversionValueRules; + return this; + } + + /** + * Defines dimensions for Value Rule conditions. The condition types of value rules within this + * value rule set must be of these dimensions. The first entry in this list is the primary + * dimension of the included value rules. When using value rule primary dimension segmentation, + * conversion values will be segmented into the values adjusted by value rules and the original + * values, if some value rules apply. + * @return value or {@code null} for none + */ + public java.util.List getDimensions() { + return dimensions; + } + + /** + * Defines dimensions for Value Rule conditions. The condition types of value rules within this + * value rule set must be of these dimensions. The first entry in this list is the primary + * dimension of the included value rules. When using value rule primary dimension segmentation, + * conversion values will be segmented into the values adjusted by value rules and the original + * values, if some value rules apply. + * @param dimensions dimensions or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionValueRuleSet setDimensions(java.util.List dimensions) { + this.dimensions = dimensions; + return this; + } + + /** + * Output only. The ID of the conversion value rule set. + * @return value or {@code null} for none + */ + public java.lang.Long getId() { + return id; + } + + /** + * Output only. The ID of the conversion value rule set. + * @param id id or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionValueRuleSet setId(java.lang.Long id) { + this.id = id; + return this; + } + + /** + * Output only. The resource name of the conversion value rule set's owner customer. When the + * value rule set is inherited from a manager customer, owner_customer will be the resource name + * of the manager whereas the customer in the resource_name will be of the requesting serving + * customer. ** Read-only ** + * @return value or {@code null} for none + */ + public java.lang.String getOwnerCustomer() { + return ownerCustomer; + } + + /** + * Output only. The resource name of the conversion value rule set's owner customer. When the + * value rule set is inherited from a manager customer, owner_customer will be the resource name + * of the manager whereas the customer in the resource_name will be of the requesting serving + * customer. ** Read-only ** + * @param ownerCustomer ownerCustomer or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionValueRuleSet setOwnerCustomer(java.lang.String ownerCustomer) { + this.ownerCustomer = ownerCustomer; + return this; + } + + /** + * Immutable. The resource name of the conversion value rule set. Conversion value rule set + * resource names have the form: + * `customers/{customer_id}/conversionValueRuleSets/{conversion_value_rule_set_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Immutable. The resource name of the conversion value rule set. Conversion value rule set + * resource names have the form: + * `customers/{customer_id}/conversionValueRuleSets/{conversion_value_rule_set_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionValueRuleSet setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Output only. The status of the conversion value rule set. ** Read-only ** + * @return value or {@code null} for none + */ + public java.lang.String getStatus() { + return status; + } + + /** + * Output only. The status of the conversion value rule set. ** Read-only ** + * @param status status or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionValueRuleSet setStatus(java.lang.String status) { + this.status = status; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesConversionValueRuleSet set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesConversionValueRuleSet) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesConversionValueRuleSet clone() { + return (GoogleAdsSearchads360V23ResourcesConversionValueRuleSet) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleAction.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleAction.java new file mode 100644 index 00000000000..e618bcf09e9 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleAction.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Action applied when rule is applied. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleAction extends com.google.api.client.json.GenericJson { + + /** + * Specifies applied operation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String operation; + + /** + * Specifies applied value. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double value; + + /** + * Specifies applied operation. + * @return value or {@code null} for none + */ + public java.lang.String getOperation() { + return operation; + } + + /** + * Specifies applied operation. + * @param operation operation or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleAction setOperation(java.lang.String operation) { + this.operation = operation; + return this; + } + + /** + * Specifies applied value. + * @return value or {@code null} for none + */ + public java.lang.Double getValue() { + return value; + } + + /** + * Specifies applied value. + * @param value value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleAction setValue(java.lang.Double value) { + this.value = value; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleAction set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleAction) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleAction clone() { + return (GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleAction) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleAudienceCondition.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleAudienceCondition.java new file mode 100644 index 00000000000..164b79da3bd --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleAudienceCondition.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Condition on Audience dimension. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleAudienceCondition extends com.google.api.client.json.GenericJson { + + /** + * User Interests. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List userInterests; + + /** + * User Lists. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List userLists; + + /** + * User Interests. + * @return value or {@code null} for none + */ + public java.util.List getUserInterests() { + return userInterests; + } + + /** + * User Interests. + * @param userInterests userInterests or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleAudienceCondition setUserInterests(java.util.List userInterests) { + this.userInterests = userInterests; + return this; + } + + /** + * User Lists. + * @return value or {@code null} for none + */ + public java.util.List getUserLists() { + return userLists; + } + + /** + * User Lists. + * @param userLists userLists or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleAudienceCondition setUserLists(java.util.List userLists) { + this.userLists = userLists; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleAudienceCondition set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleAudienceCondition) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleAudienceCondition clone() { + return (GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleAudienceCondition) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleDeviceCondition.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleDeviceCondition.java new file mode 100644 index 00000000000..3b729e39e33 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleDeviceCondition.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Condition on Device dimension. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleDeviceCondition extends com.google.api.client.json.GenericJson { + + /** + * Value for device type condition. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List deviceTypes; + + /** + * Value for device type condition. + * @return value or {@code null} for none + */ + public java.util.List getDeviceTypes() { + return deviceTypes; + } + + /** + * Value for device type condition. + * @param deviceTypes deviceTypes or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleDeviceCondition setDeviceTypes(java.util.List deviceTypes) { + this.deviceTypes = deviceTypes; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleDeviceCondition set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleDeviceCondition) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleDeviceCondition clone() { + return (GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleDeviceCondition) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleGeoLocationCondition.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleGeoLocationCondition.java new file mode 100644 index 00000000000..28d8384cf9e --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleGeoLocationCondition.java @@ -0,0 +1,139 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Condition on Geo dimension. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleGeoLocationCondition extends com.google.api.client.json.GenericJson { + + /** + * Excluded Geo location match type. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String excludedGeoMatchType; + + /** + * Geo locations that advertisers want to exclude. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List excludedGeoTargetConstants; + + /** + * Included Geo location match type. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String geoMatchType; + + /** + * Geo locations that advertisers want to include. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List geoTargetConstants; + + /** + * Excluded Geo location match type. + * @return value or {@code null} for none + */ + public java.lang.String getExcludedGeoMatchType() { + return excludedGeoMatchType; + } + + /** + * Excluded Geo location match type. + * @param excludedGeoMatchType excludedGeoMatchType or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleGeoLocationCondition setExcludedGeoMatchType(java.lang.String excludedGeoMatchType) { + this.excludedGeoMatchType = excludedGeoMatchType; + return this; + } + + /** + * Geo locations that advertisers want to exclude. + * @return value or {@code null} for none + */ + public java.util.List getExcludedGeoTargetConstants() { + return excludedGeoTargetConstants; + } + + /** + * Geo locations that advertisers want to exclude. + * @param excludedGeoTargetConstants excludedGeoTargetConstants or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleGeoLocationCondition setExcludedGeoTargetConstants(java.util.List excludedGeoTargetConstants) { + this.excludedGeoTargetConstants = excludedGeoTargetConstants; + return this; + } + + /** + * Included Geo location match type. + * @return value or {@code null} for none + */ + public java.lang.String getGeoMatchType() { + return geoMatchType; + } + + /** + * Included Geo location match type. + * @param geoMatchType geoMatchType or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleGeoLocationCondition setGeoMatchType(java.lang.String geoMatchType) { + this.geoMatchType = geoMatchType; + return this; + } + + /** + * Geo locations that advertisers want to include. + * @return value or {@code null} for none + */ + public java.util.List getGeoTargetConstants() { + return geoTargetConstants; + } + + /** + * Geo locations that advertisers want to include. + * @param geoTargetConstants geoTargetConstants or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleGeoLocationCondition setGeoTargetConstants(java.util.List geoTargetConstants) { + this.geoTargetConstants = geoTargetConstants; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleGeoLocationCondition set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleGeoLocationCondition) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleGeoLocationCondition clone() { + return (GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleGeoLocationCondition) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleItineraryAdvanceBookingWindow.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleItineraryAdvanceBookingWindow.java new file mode 100644 index 00000000000..0fc39c789d6 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleItineraryAdvanceBookingWindow.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Range for the number of days between the date of the booking and the start of the itinerary. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleItineraryAdvanceBookingWindow extends com.google.api.client.json.GenericJson { + + /** + * Maximum number of days between the date of the booking the start date. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer maxDays; + + /** + * Minimum number of days between the date of the booking the start date. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer minDays; + + /** + * Maximum number of days between the date of the booking the start date. + * @return value or {@code null} for none + */ + public java.lang.Integer getMaxDays() { + return maxDays; + } + + /** + * Maximum number of days between the date of the booking the start date. + * @param maxDays maxDays or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleItineraryAdvanceBookingWindow setMaxDays(java.lang.Integer maxDays) { + this.maxDays = maxDays; + return this; + } + + /** + * Minimum number of days between the date of the booking the start date. + * @return value or {@code null} for none + */ + public java.lang.Integer getMinDays() { + return minDays; + } + + /** + * Minimum number of days between the date of the booking the start date. + * @param minDays minDays or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleItineraryAdvanceBookingWindow setMinDays(java.lang.Integer minDays) { + this.minDays = minDays; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleItineraryAdvanceBookingWindow set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleItineraryAdvanceBookingWindow) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleItineraryAdvanceBookingWindow clone() { + return (GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleItineraryAdvanceBookingWindow) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleItineraryCondition.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleItineraryCondition.java new file mode 100644 index 00000000000..f8fabcad315 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleItineraryCondition.java @@ -0,0 +1,115 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Condition on Itinerary dimension. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleItineraryCondition extends com.google.api.client.json.GenericJson { + + /** + * Range for the number of days between the date of the booking and the start of the itinerary. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleItineraryAdvanceBookingWindow advanceBookingWindow; + + /** + * Range for the itinerary length in number of nights. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleItineraryTravelLength travelLength; + + /** + * The days of the week on which this itinerary's travel can start. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleItineraryTravelStartDay travelStartDay; + + /** + * Range for the number of days between the date of the booking and the start of the itinerary. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleItineraryAdvanceBookingWindow getAdvanceBookingWindow() { + return advanceBookingWindow; + } + + /** + * Range for the number of days between the date of the booking and the start of the itinerary. + * @param advanceBookingWindow advanceBookingWindow or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleItineraryCondition setAdvanceBookingWindow(GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleItineraryAdvanceBookingWindow advanceBookingWindow) { + this.advanceBookingWindow = advanceBookingWindow; + return this; + } + + /** + * Range for the itinerary length in number of nights. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleItineraryTravelLength getTravelLength() { + return travelLength; + } + + /** + * Range for the itinerary length in number of nights. + * @param travelLength travelLength or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleItineraryCondition setTravelLength(GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleItineraryTravelLength travelLength) { + this.travelLength = travelLength; + return this; + } + + /** + * The days of the week on which this itinerary's travel can start. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleItineraryTravelStartDay getTravelStartDay() { + return travelStartDay; + } + + /** + * The days of the week on which this itinerary's travel can start. + * @param travelStartDay travelStartDay or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleItineraryCondition setTravelStartDay(GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleItineraryTravelStartDay travelStartDay) { + this.travelStartDay = travelStartDay; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleItineraryCondition set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleItineraryCondition) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleItineraryCondition clone() { + return (GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleItineraryCondition) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleItineraryTravelLength.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleItineraryTravelLength.java new file mode 100644 index 00000000000..eed21752fe5 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleItineraryTravelLength.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Range for the itinerary length in number of nights. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleItineraryTravelLength extends com.google.api.client.json.GenericJson { + + /** + * Maximum number of days between the start date and the end date. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer maxNights; + + /** + * Minimum number of nights between the start date and the end date. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer minNights; + + /** + * Maximum number of days between the start date and the end date. + * @return value or {@code null} for none + */ + public java.lang.Integer getMaxNights() { + return maxNights; + } + + /** + * Maximum number of days between the start date and the end date. + * @param maxNights maxNights or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleItineraryTravelLength setMaxNights(java.lang.Integer maxNights) { + this.maxNights = maxNights; + return this; + } + + /** + * Minimum number of nights between the start date and the end date. + * @return value or {@code null} for none + */ + public java.lang.Integer getMinNights() { + return minNights; + } + + /** + * Minimum number of nights between the start date and the end date. + * @param minNights minNights or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleItineraryTravelLength setMinNights(java.lang.Integer minNights) { + this.minNights = minNights; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleItineraryTravelLength set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleItineraryTravelLength) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleItineraryTravelLength clone() { + return (GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleItineraryTravelLength) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleItineraryTravelStartDay.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleItineraryTravelStartDay.java new file mode 100644 index 00000000000..00ecdbca3a5 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleItineraryTravelStartDay.java @@ -0,0 +1,211 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The days of the week on which an itinerary's travel can start. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleItineraryTravelStartDay extends com.google.api.client.json.GenericJson { + + /** + * The travel can start on Friday. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean friday; + + /** + * The travel can start on Monday. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean monday; + + /** + * The travel can start on Saturday. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean saturday; + + /** + * The travel can start on Sunday. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean sunday; + + /** + * The travel can start on Thursday. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean thursday; + + /** + * The travel can start on Tuesday. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean tuesday; + + /** + * The travel can start on Wednesday. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean wednesday; + + /** + * The travel can start on Friday. + * @return value or {@code null} for none + */ + public java.lang.Boolean getFriday() { + return friday; + } + + /** + * The travel can start on Friday. + * @param friday friday or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleItineraryTravelStartDay setFriday(java.lang.Boolean friday) { + this.friday = friday; + return this; + } + + /** + * The travel can start on Monday. + * @return value or {@code null} for none + */ + public java.lang.Boolean getMonday() { + return monday; + } + + /** + * The travel can start on Monday. + * @param monday monday or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleItineraryTravelStartDay setMonday(java.lang.Boolean monday) { + this.monday = monday; + return this; + } + + /** + * The travel can start on Saturday. + * @return value or {@code null} for none + */ + public java.lang.Boolean getSaturday() { + return saturday; + } + + /** + * The travel can start on Saturday. + * @param saturday saturday or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleItineraryTravelStartDay setSaturday(java.lang.Boolean saturday) { + this.saturday = saturday; + return this; + } + + /** + * The travel can start on Sunday. + * @return value or {@code null} for none + */ + public java.lang.Boolean getSunday() { + return sunday; + } + + /** + * The travel can start on Sunday. + * @param sunday sunday or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleItineraryTravelStartDay setSunday(java.lang.Boolean sunday) { + this.sunday = sunday; + return this; + } + + /** + * The travel can start on Thursday. + * @return value or {@code null} for none + */ + public java.lang.Boolean getThursday() { + return thursday; + } + + /** + * The travel can start on Thursday. + * @param thursday thursday or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleItineraryTravelStartDay setThursday(java.lang.Boolean thursday) { + this.thursday = thursday; + return this; + } + + /** + * The travel can start on Tuesday. + * @return value or {@code null} for none + */ + public java.lang.Boolean getTuesday() { + return tuesday; + } + + /** + * The travel can start on Tuesday. + * @param tuesday tuesday or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleItineraryTravelStartDay setTuesday(java.lang.Boolean tuesday) { + this.tuesday = tuesday; + return this; + } + + /** + * The travel can start on Wednesday. + * @return value or {@code null} for none + */ + public java.lang.Boolean getWednesday() { + return wednesday; + } + + /** + * The travel can start on Wednesday. + * @param wednesday wednesday or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleItineraryTravelStartDay setWednesday(java.lang.Boolean wednesday) { + this.wednesday = wednesday; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleItineraryTravelStartDay set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleItineraryTravelStartDay) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleItineraryTravelStartDay clone() { + return (GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleItineraryTravelStartDay) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCreditDetails.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCreditDetails.java new file mode 100644 index 00000000000..b8a57fc9aae --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCreditDetails.java @@ -0,0 +1,97 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Represents the credit details of a lead. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesCreditDetails extends com.google.api.client.json.GenericJson { + + /** + * Output only. Credit state of the lead. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String creditState; + + /** + * Output only. The date time when the credit state of the lead was last updated. The format is + * "YYYY-MM-DD HH:MM:SS" in the Google Ads account's timezone. Examples: "2018-03-05 09:15:00" or + * "2018-02-01 14:34:30" + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String creditStateLastUpdateDateTime; + + /** + * Output only. Credit state of the lead. + * @return value or {@code null} for none + */ + public java.lang.String getCreditState() { + return creditState; + } + + /** + * Output only. Credit state of the lead. + * @param creditState creditState or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCreditDetails setCreditState(java.lang.String creditState) { + this.creditState = creditState; + return this; + } + + /** + * Output only. The date time when the credit state of the lead was last updated. The format is + * "YYYY-MM-DD HH:MM:SS" in the Google Ads account's timezone. Examples: "2018-03-05 09:15:00" or + * "2018-02-01 14:34:30" + * @return value or {@code null} for none + */ + public java.lang.String getCreditStateLastUpdateDateTime() { + return creditStateLastUpdateDateTime; + } + + /** + * Output only. The date time when the credit state of the lead was last updated. The format is + * "YYYY-MM-DD HH:MM:SS" in the Google Ads account's timezone. Examples: "2018-03-05 09:15:00" or + * "2018-02-01 14:34:30" + * @param creditStateLastUpdateDateTime creditStateLastUpdateDateTime or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCreditDetails setCreditStateLastUpdateDateTime(java.lang.String creditStateLastUpdateDateTime) { + this.creditStateLastUpdateDateTime = creditStateLastUpdateDateTime; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesCreditDetails set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesCreditDetails) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesCreditDetails clone() { + return (GoogleAdsSearchads360V23ResourcesCreditDetails) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCurrencyConstant.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCurrencyConstant.java new file mode 100644 index 00000000000..2f06d8f28c7 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCurrencyConstant.java @@ -0,0 +1,169 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A currency constant. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesCurrencyConstant extends com.google.api.client.json.GenericJson { + + /** + * Output only. The billable unit for this currency. Billed amounts should be multiples of this + * value. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long billableUnitMicros; + + /** + * Output only. ISO 4217 three-letter currency code, for example, "USD" + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String code; + + /** + * Output only. Full English name of the currency. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * Output only. The resource name of the currency constant. Currency constant resource names have + * the form: `currencyConstants/{code}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. Standard symbol for describing this currency, for example, '$' for US Dollars. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String symbol; + + /** + * Output only. The billable unit for this currency. Billed amounts should be multiples of this + * value. + * @return value or {@code null} for none + */ + public java.lang.Long getBillableUnitMicros() { + return billableUnitMicros; + } + + /** + * Output only. The billable unit for this currency. Billed amounts should be multiples of this + * value. + * @param billableUnitMicros billableUnitMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCurrencyConstant setBillableUnitMicros(java.lang.Long billableUnitMicros) { + this.billableUnitMicros = billableUnitMicros; + return this; + } + + /** + * Output only. ISO 4217 three-letter currency code, for example, "USD" + * @return value or {@code null} for none + */ + public java.lang.String getCode() { + return code; + } + + /** + * Output only. ISO 4217 three-letter currency code, for example, "USD" + * @param code code or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCurrencyConstant setCode(java.lang.String code) { + this.code = code; + return this; + } + + /** + * Output only. Full English name of the currency. + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * Output only. Full English name of the currency. + * @param name name or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCurrencyConstant setName(java.lang.String name) { + this.name = name; + return this; + } + + /** + * Output only. The resource name of the currency constant. Currency constant resource names have + * the form: `currencyConstants/{code}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Output only. The resource name of the currency constant. Currency constant resource names have + * the form: `currencyConstants/{code}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCurrencyConstant setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Output only. Standard symbol for describing this currency, for example, '$' for US Dollars. + * @return value or {@code null} for none + */ + public java.lang.String getSymbol() { + return symbol; + } + + /** + * Output only. Standard symbol for describing this currency, for example, '$' for US Dollars. + * @param symbol symbol or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCurrencyConstant setSymbol(java.lang.String symbol) { + this.symbol = symbol; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesCurrencyConstant set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesCurrencyConstant) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesCurrencyConstant clone() { + return (GoogleAdsSearchads360V23ResourcesCurrencyConstant) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomAudience.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomAudience.java new file mode 100644 index 00000000000..cf1a52f766d --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomAudience.java @@ -0,0 +1,231 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A custom audience. This is a list of users by interest. The unique key of a custom audience + * consists of the following fields: name. Violating the unique key constraint produces error: + * CustomAudienceError.NAME_ALREADY_USED + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesCustomAudience extends com.google.api.client.json.GenericJson { + + /** + * Description of this custom audience. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String description; + + /** + * Output only. ID of the custom audience. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long id; + + /** + * List of custom audience members that this custom audience is composed of. Members can be added + * during CustomAudience creation. If members are presented in UPDATE operation, existing members + * will be overridden. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List members; + + /** + * Name of the custom audience. It should be unique for all custom audiences created by a + * customer. This field is required for creating operations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * Immutable. The resource name of the custom audience. Custom audience resource names have the + * form: `customers/{customer_id}/customAudiences/{custom_audience_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. Status of this custom audience. Indicates whether the custom audience is enabled + * or removed. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String status; + + /** + * Type of the custom audience. ("INTEREST" OR "PURCHASE_INTENT" is not allowed for newly created + * custom audience but kept for existing audiences) + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String type; + + /** + * Description of this custom audience. + * @return value or {@code null} for none + */ + public java.lang.String getDescription() { + return description; + } + + /** + * Description of this custom audience. + * @param description description or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomAudience setDescription(java.lang.String description) { + this.description = description; + return this; + } + + /** + * Output only. ID of the custom audience. + * @return value or {@code null} for none + */ + public java.lang.Long getId() { + return id; + } + + /** + * Output only. ID of the custom audience. + * @param id id or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomAudience setId(java.lang.Long id) { + this.id = id; + return this; + } + + /** + * List of custom audience members that this custom audience is composed of. Members can be added + * during CustomAudience creation. If members are presented in UPDATE operation, existing members + * will be overridden. + * @return value or {@code null} for none + */ + public java.util.List getMembers() { + return members; + } + + /** + * List of custom audience members that this custom audience is composed of. Members can be added + * during CustomAudience creation. If members are presented in UPDATE operation, existing members + * will be overridden. + * @param members members or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomAudience setMembers(java.util.List members) { + this.members = members; + return this; + } + + /** + * Name of the custom audience. It should be unique for all custom audiences created by a + * customer. This field is required for creating operations. + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * Name of the custom audience. It should be unique for all custom audiences created by a + * customer. This field is required for creating operations. + * @param name name or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomAudience setName(java.lang.String name) { + this.name = name; + return this; + } + + /** + * Immutable. The resource name of the custom audience. Custom audience resource names have the + * form: `customers/{customer_id}/customAudiences/{custom_audience_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Immutable. The resource name of the custom audience. Custom audience resource names have the + * form: `customers/{customer_id}/customAudiences/{custom_audience_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomAudience setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Output only. Status of this custom audience. Indicates whether the custom audience is enabled + * or removed. + * @return value or {@code null} for none + */ + public java.lang.String getStatus() { + return status; + } + + /** + * Output only. Status of this custom audience. Indicates whether the custom audience is enabled + * or removed. + * @param status status or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomAudience setStatus(java.lang.String status) { + this.status = status; + return this; + } + + /** + * Type of the custom audience. ("INTEREST" OR "PURCHASE_INTENT" is not allowed for newly created + * custom audience but kept for existing audiences) + * @return value or {@code null} for none + */ + public java.lang.String getType() { + return type; + } + + /** + * Type of the custom audience. ("INTEREST" OR "PURCHASE_INTENT" is not allowed for newly created + * custom audience but kept for existing audiences) + * @param type type or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomAudience setType(java.lang.String type) { + this.type = type; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesCustomAudience set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesCustomAudience) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesCustomAudience clone() { + return (GoogleAdsSearchads360V23ResourcesCustomAudience) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomAudienceMember.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomAudienceMember.java new file mode 100644 index 00000000000..2715b39ca70 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomAudienceMember.java @@ -0,0 +1,173 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A member of custom audience. A member can be a KEYWORD, URL, PLACE_CATEGORY or APP. It can only + * be created or removed but not changed. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesCustomAudienceMember extends com.google.api.client.json.GenericJson { + + /** + * A package name of Android apps which users installed such as com.google.example. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String app; + + /** + * A keyword or keyword phrase — at most 10 words and 80 characters. Languages with double-width + * characters such as Chinese, Japanese, or Korean, are allowed 40 characters, which describes the + * user's interests or actions. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String keyword; + + /** + * The type of custom audience member, KEYWORD, URL, PLACE_CATEGORY or APP. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String memberType; + + /** + * A place type described by a place category users visit. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long placeCategory; + + /** + * An HTTP URL, protocol-included — at most 2048 characters, which includes contents users have + * interests in. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String url; + + /** + * A package name of Android apps which users installed such as com.google.example. + * @return value or {@code null} for none + */ + public java.lang.String getApp() { + return app; + } + + /** + * A package name of Android apps which users installed such as com.google.example. + * @param app app or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomAudienceMember setApp(java.lang.String app) { + this.app = app; + return this; + } + + /** + * A keyword or keyword phrase — at most 10 words and 80 characters. Languages with double-width + * characters such as Chinese, Japanese, or Korean, are allowed 40 characters, which describes the + * user's interests or actions. + * @return value or {@code null} for none + */ + public java.lang.String getKeyword() { + return keyword; + } + + /** + * A keyword or keyword phrase — at most 10 words and 80 characters. Languages with double-width + * characters such as Chinese, Japanese, or Korean, are allowed 40 characters, which describes the + * user's interests or actions. + * @param keyword keyword or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomAudienceMember setKeyword(java.lang.String keyword) { + this.keyword = keyword; + return this; + } + + /** + * The type of custom audience member, KEYWORD, URL, PLACE_CATEGORY or APP. + * @return value or {@code null} for none + */ + public java.lang.String getMemberType() { + return memberType; + } + + /** + * The type of custom audience member, KEYWORD, URL, PLACE_CATEGORY or APP. + * @param memberType memberType or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomAudienceMember setMemberType(java.lang.String memberType) { + this.memberType = memberType; + return this; + } + + /** + * A place type described by a place category users visit. + * @return value or {@code null} for none + */ + public java.lang.Long getPlaceCategory() { + return placeCategory; + } + + /** + * A place type described by a place category users visit. + * @param placeCategory placeCategory or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomAudienceMember setPlaceCategory(java.lang.Long placeCategory) { + this.placeCategory = placeCategory; + return this; + } + + /** + * An HTTP URL, protocol-included — at most 2048 characters, which includes contents users have + * interests in. + * @return value or {@code null} for none + */ + public java.lang.String getUrl() { + return url; + } + + /** + * An HTTP URL, protocol-included — at most 2048 characters, which includes contents users have + * interests in. + * @param url url or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomAudienceMember setUrl(java.lang.String url) { + this.url = url; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesCustomAudienceMember set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesCustomAudienceMember) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesCustomAudienceMember clone() { + return (GoogleAdsSearchads360V23ResourcesCustomAudienceMember) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomColumn.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomColumn.java new file mode 100644 index 00000000000..0cf6f8272a8 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomColumn.java @@ -0,0 +1,296 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A custom column. See Search Ads 360 custom column at + * https://support.google.com/sa360/answer/9633916 + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesCustomColumn extends com.google.api.client.json.GenericJson { + + /** + * Output only. User-defined description of the custom column. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String description; + + /** + * Output only. ID of the custom column. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long id; + + /** + * Output only. User-defined name of the custom column. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * Output only. True when the custom column is available to be used in the query of + * SearchAds360Service.Search and SearchAds360Service.SearchStream. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean queryable; + + /** + * Output only. The list of the referenced system columns of this custom column. For example, A + * custom column "sum of impressions and clicks" has referenced system columns of + * {"metrics.clicks", "metrics.impressions"}. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List referencedSystemColumns; + + /** + * Output only. True when the custom column is referring to one or more attributes. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean referencesAttributes; + + /** + * Output only. True when the custom column is referring to one or more metrics. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean referencesMetrics; + + /** + * Output only. How the result value of the custom column should be interpreted. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String renderType; + + /** + * Immutable. The resource name of the custom column. Custom column resource names have the form: + * `customers/{customer_id}/customColumns/{custom_column_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. The type of the result value of the custom column. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String valueType; + + /** + * Output only. User-defined description of the custom column. + * @return value or {@code null} for none + */ + public java.lang.String getDescription() { + return description; + } + + /** + * Output only. User-defined description of the custom column. + * @param description description or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomColumn setDescription(java.lang.String description) { + this.description = description; + return this; + } + + /** + * Output only. ID of the custom column. + * @return value or {@code null} for none + */ + public java.lang.Long getId() { + return id; + } + + /** + * Output only. ID of the custom column. + * @param id id or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomColumn setId(java.lang.Long id) { + this.id = id; + return this; + } + + /** + * Output only. User-defined name of the custom column. + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * Output only. User-defined name of the custom column. + * @param name name or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomColumn setName(java.lang.String name) { + this.name = name; + return this; + } + + /** + * Output only. True when the custom column is available to be used in the query of + * SearchAds360Service.Search and SearchAds360Service.SearchStream. + * @return value or {@code null} for none + */ + public java.lang.Boolean getQueryable() { + return queryable; + } + + /** + * Output only. True when the custom column is available to be used in the query of + * SearchAds360Service.Search and SearchAds360Service.SearchStream. + * @param queryable queryable or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomColumn setQueryable(java.lang.Boolean queryable) { + this.queryable = queryable; + return this; + } + + /** + * Output only. The list of the referenced system columns of this custom column. For example, A + * custom column "sum of impressions and clicks" has referenced system columns of + * {"metrics.clicks", "metrics.impressions"}. + * @return value or {@code null} for none + */ + public java.util.List getReferencedSystemColumns() { + return referencedSystemColumns; + } + + /** + * Output only. The list of the referenced system columns of this custom column. For example, A + * custom column "sum of impressions and clicks" has referenced system columns of + * {"metrics.clicks", "metrics.impressions"}. + * @param referencedSystemColumns referencedSystemColumns or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomColumn setReferencedSystemColumns(java.util.List referencedSystemColumns) { + this.referencedSystemColumns = referencedSystemColumns; + return this; + } + + /** + * Output only. True when the custom column is referring to one or more attributes. + * @return value or {@code null} for none + */ + public java.lang.Boolean getReferencesAttributes() { + return referencesAttributes; + } + + /** + * Output only. True when the custom column is referring to one or more attributes. + * @param referencesAttributes referencesAttributes or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomColumn setReferencesAttributes(java.lang.Boolean referencesAttributes) { + this.referencesAttributes = referencesAttributes; + return this; + } + + /** + * Output only. True when the custom column is referring to one or more metrics. + * @return value or {@code null} for none + */ + public java.lang.Boolean getReferencesMetrics() { + return referencesMetrics; + } + + /** + * Output only. True when the custom column is referring to one or more metrics. + * @param referencesMetrics referencesMetrics or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomColumn setReferencesMetrics(java.lang.Boolean referencesMetrics) { + this.referencesMetrics = referencesMetrics; + return this; + } + + /** + * Output only. How the result value of the custom column should be interpreted. + * @return value or {@code null} for none + */ + public java.lang.String getRenderType() { + return renderType; + } + + /** + * Output only. How the result value of the custom column should be interpreted. + * @param renderType renderType or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomColumn setRenderType(java.lang.String renderType) { + this.renderType = renderType; + return this; + } + + /** + * Immutable. The resource name of the custom column. Custom column resource names have the form: + * `customers/{customer_id}/customColumns/{custom_column_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Immutable. The resource name of the custom column. Custom column resource names have the form: + * `customers/{customer_id}/customColumns/{custom_column_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomColumn setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Output only. The type of the result value of the custom column. + * @return value or {@code null} for none + */ + public java.lang.String getValueType() { + return valueType; + } + + /** + * Output only. The type of the result value of the custom column. + * @param valueType valueType or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomColumn setValueType(java.lang.String valueType) { + this.valueType = valueType; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesCustomColumn set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesCustomColumn) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesCustomColumn clone() { + return (GoogleAdsSearchads360V23ResourcesCustomColumn) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomConversionGoal.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomConversionGoal.java new file mode 100644 index 00000000000..34048a12b87 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomConversionGoal.java @@ -0,0 +1,166 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Custom conversion goal that can make arbitrary conversion actions biddable. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesCustomConversionGoal extends com.google.api.client.json.GenericJson { + + /** + * Conversion actions that the custom conversion goal makes biddable. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List conversionActions; + + /** + * Immutable. The ID for this custom conversion goal. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long id; + + /** + * The name for this custom conversion goal. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * Immutable. The resource name of the custom conversion goal. Custom conversion goal resource + * names have the form: `customers/{customer_id}/customConversionGoals/{goal_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * The status of the custom conversion goal. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String status; + + /** + * Conversion actions that the custom conversion goal makes biddable. + * @return value or {@code null} for none + */ + public java.util.List getConversionActions() { + return conversionActions; + } + + /** + * Conversion actions that the custom conversion goal makes biddable. + * @param conversionActions conversionActions or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomConversionGoal setConversionActions(java.util.List conversionActions) { + this.conversionActions = conversionActions; + return this; + } + + /** + * Immutable. The ID for this custom conversion goal. + * @return value or {@code null} for none + */ + public java.lang.Long getId() { + return id; + } + + /** + * Immutable. The ID for this custom conversion goal. + * @param id id or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomConversionGoal setId(java.lang.Long id) { + this.id = id; + return this; + } + + /** + * The name for this custom conversion goal. + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * The name for this custom conversion goal. + * @param name name or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomConversionGoal setName(java.lang.String name) { + this.name = name; + return this; + } + + /** + * Immutable. The resource name of the custom conversion goal. Custom conversion goal resource + * names have the form: `customers/{customer_id}/customConversionGoals/{goal_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Immutable. The resource name of the custom conversion goal. Custom conversion goal resource + * names have the form: `customers/{customer_id}/customConversionGoals/{goal_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomConversionGoal setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * The status of the custom conversion goal. + * @return value or {@code null} for none + */ + public java.lang.String getStatus() { + return status; + } + + /** + * The status of the custom conversion goal. + * @param status status or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomConversionGoal setStatus(java.lang.String status) { + this.status = status; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesCustomConversionGoal set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesCustomConversionGoal) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesCustomConversionGoal clone() { + return (GoogleAdsSearchads360V23ResourcesCustomConversionGoal) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomInterest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomInterest.java new file mode 100644 index 00000000000..786ac73cf47 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomInterest.java @@ -0,0 +1,226 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A custom interest. This is a list of users by interest. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesCustomInterest extends com.google.api.client.json.GenericJson { + + /** + * Description of this custom interest audience. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String description; + + /** + * Output only. Id of the custom interest. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long id; + + /** + * List of custom interest members that this custom interest is composed of. Members can be added + * during CustomInterest creation. If members are presented in UPDATE operation, existing members + * will be overridden. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List members; + + /** + * Name of the custom interest. It should be unique across the same custom affinity audience. This + * field is required for create operations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * Immutable. The resource name of the custom interest. Custom interest resource names have the + * form: `customers/{customer_id}/customInterests/{custom_interest_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Status of this custom interest. Indicates whether the custom interest is enabled or removed. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String status; + + /** + * Type of the custom interest, CUSTOM_AFFINITY or CUSTOM_INTENT. By default the type is set to + * CUSTOM_AFFINITY. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String type; + + /** + * Description of this custom interest audience. + * @return value or {@code null} for none + */ + public java.lang.String getDescription() { + return description; + } + + /** + * Description of this custom interest audience. + * @param description description or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomInterest setDescription(java.lang.String description) { + this.description = description; + return this; + } + + /** + * Output only. Id of the custom interest. + * @return value or {@code null} for none + */ + public java.lang.Long getId() { + return id; + } + + /** + * Output only. Id of the custom interest. + * @param id id or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomInterest setId(java.lang.Long id) { + this.id = id; + return this; + } + + /** + * List of custom interest members that this custom interest is composed of. Members can be added + * during CustomInterest creation. If members are presented in UPDATE operation, existing members + * will be overridden. + * @return value or {@code null} for none + */ + public java.util.List getMembers() { + return members; + } + + /** + * List of custom interest members that this custom interest is composed of. Members can be added + * during CustomInterest creation. If members are presented in UPDATE operation, existing members + * will be overridden. + * @param members members or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomInterest setMembers(java.util.List members) { + this.members = members; + return this; + } + + /** + * Name of the custom interest. It should be unique across the same custom affinity audience. This + * field is required for create operations. + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * Name of the custom interest. It should be unique across the same custom affinity audience. This + * field is required for create operations. + * @param name name or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomInterest setName(java.lang.String name) { + this.name = name; + return this; + } + + /** + * Immutable. The resource name of the custom interest. Custom interest resource names have the + * form: `customers/{customer_id}/customInterests/{custom_interest_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Immutable. The resource name of the custom interest. Custom interest resource names have the + * form: `customers/{customer_id}/customInterests/{custom_interest_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomInterest setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Status of this custom interest. Indicates whether the custom interest is enabled or removed. + * @return value or {@code null} for none + */ + public java.lang.String getStatus() { + return status; + } + + /** + * Status of this custom interest. Indicates whether the custom interest is enabled or removed. + * @param status status or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomInterest setStatus(java.lang.String status) { + this.status = status; + return this; + } + + /** + * Type of the custom interest, CUSTOM_AFFINITY or CUSTOM_INTENT. By default the type is set to + * CUSTOM_AFFINITY. + * @return value or {@code null} for none + */ + public java.lang.String getType() { + return type; + } + + /** + * Type of the custom interest, CUSTOM_AFFINITY or CUSTOM_INTENT. By default the type is set to + * CUSTOM_AFFINITY. + * @param type type or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomInterest setType(java.lang.String type) { + this.type = type; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesCustomInterest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesCustomInterest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesCustomInterest clone() { + return (GoogleAdsSearchads360V23ResourcesCustomInterest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomInterestMember.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomInterestMember.java new file mode 100644 index 00000000000..10b8425c9e1 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomInterestMember.java @@ -0,0 +1,92 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A member of custom interest audience. A member can be a keyword or url. It is immutable, that is, + * it can only be created or removed but not changed. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesCustomInterestMember extends com.google.api.client.json.GenericJson { + + /** + * The type of custom interest member, KEYWORD or URL. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String memberType; + + /** + * Keyword text when member_type is KEYWORD or URL string when member_type is URL. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String parameter; + + /** + * The type of custom interest member, KEYWORD or URL. + * @return value or {@code null} for none + */ + public java.lang.String getMemberType() { + return memberType; + } + + /** + * The type of custom interest member, KEYWORD or URL. + * @param memberType memberType or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomInterestMember setMemberType(java.lang.String memberType) { + this.memberType = memberType; + return this; + } + + /** + * Keyword text when member_type is KEYWORD or URL string when member_type is URL. + * @return value or {@code null} for none + */ + public java.lang.String getParameter() { + return parameter; + } + + /** + * Keyword text when member_type is KEYWORD or URL string when member_type is URL. + * @param parameter parameter or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomInterestMember setParameter(java.lang.String parameter) { + this.parameter = parameter; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesCustomInterestMember set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesCustomInterestMember) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesCustomInterestMember clone() { + return (GoogleAdsSearchads360V23ResourcesCustomInterestMember) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomLeadFormSubmissionField.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomLeadFormSubmissionField.java new file mode 100644 index 00000000000..cb20e647839 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomLeadFormSubmissionField.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Fields in the submitted custom question + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesCustomLeadFormSubmissionField extends com.google.api.client.json.GenericJson { + + /** + * Output only. Field value for custom question response, maximum number of characters is 70. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String fieldValue; + + /** + * Output only. Question text for custom question, maximum number of characters is 300. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String questionText; + + /** + * Output only. Field value for custom question response, maximum number of characters is 70. + * @return value or {@code null} for none + */ + public java.lang.String getFieldValue() { + return fieldValue; + } + + /** + * Output only. Field value for custom question response, maximum number of characters is 70. + * @param fieldValue fieldValue or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomLeadFormSubmissionField setFieldValue(java.lang.String fieldValue) { + this.fieldValue = fieldValue; + return this; + } + + /** + * Output only. Question text for custom question, maximum number of characters is 300. + * @return value or {@code null} for none + */ + public java.lang.String getQuestionText() { + return questionText; + } + + /** + * Output only. Question text for custom question, maximum number of characters is 300. + * @param questionText questionText or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomLeadFormSubmissionField setQuestionText(java.lang.String questionText) { + this.questionText = questionText; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesCustomLeadFormSubmissionField set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesCustomLeadFormSubmissionField) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesCustomLeadFormSubmissionField clone() { + return (GoogleAdsSearchads360V23ResourcesCustomLeadFormSubmissionField) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomer.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomer.java new file mode 100644 index 00000000000..af7cb6f94ae --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomer.java @@ -0,0 +1,1081 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A customer. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesCustomer extends com.google.api.client.json.GenericJson { + + /** + * Output only. The account level of the customer: Manager, Sub-manager, Associate manager, + * Service account. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String accountLevel; + + /** + * Output only. Account status, for example, Enabled, Paused, Removed, etc. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String accountStatus; + + /** + * Output only. Engine account type, for example, Google Ads, Microsoft Advertising, Yahoo Japan, + * Baidu, Facebook, Engine Track, etc. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String accountType; + + /** + * Output only. The descriptive name of the associate manager. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String associateManagerDescriptiveName; + + /** + * Output only. The customer ID of the associate manager. A 0 value indicates that the customer + * has no SA360 associate manager. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long associateManagerId; + + /** + * Whether auto-tagging is enabled for the customer. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean autoTaggingEnabled; + + /** + * Call reporting setting for a customer. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCallReportingSetting callReportingSetting; + + /** + * Output only. Returns the advertiser self-declaration status of whether this customer contains + * political advertising content targeted towards the European Union. You can use the Google Ads + * UI to update this account-level declaration, or use the API to update the self-declaration + * status of individual campaigns. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String containsEuPoliticalAdvertising; + + /** + * Conversion tracking setting for a customer. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesConversionTrackingSetting conversionTrackingSetting; + + /** + * Output only. The timestamp when this customer was created. The timestamp is in the customer's + * time zone and in "yyyy-MM-dd HH:mm:ss" format. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String creationTime; + + /** + * Immutable. The currency in which the account operates. A subset of the currency codes from the + * ISO 4217 standard is supported. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String currencyCode; + + /** + * Output only. Customer Agreement Setting for a customer. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCustomerAgreementSetting customerAgreementSetting; + + /** + * Optional, non-unique descriptive name of the customer. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String descriptiveName; + + /** + * Output only. DoubleClick Campaign Manager (DCM) setting for a manager customer. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesDoubleClickCampaignManagerSetting doubleClickCampaignManagerSetting; + + /** + * Output only. ID of the account in the external engine account. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String engineId; + + /** + * The URL template for appending params to the final URL. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String finalUrlSuffix; + + /** + * Output only. Whether the Customer has a Partners program badge. If the Customer is not + * associated with the Partners program, this will be false. For more information, see + * https://support.google.com/partners/answer/3125774. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean hasPartnersBadge; + + /** + * Output only. The ID of the customer. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long id; + + /** + * Output only. True if feed based image has been migrated to asset based image. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean imageAssetAutoMigrationDone; + + /** + * Output only. Timestamp of migration from feed based image to asset base image in yyyy-MM-dd + * HH:mm:ss format. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String imageAssetAutoMigrationDoneDateTime; + + /** + * Output only. The datetime when this customer was last modified. The datetime is in the + * customer's time zone and in "yyyy-MM-dd HH:mm:ss.ssssss" format. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String lastModifiedTime; + + /** + * Output only. Settings for Local Services customer. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesLocalServicesSettings localServicesSettings; + + /** + * Output only. True if feed based location has been migrated to asset based location. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean locationAssetAutoMigrationDone; + + /** + * Output only. Timestamp of migration from feed based location to asset base location in yyyy-MM- + * dd HH:mm:ss format. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String locationAssetAutoMigrationDoneDateTime; + + /** + * Output only. Whether the customer is a manager. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean manager; + + /** + * Output only. The descriptive name of the manager. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String managerDescriptiveName; + + /** + * Output only. The customer ID of the manager. A 0 value indicates that the customer has no SA360 + * manager. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long managerId; + + /** + * Output only. Optimization score of the customer. Optimization score is an estimate of how well + * a customer's campaigns are set to perform. It ranges from 0% (0.0) to 100% (1.0). This field is + * null for all manager customers, and for unscored non-manager customers. See "About optimization + * score" at https://support.google.com/google-ads/answer/9061546. This field is read-only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double optimizationScore; + + /** + * Output only. Optimization score weight of the customer. Optimization score weight can be used + * to compare/aggregate optimization scores across multiple non-manager customers. The aggregate + * optimization score of a manager is computed as the sum over all of their customers of + * `Customer.optimization_score * Customer.optimization_score_weight`. This field is 0 for all + * manager customers, and for unscored non-manager customers. This field is read-only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double optimizationScoreWeight; + + /** + * Output only. Reasons why the customer is not eligible to use PaymentMode.CONVERSIONS. If the + * list is empty, the customer is eligible. This field is read-only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List payPerConversionEligibilityFailureReasons; + + /** + * Output only. Remarketing setting for a customer. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesRemarketingSetting remarketingSetting; + + /** + * Immutable. The resource name of the customer. Customer resource names have the form: + * `customers/{customer_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. The status of the customer. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String status; + + /** + * Output only. The descriptive name of the sub manager. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String subManagerDescriptiveName; + + /** + * Output only. The customer ID of the sub manager. A 0 value indicates that the customer has no + * sub SA360 manager. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long subManagerId; + + /** + * Output only. Whether the customer is a test account. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean testAccount; + + /** + * Immutable. The local timezone ID of the customer. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String timeZone; + + /** + * The URL template for constructing a tracking URL out of parameters. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String trackingUrlTemplate; + + /** + * Brand Safety setting at the account level. Allows for selecting an inventory type to show your + * ads on content that is the right fit for your brand. See https://support.google.com/google- + * ads/answer/7515513. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String videoBrandSafetySuitability; + + /** + * Video specific information about a Customer. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesVideoCustomer videoCustomer; + + /** + * Output only. The account level of the customer: Manager, Sub-manager, Associate manager, + * Service account. + * @return value or {@code null} for none + */ + public java.lang.String getAccountLevel() { + return accountLevel; + } + + /** + * Output only. The account level of the customer: Manager, Sub-manager, Associate manager, + * Service account. + * @param accountLevel accountLevel or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomer setAccountLevel(java.lang.String accountLevel) { + this.accountLevel = accountLevel; + return this; + } + + /** + * Output only. Account status, for example, Enabled, Paused, Removed, etc. + * @return value or {@code null} for none + */ + public java.lang.String getAccountStatus() { + return accountStatus; + } + + /** + * Output only. Account status, for example, Enabled, Paused, Removed, etc. + * @param accountStatus accountStatus or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomer setAccountStatus(java.lang.String accountStatus) { + this.accountStatus = accountStatus; + return this; + } + + /** + * Output only. Engine account type, for example, Google Ads, Microsoft Advertising, Yahoo Japan, + * Baidu, Facebook, Engine Track, etc. + * @return value or {@code null} for none + */ + public java.lang.String getAccountType() { + return accountType; + } + + /** + * Output only. Engine account type, for example, Google Ads, Microsoft Advertising, Yahoo Japan, + * Baidu, Facebook, Engine Track, etc. + * @param accountType accountType or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomer setAccountType(java.lang.String accountType) { + this.accountType = accountType; + return this; + } + + /** + * Output only. The descriptive name of the associate manager. + * @return value or {@code null} for none + */ + public java.lang.String getAssociateManagerDescriptiveName() { + return associateManagerDescriptiveName; + } + + /** + * Output only. The descriptive name of the associate manager. + * @param associateManagerDescriptiveName associateManagerDescriptiveName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomer setAssociateManagerDescriptiveName(java.lang.String associateManagerDescriptiveName) { + this.associateManagerDescriptiveName = associateManagerDescriptiveName; + return this; + } + + /** + * Output only. The customer ID of the associate manager. A 0 value indicates that the customer + * has no SA360 associate manager. + * @return value or {@code null} for none + */ + public java.lang.Long getAssociateManagerId() { + return associateManagerId; + } + + /** + * Output only. The customer ID of the associate manager. A 0 value indicates that the customer + * has no SA360 associate manager. + * @param associateManagerId associateManagerId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomer setAssociateManagerId(java.lang.Long associateManagerId) { + this.associateManagerId = associateManagerId; + return this; + } + + /** + * Whether auto-tagging is enabled for the customer. + * @return value or {@code null} for none + */ + public java.lang.Boolean getAutoTaggingEnabled() { + return autoTaggingEnabled; + } + + /** + * Whether auto-tagging is enabled for the customer. + * @param autoTaggingEnabled autoTaggingEnabled or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomer setAutoTaggingEnabled(java.lang.Boolean autoTaggingEnabled) { + this.autoTaggingEnabled = autoTaggingEnabled; + return this; + } + + /** + * Call reporting setting for a customer. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCallReportingSetting getCallReportingSetting() { + return callReportingSetting; + } + + /** + * Call reporting setting for a customer. + * @param callReportingSetting callReportingSetting or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomer setCallReportingSetting(GoogleAdsSearchads360V23ResourcesCallReportingSetting callReportingSetting) { + this.callReportingSetting = callReportingSetting; + return this; + } + + /** + * Output only. Returns the advertiser self-declaration status of whether this customer contains + * political advertising content targeted towards the European Union. You can use the Google Ads + * UI to update this account-level declaration, or use the API to update the self-declaration + * status of individual campaigns. + * @return value or {@code null} for none + */ + public java.lang.String getContainsEuPoliticalAdvertising() { + return containsEuPoliticalAdvertising; + } + + /** + * Output only. Returns the advertiser self-declaration status of whether this customer contains + * political advertising content targeted towards the European Union. You can use the Google Ads + * UI to update this account-level declaration, or use the API to update the self-declaration + * status of individual campaigns. + * @param containsEuPoliticalAdvertising containsEuPoliticalAdvertising or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomer setContainsEuPoliticalAdvertising(java.lang.String containsEuPoliticalAdvertising) { + this.containsEuPoliticalAdvertising = containsEuPoliticalAdvertising; + return this; + } + + /** + * Conversion tracking setting for a customer. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionTrackingSetting getConversionTrackingSetting() { + return conversionTrackingSetting; + } + + /** + * Conversion tracking setting for a customer. + * @param conversionTrackingSetting conversionTrackingSetting or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomer setConversionTrackingSetting(GoogleAdsSearchads360V23ResourcesConversionTrackingSetting conversionTrackingSetting) { + this.conversionTrackingSetting = conversionTrackingSetting; + return this; + } + + /** + * Output only. The timestamp when this customer was created. The timestamp is in the customer's + * time zone and in "yyyy-MM-dd HH:mm:ss" format. + * @return value or {@code null} for none + */ + public java.lang.String getCreationTime() { + return creationTime; + } + + /** + * Output only. The timestamp when this customer was created. The timestamp is in the customer's + * time zone and in "yyyy-MM-dd HH:mm:ss" format. + * @param creationTime creationTime or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomer setCreationTime(java.lang.String creationTime) { + this.creationTime = creationTime; + return this; + } + + /** + * Immutable. The currency in which the account operates. A subset of the currency codes from the + * ISO 4217 standard is supported. + * @return value or {@code null} for none + */ + public java.lang.String getCurrencyCode() { + return currencyCode; + } + + /** + * Immutable. The currency in which the account operates. A subset of the currency codes from the + * ISO 4217 standard is supported. + * @param currencyCode currencyCode or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomer setCurrencyCode(java.lang.String currencyCode) { + this.currencyCode = currencyCode; + return this; + } + + /** + * Output only. Customer Agreement Setting for a customer. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerAgreementSetting getCustomerAgreementSetting() { + return customerAgreementSetting; + } + + /** + * Output only. Customer Agreement Setting for a customer. + * @param customerAgreementSetting customerAgreementSetting or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomer setCustomerAgreementSetting(GoogleAdsSearchads360V23ResourcesCustomerAgreementSetting customerAgreementSetting) { + this.customerAgreementSetting = customerAgreementSetting; + return this; + } + + /** + * Optional, non-unique descriptive name of the customer. + * @return value or {@code null} for none + */ + public java.lang.String getDescriptiveName() { + return descriptiveName; + } + + /** + * Optional, non-unique descriptive name of the customer. + * @param descriptiveName descriptiveName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomer setDescriptiveName(java.lang.String descriptiveName) { + this.descriptiveName = descriptiveName; + return this; + } + + /** + * Output only. DoubleClick Campaign Manager (DCM) setting for a manager customer. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesDoubleClickCampaignManagerSetting getDoubleClickCampaignManagerSetting() { + return doubleClickCampaignManagerSetting; + } + + /** + * Output only. DoubleClick Campaign Manager (DCM) setting for a manager customer. + * @param doubleClickCampaignManagerSetting doubleClickCampaignManagerSetting or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomer setDoubleClickCampaignManagerSetting(GoogleAdsSearchads360V23ResourcesDoubleClickCampaignManagerSetting doubleClickCampaignManagerSetting) { + this.doubleClickCampaignManagerSetting = doubleClickCampaignManagerSetting; + return this; + } + + /** + * Output only. ID of the account in the external engine account. + * @return value or {@code null} for none + */ + public java.lang.String getEngineId() { + return engineId; + } + + /** + * Output only. ID of the account in the external engine account. + * @param engineId engineId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomer setEngineId(java.lang.String engineId) { + this.engineId = engineId; + return this; + } + + /** + * The URL template for appending params to the final URL. + * @return value or {@code null} for none + */ + public java.lang.String getFinalUrlSuffix() { + return finalUrlSuffix; + } + + /** + * The URL template for appending params to the final URL. + * @param finalUrlSuffix finalUrlSuffix or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomer setFinalUrlSuffix(java.lang.String finalUrlSuffix) { + this.finalUrlSuffix = finalUrlSuffix; + return this; + } + + /** + * Output only. Whether the Customer has a Partners program badge. If the Customer is not + * associated with the Partners program, this will be false. For more information, see + * https://support.google.com/partners/answer/3125774. + * @return value or {@code null} for none + */ + public java.lang.Boolean getHasPartnersBadge() { + return hasPartnersBadge; + } + + /** + * Output only. Whether the Customer has a Partners program badge. If the Customer is not + * associated with the Partners program, this will be false. For more information, see + * https://support.google.com/partners/answer/3125774. + * @param hasPartnersBadge hasPartnersBadge or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomer setHasPartnersBadge(java.lang.Boolean hasPartnersBadge) { + this.hasPartnersBadge = hasPartnersBadge; + return this; + } + + /** + * Output only. The ID of the customer. + * @return value or {@code null} for none + */ + public java.lang.Long getId() { + return id; + } + + /** + * Output only. The ID of the customer. + * @param id id or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomer setId(java.lang.Long id) { + this.id = id; + return this; + } + + /** + * Output only. True if feed based image has been migrated to asset based image. + * @return value or {@code null} for none + */ + public java.lang.Boolean getImageAssetAutoMigrationDone() { + return imageAssetAutoMigrationDone; + } + + /** + * Output only. True if feed based image has been migrated to asset based image. + * @param imageAssetAutoMigrationDone imageAssetAutoMigrationDone or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomer setImageAssetAutoMigrationDone(java.lang.Boolean imageAssetAutoMigrationDone) { + this.imageAssetAutoMigrationDone = imageAssetAutoMigrationDone; + return this; + } + + /** + * Output only. Timestamp of migration from feed based image to asset base image in yyyy-MM-dd + * HH:mm:ss format. + * @return value or {@code null} for none + */ + public java.lang.String getImageAssetAutoMigrationDoneDateTime() { + return imageAssetAutoMigrationDoneDateTime; + } + + /** + * Output only. Timestamp of migration from feed based image to asset base image in yyyy-MM-dd + * HH:mm:ss format. + * @param imageAssetAutoMigrationDoneDateTime imageAssetAutoMigrationDoneDateTime or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomer setImageAssetAutoMigrationDoneDateTime(java.lang.String imageAssetAutoMigrationDoneDateTime) { + this.imageAssetAutoMigrationDoneDateTime = imageAssetAutoMigrationDoneDateTime; + return this; + } + + /** + * Output only. The datetime when this customer was last modified. The datetime is in the + * customer's time zone and in "yyyy-MM-dd HH:mm:ss.ssssss" format. + * @return value or {@code null} for none + */ + public java.lang.String getLastModifiedTime() { + return lastModifiedTime; + } + + /** + * Output only. The datetime when this customer was last modified. The datetime is in the + * customer's time zone and in "yyyy-MM-dd HH:mm:ss.ssssss" format. + * @param lastModifiedTime lastModifiedTime or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomer setLastModifiedTime(java.lang.String lastModifiedTime) { + this.lastModifiedTime = lastModifiedTime; + return this; + } + + /** + * Output only. Settings for Local Services customer. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLocalServicesSettings getLocalServicesSettings() { + return localServicesSettings; + } + + /** + * Output only. Settings for Local Services customer. + * @param localServicesSettings localServicesSettings or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomer setLocalServicesSettings(GoogleAdsSearchads360V23ResourcesLocalServicesSettings localServicesSettings) { + this.localServicesSettings = localServicesSettings; + return this; + } + + /** + * Output only. True if feed based location has been migrated to asset based location. + * @return value or {@code null} for none + */ + public java.lang.Boolean getLocationAssetAutoMigrationDone() { + return locationAssetAutoMigrationDone; + } + + /** + * Output only. True if feed based location has been migrated to asset based location. + * @param locationAssetAutoMigrationDone locationAssetAutoMigrationDone or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomer setLocationAssetAutoMigrationDone(java.lang.Boolean locationAssetAutoMigrationDone) { + this.locationAssetAutoMigrationDone = locationAssetAutoMigrationDone; + return this; + } + + /** + * Output only. Timestamp of migration from feed based location to asset base location in yyyy-MM- + * dd HH:mm:ss format. + * @return value or {@code null} for none + */ + public java.lang.String getLocationAssetAutoMigrationDoneDateTime() { + return locationAssetAutoMigrationDoneDateTime; + } + + /** + * Output only. Timestamp of migration from feed based location to asset base location in yyyy-MM- + * dd HH:mm:ss format. + * @param locationAssetAutoMigrationDoneDateTime locationAssetAutoMigrationDoneDateTime or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomer setLocationAssetAutoMigrationDoneDateTime(java.lang.String locationAssetAutoMigrationDoneDateTime) { + this.locationAssetAutoMigrationDoneDateTime = locationAssetAutoMigrationDoneDateTime; + return this; + } + + /** + * Output only. Whether the customer is a manager. + * @return value or {@code null} for none + */ + public java.lang.Boolean getManager() { + return manager; + } + + /** + * Output only. Whether the customer is a manager. + * @param manager manager or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomer setManager(java.lang.Boolean manager) { + this.manager = manager; + return this; + } + + /** + * Output only. The descriptive name of the manager. + * @return value or {@code null} for none + */ + public java.lang.String getManagerDescriptiveName() { + return managerDescriptiveName; + } + + /** + * Output only. The descriptive name of the manager. + * @param managerDescriptiveName managerDescriptiveName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomer setManagerDescriptiveName(java.lang.String managerDescriptiveName) { + this.managerDescriptiveName = managerDescriptiveName; + return this; + } + + /** + * Output only. The customer ID of the manager. A 0 value indicates that the customer has no SA360 + * manager. + * @return value or {@code null} for none + */ + public java.lang.Long getManagerId() { + return managerId; + } + + /** + * Output only. The customer ID of the manager. A 0 value indicates that the customer has no SA360 + * manager. + * @param managerId managerId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomer setManagerId(java.lang.Long managerId) { + this.managerId = managerId; + return this; + } + + /** + * Output only. Optimization score of the customer. Optimization score is an estimate of how well + * a customer's campaigns are set to perform. It ranges from 0% (0.0) to 100% (1.0). This field is + * null for all manager customers, and for unscored non-manager customers. See "About optimization + * score" at https://support.google.com/google-ads/answer/9061546. This field is read-only. + * @return value or {@code null} for none + */ + public java.lang.Double getOptimizationScore() { + return optimizationScore; + } + + /** + * Output only. Optimization score of the customer. Optimization score is an estimate of how well + * a customer's campaigns are set to perform. It ranges from 0% (0.0) to 100% (1.0). This field is + * null for all manager customers, and for unscored non-manager customers. See "About optimization + * score" at https://support.google.com/google-ads/answer/9061546. This field is read-only. + * @param optimizationScore optimizationScore or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomer setOptimizationScore(java.lang.Double optimizationScore) { + this.optimizationScore = optimizationScore; + return this; + } + + /** + * Output only. Optimization score weight of the customer. Optimization score weight can be used + * to compare/aggregate optimization scores across multiple non-manager customers. The aggregate + * optimization score of a manager is computed as the sum over all of their customers of + * `Customer.optimization_score * Customer.optimization_score_weight`. This field is 0 for all + * manager customers, and for unscored non-manager customers. This field is read-only. + * @return value or {@code null} for none + */ + public java.lang.Double getOptimizationScoreWeight() { + return optimizationScoreWeight; + } + + /** + * Output only. Optimization score weight of the customer. Optimization score weight can be used + * to compare/aggregate optimization scores across multiple non-manager customers. The aggregate + * optimization score of a manager is computed as the sum over all of their customers of + * `Customer.optimization_score * Customer.optimization_score_weight`. This field is 0 for all + * manager customers, and for unscored non-manager customers. This field is read-only. + * @param optimizationScoreWeight optimizationScoreWeight or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomer setOptimizationScoreWeight(java.lang.Double optimizationScoreWeight) { + this.optimizationScoreWeight = optimizationScoreWeight; + return this; + } + + /** + * Output only. Reasons why the customer is not eligible to use PaymentMode.CONVERSIONS. If the + * list is empty, the customer is eligible. This field is read-only. + * @return value or {@code null} for none + */ + public java.util.List getPayPerConversionEligibilityFailureReasons() { + return payPerConversionEligibilityFailureReasons; + } + + /** + * Output only. Reasons why the customer is not eligible to use PaymentMode.CONVERSIONS. If the + * list is empty, the customer is eligible. This field is read-only. + * @param payPerConversionEligibilityFailureReasons payPerConversionEligibilityFailureReasons or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomer setPayPerConversionEligibilityFailureReasons(java.util.List payPerConversionEligibilityFailureReasons) { + this.payPerConversionEligibilityFailureReasons = payPerConversionEligibilityFailureReasons; + return this; + } + + /** + * Output only. Remarketing setting for a customer. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRemarketingSetting getRemarketingSetting() { + return remarketingSetting; + } + + /** + * Output only. Remarketing setting for a customer. + * @param remarketingSetting remarketingSetting or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomer setRemarketingSetting(GoogleAdsSearchads360V23ResourcesRemarketingSetting remarketingSetting) { + this.remarketingSetting = remarketingSetting; + return this; + } + + /** + * Immutable. The resource name of the customer. Customer resource names have the form: + * `customers/{customer_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Immutable. The resource name of the customer. Customer resource names have the form: + * `customers/{customer_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomer setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Output only. The status of the customer. + * @return value or {@code null} for none + */ + public java.lang.String getStatus() { + return status; + } + + /** + * Output only. The status of the customer. + * @param status status or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomer setStatus(java.lang.String status) { + this.status = status; + return this; + } + + /** + * Output only. The descriptive name of the sub manager. + * @return value or {@code null} for none + */ + public java.lang.String getSubManagerDescriptiveName() { + return subManagerDescriptiveName; + } + + /** + * Output only. The descriptive name of the sub manager. + * @param subManagerDescriptiveName subManagerDescriptiveName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomer setSubManagerDescriptiveName(java.lang.String subManagerDescriptiveName) { + this.subManagerDescriptiveName = subManagerDescriptiveName; + return this; + } + + /** + * Output only. The customer ID of the sub manager. A 0 value indicates that the customer has no + * sub SA360 manager. + * @return value or {@code null} for none + */ + public java.lang.Long getSubManagerId() { + return subManagerId; + } + + /** + * Output only. The customer ID of the sub manager. A 0 value indicates that the customer has no + * sub SA360 manager. + * @param subManagerId subManagerId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomer setSubManagerId(java.lang.Long subManagerId) { + this.subManagerId = subManagerId; + return this; + } + + /** + * Output only. Whether the customer is a test account. + * @return value or {@code null} for none + */ + public java.lang.Boolean getTestAccount() { + return testAccount; + } + + /** + * Output only. Whether the customer is a test account. + * @param testAccount testAccount or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomer setTestAccount(java.lang.Boolean testAccount) { + this.testAccount = testAccount; + return this; + } + + /** + * Immutable. The local timezone ID of the customer. + * @return value or {@code null} for none + */ + public java.lang.String getTimeZone() { + return timeZone; + } + + /** + * Immutable. The local timezone ID of the customer. + * @param timeZone timeZone or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomer setTimeZone(java.lang.String timeZone) { + this.timeZone = timeZone; + return this; + } + + /** + * The URL template for constructing a tracking URL out of parameters. + * @return value or {@code null} for none + */ + public java.lang.String getTrackingUrlTemplate() { + return trackingUrlTemplate; + } + + /** + * The URL template for constructing a tracking URL out of parameters. + * @param trackingUrlTemplate trackingUrlTemplate or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomer setTrackingUrlTemplate(java.lang.String trackingUrlTemplate) { + this.trackingUrlTemplate = trackingUrlTemplate; + return this; + } + + /** + * Brand Safety setting at the account level. Allows for selecting an inventory type to show your + * ads on content that is the right fit for your brand. See https://support.google.com/google- + * ads/answer/7515513. + * @return value or {@code null} for none + */ + public java.lang.String getVideoBrandSafetySuitability() { + return videoBrandSafetySuitability; + } + + /** + * Brand Safety setting at the account level. Allows for selecting an inventory type to show your + * ads on content that is the right fit for your brand. See https://support.google.com/google- + * ads/answer/7515513. + * @param videoBrandSafetySuitability videoBrandSafetySuitability or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomer setVideoBrandSafetySuitability(java.lang.String videoBrandSafetySuitability) { + this.videoBrandSafetySuitability = videoBrandSafetySuitability; + return this; + } + + /** + * Video specific information about a Customer. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesVideoCustomer getVideoCustomer() { + return videoCustomer; + } + + /** + * Video specific information about a Customer. + * @param videoCustomer videoCustomer or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomer setVideoCustomer(GoogleAdsSearchads360V23ResourcesVideoCustomer videoCustomer) { + this.videoCustomer = videoCustomer; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesCustomer set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesCustomer) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesCustomer clone() { + return (GoogleAdsSearchads360V23ResourcesCustomer) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerAcquisitionGoalSettings.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerAcquisitionGoalSettings.java new file mode 100644 index 00000000000..437faea5409 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerAcquisitionGoalSettings.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The customer acquisition goal settings for the campaign. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesCustomerAcquisitionGoalSettings extends com.google.api.client.json.GenericJson { + + /** + * Output only. Customer acquisition optimization mode of this campaign. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String optimizationMode; + + /** + * Output only. Campaign specific values for the customer acquisition goal. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonLifecycleGoalValueSettings valueSettings; + + /** + * Output only. Customer acquisition optimization mode of this campaign. + * @return value or {@code null} for none + */ + public java.lang.String getOptimizationMode() { + return optimizationMode; + } + + /** + * Output only. Customer acquisition optimization mode of this campaign. + * @param optimizationMode optimizationMode or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerAcquisitionGoalSettings setOptimizationMode(java.lang.String optimizationMode) { + this.optimizationMode = optimizationMode; + return this; + } + + /** + * Output only. Campaign specific values for the customer acquisition goal. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLifecycleGoalValueSettings getValueSettings() { + return valueSettings; + } + + /** + * Output only. Campaign specific values for the customer acquisition goal. + * @param valueSettings valueSettings or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerAcquisitionGoalSettings setValueSettings(GoogleAdsSearchads360V23CommonLifecycleGoalValueSettings valueSettings) { + this.valueSettings = valueSettings; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesCustomerAcquisitionGoalSettings set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesCustomerAcquisitionGoalSettings) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesCustomerAcquisitionGoalSettings clone() { + return (GoogleAdsSearchads360V23ResourcesCustomerAcquisitionGoalSettings) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerAgreementSetting.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerAgreementSetting.java new file mode 100644 index 00000000000..247a1286446 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerAgreementSetting.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Customer Agreement Setting for a customer. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesCustomerAgreementSetting extends com.google.api.client.json.GenericJson { + + /** + * Output only. Whether the customer has accepted lead form term of service. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean acceptedLeadFormTerms; + + /** + * Output only. Whether the customer has accepted lead form term of service. + * @return value or {@code null} for none + */ + public java.lang.Boolean getAcceptedLeadFormTerms() { + return acceptedLeadFormTerms; + } + + /** + * Output only. Whether the customer has accepted lead form term of service. + * @param acceptedLeadFormTerms acceptedLeadFormTerms or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerAgreementSetting setAcceptedLeadFormTerms(java.lang.Boolean acceptedLeadFormTerms) { + this.acceptedLeadFormTerms = acceptedLeadFormTerms; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesCustomerAgreementSetting set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesCustomerAgreementSetting) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesCustomerAgreementSetting clone() { + return (GoogleAdsSearchads360V23ResourcesCustomerAgreementSetting) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerAsset.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerAsset.java new file mode 100644 index 00000000000..7bdf686a384 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerAsset.java @@ -0,0 +1,259 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A link between a customer and an asset. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesCustomerAsset extends com.google.api.client.json.GenericJson { + + /** + * Required. Immutable. The asset which is linked to the customer. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String asset; + + /** + * Required. Immutable. Role that the asset takes for the customer link. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String fieldType; + + /** + * Output only. Provides the PrimaryStatus of this asset link. Primary status is meant essentially + * to differentiate between the plain "status" field, which has advertiser set values of enabled, + * paused, or removed. The primary status takes into account other signals (for assets its mainly + * policy and quality approvals) to come up with a more comprehensive status to indicate its + * serving state. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String primaryStatus; + + /** + * Output only. Provides the details of the primary status and its associated reasons. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List primaryStatusDetails; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonAssetLinkPrimaryStatusDetails used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonAssetLinkPrimaryStatusDetails.class); + } + + /** + * Output only. Provides a list of reasons for why an asset is not serving or not serving at full + * capacity. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List primaryStatusReasons; + + /** + * Immutable. The resource name of the customer asset. CustomerAsset resource names have the form: + * `customers/{customer_id}/customerAssets/{asset_id}~{field_type}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. Source of the customer asset link. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String source; + + /** + * Status of the customer asset. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String status; + + /** + * Required. Immutable. The asset which is linked to the customer. + * @return value or {@code null} for none + */ + public java.lang.String getAsset() { + return asset; + } + + /** + * Required. Immutable. The asset which is linked to the customer. + * @param asset asset or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerAsset setAsset(java.lang.String asset) { + this.asset = asset; + return this; + } + + /** + * Required. Immutable. Role that the asset takes for the customer link. + * @return value or {@code null} for none + */ + public java.lang.String getFieldType() { + return fieldType; + } + + /** + * Required. Immutable. Role that the asset takes for the customer link. + * @param fieldType fieldType or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerAsset setFieldType(java.lang.String fieldType) { + this.fieldType = fieldType; + return this; + } + + /** + * Output only. Provides the PrimaryStatus of this asset link. Primary status is meant essentially + * to differentiate between the plain "status" field, which has advertiser set values of enabled, + * paused, or removed. The primary status takes into account other signals (for assets its mainly + * policy and quality approvals) to come up with a more comprehensive status to indicate its + * serving state. + * @return value or {@code null} for none + */ + public java.lang.String getPrimaryStatus() { + return primaryStatus; + } + + /** + * Output only. Provides the PrimaryStatus of this asset link. Primary status is meant essentially + * to differentiate between the plain "status" field, which has advertiser set values of enabled, + * paused, or removed. The primary status takes into account other signals (for assets its mainly + * policy and quality approvals) to come up with a more comprehensive status to indicate its + * serving state. + * @param primaryStatus primaryStatus or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerAsset setPrimaryStatus(java.lang.String primaryStatus) { + this.primaryStatus = primaryStatus; + return this; + } + + /** + * Output only. Provides the details of the primary status and its associated reasons. + * @return value or {@code null} for none + */ + public java.util.List getPrimaryStatusDetails() { + return primaryStatusDetails; + } + + /** + * Output only. Provides the details of the primary status and its associated reasons. + * @param primaryStatusDetails primaryStatusDetails or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerAsset setPrimaryStatusDetails(java.util.List primaryStatusDetails) { + this.primaryStatusDetails = primaryStatusDetails; + return this; + } + + /** + * Output only. Provides a list of reasons for why an asset is not serving or not serving at full + * capacity. + * @return value or {@code null} for none + */ + public java.util.List getPrimaryStatusReasons() { + return primaryStatusReasons; + } + + /** + * Output only. Provides a list of reasons for why an asset is not serving or not serving at full + * capacity. + * @param primaryStatusReasons primaryStatusReasons or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerAsset setPrimaryStatusReasons(java.util.List primaryStatusReasons) { + this.primaryStatusReasons = primaryStatusReasons; + return this; + } + + /** + * Immutable. The resource name of the customer asset. CustomerAsset resource names have the form: + * `customers/{customer_id}/customerAssets/{asset_id}~{field_type}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Immutable. The resource name of the customer asset. CustomerAsset resource names have the form: + * `customers/{customer_id}/customerAssets/{asset_id}~{field_type}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerAsset setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Output only. Source of the customer asset link. + * @return value or {@code null} for none + */ + public java.lang.String getSource() { + return source; + } + + /** + * Output only. Source of the customer asset link. + * @param source source or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerAsset setSource(java.lang.String source) { + this.source = source; + return this; + } + + /** + * Status of the customer asset. + * @return value or {@code null} for none + */ + public java.lang.String getStatus() { + return status; + } + + /** + * Status of the customer asset. + * @param status status or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerAsset setStatus(java.lang.String status) { + this.status = status; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesCustomerAsset set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesCustomerAsset) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesCustomerAsset clone() { + return (GoogleAdsSearchads360V23ResourcesCustomerAsset) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerAssetSet.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerAssetSet.java new file mode 100644 index 00000000000..5f618c82d27 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerAssetSet.java @@ -0,0 +1,143 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * CustomerAssetSet is the linkage between a customer and an asset set. Adding a CustomerAssetSet + * links an asset set with a customer. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesCustomerAssetSet extends com.google.api.client.json.GenericJson { + + /** + * Immutable. The asset set which is linked to the customer. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String assetSet; + + /** + * Immutable. The customer to which this asset set is linked. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String customer; + + /** + * Immutable. The resource name of the customer asset set. Asset set asset resource names have the + * form: `customers/{customer_id}/customerAssetSets/{asset_set_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. The status of the customer asset set asset. Read-only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String status; + + /** + * Immutable. The asset set which is linked to the customer. + * @return value or {@code null} for none + */ + public java.lang.String getAssetSet() { + return assetSet; + } + + /** + * Immutable. The asset set which is linked to the customer. + * @param assetSet assetSet or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerAssetSet setAssetSet(java.lang.String assetSet) { + this.assetSet = assetSet; + return this; + } + + /** + * Immutable. The customer to which this asset set is linked. + * @return value or {@code null} for none + */ + public java.lang.String getCustomer() { + return customer; + } + + /** + * Immutable. The customer to which this asset set is linked. + * @param customer customer or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerAssetSet setCustomer(java.lang.String customer) { + this.customer = customer; + return this; + } + + /** + * Immutable. The resource name of the customer asset set. Asset set asset resource names have the + * form: `customers/{customer_id}/customerAssetSets/{asset_set_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Immutable. The resource name of the customer asset set. Asset set asset resource names have the + * form: `customers/{customer_id}/customerAssetSets/{asset_set_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerAssetSet setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Output only. The status of the customer asset set asset. Read-only. + * @return value or {@code null} for none + */ + public java.lang.String getStatus() { + return status; + } + + /** + * Output only. The status of the customer asset set asset. Read-only. + * @param status status or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerAssetSet setStatus(java.lang.String status) { + this.status = status; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesCustomerAssetSet set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesCustomerAssetSet) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesCustomerAssetSet clone() { + return (GoogleAdsSearchads360V23ResourcesCustomerAssetSet) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerClient.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerClient.java new file mode 100644 index 00000000000..ff5e67cf0e2 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerClient.java @@ -0,0 +1,350 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A link between the given customer and a client customer. CustomerClients only exist for manager + * customers. All direct and indirect client customers are included, as well as the manager itself. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesCustomerClient extends com.google.api.client.json.GenericJson { + + /** + * Output only. The resource names of the labels owned by the requesting customer that are applied + * to the client customer. Label resource names have the form: + * `customers/{customer_id}/labels/{label_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List appliedLabels; + + /** + * Output only. The resource name of the client-customer which is linked to the given customer. + * Read only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String clientCustomer; + + /** + * Output only. Currency code (for example, 'USD', 'EUR') for the client. Read only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String currencyCode; + + /** + * Output only. Descriptive name for the client. Read only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String descriptiveName; + + /** + * Output only. Specifies whether this is a hidden account. Read only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean hidden; + + /** + * Output only. The ID of the client customer. Read only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long id; + + /** + * Output only. Distance between given customer and client. For self link, the level value will be + * 0. Read only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long level; + + /** + * Output only. Identifies if the client is a manager. Read only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean manager; + + /** + * Output only. The resource name of the customer client. CustomerClient resource names have the + * form: `customers/{customer_id}/customerClients/{client_customer_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. The status of the client customer. Read only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String status; + + /** + * Output only. Identifies if the client is a test account. Read only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean testAccount; + + /** + * Output only. Common Locale Data Repository (CLDR) string representation of the time zone of the + * client, for example, America/Los_Angeles. Read only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String timeZone; + + /** + * Output only. The resource names of the labels owned by the requesting customer that are applied + * to the client customer. Label resource names have the form: + * `customers/{customer_id}/labels/{label_id}` + * @return value or {@code null} for none + */ + public java.util.List getAppliedLabels() { + return appliedLabels; + } + + /** + * Output only. The resource names of the labels owned by the requesting customer that are applied + * to the client customer. Label resource names have the form: + * `customers/{customer_id}/labels/{label_id}` + * @param appliedLabels appliedLabels or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerClient setAppliedLabels(java.util.List appliedLabels) { + this.appliedLabels = appliedLabels; + return this; + } + + /** + * Output only. The resource name of the client-customer which is linked to the given customer. + * Read only. + * @return value or {@code null} for none + */ + public java.lang.String getClientCustomer() { + return clientCustomer; + } + + /** + * Output only. The resource name of the client-customer which is linked to the given customer. + * Read only. + * @param clientCustomer clientCustomer or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerClient setClientCustomer(java.lang.String clientCustomer) { + this.clientCustomer = clientCustomer; + return this; + } + + /** + * Output only. Currency code (for example, 'USD', 'EUR') for the client. Read only. + * @return value or {@code null} for none + */ + public java.lang.String getCurrencyCode() { + return currencyCode; + } + + /** + * Output only. Currency code (for example, 'USD', 'EUR') for the client. Read only. + * @param currencyCode currencyCode or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerClient setCurrencyCode(java.lang.String currencyCode) { + this.currencyCode = currencyCode; + return this; + } + + /** + * Output only. Descriptive name for the client. Read only. + * @return value or {@code null} for none + */ + public java.lang.String getDescriptiveName() { + return descriptiveName; + } + + /** + * Output only. Descriptive name for the client. Read only. + * @param descriptiveName descriptiveName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerClient setDescriptiveName(java.lang.String descriptiveName) { + this.descriptiveName = descriptiveName; + return this; + } + + /** + * Output only. Specifies whether this is a hidden account. Read only. + * @return value or {@code null} for none + */ + public java.lang.Boolean getHidden() { + return hidden; + } + + /** + * Output only. Specifies whether this is a hidden account. Read only. + * @param hidden hidden or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerClient setHidden(java.lang.Boolean hidden) { + this.hidden = hidden; + return this; + } + + /** + * Output only. The ID of the client customer. Read only. + * @return value or {@code null} for none + */ + public java.lang.Long getId() { + return id; + } + + /** + * Output only. The ID of the client customer. Read only. + * @param id id or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerClient setId(java.lang.Long id) { + this.id = id; + return this; + } + + /** + * Output only. Distance between given customer and client. For self link, the level value will be + * 0. Read only. + * @return value or {@code null} for none + */ + public java.lang.Long getLevel() { + return level; + } + + /** + * Output only. Distance between given customer and client. For self link, the level value will be + * 0. Read only. + * @param level level or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerClient setLevel(java.lang.Long level) { + this.level = level; + return this; + } + + /** + * Output only. Identifies if the client is a manager. Read only. + * @return value or {@code null} for none + */ + public java.lang.Boolean getManager() { + return manager; + } + + /** + * Output only. Identifies if the client is a manager. Read only. + * @param manager manager or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerClient setManager(java.lang.Boolean manager) { + this.manager = manager; + return this; + } + + /** + * Output only. The resource name of the customer client. CustomerClient resource names have the + * form: `customers/{customer_id}/customerClients/{client_customer_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Output only. The resource name of the customer client. CustomerClient resource names have the + * form: `customers/{customer_id}/customerClients/{client_customer_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerClient setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Output only. The status of the client customer. Read only. + * @return value or {@code null} for none + */ + public java.lang.String getStatus() { + return status; + } + + /** + * Output only. The status of the client customer. Read only. + * @param status status or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerClient setStatus(java.lang.String status) { + this.status = status; + return this; + } + + /** + * Output only. Identifies if the client is a test account. Read only. + * @return value or {@code null} for none + */ + public java.lang.Boolean getTestAccount() { + return testAccount; + } + + /** + * Output only. Identifies if the client is a test account. Read only. + * @param testAccount testAccount or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerClient setTestAccount(java.lang.Boolean testAccount) { + this.testAccount = testAccount; + return this; + } + + /** + * Output only. Common Locale Data Repository (CLDR) string representation of the time zone of the + * client, for example, America/Los_Angeles. Read only. + * @return value or {@code null} for none + */ + public java.lang.String getTimeZone() { + return timeZone; + } + + /** + * Output only. Common Locale Data Repository (CLDR) string representation of the time zone of the + * client, for example, America/Los_Angeles. Read only. + * @param timeZone timeZone or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerClient setTimeZone(java.lang.String timeZone) { + this.timeZone = timeZone; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesCustomerClient set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesCustomerClient) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesCustomerClient clone() { + return (GoogleAdsSearchads360V23ResourcesCustomerClient) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerClientLink.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerClientLink.java new file mode 100644 index 00000000000..cb0da86be84 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerClientLink.java @@ -0,0 +1,169 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Represents customer client link relationship. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesCustomerClientLink extends com.google.api.client.json.GenericJson { + + /** + * Immutable. The client customer linked to this customer. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String clientCustomer; + + /** + * The visibility of the link. Users can choose whether or not to see hidden links in the Google + * Ads UI. Default value is false + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean hidden; + + /** + * Output only. This is uniquely identifies a customer client link. Read only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long managerLinkId; + + /** + * Immutable. Name of the resource. CustomerClientLink resource names have the form: + * `customers/{customer_id}/customerClientLinks/{client_customer_id}~{manager_link_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * This is the status of the link between client and manager. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String status; + + /** + * Immutable. The client customer linked to this customer. + * @return value or {@code null} for none + */ + public java.lang.String getClientCustomer() { + return clientCustomer; + } + + /** + * Immutable. The client customer linked to this customer. + * @param clientCustomer clientCustomer or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerClientLink setClientCustomer(java.lang.String clientCustomer) { + this.clientCustomer = clientCustomer; + return this; + } + + /** + * The visibility of the link. Users can choose whether or not to see hidden links in the Google + * Ads UI. Default value is false + * @return value or {@code null} for none + */ + public java.lang.Boolean getHidden() { + return hidden; + } + + /** + * The visibility of the link. Users can choose whether or not to see hidden links in the Google + * Ads UI. Default value is false + * @param hidden hidden or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerClientLink setHidden(java.lang.Boolean hidden) { + this.hidden = hidden; + return this; + } + + /** + * Output only. This is uniquely identifies a customer client link. Read only. + * @return value or {@code null} for none + */ + public java.lang.Long getManagerLinkId() { + return managerLinkId; + } + + /** + * Output only. This is uniquely identifies a customer client link. Read only. + * @param managerLinkId managerLinkId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerClientLink setManagerLinkId(java.lang.Long managerLinkId) { + this.managerLinkId = managerLinkId; + return this; + } + + /** + * Immutable. Name of the resource. CustomerClientLink resource names have the form: + * `customers/{customer_id}/customerClientLinks/{client_customer_id}~{manager_link_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Immutable. Name of the resource. CustomerClientLink resource names have the form: + * `customers/{customer_id}/customerClientLinks/{client_customer_id}~{manager_link_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerClientLink setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * This is the status of the link between client and manager. + * @return value or {@code null} for none + */ + public java.lang.String getStatus() { + return status; + } + + /** + * This is the status of the link between client and manager. + * @param status status or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerClientLink setStatus(java.lang.String status) { + this.status = status; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesCustomerClientLink set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesCustomerClientLink) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesCustomerClientLink clone() { + return (GoogleAdsSearchads360V23ResourcesCustomerClientLink) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerConversionGoal.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerConversionGoal.java new file mode 100644 index 00000000000..cf99fb0cf44 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerConversionGoal.java @@ -0,0 +1,148 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Biddability control for conversion actions with a matching category and origin. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesCustomerConversionGoal extends com.google.api.client.json.GenericJson { + + /** + * The biddability of the customer conversion goal. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean biddable; + + /** + * The conversion category of this customer conversion goal. Only conversion actions that have + * this category will be included in this goal. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String category; + + /** + * The conversion origin of this customer conversion goal. Only conversion actions that have this + * conversion origin will be included in this goal. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String origin; + + /** + * Immutable. The resource name of the customer conversion goal. Customer conversion goal resource + * names have the form: `customers/{customer_id}/customerConversionGoals/{category}~{origin}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * The biddability of the customer conversion goal. + * @return value or {@code null} for none + */ + public java.lang.Boolean getBiddable() { + return biddable; + } + + /** + * The biddability of the customer conversion goal. + * @param biddable biddable or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerConversionGoal setBiddable(java.lang.Boolean biddable) { + this.biddable = biddable; + return this; + } + + /** + * The conversion category of this customer conversion goal. Only conversion actions that have + * this category will be included in this goal. + * @return value or {@code null} for none + */ + public java.lang.String getCategory() { + return category; + } + + /** + * The conversion category of this customer conversion goal. Only conversion actions that have + * this category will be included in this goal. + * @param category category or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerConversionGoal setCategory(java.lang.String category) { + this.category = category; + return this; + } + + /** + * The conversion origin of this customer conversion goal. Only conversion actions that have this + * conversion origin will be included in this goal. + * @return value or {@code null} for none + */ + public java.lang.String getOrigin() { + return origin; + } + + /** + * The conversion origin of this customer conversion goal. Only conversion actions that have this + * conversion origin will be included in this goal. + * @param origin origin or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerConversionGoal setOrigin(java.lang.String origin) { + this.origin = origin; + return this; + } + + /** + * Immutable. The resource name of the customer conversion goal. Customer conversion goal resource + * names have the form: `customers/{customer_id}/customerConversionGoals/{category}~{origin}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Immutable. The resource name of the customer conversion goal. Customer conversion goal resource + * names have the form: `customers/{customer_id}/customerConversionGoals/{category}~{origin}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerConversionGoal setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesCustomerConversionGoal set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesCustomerConversionGoal) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesCustomerConversionGoal clone() { + return (GoogleAdsSearchads360V23ResourcesCustomerConversionGoal) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerCustomizer.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerCustomizer.java new file mode 100644 index 00000000000..6b822b9f179 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerCustomizer.java @@ -0,0 +1,145 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A customizer value for the associated CustomizerAttribute at the Customer level. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesCustomerCustomizer extends com.google.api.client.json.GenericJson { + + /** + * Required. Immutable. The customizer attribute which is linked to the customer. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String customizerAttribute; + + /** + * Immutable. The resource name of the customer customizer. Customer customizer resource names + * have the form: `customers/{customer_id}/customerCustomizers/{customizer_attribute_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. The status of the customer customizer attribute. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String status; + + /** + * Required. The value to associate with the customizer attribute at this level. The value must be + * of the type specified for the CustomizerAttribute. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonCustomizerValue value; + + /** + * Required. Immutable. The customizer attribute which is linked to the customer. + * @return value or {@code null} for none + */ + public java.lang.String getCustomizerAttribute() { + return customizerAttribute; + } + + /** + * Required. Immutable. The customizer attribute which is linked to the customer. + * @param customizerAttribute customizerAttribute or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerCustomizer setCustomizerAttribute(java.lang.String customizerAttribute) { + this.customizerAttribute = customizerAttribute; + return this; + } + + /** + * Immutable. The resource name of the customer customizer. Customer customizer resource names + * have the form: `customers/{customer_id}/customerCustomizers/{customizer_attribute_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Immutable. The resource name of the customer customizer. Customer customizer resource names + * have the form: `customers/{customer_id}/customerCustomizers/{customizer_attribute_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerCustomizer setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Output only. The status of the customer customizer attribute. + * @return value or {@code null} for none + */ + public java.lang.String getStatus() { + return status; + } + + /** + * Output only. The status of the customer customizer attribute. + * @param status status or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerCustomizer setStatus(java.lang.String status) { + this.status = status; + return this; + } + + /** + * Required. The value to associate with the customizer attribute at this level. The value must be + * of the type specified for the CustomizerAttribute. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCustomizerValue getValue() { + return value; + } + + /** + * Required. The value to associate with the customizer attribute at this level. The value must be + * of the type specified for the CustomizerAttribute. + * @param value value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerCustomizer setValue(GoogleAdsSearchads360V23CommonCustomizerValue value) { + this.value = value; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesCustomerCustomizer set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesCustomerCustomizer) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesCustomerCustomizer clone() { + return (GoogleAdsSearchads360V23ResourcesCustomerCustomizer) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerLabel.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerLabel.java new file mode 100644 index 00000000000..dfb88b3dcf8 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerLabel.java @@ -0,0 +1,123 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Represents a relationship between a customer and a label. This customer may not have access to + * all the labels attached to it. Additional CustomerLabels may be returned by increasing + * permissions with login-customer-id. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesCustomerLabel extends com.google.api.client.json.GenericJson { + + /** + * Output only. The resource name of the customer to which the label is attached. Read only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String customer; + + /** + * Output only. The resource name of the label assigned to the customer. Note: the Customer ID + * portion of the label resource name is not validated when creating a new CustomerLabel. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String label; + + /** + * Immutable. Name of the resource. Customer label resource names have the form: + * `customers/{customer_id}/customerLabels/{label_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. The resource name of the customer to which the label is attached. Read only. + * @return value or {@code null} for none + */ + public java.lang.String getCustomer() { + return customer; + } + + /** + * Output only. The resource name of the customer to which the label is attached. Read only. + * @param customer customer or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerLabel setCustomer(java.lang.String customer) { + this.customer = customer; + return this; + } + + /** + * Output only. The resource name of the label assigned to the customer. Note: the Customer ID + * portion of the label resource name is not validated when creating a new CustomerLabel. + * @return value or {@code null} for none + */ + public java.lang.String getLabel() { + return label; + } + + /** + * Output only. The resource name of the label assigned to the customer. Note: the Customer ID + * portion of the label resource name is not validated when creating a new CustomerLabel. + * @param label label or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerLabel setLabel(java.lang.String label) { + this.label = label; + return this; + } + + /** + * Immutable. Name of the resource. Customer label resource names have the form: + * `customers/{customer_id}/customerLabels/{label_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Immutable. Name of the resource. Customer label resource names have the form: + * `customers/{customer_id}/customerLabels/{label_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerLabel setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesCustomerLabel set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesCustomerLabel) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesCustomerLabel clone() { + return (GoogleAdsSearchads360V23ResourcesCustomerLabel) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerLifecycleGoal.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerLifecycleGoal.java new file mode 100644 index 00000000000..ebe3a283a24 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerLifecycleGoal.java @@ -0,0 +1,118 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Account level customer lifecycle goal settings. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesCustomerLifecycleGoal extends com.google.api.client.json.GenericJson { + + /** + * Output only. Customer acquisition goal customer level value settings. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonLifecycleGoalValueSettings customerAcquisitionGoalValueSettings; + + /** + * Output only. The resource name of the customer which owns the lifecycle goal. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String ownerCustomer; + + /** + * Immutable. The resource name of the customer lifecycle goal. Customer lifecycle resource names + * have the form: `customers/{customer_id}/customerLifecycleGoal` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. Customer acquisition goal customer level value settings. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLifecycleGoalValueSettings getCustomerAcquisitionGoalValueSettings() { + return customerAcquisitionGoalValueSettings; + } + + /** + * Output only. Customer acquisition goal customer level value settings. + * @param customerAcquisitionGoalValueSettings customerAcquisitionGoalValueSettings or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerLifecycleGoal setCustomerAcquisitionGoalValueSettings(GoogleAdsSearchads360V23CommonLifecycleGoalValueSettings customerAcquisitionGoalValueSettings) { + this.customerAcquisitionGoalValueSettings = customerAcquisitionGoalValueSettings; + return this; + } + + /** + * Output only. The resource name of the customer which owns the lifecycle goal. + * @return value or {@code null} for none + */ + public java.lang.String getOwnerCustomer() { + return ownerCustomer; + } + + /** + * Output only. The resource name of the customer which owns the lifecycle goal. + * @param ownerCustomer ownerCustomer or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerLifecycleGoal setOwnerCustomer(java.lang.String ownerCustomer) { + this.ownerCustomer = ownerCustomer; + return this; + } + + /** + * Immutable. The resource name of the customer lifecycle goal. Customer lifecycle resource names + * have the form: `customers/{customer_id}/customerLifecycleGoal` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Immutable. The resource name of the customer lifecycle goal. Customer lifecycle resource names + * have the form: `customers/{customer_id}/customerLifecycleGoal` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerLifecycleGoal setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesCustomerLifecycleGoal set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesCustomerLifecycleGoal) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesCustomerLifecycleGoal clone() { + return (GoogleAdsSearchads360V23ResourcesCustomerLifecycleGoal) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerManagerLink.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerManagerLink.java new file mode 100644 index 00000000000..2dc242a3e87 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerManagerLink.java @@ -0,0 +1,169 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Represents customer-manager link relationship. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesCustomerManagerLink extends com.google.api.client.json.GenericJson { + + /** + * Output only. The manager customer linked to the customer. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String managerCustomer; + + /** + * Output only. ID of the customer-manager link. This field is read only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long managerLinkId; + + /** + * Immutable. Name of the resource. CustomerManagerLink resource names have the form: + * `customers/{customer_id}/customerManagerLinks/{manager_customer_id}~{manager_link_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. The timestamp when the CustomerManagerLink was created. The timestamp is in the + * customer's time zone and in "yyyy-MM-dd HH:mm:ss" format. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String startTime; + + /** + * Status of the link between the customer and the manager. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String status; + + /** + * Output only. The manager customer linked to the customer. + * @return value or {@code null} for none + */ + public java.lang.String getManagerCustomer() { + return managerCustomer; + } + + /** + * Output only. The manager customer linked to the customer. + * @param managerCustomer managerCustomer or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerManagerLink setManagerCustomer(java.lang.String managerCustomer) { + this.managerCustomer = managerCustomer; + return this; + } + + /** + * Output only. ID of the customer-manager link. This field is read only. + * @return value or {@code null} for none + */ + public java.lang.Long getManagerLinkId() { + return managerLinkId; + } + + /** + * Output only. ID of the customer-manager link. This field is read only. + * @param managerLinkId managerLinkId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerManagerLink setManagerLinkId(java.lang.Long managerLinkId) { + this.managerLinkId = managerLinkId; + return this; + } + + /** + * Immutable. Name of the resource. CustomerManagerLink resource names have the form: + * `customers/{customer_id}/customerManagerLinks/{manager_customer_id}~{manager_link_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Immutable. Name of the resource. CustomerManagerLink resource names have the form: + * `customers/{customer_id}/customerManagerLinks/{manager_customer_id}~{manager_link_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerManagerLink setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Output only. The timestamp when the CustomerManagerLink was created. The timestamp is in the + * customer's time zone and in "yyyy-MM-dd HH:mm:ss" format. + * @return value or {@code null} for none + */ + public java.lang.String getStartTime() { + return startTime; + } + + /** + * Output only. The timestamp when the CustomerManagerLink was created. The timestamp is in the + * customer's time zone and in "yyyy-MM-dd HH:mm:ss" format. + * @param startTime startTime or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerManagerLink setStartTime(java.lang.String startTime) { + this.startTime = startTime; + return this; + } + + /** + * Status of the link between the customer and the manager. + * @return value or {@code null} for none + */ + public java.lang.String getStatus() { + return status; + } + + /** + * Status of the link between the customer and the manager. + * @param status status or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerManagerLink setStatus(java.lang.String status) { + this.status = status; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesCustomerManagerLink set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesCustomerManagerLink) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesCustomerManagerLink clone() { + return (GoogleAdsSearchads360V23ResourcesCustomerManagerLink) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerNegativeCriterion.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerNegativeCriterion.java new file mode 100644 index 00000000000..b9aef46d374 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerNegativeCriterion.java @@ -0,0 +1,334 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A negative criterion for exclusions at the customer level. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesCustomerNegativeCriterion extends com.google.api.client.json.GenericJson { + + /** + * Immutable. ContentLabel. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonContentLabelInfo contentLabel; + + /** + * Output only. The ID of the criterion. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long id; + + /** + * Immutable. IpBlock. You can exclude up to 500 IP addresses per account. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonIpBlockInfo ipBlock; + + /** + * Immutable. MobileAppCategory. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonMobileAppCategoryInfo mobileAppCategory; + + /** + * Immutable. MobileApplication. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonMobileApplicationInfo mobileApplication; + + /** + * Immutable. NegativeKeywordList. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonNegativeKeywordListInfo negativeKeywordList; + + /** + * Immutable. Placement. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonPlacementInfo placement; + + /** + * Immutable. PlacementList. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonPlacementListInfo placementList; + + /** + * Immutable. The resource name of the customer negative criterion. Customer negative criterion + * resource names have the form: `customers/{customer_id}/customerNegativeCriteria/{criterion_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. The type of the criterion. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String type; + + /** + * Immutable. YouTube Channel. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonYouTubeChannelInfo youtubeChannel; + + /** + * Immutable. YouTube Video. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonYouTubeVideoInfo youtubeVideo; + + /** + * Immutable. ContentLabel. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonContentLabelInfo getContentLabel() { + return contentLabel; + } + + /** + * Immutable. ContentLabel. + * @param contentLabel contentLabel or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerNegativeCriterion setContentLabel(GoogleAdsSearchads360V23CommonContentLabelInfo contentLabel) { + this.contentLabel = contentLabel; + return this; + } + + /** + * Output only. The ID of the criterion. + * @return value or {@code null} for none + */ + public java.lang.Long getId() { + return id; + } + + /** + * Output only. The ID of the criterion. + * @param id id or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerNegativeCriterion setId(java.lang.Long id) { + this.id = id; + return this; + } + + /** + * Immutable. IpBlock. You can exclude up to 500 IP addresses per account. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonIpBlockInfo getIpBlock() { + return ipBlock; + } + + /** + * Immutable. IpBlock. You can exclude up to 500 IP addresses per account. + * @param ipBlock ipBlock or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerNegativeCriterion setIpBlock(GoogleAdsSearchads360V23CommonIpBlockInfo ipBlock) { + this.ipBlock = ipBlock; + return this; + } + + /** + * Immutable. MobileAppCategory. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMobileAppCategoryInfo getMobileAppCategory() { + return mobileAppCategory; + } + + /** + * Immutable. MobileAppCategory. + * @param mobileAppCategory mobileAppCategory or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerNegativeCriterion setMobileAppCategory(GoogleAdsSearchads360V23CommonMobileAppCategoryInfo mobileAppCategory) { + this.mobileAppCategory = mobileAppCategory; + return this; + } + + /** + * Immutable. MobileApplication. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMobileApplicationInfo getMobileApplication() { + return mobileApplication; + } + + /** + * Immutable. MobileApplication. + * @param mobileApplication mobileApplication or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerNegativeCriterion setMobileApplication(GoogleAdsSearchads360V23CommonMobileApplicationInfo mobileApplication) { + this.mobileApplication = mobileApplication; + return this; + } + + /** + * Immutable. NegativeKeywordList. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonNegativeKeywordListInfo getNegativeKeywordList() { + return negativeKeywordList; + } + + /** + * Immutable. NegativeKeywordList. + * @param negativeKeywordList negativeKeywordList or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerNegativeCriterion setNegativeKeywordList(GoogleAdsSearchads360V23CommonNegativeKeywordListInfo negativeKeywordList) { + this.negativeKeywordList = negativeKeywordList; + return this; + } + + /** + * Immutable. Placement. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPlacementInfo getPlacement() { + return placement; + } + + /** + * Immutable. Placement. + * @param placement placement or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerNegativeCriterion setPlacement(GoogleAdsSearchads360V23CommonPlacementInfo placement) { + this.placement = placement; + return this; + } + + /** + * Immutable. PlacementList. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPlacementListInfo getPlacementList() { + return placementList; + } + + /** + * Immutable. PlacementList. + * @param placementList placementList or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerNegativeCriterion setPlacementList(GoogleAdsSearchads360V23CommonPlacementListInfo placementList) { + this.placementList = placementList; + return this; + } + + /** + * Immutable. The resource name of the customer negative criterion. Customer negative criterion + * resource names have the form: `customers/{customer_id}/customerNegativeCriteria/{criterion_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Immutable. The resource name of the customer negative criterion. Customer negative criterion + * resource names have the form: `customers/{customer_id}/customerNegativeCriteria/{criterion_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerNegativeCriterion setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Output only. The type of the criterion. + * @return value or {@code null} for none + */ + public java.lang.String getType() { + return type; + } + + /** + * Output only. The type of the criterion. + * @param type type or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerNegativeCriterion setType(java.lang.String type) { + this.type = type; + return this; + } + + /** + * Immutable. YouTube Channel. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonYouTubeChannelInfo getYoutubeChannel() { + return youtubeChannel; + } + + /** + * Immutable. YouTube Channel. + * @param youtubeChannel youtubeChannel or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerNegativeCriterion setYoutubeChannel(GoogleAdsSearchads360V23CommonYouTubeChannelInfo youtubeChannel) { + this.youtubeChannel = youtubeChannel; + return this; + } + + /** + * Immutable. YouTube Video. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonYouTubeVideoInfo getYoutubeVideo() { + return youtubeVideo; + } + + /** + * Immutable. YouTube Video. + * @param youtubeVideo youtubeVideo or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerNegativeCriterion setYoutubeVideo(GoogleAdsSearchads360V23CommonYouTubeVideoInfo youtubeVideo) { + this.youtubeVideo = youtubeVideo; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesCustomerNegativeCriterion set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesCustomerNegativeCriterion) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesCustomerNegativeCriterion clone() { + return (GoogleAdsSearchads360V23ResourcesCustomerNegativeCriterion) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerSearchTermInsight.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerSearchTermInsight.java new file mode 100644 index 00000000000..be8b8f370e9 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerSearchTermInsight.java @@ -0,0 +1,126 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * This report provides a high-level view of search demand at the customer level by grouping similar + * search terms into categories and showing their search volume. Historical data is available + * starting March 2023. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesCustomerSearchTermInsight extends com.google.api.client.json.GenericJson { + + /** + * Output only. The label for the search category. An empty string denotes the catch-all category + * for search terms that didn't fit into another category. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String categoryLabel; + + /** + * Output only. The ID of the insight. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long id; + + /** + * Output only. The resource name of the customer level search term insight. Customer level search + * term insight resource names have the form: + * `customers/{customer_id}/customerSearchTermInsights/{category_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. The label for the search category. An empty string denotes the catch-all category + * for search terms that didn't fit into another category. + * @return value or {@code null} for none + */ + public java.lang.String getCategoryLabel() { + return categoryLabel; + } + + /** + * Output only. The label for the search category. An empty string denotes the catch-all category + * for search terms that didn't fit into another category. + * @param categoryLabel categoryLabel or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerSearchTermInsight setCategoryLabel(java.lang.String categoryLabel) { + this.categoryLabel = categoryLabel; + return this; + } + + /** + * Output only. The ID of the insight. + * @return value or {@code null} for none + */ + public java.lang.Long getId() { + return id; + } + + /** + * Output only. The ID of the insight. + * @param id id or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerSearchTermInsight setId(java.lang.Long id) { + this.id = id; + return this; + } + + /** + * Output only. The resource name of the customer level search term insight. Customer level search + * term insight resource names have the form: + * `customers/{customer_id}/customerSearchTermInsights/{category_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Output only. The resource name of the customer level search term insight. Customer level search + * term insight resource names have the form: + * `customers/{customer_id}/customerSearchTermInsights/{category_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerSearchTermInsight setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesCustomerSearchTermInsight set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesCustomerSearchTermInsight) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesCustomerSearchTermInsight clone() { + return (GoogleAdsSearchads360V23ResourcesCustomerSearchTermInsight) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchema.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchema.java new file mode 100644 index 00000000000..43073c91bdc --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchema.java @@ -0,0 +1,97 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A CustomerSkAdNetworkConversionValueSchema. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchema extends com.google.api.client.json.GenericJson { + + /** + * Output only. The resource name of the schema. CustomerSkAdNetworkConversionValueSchema resource + * names have the form: + * customers/{customer_id}/customerSkAdNetworkConversionValueSchemas/{account_link_id} + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. The schema for the specified resource. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchema schema; + + /** + * Output only. The resource name of the schema. CustomerSkAdNetworkConversionValueSchema resource + * names have the form: + * customers/{customer_id}/customerSkAdNetworkConversionValueSchemas/{account_link_id} + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Output only. The resource name of the schema. CustomerSkAdNetworkConversionValueSchema resource + * names have the form: + * customers/{customer_id}/customerSkAdNetworkConversionValueSchemas/{account_link_id} + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchema setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Output only. The schema for the specified resource. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchema getSchema() { + return schema; + } + + /** + * Output only. The schema for the specified resource. + * @param schema schema or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchema setSchema(GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchema schema) { + this.schema = schema; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchema set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchema) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchema clone() { + return (GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchema) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchema.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchema.java new file mode 100644 index 00000000000..f9a98ff0a93 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchema.java @@ -0,0 +1,160 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The CustomerLink specific SkAdNetworkConversionValueSchema. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchema extends com.google.api.client.json.GenericJson { + + /** + * Required. Output only. Apple App Store app ID. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String appId; + + /** + * Output only. Fine grained conversion value mappings. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List fineGrainedConversionValueMappings; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaFineGrainedConversionValueMappings used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaFineGrainedConversionValueMappings.class); + } + + /** + * Output only. A time window (measured in hours) post-install, after which the App Attribution + * Partner or advertiser stops calling [updateConversionValue] + * (https://developer.apple.com/documentation/storekit/skadnetwork/3566697-updateconversionvalue). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer measurementWindowHours; + + /** + * Output only. Per-postback conversion value mappings for postbacks in multiple conversion + * windows. Only applicable for SkAdNetwork versions >= 4.0. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List postbackMappings; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaPostbackMapping used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaPostbackMapping.class); + } + + /** + * Required. Output only. Apple App Store app ID. + * @return value or {@code null} for none + */ + public java.lang.String getAppId() { + return appId; + } + + /** + * Required. Output only. Apple App Store app ID. + * @param appId appId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchema setAppId(java.lang.String appId) { + this.appId = appId; + return this; + } + + /** + * Output only. Fine grained conversion value mappings. + * @return value or {@code null} for none + */ + public java.util.List getFineGrainedConversionValueMappings() { + return fineGrainedConversionValueMappings; + } + + /** + * Output only. Fine grained conversion value mappings. + * @param fineGrainedConversionValueMappings fineGrainedConversionValueMappings or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchema setFineGrainedConversionValueMappings(java.util.List fineGrainedConversionValueMappings) { + this.fineGrainedConversionValueMappings = fineGrainedConversionValueMappings; + return this; + } + + /** + * Output only. A time window (measured in hours) post-install, after which the App Attribution + * Partner or advertiser stops calling [updateConversionValue] + * (https://developer.apple.com/documentation/storekit/skadnetwork/3566697-updateconversionvalue). + * @return value or {@code null} for none + */ + public java.lang.Integer getMeasurementWindowHours() { + return measurementWindowHours; + } + + /** + * Output only. A time window (measured in hours) post-install, after which the App Attribution + * Partner or advertiser stops calling [updateConversionValue] + * (https://developer.apple.com/documentation/storekit/skadnetwork/3566697-updateconversionvalue). + * @param measurementWindowHours measurementWindowHours or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchema setMeasurementWindowHours(java.lang.Integer measurementWindowHours) { + this.measurementWindowHours = measurementWindowHours; + return this; + } + + /** + * Output only. Per-postback conversion value mappings for postbacks in multiple conversion + * windows. Only applicable for SkAdNetwork versions >= 4.0. + * @return value or {@code null} for none + */ + public java.util.List getPostbackMappings() { + return postbackMappings; + } + + /** + * Output only. Per-postback conversion value mappings for postbacks in multiple conversion + * windows. Only applicable for SkAdNetwork versions >= 4.0. + * @param postbackMappings postbackMappings or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchema setPostbackMappings(java.util.List postbackMappings) { + this.postbackMappings = postbackMappings; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchema set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchema) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchema clone() { + return (GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchema) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaCoarseGrainedConversionValueMappings.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaCoarseGrainedConversionValueMappings.java new file mode 100644 index 00000000000..ca2ea850c99 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaCoarseGrainedConversionValueMappings.java @@ -0,0 +1,115 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Mappings for coarse grained conversion values. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaCoarseGrainedConversionValueMappings extends com.google.api.client.json.GenericJson { + + /** + * Output only. Mapping for "high" coarse conversion value. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaConversionValueMapping highConversionValueMapping; + + /** + * Output only. Mapping for "low" coarse conversion value. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaConversionValueMapping lowConversionValueMapping; + + /** + * Output only. Mapping for "medium" coarse conversion value. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaConversionValueMapping mediumConversionValueMapping; + + /** + * Output only. Mapping for "high" coarse conversion value. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaConversionValueMapping getHighConversionValueMapping() { + return highConversionValueMapping; + } + + /** + * Output only. Mapping for "high" coarse conversion value. + * @param highConversionValueMapping highConversionValueMapping or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaCoarseGrainedConversionValueMappings setHighConversionValueMapping(GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaConversionValueMapping highConversionValueMapping) { + this.highConversionValueMapping = highConversionValueMapping; + return this; + } + + /** + * Output only. Mapping for "low" coarse conversion value. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaConversionValueMapping getLowConversionValueMapping() { + return lowConversionValueMapping; + } + + /** + * Output only. Mapping for "low" coarse conversion value. + * @param lowConversionValueMapping lowConversionValueMapping or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaCoarseGrainedConversionValueMappings setLowConversionValueMapping(GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaConversionValueMapping lowConversionValueMapping) { + this.lowConversionValueMapping = lowConversionValueMapping; + return this; + } + + /** + * Output only. Mapping for "medium" coarse conversion value. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaConversionValueMapping getMediumConversionValueMapping() { + return mediumConversionValueMapping; + } + + /** + * Output only. Mapping for "medium" coarse conversion value. + * @param mediumConversionValueMapping mediumConversionValueMapping or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaCoarseGrainedConversionValueMappings setMediumConversionValueMapping(GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaConversionValueMapping mediumConversionValueMapping) { + this.mediumConversionValueMapping = mediumConversionValueMapping; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaCoarseGrainedConversionValueMappings set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaCoarseGrainedConversionValueMappings) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaCoarseGrainedConversionValueMappings clone() { + return (GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaCoarseGrainedConversionValueMappings) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaConversionValueMapping.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaConversionValueMapping.java new file mode 100644 index 00000000000..81815c130fe --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaConversionValueMapping.java @@ -0,0 +1,121 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Represents mapping from one conversion value to one or more conversion events. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaConversionValueMapping extends com.google.api.client.json.GenericJson { + + /** + * Output only. The conversion value may be mapped to multiple events with various attributes. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List mappedEvents; + + /** + * Output only. The maximum of the time range in which a user was last active during the + * measurement window. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long maxTimePostInstallHours; + + /** + * Output only. The minimum of the time range in which a user was last active during the + * measurement window. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long minTimePostInstallHours; + + /** + * Output only. The conversion value may be mapped to multiple events with various attributes. + * @return value or {@code null} for none + */ + public java.util.List getMappedEvents() { + return mappedEvents; + } + + /** + * Output only. The conversion value may be mapped to multiple events with various attributes. + * @param mappedEvents mappedEvents or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaConversionValueMapping setMappedEvents(java.util.List mappedEvents) { + this.mappedEvents = mappedEvents; + return this; + } + + /** + * Output only. The maximum of the time range in which a user was last active during the + * measurement window. + * @return value or {@code null} for none + */ + public java.lang.Long getMaxTimePostInstallHours() { + return maxTimePostInstallHours; + } + + /** + * Output only. The maximum of the time range in which a user was last active during the + * measurement window. + * @param maxTimePostInstallHours maxTimePostInstallHours or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaConversionValueMapping setMaxTimePostInstallHours(java.lang.Long maxTimePostInstallHours) { + this.maxTimePostInstallHours = maxTimePostInstallHours; + return this; + } + + /** + * Output only. The minimum of the time range in which a user was last active during the + * measurement window. + * @return value or {@code null} for none + */ + public java.lang.Long getMinTimePostInstallHours() { + return minTimePostInstallHours; + } + + /** + * Output only. The minimum of the time range in which a user was last active during the + * measurement window. + * @param minTimePostInstallHours minTimePostInstallHours or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaConversionValueMapping setMinTimePostInstallHours(java.lang.Long minTimePostInstallHours) { + this.minTimePostInstallHours = minTimePostInstallHours; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaConversionValueMapping set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaConversionValueMapping) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaConversionValueMapping clone() { + return (GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaConversionValueMapping) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaEvent.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaEvent.java new file mode 100644 index 00000000000..d1c62e17253 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaEvent.java @@ -0,0 +1,190 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Defines a Google conversion event that the conversion value is mapped to. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaEvent extends com.google.api.client.json.GenericJson { + + /** + * Output only. The reported currency for the event_revenue. ISO 4217 three-letter currency code, + * for example, "USD" + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String currencyCode; + + /** + * Output only. For specific event counter values. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long eventCounter; + + /** + * Output only. The event counter range. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaEventEventOccurrenceRange eventOccurrenceRange; + + /** + * Output only. The event revenue range. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaEventRevenueRange eventRevenueRange; + + /** + * Output only. The specific event revenue value. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double eventRevenueValue; + + /** + * Output only. Google event name represented by this conversion value. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String mappedEventName; + + /** + * Output only. The reported currency for the event_revenue. ISO 4217 three-letter currency code, + * for example, "USD" + * @return value or {@code null} for none + */ + public java.lang.String getCurrencyCode() { + return currencyCode; + } + + /** + * Output only. The reported currency for the event_revenue. ISO 4217 three-letter currency code, + * for example, "USD" + * @param currencyCode currencyCode or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaEvent setCurrencyCode(java.lang.String currencyCode) { + this.currencyCode = currencyCode; + return this; + } + + /** + * Output only. For specific event counter values. + * @return value or {@code null} for none + */ + public java.lang.Long getEventCounter() { + return eventCounter; + } + + /** + * Output only. For specific event counter values. + * @param eventCounter eventCounter or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaEvent setEventCounter(java.lang.Long eventCounter) { + this.eventCounter = eventCounter; + return this; + } + + /** + * Output only. The event counter range. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaEventEventOccurrenceRange getEventOccurrenceRange() { + return eventOccurrenceRange; + } + + /** + * Output only. The event counter range. + * @param eventOccurrenceRange eventOccurrenceRange or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaEvent setEventOccurrenceRange(GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaEventEventOccurrenceRange eventOccurrenceRange) { + this.eventOccurrenceRange = eventOccurrenceRange; + return this; + } + + /** + * Output only. The event revenue range. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaEventRevenueRange getEventRevenueRange() { + return eventRevenueRange; + } + + /** + * Output only. The event revenue range. + * @param eventRevenueRange eventRevenueRange or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaEvent setEventRevenueRange(GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaEventRevenueRange eventRevenueRange) { + this.eventRevenueRange = eventRevenueRange; + return this; + } + + /** + * Output only. The specific event revenue value. + * @return value or {@code null} for none + */ + public java.lang.Double getEventRevenueValue() { + return eventRevenueValue; + } + + /** + * Output only. The specific event revenue value. + * @param eventRevenueValue eventRevenueValue or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaEvent setEventRevenueValue(java.lang.Double eventRevenueValue) { + this.eventRevenueValue = eventRevenueValue; + return this; + } + + /** + * Output only. Google event name represented by this conversion value. + * @return value or {@code null} for none + */ + public java.lang.String getMappedEventName() { + return mappedEventName; + } + + /** + * Output only. Google event name represented by this conversion value. + * @param mappedEventName mappedEventName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaEvent setMappedEventName(java.lang.String mappedEventName) { + this.mappedEventName = mappedEventName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaEvent set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaEvent) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaEvent clone() { + return (GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaEvent) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaEventEventOccurrenceRange.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaEventEventOccurrenceRange.java new file mode 100644 index 00000000000..ff780440af4 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaEventEventOccurrenceRange.java @@ -0,0 +1,97 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Defines a range for event counter values. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaEventEventOccurrenceRange extends com.google.api.client.json.GenericJson { + + /** + * Output only. For event counter ranges, the maximum of the defined range. A value of 0 will be + * treated as unset. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long maxEventCount; + + /** + * Output only. For event counter ranges, the minimum of the defined range. A value of 0 will be + * treated as unset. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long minEventCount; + + /** + * Output only. For event counter ranges, the maximum of the defined range. A value of 0 will be + * treated as unset. + * @return value or {@code null} for none + */ + public java.lang.Long getMaxEventCount() { + return maxEventCount; + } + + /** + * Output only. For event counter ranges, the maximum of the defined range. A value of 0 will be + * treated as unset. + * @param maxEventCount maxEventCount or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaEventEventOccurrenceRange setMaxEventCount(java.lang.Long maxEventCount) { + this.maxEventCount = maxEventCount; + return this; + } + + /** + * Output only. For event counter ranges, the minimum of the defined range. A value of 0 will be + * treated as unset. + * @return value or {@code null} for none + */ + public java.lang.Long getMinEventCount() { + return minEventCount; + } + + /** + * Output only. For event counter ranges, the minimum of the defined range. A value of 0 will be + * treated as unset. + * @param minEventCount minEventCount or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaEventEventOccurrenceRange setMinEventCount(java.lang.Long minEventCount) { + this.minEventCount = minEventCount; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaEventEventOccurrenceRange set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaEventEventOccurrenceRange) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaEventEventOccurrenceRange clone() { + return (GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaEventEventOccurrenceRange) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaEventRevenueRange.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaEventRevenueRange.java new file mode 100644 index 00000000000..b3f133e390d --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaEventRevenueRange.java @@ -0,0 +1,97 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Defines a range for revenue values. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaEventRevenueRange extends com.google.api.client.json.GenericJson { + + /** + * Output only. For revenue ranges, the maximum value in `currency_code` for which this conversion + * value would be updated. A value of 0 will be treated as unset. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double maxEventRevenue; + + /** + * Output only. For revenue ranges, the minimum value in `currency_code` for which this conversion + * value would be updated. A value of 0 will be treated as unset. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double minEventRevenue; + + /** + * Output only. For revenue ranges, the maximum value in `currency_code` for which this conversion + * value would be updated. A value of 0 will be treated as unset. + * @return value or {@code null} for none + */ + public java.lang.Double getMaxEventRevenue() { + return maxEventRevenue; + } + + /** + * Output only. For revenue ranges, the maximum value in `currency_code` for which this conversion + * value would be updated. A value of 0 will be treated as unset. + * @param maxEventRevenue maxEventRevenue or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaEventRevenueRange setMaxEventRevenue(java.lang.Double maxEventRevenue) { + this.maxEventRevenue = maxEventRevenue; + return this; + } + + /** + * Output only. For revenue ranges, the minimum value in `currency_code` for which this conversion + * value would be updated. A value of 0 will be treated as unset. + * @return value or {@code null} for none + */ + public java.lang.Double getMinEventRevenue() { + return minEventRevenue; + } + + /** + * Output only. For revenue ranges, the minimum value in `currency_code` for which this conversion + * value would be updated. A value of 0 will be treated as unset. + * @param minEventRevenue minEventRevenue or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaEventRevenueRange setMinEventRevenue(java.lang.Double minEventRevenue) { + this.minEventRevenue = minEventRevenue; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaEventRevenueRange set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaEventRevenueRange) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaEventRevenueRange clone() { + return (GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaEventRevenueRange) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaFineGrainedConversionValueMappings.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaFineGrainedConversionValueMappings.java new file mode 100644 index 00000000000..f42e929e947 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaFineGrainedConversionValueMappings.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Mappings for fine grained conversion value. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaFineGrainedConversionValueMappings extends com.google.api.client.json.GenericJson { + + /** + * Output only. Conversion events the fine grained conversion value maps to. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaConversionValueMapping conversionValueMapping; + + /** + * Output only. Fine grained conversion value. Valid values are in the inclusive range [0,63]. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer fineGrainedConversionValue; + + /** + * Output only. Conversion events the fine grained conversion value maps to. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaConversionValueMapping getConversionValueMapping() { + return conversionValueMapping; + } + + /** + * Output only. Conversion events the fine grained conversion value maps to. + * @param conversionValueMapping conversionValueMapping or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaFineGrainedConversionValueMappings setConversionValueMapping(GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaConversionValueMapping conversionValueMapping) { + this.conversionValueMapping = conversionValueMapping; + return this; + } + + /** + * Output only. Fine grained conversion value. Valid values are in the inclusive range [0,63]. + * @return value or {@code null} for none + */ + public java.lang.Integer getFineGrainedConversionValue() { + return fineGrainedConversionValue; + } + + /** + * Output only. Fine grained conversion value. Valid values are in the inclusive range [0,63]. + * @param fineGrainedConversionValue fineGrainedConversionValue or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaFineGrainedConversionValueMappings setFineGrainedConversionValue(java.lang.Integer fineGrainedConversionValue) { + this.fineGrainedConversionValue = fineGrainedConversionValue; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaFineGrainedConversionValueMappings set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaFineGrainedConversionValueMappings) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaFineGrainedConversionValueMappings clone() { + return (GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaFineGrainedConversionValueMappings) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaPostbackMapping.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaPostbackMapping.java new file mode 100644 index 00000000000..60687b5c4ba --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaPostbackMapping.java @@ -0,0 +1,166 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Mappings for each postback in multiple conversion windows. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaPostbackMapping extends com.google.api.client.json.GenericJson { + + /** + * Output only. Conversion value mappings for all coarse grained conversion values. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaCoarseGrainedConversionValueMappings coarseGrainedConversionValueMappings; + + /** + * Output only. Coarse grained conversion value that triggers conversion window lock. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String lockWindowCoarseConversionValue; + + /** + * Output only. Event name that triggers conversion window lock. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String lockWindowEvent; + + /** + * Output only. Fine grained conversion value that triggers conversion window lock. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer lockWindowFineConversionValue; + + /** + * Output only. 0-based index that indicates the order of postback. Valid values are in the + * inclusive range [0,2]. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer postbackSequenceIndex; + + /** + * Output only. Conversion value mappings for all coarse grained conversion values. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaCoarseGrainedConversionValueMappings getCoarseGrainedConversionValueMappings() { + return coarseGrainedConversionValueMappings; + } + + /** + * Output only. Conversion value mappings for all coarse grained conversion values. + * @param coarseGrainedConversionValueMappings coarseGrainedConversionValueMappings or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaPostbackMapping setCoarseGrainedConversionValueMappings(GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaCoarseGrainedConversionValueMappings coarseGrainedConversionValueMappings) { + this.coarseGrainedConversionValueMappings = coarseGrainedConversionValueMappings; + return this; + } + + /** + * Output only. Coarse grained conversion value that triggers conversion window lock. + * @return value or {@code null} for none + */ + public java.lang.String getLockWindowCoarseConversionValue() { + return lockWindowCoarseConversionValue; + } + + /** + * Output only. Coarse grained conversion value that triggers conversion window lock. + * @param lockWindowCoarseConversionValue lockWindowCoarseConversionValue or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaPostbackMapping setLockWindowCoarseConversionValue(java.lang.String lockWindowCoarseConversionValue) { + this.lockWindowCoarseConversionValue = lockWindowCoarseConversionValue; + return this; + } + + /** + * Output only. Event name that triggers conversion window lock. + * @return value or {@code null} for none + */ + public java.lang.String getLockWindowEvent() { + return lockWindowEvent; + } + + /** + * Output only. Event name that triggers conversion window lock. + * @param lockWindowEvent lockWindowEvent or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaPostbackMapping setLockWindowEvent(java.lang.String lockWindowEvent) { + this.lockWindowEvent = lockWindowEvent; + return this; + } + + /** + * Output only. Fine grained conversion value that triggers conversion window lock. + * @return value or {@code null} for none + */ + public java.lang.Integer getLockWindowFineConversionValue() { + return lockWindowFineConversionValue; + } + + /** + * Output only. Fine grained conversion value that triggers conversion window lock. + * @param lockWindowFineConversionValue lockWindowFineConversionValue or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaPostbackMapping setLockWindowFineConversionValue(java.lang.Integer lockWindowFineConversionValue) { + this.lockWindowFineConversionValue = lockWindowFineConversionValue; + return this; + } + + /** + * Output only. 0-based index that indicates the order of postback. Valid values are in the + * inclusive range [0,2]. + * @return value or {@code null} for none + */ + public java.lang.Integer getPostbackSequenceIndex() { + return postbackSequenceIndex; + } + + /** + * Output only. 0-based index that indicates the order of postback. Valid values are in the + * inclusive range [0,2]. + * @param postbackSequenceIndex postbackSequenceIndex or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaPostbackMapping setPostbackSequenceIndex(java.lang.Integer postbackSequenceIndex) { + this.postbackSequenceIndex = postbackSequenceIndex; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaPostbackMapping set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaPostbackMapping) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaPostbackMapping clone() { + return (GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaPostbackMapping) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerUserAccess.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerUserAccess.java new file mode 100644 index 00000000000..9ba5d5e0f03 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerUserAccess.java @@ -0,0 +1,193 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Represents the permission of a single user onto a single customer. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesCustomerUserAccess extends com.google.api.client.json.GenericJson { + + /** + * Output only. The customer user access creation time. Read only field The format is "YYYY-MM-DD + * HH:MM:SS". Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String accessCreationDateTime; + + /** + * Access role of the user. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String accessRole; + + /** + * Output only. Email address of the user. Read only field + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String emailAddress; + + /** + * Output only. The email address of the inviter user. Read only field + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String inviterUserEmailAddress; + + /** + * Immutable. Name of the resource. Resource names have the form: + * `customers/{customer_id}/customerUserAccesses/{user_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. User id of the user with the customer access. Read only field + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long userId; + + /** + * Output only. The customer user access creation time. Read only field The format is "YYYY-MM-DD + * HH:MM:SS". Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" + * @return value or {@code null} for none + */ + public java.lang.String getAccessCreationDateTime() { + return accessCreationDateTime; + } + + /** + * Output only. The customer user access creation time. Read only field The format is "YYYY-MM-DD + * HH:MM:SS". Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" + * @param accessCreationDateTime accessCreationDateTime or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerUserAccess setAccessCreationDateTime(java.lang.String accessCreationDateTime) { + this.accessCreationDateTime = accessCreationDateTime; + return this; + } + + /** + * Access role of the user. + * @return value or {@code null} for none + */ + public java.lang.String getAccessRole() { + return accessRole; + } + + /** + * Access role of the user. + * @param accessRole accessRole or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerUserAccess setAccessRole(java.lang.String accessRole) { + this.accessRole = accessRole; + return this; + } + + /** + * Output only. Email address of the user. Read only field + * @return value or {@code null} for none + */ + public java.lang.String getEmailAddress() { + return emailAddress; + } + + /** + * Output only. Email address of the user. Read only field + * @param emailAddress emailAddress or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerUserAccess setEmailAddress(java.lang.String emailAddress) { + this.emailAddress = emailAddress; + return this; + } + + /** + * Output only. The email address of the inviter user. Read only field + * @return value or {@code null} for none + */ + public java.lang.String getInviterUserEmailAddress() { + return inviterUserEmailAddress; + } + + /** + * Output only. The email address of the inviter user. Read only field + * @param inviterUserEmailAddress inviterUserEmailAddress or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerUserAccess setInviterUserEmailAddress(java.lang.String inviterUserEmailAddress) { + this.inviterUserEmailAddress = inviterUserEmailAddress; + return this; + } + + /** + * Immutable. Name of the resource. Resource names have the form: + * `customers/{customer_id}/customerUserAccesses/{user_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Immutable. Name of the resource. Resource names have the form: + * `customers/{customer_id}/customerUserAccesses/{user_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerUserAccess setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Output only. User id of the user with the customer access. Read only field + * @return value or {@code null} for none + */ + public java.lang.Long getUserId() { + return userId; + } + + /** + * Output only. User id of the user with the customer access. Read only field + * @param userId userId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerUserAccess setUserId(java.lang.Long userId) { + this.userId = userId; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesCustomerUserAccess set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesCustomerUserAccess) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesCustomerUserAccess clone() { + return (GoogleAdsSearchads360V23ResourcesCustomerUserAccess) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerUserAccessInvitation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerUserAccessInvitation.java new file mode 100644 index 00000000000..652d228f528 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerUserAccessInvitation.java @@ -0,0 +1,196 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Represent an invitation to a new user on this customer account. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesCustomerUserAccessInvitation extends com.google.api.client.json.GenericJson { + + /** + * Immutable. Access role of the user. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String accessRole; + + /** + * Output only. Time invitation was created. This field is read-only. The format is "YYYY-MM-DD + * HH:MM:SS". Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String creationDateTime; + + /** + * Immutable. Email address the invitation was sent to. This can differ from the email address of + * the account that accepts the invite. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String emailAddress; + + /** + * Output only. The ID of the invitation. This field is read-only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long invitationId; + + /** + * Output only. Invitation status of the user. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String invitationStatus; + + /** + * Immutable. Name of the resource. Resource names have the form: + * `customers/{customer_id}/customerUserAccessInvitations/{invitation_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Immutable. Access role of the user. + * @return value or {@code null} for none + */ + public java.lang.String getAccessRole() { + return accessRole; + } + + /** + * Immutable. Access role of the user. + * @param accessRole accessRole or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerUserAccessInvitation setAccessRole(java.lang.String accessRole) { + this.accessRole = accessRole; + return this; + } + + /** + * Output only. Time invitation was created. This field is read-only. The format is "YYYY-MM-DD + * HH:MM:SS". Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" + * @return value or {@code null} for none + */ + public java.lang.String getCreationDateTime() { + return creationDateTime; + } + + /** + * Output only. Time invitation was created. This field is read-only. The format is "YYYY-MM-DD + * HH:MM:SS". Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" + * @param creationDateTime creationDateTime or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerUserAccessInvitation setCreationDateTime(java.lang.String creationDateTime) { + this.creationDateTime = creationDateTime; + return this; + } + + /** + * Immutable. Email address the invitation was sent to. This can differ from the email address of + * the account that accepts the invite. + * @return value or {@code null} for none + */ + public java.lang.String getEmailAddress() { + return emailAddress; + } + + /** + * Immutable. Email address the invitation was sent to. This can differ from the email address of + * the account that accepts the invite. + * @param emailAddress emailAddress or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerUserAccessInvitation setEmailAddress(java.lang.String emailAddress) { + this.emailAddress = emailAddress; + return this; + } + + /** + * Output only. The ID of the invitation. This field is read-only. + * @return value or {@code null} for none + */ + public java.lang.Long getInvitationId() { + return invitationId; + } + + /** + * Output only. The ID of the invitation. This field is read-only. + * @param invitationId invitationId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerUserAccessInvitation setInvitationId(java.lang.Long invitationId) { + this.invitationId = invitationId; + return this; + } + + /** + * Output only. Invitation status of the user. + * @return value or {@code null} for none + */ + public java.lang.String getInvitationStatus() { + return invitationStatus; + } + + /** + * Output only. Invitation status of the user. + * @param invitationStatus invitationStatus or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerUserAccessInvitation setInvitationStatus(java.lang.String invitationStatus) { + this.invitationStatus = invitationStatus; + return this; + } + + /** + * Immutable. Name of the resource. Resource names have the form: + * `customers/{customer_id}/customerUserAccessInvitations/{invitation_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Immutable. Name of the resource. Resource names have the form: + * `customers/{customer_id}/customerUserAccessInvitations/{invitation_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerUserAccessInvitation setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesCustomerUserAccessInvitation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesCustomerUserAccessInvitation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesCustomerUserAccessInvitation clone() { + return (GoogleAdsSearchads360V23ResourcesCustomerUserAccessInvitation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomizerAttribute.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomizerAttribute.java new file mode 100644 index 00000000000..7a309fc3ffd --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomizerAttribute.java @@ -0,0 +1,174 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A customizer attribute. Use CustomerCustomizer, CampaignCustomizer, AdGroupCustomizer, or + * AdGroupCriterionCustomizer to associate a customizer attribute and set its value at the customer, + * campaign, ad group, or ad group criterion level, respectively. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesCustomizerAttribute extends com.google.api.client.json.GenericJson { + + /** + * Output only. The ID of the customizer attribute. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long id; + + /** + * Required. Immutable. Name of the customizer attribute. Required. It must have a minimum length + * of 1 and maximum length of 40. Name of an enabled customizer attribute must be unique (case + * insensitive). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * Immutable. The resource name of the customizer attribute. Customizer Attribute resource names + * have the form: `customers/{customer_id}/customizerAttributes/{customizer_attribute_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. The status of the customizer attribute. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String status; + + /** + * Immutable. The type of the customizer attribute. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String type; + + /** + * Output only. The ID of the customizer attribute. + * @return value or {@code null} for none + */ + public java.lang.Long getId() { + return id; + } + + /** + * Output only. The ID of the customizer attribute. + * @param id id or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomizerAttribute setId(java.lang.Long id) { + this.id = id; + return this; + } + + /** + * Required. Immutable. Name of the customizer attribute. Required. It must have a minimum length + * of 1 and maximum length of 40. Name of an enabled customizer attribute must be unique (case + * insensitive). + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * Required. Immutable. Name of the customizer attribute. Required. It must have a minimum length + * of 1 and maximum length of 40. Name of an enabled customizer attribute must be unique (case + * insensitive). + * @param name name or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomizerAttribute setName(java.lang.String name) { + this.name = name; + return this; + } + + /** + * Immutable. The resource name of the customizer attribute. Customizer Attribute resource names + * have the form: `customers/{customer_id}/customizerAttributes/{customizer_attribute_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Immutable. The resource name of the customizer attribute. Customizer Attribute resource names + * have the form: `customers/{customer_id}/customizerAttributes/{customizer_attribute_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomizerAttribute setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Output only. The status of the customizer attribute. + * @return value or {@code null} for none + */ + public java.lang.String getStatus() { + return status; + } + + /** + * Output only. The status of the customizer attribute. + * @param status status or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomizerAttribute setStatus(java.lang.String status) { + this.status = status; + return this; + } + + /** + * Immutable. The type of the customizer attribute. + * @return value or {@code null} for none + */ + public java.lang.String getType() { + return type; + } + + /** + * Immutable. The type of the customizer attribute. + * @param type type or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomizerAttribute setType(java.lang.String type) { + this.type = type; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesCustomizerAttribute set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesCustomizerAttribute) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesCustomizerAttribute clone() { + return (GoogleAdsSearchads360V23ResourcesCustomizerAttribute) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesDataLink.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesDataLink.java new file mode 100644 index 00000000000..d37577243e8 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesDataLink.java @@ -0,0 +1,187 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Represents the data sharing connection between + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesDataLink extends com.google.api.client.json.GenericJson { + + /** + * Output only. The ID of the data link. This field is read only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long dataLinkId; + + /** + * Output only. The ID of the link. This field is read only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long productLinkId; + + /** + * Immutable. Resource name of the product data link. DataLink resource names have the form: ` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. The status of the data link. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String status; + + /** + * Output only. The type of the data. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String type; + + /** + * Immutable. A data link to YouTube video. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesYoutubeVideoIdentifier youtubeVideo; + + /** + * Output only. The ID of the data link. This field is read only. + * @return value or {@code null} for none + */ + public java.lang.Long getDataLinkId() { + return dataLinkId; + } + + /** + * Output only. The ID of the data link. This field is read only. + * @param dataLinkId dataLinkId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesDataLink setDataLinkId(java.lang.Long dataLinkId) { + this.dataLinkId = dataLinkId; + return this; + } + + /** + * Output only. The ID of the link. This field is read only. + * @return value or {@code null} for none + */ + public java.lang.Long getProductLinkId() { + return productLinkId; + } + + /** + * Output only. The ID of the link. This field is read only. + * @param productLinkId productLinkId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesDataLink setProductLinkId(java.lang.Long productLinkId) { + this.productLinkId = productLinkId; + return this; + } + + /** + * Immutable. Resource name of the product data link. DataLink resource names have the form: ` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Immutable. Resource name of the product data link. DataLink resource names have the form: ` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesDataLink setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Output only. The status of the data link. + * @return value or {@code null} for none + */ + public java.lang.String getStatus() { + return status; + } + + /** + * Output only. The status of the data link. + * @param status status or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesDataLink setStatus(java.lang.String status) { + this.status = status; + return this; + } + + /** + * Output only. The type of the data. + * @return value or {@code null} for none + */ + public java.lang.String getType() { + return type; + } + + /** + * Output only. The type of the data. + * @param type type or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesDataLink setType(java.lang.String type) { + this.type = type; + return this; + } + + /** + * Immutable. A data link to YouTube video. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesYoutubeVideoIdentifier getYoutubeVideo() { + return youtubeVideo; + } + + /** + * Immutable. A data link to YouTube video. + * @param youtubeVideo youtubeVideo or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesDataLink setYoutubeVideo(GoogleAdsSearchads360V23ResourcesYoutubeVideoIdentifier youtubeVideo) { + this.youtubeVideo = youtubeVideo; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesDataLink set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesDataLink) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesDataLink clone() { + return (GoogleAdsSearchads360V23ResourcesDataLink) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesDataPartnerIdentifier.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesDataPartnerIdentifier.java new file mode 100644 index 00000000000..eaff8fd9cbb --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesDataPartnerIdentifier.java @@ -0,0 +1,73 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The identifier for Data Partner account. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesDataPartnerIdentifier extends com.google.api.client.json.GenericJson { + + /** + * Immutable. The customer ID of the Data partner account. This field is required and should not + * be empty when creating a new data partner link. It is unable to be modified after the creation + * of the link. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long dataPartnerId; + + /** + * Immutable. The customer ID of the Data partner account. This field is required and should not + * be empty when creating a new data partner link. It is unable to be modified after the creation + * of the link. + * @return value or {@code null} for none + */ + public java.lang.Long getDataPartnerId() { + return dataPartnerId; + } + + /** + * Immutable. The customer ID of the Data partner account. This field is required and should not + * be empty when creating a new data partner link. It is unable to be modified after the creation + * of the link. + * @param dataPartnerId dataPartnerId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesDataPartnerIdentifier setDataPartnerId(java.lang.Long dataPartnerId) { + this.dataPartnerId = dataPartnerId; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesDataPartnerIdentifier set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesDataPartnerIdentifier) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesDataPartnerIdentifier clone() { + return (GoogleAdsSearchads360V23ResourcesDataPartnerIdentifier) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesDetailContentSuitabilityPlacementView.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesDetailContentSuitabilityPlacementView.java new file mode 100644 index 00000000000..ca3aa008d80 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesDetailContentSuitabilityPlacementView.java @@ -0,0 +1,181 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A detail content suitability placement view. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesDetailContentSuitabilityPlacementView extends com.google.api.client.json.GenericJson { + + /** + * Output only. The display name is URL for websites, YouTube video name for YouTube videos, and + * translated mobile app name for mobile apps. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String displayName; + + /** + * Output only. The automatic placement string at detail level, for example. website url, mobile + * application id, or a YouTube video id. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String placement; + + /** + * Output only. Represents the type of the placement, for example, Website, YouTubeVideo and + * MobileApplication. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String placementType; + + /** + * Output only. The resource name of the detail content suitability placement view. Detail content + * suitability placement view resource names have the form: + * `customers/{customer_id}/detailContentSuitabilityPlacementViews/{placement_fingerprint}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. URL of the placement, for example, website, link to the mobile application in app + * store, or a YouTube video URL. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String targetUrl; + + /** + * Output only. The display name is URL for websites, YouTube video name for YouTube videos, and + * translated mobile app name for mobile apps. + * @return value or {@code null} for none + */ + public java.lang.String getDisplayName() { + return displayName; + } + + /** + * Output only. The display name is URL for websites, YouTube video name for YouTube videos, and + * translated mobile app name for mobile apps. + * @param displayName displayName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesDetailContentSuitabilityPlacementView setDisplayName(java.lang.String displayName) { + this.displayName = displayName; + return this; + } + + /** + * Output only. The automatic placement string at detail level, for example. website url, mobile + * application id, or a YouTube video id. + * @return value or {@code null} for none + */ + public java.lang.String getPlacement() { + return placement; + } + + /** + * Output only. The automatic placement string at detail level, for example. website url, mobile + * application id, or a YouTube video id. + * @param placement placement or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesDetailContentSuitabilityPlacementView setPlacement(java.lang.String placement) { + this.placement = placement; + return this; + } + + /** + * Output only. Represents the type of the placement, for example, Website, YouTubeVideo and + * MobileApplication. + * @return value or {@code null} for none + */ + public java.lang.String getPlacementType() { + return placementType; + } + + /** + * Output only. Represents the type of the placement, for example, Website, YouTubeVideo and + * MobileApplication. + * @param placementType placementType or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesDetailContentSuitabilityPlacementView setPlacementType(java.lang.String placementType) { + this.placementType = placementType; + return this; + } + + /** + * Output only. The resource name of the detail content suitability placement view. Detail content + * suitability placement view resource names have the form: + * `customers/{customer_id}/detailContentSuitabilityPlacementViews/{placement_fingerprint}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Output only. The resource name of the detail content suitability placement view. Detail content + * suitability placement view resource names have the form: + * `customers/{customer_id}/detailContentSuitabilityPlacementViews/{placement_fingerprint}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesDetailContentSuitabilityPlacementView setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Output only. URL of the placement, for example, website, link to the mobile application in app + * store, or a YouTube video URL. + * @return value or {@code null} for none + */ + public java.lang.String getTargetUrl() { + return targetUrl; + } + + /** + * Output only. URL of the placement, for example, website, link to the mobile application in app + * store, or a YouTube video URL. + * @param targetUrl targetUrl or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesDetailContentSuitabilityPlacementView setTargetUrl(java.lang.String targetUrl) { + this.targetUrl = targetUrl; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesDetailContentSuitabilityPlacementView set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesDetailContentSuitabilityPlacementView) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesDetailContentSuitabilityPlacementView clone() { + return (GoogleAdsSearchads360V23ResourcesDetailContentSuitabilityPlacementView) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesDetailPlacementView.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesDetailPlacementView.java new file mode 100644 index 00000000000..136d1960f22 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesDetailPlacementView.java @@ -0,0 +1,212 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A view with metrics aggregated by ad group and URL or YouTube video. This view primarily surfaces + * placement data from the Google Display Network. While you can select segments like + * `segments.ad_network_type`, this view generally does not include placement data from other + * networks, such as the Search Partners network. To understand performance on Search Partners, + * consider other reports and segmentations. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesDetailPlacementView extends com.google.api.client.json.GenericJson { + + /** + * Output only. The display name is URL name for websites, YouTube video name for YouTube videos, + * and translated mobile app name for mobile apps. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String displayName; + + /** + * Output only. URL of the group placement, for example, domain, link to the mobile application in + * app store, or a YouTube channel URL. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String groupPlacementTargetUrl; + + /** + * Output only. The automatic placement string at detail level, e. g. website URL, mobile + * application ID, or a YouTube video ID. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String placement; + + /** + * Output only. Type of the placement, for example, Website, YouTube Video, and Mobile + * Application. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String placementType; + + /** + * Output only. The resource name of the detail placement view. Detail placement view resource + * names have the form: + * `customers/{customer_id}/detailPlacementViews/{ad_group_id}~{base64_placement}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. URL of the placement, for example, website, link to the mobile application in app + * store, or a YouTube video URL. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String targetUrl; + + /** + * Output only. The display name is URL name for websites, YouTube video name for YouTube videos, + * and translated mobile app name for mobile apps. + * @return value or {@code null} for none + */ + public java.lang.String getDisplayName() { + return displayName; + } + + /** + * Output only. The display name is URL name for websites, YouTube video name for YouTube videos, + * and translated mobile app name for mobile apps. + * @param displayName displayName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesDetailPlacementView setDisplayName(java.lang.String displayName) { + this.displayName = displayName; + return this; + } + + /** + * Output only. URL of the group placement, for example, domain, link to the mobile application in + * app store, or a YouTube channel URL. + * @return value or {@code null} for none + */ + public java.lang.String getGroupPlacementTargetUrl() { + return groupPlacementTargetUrl; + } + + /** + * Output only. URL of the group placement, for example, domain, link to the mobile application in + * app store, or a YouTube channel URL. + * @param groupPlacementTargetUrl groupPlacementTargetUrl or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesDetailPlacementView setGroupPlacementTargetUrl(java.lang.String groupPlacementTargetUrl) { + this.groupPlacementTargetUrl = groupPlacementTargetUrl; + return this; + } + + /** + * Output only. The automatic placement string at detail level, e. g. website URL, mobile + * application ID, or a YouTube video ID. + * @return value or {@code null} for none + */ + public java.lang.String getPlacement() { + return placement; + } + + /** + * Output only. The automatic placement string at detail level, e. g. website URL, mobile + * application ID, or a YouTube video ID. + * @param placement placement or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesDetailPlacementView setPlacement(java.lang.String placement) { + this.placement = placement; + return this; + } + + /** + * Output only. Type of the placement, for example, Website, YouTube Video, and Mobile + * Application. + * @return value or {@code null} for none + */ + public java.lang.String getPlacementType() { + return placementType; + } + + /** + * Output only. Type of the placement, for example, Website, YouTube Video, and Mobile + * Application. + * @param placementType placementType or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesDetailPlacementView setPlacementType(java.lang.String placementType) { + this.placementType = placementType; + return this; + } + + /** + * Output only. The resource name of the detail placement view. Detail placement view resource + * names have the form: + * `customers/{customer_id}/detailPlacementViews/{ad_group_id}~{base64_placement}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Output only. The resource name of the detail placement view. Detail placement view resource + * names have the form: + * `customers/{customer_id}/detailPlacementViews/{ad_group_id}~{base64_placement}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesDetailPlacementView setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Output only. URL of the placement, for example, website, link to the mobile application in app + * store, or a YouTube video URL. + * @return value or {@code null} for none + */ + public java.lang.String getTargetUrl() { + return targetUrl; + } + + /** + * Output only. URL of the placement, for example, website, link to the mobile application in app + * store, or a YouTube video URL. + * @param targetUrl targetUrl or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesDetailPlacementView setTargetUrl(java.lang.String targetUrl) { + this.targetUrl = targetUrl; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesDetailPlacementView set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesDetailPlacementView) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesDetailPlacementView clone() { + return (GoogleAdsSearchads360V23ResourcesDetailPlacementView) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesDetailedDemographic.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesDetailedDemographic.java new file mode 100644 index 00000000000..094521bd0a7 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesDetailedDemographic.java @@ -0,0 +1,200 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A detailed demographic: a particular interest-based vertical to be targeted to reach users based + * on long-term life facts. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesDetailedDemographic extends com.google.api.client.json.GenericJson { + + /** + * Output only. Availability information of the detailed demographic. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List availabilities; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonCriterionCategoryAvailability used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonCriterionCategoryAvailability.class); + } + + /** + * Output only. The ID of the detailed demographic. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long id; + + /** + * Output only. True if the detailed demographic is launched to all channels and locales. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean launchedToAll; + + /** + * Output only. The name of the detailed demographic. For example,"Highest Level of Educational + * Attainment" + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * Output only. The parent of the detailed_demographic. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String parent; + + /** + * Output only. The resource name of the detailed demographic. Detailed demographic resource names + * have the form: `customers/{customer_id}/detailedDemographics/{detailed_demographic_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. Availability information of the detailed demographic. + * @return value or {@code null} for none + */ + public java.util.List getAvailabilities() { + return availabilities; + } + + /** + * Output only. Availability information of the detailed demographic. + * @param availabilities availabilities or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesDetailedDemographic setAvailabilities(java.util.List availabilities) { + this.availabilities = availabilities; + return this; + } + + /** + * Output only. The ID of the detailed demographic. + * @return value or {@code null} for none + */ + public java.lang.Long getId() { + return id; + } + + /** + * Output only. The ID of the detailed demographic. + * @param id id or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesDetailedDemographic setId(java.lang.Long id) { + this.id = id; + return this; + } + + /** + * Output only. True if the detailed demographic is launched to all channels and locales. + * @return value or {@code null} for none + */ + public java.lang.Boolean getLaunchedToAll() { + return launchedToAll; + } + + /** + * Output only. True if the detailed demographic is launched to all channels and locales. + * @param launchedToAll launchedToAll or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesDetailedDemographic setLaunchedToAll(java.lang.Boolean launchedToAll) { + this.launchedToAll = launchedToAll; + return this; + } + + /** + * Output only. The name of the detailed demographic. For example,"Highest Level of Educational + * Attainment" + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * Output only. The name of the detailed demographic. For example,"Highest Level of Educational + * Attainment" + * @param name name or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesDetailedDemographic setName(java.lang.String name) { + this.name = name; + return this; + } + + /** + * Output only. The parent of the detailed_demographic. + * @return value or {@code null} for none + */ + public java.lang.String getParent() { + return parent; + } + + /** + * Output only. The parent of the detailed_demographic. + * @param parent parent or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesDetailedDemographic setParent(java.lang.String parent) { + this.parent = parent; + return this; + } + + /** + * Output only. The resource name of the detailed demographic. Detailed demographic resource names + * have the form: `customers/{customer_id}/detailedDemographics/{detailed_demographic_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Output only. The resource name of the detailed demographic. Detailed demographic resource names + * have the form: `customers/{customer_id}/detailedDemographics/{detailed_demographic_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesDetailedDemographic setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesDetailedDemographic set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesDetailedDemographic) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesDetailedDemographic clone() { + return (GoogleAdsSearchads360V23ResourcesDetailedDemographic) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesDisplayKeywordView.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesDisplayKeywordView.java new file mode 100644 index 00000000000..a65a3738d3c --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesDisplayKeywordView.java @@ -0,0 +1,78 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A display keyword view. Provides performance data for keywords used in Display Network campaigns. + * This view lets you analyze how your display keywords are performing across various segments. This + * view is primarily used to track the effectiveness of keyword targeting within your Display + * campaigns. To understand which network the metrics apply to, you can select the + * `segments.ad_network_type` field in your query. This field will segment the data by networks such + * as the Google Display Network, YouTube, Gmail, and so on. You can select fields from this + * resource along with metrics like impressions, clicks, and conversions to gauge performance. + * Attributed resources like `ad_group` and `campaign` can also be selected without segmenting + * metrics. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesDisplayKeywordView extends com.google.api.client.json.GenericJson { + + /** + * Output only. The resource name of the display keyword view. Display Keyword view resource names + * have the form: `customers/{customer_id}/displayKeywordViews/{ad_group_id}~{criterion_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. The resource name of the display keyword view. Display Keyword view resource names + * have the form: `customers/{customer_id}/displayKeywordViews/{ad_group_id}~{criterion_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Output only. The resource name of the display keyword view. Display Keyword view resource names + * have the form: `customers/{customer_id}/displayKeywordViews/{ad_group_id}~{criterion_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesDisplayKeywordView setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesDisplayKeywordView set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesDisplayKeywordView) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesDisplayKeywordView clone() { + return (GoogleAdsSearchads360V23ResourcesDisplayKeywordView) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesDistanceView.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesDistanceView.java new file mode 100644 index 00000000000..d1ddb0ce056 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesDistanceView.java @@ -0,0 +1,121 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A distance view with metrics aggregated by the user's distance from an advertiser's location + * extensions. Each DistanceBucket includes all impressions that fall within its distance and a + * single impression will contribute to the metrics for all DistanceBuckets that include the user's + * distance. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesDistanceView extends com.google.api.client.json.GenericJson { + + /** + * Output only. Grouping of user distance from location extensions. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String distanceBucket; + + /** + * Output only. True if the DistanceBucket is using the metric system, false otherwise. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean metricSystem; + + /** + * Output only. The resource name of the distance view. Distance view resource names have the + * form: `customers/{customer_id}/distanceViews/1~{distance_bucket}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. Grouping of user distance from location extensions. + * @return value or {@code null} for none + */ + public java.lang.String getDistanceBucket() { + return distanceBucket; + } + + /** + * Output only. Grouping of user distance from location extensions. + * @param distanceBucket distanceBucket or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesDistanceView setDistanceBucket(java.lang.String distanceBucket) { + this.distanceBucket = distanceBucket; + return this; + } + + /** + * Output only. True if the DistanceBucket is using the metric system, false otherwise. + * @return value or {@code null} for none + */ + public java.lang.Boolean getMetricSystem() { + return metricSystem; + } + + /** + * Output only. True if the DistanceBucket is using the metric system, false otherwise. + * @param metricSystem metricSystem or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesDistanceView setMetricSystem(java.lang.Boolean metricSystem) { + this.metricSystem = metricSystem; + return this; + } + + /** + * Output only. The resource name of the distance view. Distance view resource names have the + * form: `customers/{customer_id}/distanceViews/1~{distance_bucket}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Output only. The resource name of the distance view. Distance view resource names have the + * form: `customers/{customer_id}/distanceViews/1~{distance_bucket}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesDistanceView setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesDistanceView set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesDistanceView) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesDistanceView clone() { + return (GoogleAdsSearchads360V23ResourcesDistanceView) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesDoubleClickCampaignManagerSetting.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesDoubleClickCampaignManagerSetting.java new file mode 100644 index 00000000000..93b010e22e1 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesDoubleClickCampaignManagerSetting.java @@ -0,0 +1,118 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * DoubleClick Campaign Manager (DCM) setting for a manager customer. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesDoubleClickCampaignManagerSetting extends com.google.api.client.json.GenericJson { + + /** + * Output only. ID of the Campaign Manager advertiser associated with this customer. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long advertiserId; + + /** + * Output only. ID of the Campaign Manager network associated with this customer. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long networkId; + + /** + * Output only. Time zone of the Campaign Manager network associated with this customer in IANA + * Time Zone Database format, such as America/New_York. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String timeZone; + + /** + * Output only. ID of the Campaign Manager advertiser associated with this customer. + * @return value or {@code null} for none + */ + public java.lang.Long getAdvertiserId() { + return advertiserId; + } + + /** + * Output only. ID of the Campaign Manager advertiser associated with this customer. + * @param advertiserId advertiserId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesDoubleClickCampaignManagerSetting setAdvertiserId(java.lang.Long advertiserId) { + this.advertiserId = advertiserId; + return this; + } + + /** + * Output only. ID of the Campaign Manager network associated with this customer. + * @return value or {@code null} for none + */ + public java.lang.Long getNetworkId() { + return networkId; + } + + /** + * Output only. ID of the Campaign Manager network associated with this customer. + * @param networkId networkId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesDoubleClickCampaignManagerSetting setNetworkId(java.lang.Long networkId) { + this.networkId = networkId; + return this; + } + + /** + * Output only. Time zone of the Campaign Manager network associated with this customer in IANA + * Time Zone Database format, such as America/New_York. + * @return value or {@code null} for none + */ + public java.lang.String getTimeZone() { + return timeZone; + } + + /** + * Output only. Time zone of the Campaign Manager network associated with this customer in IANA + * Time Zone Database format, such as America/New_York. + * @param timeZone timeZone or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesDoubleClickCampaignManagerSetting setTimeZone(java.lang.String timeZone) { + this.timeZone = timeZone; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesDoubleClickCampaignManagerSetting set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesDoubleClickCampaignManagerSetting) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesDoubleClickCampaignManagerSetting clone() { + return (GoogleAdsSearchads360V23ResourcesDoubleClickCampaignManagerSetting) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesDynamicSearchAdsSearchTermView.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesDynamicSearchAdsSearchTermView.java new file mode 100644 index 00000000000..99c161e69f6 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesDynamicSearchAdsSearchTermView.java @@ -0,0 +1,250 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A dynamic search ads search term view. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesDynamicSearchAdsSearchTermView extends com.google.api.client.json.GenericJson { + + /** + * Output only. True if query is added to targeted keywords. This field is read-only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean hasMatchingKeyword; + + /** + * Output only. True if query matches a negative keyword. This field is read-only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean hasNegativeKeyword; + + /** + * Output only. True if query matches a negative url. This field is read-only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean hasNegativeUrl; + + /** + * Output only. The dynamically generated headline of the Dynamic Search Ad. This field is read- + * only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String headline; + + /** + * Output only. The dynamically selected landing page URL of the impression. This field is read- + * only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String landingPage; + + /** + * Output only. The URL of page feed item served for the impression. This field is read-only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String pageUrl; + + /** + * Output only. The resource name of the dynamic search ads search term view. Dynamic search ads + * search term view resource names have the form: `customers/{customer_id}/dynamicSearchAdsSearchT + * ermViews/{ad_group_id}~{search_term_fingerprint}~{headline_fingerprint}~{landing_page_fingerpri + * nt}~{page_url_fingerprint}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. Search term This field is read-only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String searchTerm; + + /** + * Output only. True if query is added to targeted keywords. This field is read-only. + * @return value or {@code null} for none + */ + public java.lang.Boolean getHasMatchingKeyword() { + return hasMatchingKeyword; + } + + /** + * Output only. True if query is added to targeted keywords. This field is read-only. + * @param hasMatchingKeyword hasMatchingKeyword or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesDynamicSearchAdsSearchTermView setHasMatchingKeyword(java.lang.Boolean hasMatchingKeyword) { + this.hasMatchingKeyword = hasMatchingKeyword; + return this; + } + + /** + * Output only. True if query matches a negative keyword. This field is read-only. + * @return value or {@code null} for none + */ + public java.lang.Boolean getHasNegativeKeyword() { + return hasNegativeKeyword; + } + + /** + * Output only. True if query matches a negative keyword. This field is read-only. + * @param hasNegativeKeyword hasNegativeKeyword or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesDynamicSearchAdsSearchTermView setHasNegativeKeyword(java.lang.Boolean hasNegativeKeyword) { + this.hasNegativeKeyword = hasNegativeKeyword; + return this; + } + + /** + * Output only. True if query matches a negative url. This field is read-only. + * @return value or {@code null} for none + */ + public java.lang.Boolean getHasNegativeUrl() { + return hasNegativeUrl; + } + + /** + * Output only. True if query matches a negative url. This field is read-only. + * @param hasNegativeUrl hasNegativeUrl or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesDynamicSearchAdsSearchTermView setHasNegativeUrl(java.lang.Boolean hasNegativeUrl) { + this.hasNegativeUrl = hasNegativeUrl; + return this; + } + + /** + * Output only. The dynamically generated headline of the Dynamic Search Ad. This field is read- + * only. + * @return value or {@code null} for none + */ + public java.lang.String getHeadline() { + return headline; + } + + /** + * Output only. The dynamically generated headline of the Dynamic Search Ad. This field is read- + * only. + * @param headline headline or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesDynamicSearchAdsSearchTermView setHeadline(java.lang.String headline) { + this.headline = headline; + return this; + } + + /** + * Output only. The dynamically selected landing page URL of the impression. This field is read- + * only. + * @return value or {@code null} for none + */ + public java.lang.String getLandingPage() { + return landingPage; + } + + /** + * Output only. The dynamically selected landing page URL of the impression. This field is read- + * only. + * @param landingPage landingPage or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesDynamicSearchAdsSearchTermView setLandingPage(java.lang.String landingPage) { + this.landingPage = landingPage; + return this; + } + + /** + * Output only. The URL of page feed item served for the impression. This field is read-only. + * @return value or {@code null} for none + */ + public java.lang.String getPageUrl() { + return pageUrl; + } + + /** + * Output only. The URL of page feed item served for the impression. This field is read-only. + * @param pageUrl pageUrl or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesDynamicSearchAdsSearchTermView setPageUrl(java.lang.String pageUrl) { + this.pageUrl = pageUrl; + return this; + } + + /** + * Output only. The resource name of the dynamic search ads search term view. Dynamic search ads + * search term view resource names have the form: `customers/{customer_id}/dynamicSearchAdsSearchT + * ermViews/{ad_group_id}~{search_term_fingerprint}~{headline_fingerprint}~{landing_page_fingerpri + * nt}~{page_url_fingerprint}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Output only. The resource name of the dynamic search ads search term view. Dynamic search ads + * search term view resource names have the form: `customers/{customer_id}/dynamicSearchAdsSearchT + * ermViews/{ad_group_id}~{search_term_fingerprint}~{headline_fingerprint}~{landing_page_fingerpri + * nt}~{page_url_fingerprint}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesDynamicSearchAdsSearchTermView setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Output only. Search term This field is read-only. + * @return value or {@code null} for none + */ + public java.lang.String getSearchTerm() { + return searchTerm; + } + + /** + * Output only. Search term This field is read-only. + * @param searchTerm searchTerm or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesDynamicSearchAdsSearchTermView setSearchTerm(java.lang.String searchTerm) { + this.searchTerm = searchTerm; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesDynamicSearchAdsSearchTermView set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesDynamicSearchAdsSearchTermView) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesDynamicSearchAdsSearchTermView clone() { + return (GoogleAdsSearchads360V23ResourcesDynamicSearchAdsSearchTermView) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesExpandedLandingPageView.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesExpandedLandingPageView.java new file mode 100644 index 00000000000..c1d5bcc7151 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesExpandedLandingPageView.java @@ -0,0 +1,97 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A landing page view with metrics aggregated at the expanded final URL level. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesExpandedLandingPageView extends com.google.api.client.json.GenericJson { + + /** + * Output only. The final URL that clicks are directed to. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String expandedFinalUrl; + + /** + * Output only. The resource name of the expanded landing page view. Expanded landing page view + * resource names have the form: + * `customers/{customer_id}/expandedLandingPageViews/{expanded_final_url_fingerprint}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. The final URL that clicks are directed to. + * @return value or {@code null} for none + */ + public java.lang.String getExpandedFinalUrl() { + return expandedFinalUrl; + } + + /** + * Output only. The final URL that clicks are directed to. + * @param expandedFinalUrl expandedFinalUrl or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesExpandedLandingPageView setExpandedFinalUrl(java.lang.String expandedFinalUrl) { + this.expandedFinalUrl = expandedFinalUrl; + return this; + } + + /** + * Output only. The resource name of the expanded landing page view. Expanded landing page view + * resource names have the form: + * `customers/{customer_id}/expandedLandingPageViews/{expanded_final_url_fingerprint}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Output only. The resource name of the expanded landing page view. Expanded landing page view + * resource names have the form: + * `customers/{customer_id}/expandedLandingPageViews/{expanded_final_url_fingerprint}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesExpandedLandingPageView setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesExpandedLandingPageView set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesExpandedLandingPageView) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesExpandedLandingPageView clone() { + return (GoogleAdsSearchads360V23ResourcesExpandedLandingPageView) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesExperiment.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesExperiment.java new file mode 100644 index 00000000000..f30bd0f2790 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesExperiment.java @@ -0,0 +1,404 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A Google ads experiment for users to experiment changes on multiple campaigns, compare the + * performance, and apply the effective changes. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesExperiment extends com.google.api.client.json.GenericJson { + + /** + * The description of the experiment. It must have a minimum length of 1 and maximum length of + * 2048. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String description; + + /** + * Date when the experiment ends. By default, the experiment ends on the campaign's end date. If + * this field is set, then the experiment ends at the end of the specified date in the customer's + * time zone. Format: YYYY-MM-DD Example: 2019-04-18 + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String endDate; + + /** + * Output only. The ID of the experiment. Read only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long experimentId; + + /** + * The goals of this experiment. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List goals; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonMetricGoal used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonMetricGoal.class); + } + + /** + * Output only. The resource name of the long-running operation that can be used to poll for + * completion of experiment schedule or promote. The most recent long running operation is + * returned. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String longRunningOperation; + + /** + * Required. The name of the experiment. It must have a minimum length of 1 and maximum length of + * 1024. It must be unique under a customer. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * Output only. The status of the experiment promotion process. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String promoteStatus; + + /** + * Immutable. The resource name of the experiment. Experiment resource names have the form: + * `customers/{customer_id}/experiments/{experiment_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Date when the experiment starts. By default, the experiment starts now or on the campaign's + * start date, whichever is later. If this field is set, then the experiment starts at the + * beginning of the specified date in the customer's time zone. Format: YYYY-MM-DD Example: + * 2019-03-14 + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String startDate; + + /** + * The Advertiser-chosen status of this experiment. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String status; + + /** + * For system managed experiments, the advertiser must provide a suffix during construction, in + * the setup stage before moving to initiated. The suffix will be appended to the in-design and + * experiment campaign names so that the name is base campaign name + suffix. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String suffix; + + /** + * Immutable. Set to true if changes to base campaigns should be synced to the trial campaigns. + * Any changes made directly to trial campaigns will be preserved. This field can only be set when + * the experiment is being created. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean syncEnabled; + + /** + * Required. The product/feature that uses this experiment. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String type; + + /** + * The description of the experiment. It must have a minimum length of 1 and maximum length of + * 2048. + * @return value or {@code null} for none + */ + public java.lang.String getDescription() { + return description; + } + + /** + * The description of the experiment. It must have a minimum length of 1 and maximum length of + * 2048. + * @param description description or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesExperiment setDescription(java.lang.String description) { + this.description = description; + return this; + } + + /** + * Date when the experiment ends. By default, the experiment ends on the campaign's end date. If + * this field is set, then the experiment ends at the end of the specified date in the customer's + * time zone. Format: YYYY-MM-DD Example: 2019-04-18 + * @return value or {@code null} for none + */ + public java.lang.String getEndDate() { + return endDate; + } + + /** + * Date when the experiment ends. By default, the experiment ends on the campaign's end date. If + * this field is set, then the experiment ends at the end of the specified date in the customer's + * time zone. Format: YYYY-MM-DD Example: 2019-04-18 + * @param endDate endDate or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesExperiment setEndDate(java.lang.String endDate) { + this.endDate = endDate; + return this; + } + + /** + * Output only. The ID of the experiment. Read only. + * @return value or {@code null} for none + */ + public java.lang.Long getExperimentId() { + return experimentId; + } + + /** + * Output only. The ID of the experiment. Read only. + * @param experimentId experimentId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesExperiment setExperimentId(java.lang.Long experimentId) { + this.experimentId = experimentId; + return this; + } + + /** + * The goals of this experiment. + * @return value or {@code null} for none + */ + public java.util.List getGoals() { + return goals; + } + + /** + * The goals of this experiment. + * @param goals goals or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesExperiment setGoals(java.util.List goals) { + this.goals = goals; + return this; + } + + /** + * Output only. The resource name of the long-running operation that can be used to poll for + * completion of experiment schedule or promote. The most recent long running operation is + * returned. + * @return value or {@code null} for none + */ + public java.lang.String getLongRunningOperation() { + return longRunningOperation; + } + + /** + * Output only. The resource name of the long-running operation that can be used to poll for + * completion of experiment schedule or promote. The most recent long running operation is + * returned. + * @param longRunningOperation longRunningOperation or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesExperiment setLongRunningOperation(java.lang.String longRunningOperation) { + this.longRunningOperation = longRunningOperation; + return this; + } + + /** + * Required. The name of the experiment. It must have a minimum length of 1 and maximum length of + * 1024. It must be unique under a customer. + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * Required. The name of the experiment. It must have a minimum length of 1 and maximum length of + * 1024. It must be unique under a customer. + * @param name name or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesExperiment setName(java.lang.String name) { + this.name = name; + return this; + } + + /** + * Output only. The status of the experiment promotion process. + * @return value or {@code null} for none + */ + public java.lang.String getPromoteStatus() { + return promoteStatus; + } + + /** + * Output only. The status of the experiment promotion process. + * @param promoteStatus promoteStatus or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesExperiment setPromoteStatus(java.lang.String promoteStatus) { + this.promoteStatus = promoteStatus; + return this; + } + + /** + * Immutable. The resource name of the experiment. Experiment resource names have the form: + * `customers/{customer_id}/experiments/{experiment_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Immutable. The resource name of the experiment. Experiment resource names have the form: + * `customers/{customer_id}/experiments/{experiment_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesExperiment setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Date when the experiment starts. By default, the experiment starts now or on the campaign's + * start date, whichever is later. If this field is set, then the experiment starts at the + * beginning of the specified date in the customer's time zone. Format: YYYY-MM-DD Example: + * 2019-03-14 + * @return value or {@code null} for none + */ + public java.lang.String getStartDate() { + return startDate; + } + + /** + * Date when the experiment starts. By default, the experiment starts now or on the campaign's + * start date, whichever is later. If this field is set, then the experiment starts at the + * beginning of the specified date in the customer's time zone. Format: YYYY-MM-DD Example: + * 2019-03-14 + * @param startDate startDate or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesExperiment setStartDate(java.lang.String startDate) { + this.startDate = startDate; + return this; + } + + /** + * The Advertiser-chosen status of this experiment. + * @return value or {@code null} for none + */ + public java.lang.String getStatus() { + return status; + } + + /** + * The Advertiser-chosen status of this experiment. + * @param status status or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesExperiment setStatus(java.lang.String status) { + this.status = status; + return this; + } + + /** + * For system managed experiments, the advertiser must provide a suffix during construction, in + * the setup stage before moving to initiated. The suffix will be appended to the in-design and + * experiment campaign names so that the name is base campaign name + suffix. + * @return value or {@code null} for none + */ + public java.lang.String getSuffix() { + return suffix; + } + + /** + * For system managed experiments, the advertiser must provide a suffix during construction, in + * the setup stage before moving to initiated. The suffix will be appended to the in-design and + * experiment campaign names so that the name is base campaign name + suffix. + * @param suffix suffix or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesExperiment setSuffix(java.lang.String suffix) { + this.suffix = suffix; + return this; + } + + /** + * Immutable. Set to true if changes to base campaigns should be synced to the trial campaigns. + * Any changes made directly to trial campaigns will be preserved. This field can only be set when + * the experiment is being created. + * @return value or {@code null} for none + */ + public java.lang.Boolean getSyncEnabled() { + return syncEnabled; + } + + /** + * Immutable. Set to true if changes to base campaigns should be synced to the trial campaigns. + * Any changes made directly to trial campaigns will be preserved. This field can only be set when + * the experiment is being created. + * @param syncEnabled syncEnabled or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesExperiment setSyncEnabled(java.lang.Boolean syncEnabled) { + this.syncEnabled = syncEnabled; + return this; + } + + /** + * Required. The product/feature that uses this experiment. + * @return value or {@code null} for none + */ + public java.lang.String getType() { + return type; + } + + /** + * Required. The product/feature that uses this experiment. + * @param type type or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesExperiment setType(java.lang.String type) { + this.type = type; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesExperiment set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesExperiment) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesExperiment clone() { + return (GoogleAdsSearchads360V23ResourcesExperiment) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesExperimentArm.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesExperimentArm.java new file mode 100644 index 00000000000..c796e943be7 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesExperimentArm.java @@ -0,0 +1,254 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A Google ads experiment for users to experiment changes on multiple campaigns, compare the + * performance, and apply the effective changes. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesExperimentArm extends com.google.api.client.json.GenericJson { + + /** + * List of asset groups in the experiment arm. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List assetGroups; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ResourcesExperimentArmAssetGroupInfo used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ResourcesExperimentArmAssetGroupInfo.class); + } + + /** + * List of campaigns in the trial arm. The max length is one. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List campaigns; + + /** + * Whether this arm is a control arm. A control arm is the arm against which the other arms are + * compared. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean control; + + /** + * Immutable. The experiment to which the ExperimentArm belongs. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String experiment; + + /** + * Output only. The in design campaigns in the treatment experiment arm. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List inDesignCampaigns; + + /** + * Required. The name of the experiment arm. It must have a minimum length of 1 and maximum length + * of 1024. It must be unique under an experiment. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * Immutable. The resource name of the experiment arm. Experiment arm resource names have the + * form: `customers/{customer_id}/experimentArms/{TrialArm.trial_id}~{TrialArm.trial_arm_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Traffic split of the trial arm. The value should be between 1 and 100 and must total 100 + * between the two trial arms. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long trafficSplit; + + /** + * List of asset groups in the experiment arm. + * @return value or {@code null} for none + */ + public java.util.List getAssetGroups() { + return assetGroups; + } + + /** + * List of asset groups in the experiment arm. + * @param assetGroups assetGroups or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesExperimentArm setAssetGroups(java.util.List assetGroups) { + this.assetGroups = assetGroups; + return this; + } + + /** + * List of campaigns in the trial arm. The max length is one. + * @return value or {@code null} for none + */ + public java.util.List getCampaigns() { + return campaigns; + } + + /** + * List of campaigns in the trial arm. The max length is one. + * @param campaigns campaigns or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesExperimentArm setCampaigns(java.util.List campaigns) { + this.campaigns = campaigns; + return this; + } + + /** + * Whether this arm is a control arm. A control arm is the arm against which the other arms are + * compared. + * @return value or {@code null} for none + */ + public java.lang.Boolean getControl() { + return control; + } + + /** + * Whether this arm is a control arm. A control arm is the arm against which the other arms are + * compared. + * @param control control or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesExperimentArm setControl(java.lang.Boolean control) { + this.control = control; + return this; + } + + /** + * Immutable. The experiment to which the ExperimentArm belongs. + * @return value or {@code null} for none + */ + public java.lang.String getExperiment() { + return experiment; + } + + /** + * Immutable. The experiment to which the ExperimentArm belongs. + * @param experiment experiment or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesExperimentArm setExperiment(java.lang.String experiment) { + this.experiment = experiment; + return this; + } + + /** + * Output only. The in design campaigns in the treatment experiment arm. + * @return value or {@code null} for none + */ + public java.util.List getInDesignCampaigns() { + return inDesignCampaigns; + } + + /** + * Output only. The in design campaigns in the treatment experiment arm. + * @param inDesignCampaigns inDesignCampaigns or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesExperimentArm setInDesignCampaigns(java.util.List inDesignCampaigns) { + this.inDesignCampaigns = inDesignCampaigns; + return this; + } + + /** + * Required. The name of the experiment arm. It must have a minimum length of 1 and maximum length + * of 1024. It must be unique under an experiment. + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * Required. The name of the experiment arm. It must have a minimum length of 1 and maximum length + * of 1024. It must be unique under an experiment. + * @param name name or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesExperimentArm setName(java.lang.String name) { + this.name = name; + return this; + } + + /** + * Immutable. The resource name of the experiment arm. Experiment arm resource names have the + * form: `customers/{customer_id}/experimentArms/{TrialArm.trial_id}~{TrialArm.trial_arm_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Immutable. The resource name of the experiment arm. Experiment arm resource names have the + * form: `customers/{customer_id}/experimentArms/{TrialArm.trial_id}~{TrialArm.trial_arm_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesExperimentArm setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Traffic split of the trial arm. The value should be between 1 and 100 and must total 100 + * between the two trial arms. + * @return value or {@code null} for none + */ + public java.lang.Long getTrafficSplit() { + return trafficSplit; + } + + /** + * Traffic split of the trial arm. The value should be between 1 and 100 and must total 100 + * between the two trial arms. + * @param trafficSplit trafficSplit or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesExperimentArm setTrafficSplit(java.lang.Long trafficSplit) { + this.trafficSplit = trafficSplit; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesExperimentArm set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesExperimentArm) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesExperimentArm clone() { + return (GoogleAdsSearchads360V23ResourcesExperimentArm) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesExperimentArmAssetGroupAssetInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesExperimentArmAssetGroupAssetInfo.java new file mode 100644 index 00000000000..c34f86db646 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesExperimentArmAssetGroupAssetInfo.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Holds the details of an asset within an asset group for an Optimize Assets experiment arm. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesExperimentArmAssetGroupAssetInfo extends com.google.api.client.json.GenericJson { + + /** + * Asset resource name of the asset group asset. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String asset; + + /** + * Field type of the asset group asset. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String fieldType; + + /** + * Asset resource name of the asset group asset. + * @return value or {@code null} for none + */ + public java.lang.String getAsset() { + return asset; + } + + /** + * Asset resource name of the asset group asset. + * @param asset asset or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesExperimentArmAssetGroupAssetInfo setAsset(java.lang.String asset) { + this.asset = asset; + return this; + } + + /** + * Field type of the asset group asset. + * @return value or {@code null} for none + */ + public java.lang.String getFieldType() { + return fieldType; + } + + /** + * Field type of the asset group asset. + * @param fieldType fieldType or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesExperimentArmAssetGroupAssetInfo setFieldType(java.lang.String fieldType) { + this.fieldType = fieldType; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesExperimentArmAssetGroupAssetInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesExperimentArmAssetGroupAssetInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesExperimentArmAssetGroupAssetInfo clone() { + return (GoogleAdsSearchads360V23ResourcesExperimentArmAssetGroupAssetInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesExperimentArmAssetGroupInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesExperimentArmAssetGroupInfo.java new file mode 100644 index 00000000000..e2cc4552884 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesExperimentArmAssetGroupInfo.java @@ -0,0 +1,97 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Holds the asset groups included in an arm of an Optimize Assets experiment. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesExperimentArmAssetGroupInfo extends com.google.api.client.json.GenericJson { + + /** + * Asset group resource name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String assetGroup; + + /** + * List of asset group assets under the asset group. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List assetGroupAssets; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ResourcesExperimentArmAssetGroupAssetInfo used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ResourcesExperimentArmAssetGroupAssetInfo.class); + } + + /** + * Asset group resource name. + * @return value or {@code null} for none + */ + public java.lang.String getAssetGroup() { + return assetGroup; + } + + /** + * Asset group resource name. + * @param assetGroup assetGroup or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesExperimentArmAssetGroupInfo setAssetGroup(java.lang.String assetGroup) { + this.assetGroup = assetGroup; + return this; + } + + /** + * List of asset group assets under the asset group. + * @return value or {@code null} for none + */ + public java.util.List getAssetGroupAssets() { + return assetGroupAssets; + } + + /** + * List of asset group assets under the asset group. + * @param assetGroupAssets assetGroupAssets or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesExperimentArmAssetGroupInfo setAssetGroupAssets(java.util.List assetGroupAssets) { + this.assetGroupAssets = assetGroupAssets; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesExperimentArmAssetGroupInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesExperimentArmAssetGroupInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesExperimentArmAssetGroupInfo clone() { + return (GoogleAdsSearchads360V23ResourcesExperimentArmAssetGroupInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesFellowship.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesFellowship.java new file mode 100644 index 00000000000..cc71729f254 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesFellowship.java @@ -0,0 +1,92 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Details about the employee's medical Fellowship. Fellowship is a period of medical training that + * the professional undertakes after finishing their residency. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesFellowship extends com.google.api.client.json.GenericJson { + + /** + * Output only. Year of completion. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer completionYear; + + /** + * Output only. Name of the instutition at which the fellowship was completed. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String institutionName; + + /** + * Output only. Year of completion. + * @return value or {@code null} for none + */ + public java.lang.Integer getCompletionYear() { + return completionYear; + } + + /** + * Output only. Year of completion. + * @param completionYear completionYear or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesFellowship setCompletionYear(java.lang.Integer completionYear) { + this.completionYear = completionYear; + return this; + } + + /** + * Output only. Name of the instutition at which the fellowship was completed. + * @return value or {@code null} for none + */ + public java.lang.String getInstitutionName() { + return institutionName; + } + + /** + * Output only. Name of the instutition at which the fellowship was completed. + * @param institutionName institutionName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesFellowship setInstitutionName(java.lang.String institutionName) { + this.institutionName = institutionName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesFellowship set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesFellowship) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesFellowship clone() { + return (GoogleAdsSearchads360V23ResourcesFellowship) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesFinalUrlExpansionAssetView.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesFinalUrlExpansionAssetView.java new file mode 100644 index 00000000000..26ee0edd381 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesFinalUrlExpansionAssetView.java @@ -0,0 +1,235 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * FinalUrlExpansionAssetView Resource. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesFinalUrlExpansionAssetView extends com.google.api.client.json.GenericJson { + + /** + * Output only. Ad Group in which FinalUrlExpansionAsset served. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String adGroup; + + /** + * Output only. The ID of the asset. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String asset; + + /** + * Output only. Asset Group in which FinalUrlExpansionAsset served. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String assetGroup; + + /** + * Output only. Campaign in which the asset served. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String campaign; + + /** + * Output only. The field type of the asset. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String fieldType; + + /** + * Output only. Final URL of the FinalUrlExpansionAsset. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String finalUrl; + + /** + * Output only. The resource name of the FinalUrlExpansionAsset. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. Status of the FinalUrlExpansionAsset. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String status; + + /** + * Output only. Ad Group in which FinalUrlExpansionAsset served. + * @return value or {@code null} for none + */ + public java.lang.String getAdGroup() { + return adGroup; + } + + /** + * Output only. Ad Group in which FinalUrlExpansionAsset served. + * @param adGroup adGroup or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesFinalUrlExpansionAssetView setAdGroup(java.lang.String adGroup) { + this.adGroup = adGroup; + return this; + } + + /** + * Output only. The ID of the asset. + * @return value or {@code null} for none + */ + public java.lang.String getAsset() { + return asset; + } + + /** + * Output only. The ID of the asset. + * @param asset asset or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesFinalUrlExpansionAssetView setAsset(java.lang.String asset) { + this.asset = asset; + return this; + } + + /** + * Output only. Asset Group in which FinalUrlExpansionAsset served. + * @return value or {@code null} for none + */ + public java.lang.String getAssetGroup() { + return assetGroup; + } + + /** + * Output only. Asset Group in which FinalUrlExpansionAsset served. + * @param assetGroup assetGroup or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesFinalUrlExpansionAssetView setAssetGroup(java.lang.String assetGroup) { + this.assetGroup = assetGroup; + return this; + } + + /** + * Output only. Campaign in which the asset served. + * @return value or {@code null} for none + */ + public java.lang.String getCampaign() { + return campaign; + } + + /** + * Output only. Campaign in which the asset served. + * @param campaign campaign or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesFinalUrlExpansionAssetView setCampaign(java.lang.String campaign) { + this.campaign = campaign; + return this; + } + + /** + * Output only. The field type of the asset. + * @return value or {@code null} for none + */ + public java.lang.String getFieldType() { + return fieldType; + } + + /** + * Output only. The field type of the asset. + * @param fieldType fieldType or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesFinalUrlExpansionAssetView setFieldType(java.lang.String fieldType) { + this.fieldType = fieldType; + return this; + } + + /** + * Output only. Final URL of the FinalUrlExpansionAsset. + * @return value or {@code null} for none + */ + public java.lang.String getFinalUrl() { + return finalUrl; + } + + /** + * Output only. Final URL of the FinalUrlExpansionAsset. + * @param finalUrl finalUrl or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesFinalUrlExpansionAssetView setFinalUrl(java.lang.String finalUrl) { + this.finalUrl = finalUrl; + return this; + } + + /** + * Output only. The resource name of the FinalUrlExpansionAsset. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Output only. The resource name of the FinalUrlExpansionAsset. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesFinalUrlExpansionAssetView setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Output only. Status of the FinalUrlExpansionAsset. + * @return value or {@code null} for none + */ + public java.lang.String getStatus() { + return status; + } + + /** + * Output only. Status of the FinalUrlExpansionAsset. + * @param status status or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesFinalUrlExpansionAssetView setStatus(java.lang.String status) { + this.status = status; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesFinalUrlExpansionAssetView set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesFinalUrlExpansionAssetView) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesFinalUrlExpansionAssetView clone() { + return (GoogleAdsSearchads360V23ResourcesFinalUrlExpansionAssetView) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesGenderView.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesGenderView.java new file mode 100644 index 00000000000..3e5851b62bb --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesGenderView.java @@ -0,0 +1,72 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A gender view. The gender_view resource reflects the effective serving state, rather than what + * criteria were added. An ad group without gender criteria by default shows to all genders, so all + * genders appear in gender_view with stats. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesGenderView extends com.google.api.client.json.GenericJson { + + /** + * Output only. The resource name of the gender view. Gender view resource names have the form: + * `customers/{customer_id}/genderViews/{ad_group_id}~{criterion_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. The resource name of the gender view. Gender view resource names have the form: + * `customers/{customer_id}/genderViews/{ad_group_id}~{criterion_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Output only. The resource name of the gender view. Gender view resource names have the form: + * `customers/{customer_id}/genderViews/{ad_group_id}~{criterion_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesGenderView setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesGenderView set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesGenderView) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesGenderView clone() { + return (GoogleAdsSearchads360V23ResourcesGenderView) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesGeoTargetConstant.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesGeoTargetConstant.java new file mode 100644 index 00000000000..479ea0bae5c --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesGeoTargetConstant.java @@ -0,0 +1,244 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A geo target constant. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesGeoTargetConstant extends com.google.api.client.json.GenericJson { + + /** + * Output only. The fully qualified English name, consisting of the target's name and that of its + * parent and country. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String canonicalName; + + /** + * Output only. The ISO-3166-1 alpha-2 country code that is associated with the target. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String countryCode; + + /** + * Output only. The ID of the geo target constant. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long id; + + /** + * Output only. Geo target constant English name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * Output only. The resource name of the parent geo target constant. Geo target constant resource + * names have the form: `geoTargetConstants/{parent_geo_target_constant_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String parentGeoTarget; + + /** + * Output only. The resource name of the geo target constant. Geo target constant resource names + * have the form: `geoTargetConstants/{geo_target_constant_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. Geo target constant status. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String status; + + /** + * Output only. Geo target constant target type. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String targetType; + + /** + * Output only. The fully qualified English name, consisting of the target's name and that of its + * parent and country. + * @return value or {@code null} for none + */ + public java.lang.String getCanonicalName() { + return canonicalName; + } + + /** + * Output only. The fully qualified English name, consisting of the target's name and that of its + * parent and country. + * @param canonicalName canonicalName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesGeoTargetConstant setCanonicalName(java.lang.String canonicalName) { + this.canonicalName = canonicalName; + return this; + } + + /** + * Output only. The ISO-3166-1 alpha-2 country code that is associated with the target. + * @return value or {@code null} for none + */ + public java.lang.String getCountryCode() { + return countryCode; + } + + /** + * Output only. The ISO-3166-1 alpha-2 country code that is associated with the target. + * @param countryCode countryCode or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesGeoTargetConstant setCountryCode(java.lang.String countryCode) { + this.countryCode = countryCode; + return this; + } + + /** + * Output only. The ID of the geo target constant. + * @return value or {@code null} for none + */ + public java.lang.Long getId() { + return id; + } + + /** + * Output only. The ID of the geo target constant. + * @param id id or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesGeoTargetConstant setId(java.lang.Long id) { + this.id = id; + return this; + } + + /** + * Output only. Geo target constant English name. + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * Output only. Geo target constant English name. + * @param name name or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesGeoTargetConstant setName(java.lang.String name) { + this.name = name; + return this; + } + + /** + * Output only. The resource name of the parent geo target constant. Geo target constant resource + * names have the form: `geoTargetConstants/{parent_geo_target_constant_id}` + * @return value or {@code null} for none + */ + public java.lang.String getParentGeoTarget() { + return parentGeoTarget; + } + + /** + * Output only. The resource name of the parent geo target constant. Geo target constant resource + * names have the form: `geoTargetConstants/{parent_geo_target_constant_id}` + * @param parentGeoTarget parentGeoTarget or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesGeoTargetConstant setParentGeoTarget(java.lang.String parentGeoTarget) { + this.parentGeoTarget = parentGeoTarget; + return this; + } + + /** + * Output only. The resource name of the geo target constant. Geo target constant resource names + * have the form: `geoTargetConstants/{geo_target_constant_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Output only. The resource name of the geo target constant. Geo target constant resource names + * have the form: `geoTargetConstants/{geo_target_constant_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesGeoTargetConstant setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Output only. Geo target constant status. + * @return value or {@code null} for none + */ + public java.lang.String getStatus() { + return status; + } + + /** + * Output only. Geo target constant status. + * @param status status or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesGeoTargetConstant setStatus(java.lang.String status) { + this.status = status; + return this; + } + + /** + * Output only. Geo target constant target type. + * @return value or {@code null} for none + */ + public java.lang.String getTargetType() { + return targetType; + } + + /** + * Output only. Geo target constant target type. + * @param targetType targetType or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesGeoTargetConstant setTargetType(java.lang.String targetType) { + this.targetType = targetType; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesGeoTargetConstant set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesGeoTargetConstant) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesGeoTargetConstant clone() { + return (GoogleAdsSearchads360V23ResourcesGeoTargetConstant) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesGeographicView.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesGeographicView.java new file mode 100644 index 00000000000..2f59520c280 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesGeographicView.java @@ -0,0 +1,120 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A geographic view. Geographic View includes all metrics aggregated at the country level, one row + * per country. It reports metrics at either actual physical location of the user or an area of + * interest. If other segment fields are used, you may get more than one row per country. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesGeographicView extends com.google.api.client.json.GenericJson { + + /** + * Output only. Criterion Id for the country. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long countryCriterionId; + + /** + * Output only. Type of the geo targeting of the campaign. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String locationType; + + /** + * Output only. The resource name of the geographic view. Geographic view resource names have the + * form: `customers/{customer_id}/geographicViews/{country_criterion_id}~{location_type}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. Criterion Id for the country. + * @return value or {@code null} for none + */ + public java.lang.Long getCountryCriterionId() { + return countryCriterionId; + } + + /** + * Output only. Criterion Id for the country. + * @param countryCriterionId countryCriterionId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesGeographicView setCountryCriterionId(java.lang.Long countryCriterionId) { + this.countryCriterionId = countryCriterionId; + return this; + } + + /** + * Output only. Type of the geo targeting of the campaign. + * @return value or {@code null} for none + */ + public java.lang.String getLocationType() { + return locationType; + } + + /** + * Output only. Type of the geo targeting of the campaign. + * @param locationType locationType or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesGeographicView setLocationType(java.lang.String locationType) { + this.locationType = locationType; + return this; + } + + /** + * Output only. The resource name of the geographic view. Geographic view resource names have the + * form: `customers/{customer_id}/geographicViews/{country_criterion_id}~{location_type}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Output only. The resource name of the geographic view. Geographic view resource names have the + * form: `customers/{customer_id}/geographicViews/{country_criterion_id}~{location_type}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesGeographicView setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesGeographicView set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesGeographicView) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesGeographicView clone() { + return (GoogleAdsSearchads360V23ResourcesGeographicView) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesGoal.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesGoal.java new file mode 100644 index 00000000000..ba02d5256bd --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesGoal.java @@ -0,0 +1,190 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Representation of goals. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesGoal extends com.google.api.client.json.GenericJson { + + /** + * Output only. The ID of this goal. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long goalId; + + /** + * Output only. The type of this goal. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String goalType; + + /** + * Output only. Indicates if this goal is eligible for campaign optimization. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String optimizationEligibility; + + /** + * Output only. The resource name of the goal owner customer. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String ownerCustomer; + + /** + * Immutable. The resource name of the goal. Goal resource names have the form: + * `customers/{customer_id}/goals/{goal_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Retention goal settings. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonGoalSettingRetentionGoal retentionGoalSettings; + + /** + * Output only. The ID of this goal. + * @return value or {@code null} for none + */ + public java.lang.Long getGoalId() { + return goalId; + } + + /** + * Output only. The ID of this goal. + * @param goalId goalId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesGoal setGoalId(java.lang.Long goalId) { + this.goalId = goalId; + return this; + } + + /** + * Output only. The type of this goal. + * @return value or {@code null} for none + */ + public java.lang.String getGoalType() { + return goalType; + } + + /** + * Output only. The type of this goal. + * @param goalType goalType or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesGoal setGoalType(java.lang.String goalType) { + this.goalType = goalType; + return this; + } + + /** + * Output only. Indicates if this goal is eligible for campaign optimization. + * @return value or {@code null} for none + */ + public java.lang.String getOptimizationEligibility() { + return optimizationEligibility; + } + + /** + * Output only. Indicates if this goal is eligible for campaign optimization. + * @param optimizationEligibility optimizationEligibility or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesGoal setOptimizationEligibility(java.lang.String optimizationEligibility) { + this.optimizationEligibility = optimizationEligibility; + return this; + } + + /** + * Output only. The resource name of the goal owner customer. + * @return value or {@code null} for none + */ + public java.lang.String getOwnerCustomer() { + return ownerCustomer; + } + + /** + * Output only. The resource name of the goal owner customer. + * @param ownerCustomer ownerCustomer or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesGoal setOwnerCustomer(java.lang.String ownerCustomer) { + this.ownerCustomer = ownerCustomer; + return this; + } + + /** + * Immutable. The resource name of the goal. Goal resource names have the form: + * `customers/{customer_id}/goals/{goal_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Immutable. The resource name of the goal. Goal resource names have the form: + * `customers/{customer_id}/goals/{goal_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesGoal setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Retention goal settings. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonGoalSettingRetentionGoal getRetentionGoalSettings() { + return retentionGoalSettings; + } + + /** + * Retention goal settings. + * @param retentionGoalSettings retentionGoalSettings or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesGoal setRetentionGoalSettings(GoogleAdsSearchads360V23CommonGoalSettingRetentionGoal retentionGoalSettings) { + this.retentionGoalSettings = retentionGoalSettings; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesGoal set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesGoal) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesGoal clone() { + return (GoogleAdsSearchads360V23ResourcesGoal) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesGoogleAdsIdentifier.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesGoogleAdsIdentifier.java new file mode 100644 index 00000000000..55d34b57243 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesGoogleAdsIdentifier.java @@ -0,0 +1,73 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The identifier for Google Ads account. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesGoogleAdsIdentifier extends com.google.api.client.json.GenericJson { + + /** + * Immutable. The resource name of the Google Ads account. This field is required and should not + * be empty when creating a new Google Ads link. It is unable to be modified after the creation of + * the link. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String customer; + + /** + * Immutable. The resource name of the Google Ads account. This field is required and should not + * be empty when creating a new Google Ads link. It is unable to be modified after the creation of + * the link. + * @return value or {@code null} for none + */ + public java.lang.String getCustomer() { + return customer; + } + + /** + * Immutable. The resource name of the Google Ads account. This field is required and should not + * be empty when creating a new Google Ads link. It is unable to be modified after the creation of + * the link. + * @param customer customer or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesGoogleAdsIdentifier setCustomer(java.lang.String customer) { + this.customer = customer; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesGoogleAdsIdentifier set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesGoogleAdsIdentifier) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesGoogleAdsIdentifier clone() { + return (GoogleAdsSearchads360V23ResourcesGoogleAdsIdentifier) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesGranularInsuranceStatus.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesGranularInsuranceStatus.java new file mode 100644 index 00000000000..6f18d11646c --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesGranularInsuranceStatus.java @@ -0,0 +1,127 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Insurance status at geo + vertical level. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesGranularInsuranceStatus extends com.google.api.client.json.GenericJson { + + /** + * Output only. Service category associated with the status. For example, + * xcat:service_area_business_plumber. For more details see: https://developers.google.com/google- + * ads/api/data/codes-formats#local_services_ids + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String categoryId; + + /** + * Output only. Geotarget criterion ID associated with the status. Can be on country or + * state/province geo level, depending on requirements and location. See + * https://developers.google.com/google-ads/api/data/geotargets for more information. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long geoCriterionId; + + /** + * Output only. Granular insurance status, per geo + vertical. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String verificationStatus; + + /** + * Output only. Service category associated with the status. For example, + * xcat:service_area_business_plumber. For more details see: https://developers.google.com/google- + * ads/api/data/codes-formats#local_services_ids + * @return value or {@code null} for none + */ + public java.lang.String getCategoryId() { + return categoryId; + } + + /** + * Output only. Service category associated with the status. For example, + * xcat:service_area_business_plumber. For more details see: https://developers.google.com/google- + * ads/api/data/codes-formats#local_services_ids + * @param categoryId categoryId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesGranularInsuranceStatus setCategoryId(java.lang.String categoryId) { + this.categoryId = categoryId; + return this; + } + + /** + * Output only. Geotarget criterion ID associated with the status. Can be on country or + * state/province geo level, depending on requirements and location. See + * https://developers.google.com/google-ads/api/data/geotargets for more information. + * @return value or {@code null} for none + */ + public java.lang.Long getGeoCriterionId() { + return geoCriterionId; + } + + /** + * Output only. Geotarget criterion ID associated with the status. Can be on country or + * state/province geo level, depending on requirements and location. See + * https://developers.google.com/google-ads/api/data/geotargets for more information. + * @param geoCriterionId geoCriterionId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesGranularInsuranceStatus setGeoCriterionId(java.lang.Long geoCriterionId) { + this.geoCriterionId = geoCriterionId; + return this; + } + + /** + * Output only. Granular insurance status, per geo + vertical. + * @return value or {@code null} for none + */ + public java.lang.String getVerificationStatus() { + return verificationStatus; + } + + /** + * Output only. Granular insurance status, per geo + vertical. + * @param verificationStatus verificationStatus or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesGranularInsuranceStatus setVerificationStatus(java.lang.String verificationStatus) { + this.verificationStatus = verificationStatus; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesGranularInsuranceStatus set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesGranularInsuranceStatus) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesGranularInsuranceStatus clone() { + return (GoogleAdsSearchads360V23ResourcesGranularInsuranceStatus) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesGranularLicenseStatus.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesGranularLicenseStatus.java new file mode 100644 index 00000000000..8408acc7683 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesGranularLicenseStatus.java @@ -0,0 +1,127 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * License status at geo + vertical level. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesGranularLicenseStatus extends com.google.api.client.json.GenericJson { + + /** + * Output only. Service category associated with the status. For example, + * xcat:service_area_business_plumber. For more details see: https://developers.google.com/google- + * ads/api/data/codes-formats#local_services_ids + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String categoryId; + + /** + * Output only. Geotarget criterion ID associated with the status. Can be on country or + * state/province geo level, depending on requirements and location. See + * https://developers.google.com/google-ads/api/data/geotargets for more information. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long geoCriterionId; + + /** + * Output only. Granular license status, per geo + vertical. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String verificationStatus; + + /** + * Output only. Service category associated with the status. For example, + * xcat:service_area_business_plumber. For more details see: https://developers.google.com/google- + * ads/api/data/codes-formats#local_services_ids + * @return value or {@code null} for none + */ + public java.lang.String getCategoryId() { + return categoryId; + } + + /** + * Output only. Service category associated with the status. For example, + * xcat:service_area_business_plumber. For more details see: https://developers.google.com/google- + * ads/api/data/codes-formats#local_services_ids + * @param categoryId categoryId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesGranularLicenseStatus setCategoryId(java.lang.String categoryId) { + this.categoryId = categoryId; + return this; + } + + /** + * Output only. Geotarget criterion ID associated with the status. Can be on country or + * state/province geo level, depending on requirements and location. See + * https://developers.google.com/google-ads/api/data/geotargets for more information. + * @return value or {@code null} for none + */ + public java.lang.Long getGeoCriterionId() { + return geoCriterionId; + } + + /** + * Output only. Geotarget criterion ID associated with the status. Can be on country or + * state/province geo level, depending on requirements and location. See + * https://developers.google.com/google-ads/api/data/geotargets for more information. + * @param geoCriterionId geoCriterionId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesGranularLicenseStatus setGeoCriterionId(java.lang.Long geoCriterionId) { + this.geoCriterionId = geoCriterionId; + return this; + } + + /** + * Output only. Granular license status, per geo + vertical. + * @return value or {@code null} for none + */ + public java.lang.String getVerificationStatus() { + return verificationStatus; + } + + /** + * Output only. Granular license status, per geo + vertical. + * @param verificationStatus verificationStatus or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesGranularLicenseStatus setVerificationStatus(java.lang.String verificationStatus) { + this.verificationStatus = verificationStatus; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesGranularLicenseStatus set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesGranularLicenseStatus) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesGranularLicenseStatus clone() { + return (GoogleAdsSearchads360V23ResourcesGranularLicenseStatus) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesGroupContentSuitabilityPlacementView.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesGroupContentSuitabilityPlacementView.java new file mode 100644 index 00000000000..21f7140836b --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesGroupContentSuitabilityPlacementView.java @@ -0,0 +1,181 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A group content suitability placement view. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesGroupContentSuitabilityPlacementView extends com.google.api.client.json.GenericJson { + + /** + * Output only. The display name is URL for websites, YouTube video name for YouTube videos, and + * translated mobile app name for mobile apps. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String displayName; + + /** + * Output only. The automatic placement string at group level, for example. website url, mobile + * application id, or a YouTube video id. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String placement; + + /** + * Output only. Represents the type of the placement, for example, Website, YouTubeVideo and + * MobileApplication. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String placementType; + + /** + * Output only. The resource name of the group content suitability placement view. Group content + * suitability placement view resource names have the form: + * `customers/{customer_id}/groupContentSuitabilityPlacementViews/{placement_fingerprint}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. URL of the placement, for example, website, link to the mobile application in app + * store, or a YouTube video URL. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String targetUrl; + + /** + * Output only. The display name is URL for websites, YouTube video name for YouTube videos, and + * translated mobile app name for mobile apps. + * @return value or {@code null} for none + */ + public java.lang.String getDisplayName() { + return displayName; + } + + /** + * Output only. The display name is URL for websites, YouTube video name for YouTube videos, and + * translated mobile app name for mobile apps. + * @param displayName displayName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesGroupContentSuitabilityPlacementView setDisplayName(java.lang.String displayName) { + this.displayName = displayName; + return this; + } + + /** + * Output only. The automatic placement string at group level, for example. website url, mobile + * application id, or a YouTube video id. + * @return value or {@code null} for none + */ + public java.lang.String getPlacement() { + return placement; + } + + /** + * Output only. The automatic placement string at group level, for example. website url, mobile + * application id, or a YouTube video id. + * @param placement placement or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesGroupContentSuitabilityPlacementView setPlacement(java.lang.String placement) { + this.placement = placement; + return this; + } + + /** + * Output only. Represents the type of the placement, for example, Website, YouTubeVideo and + * MobileApplication. + * @return value or {@code null} for none + */ + public java.lang.String getPlacementType() { + return placementType; + } + + /** + * Output only. Represents the type of the placement, for example, Website, YouTubeVideo and + * MobileApplication. + * @param placementType placementType or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesGroupContentSuitabilityPlacementView setPlacementType(java.lang.String placementType) { + this.placementType = placementType; + return this; + } + + /** + * Output only. The resource name of the group content suitability placement view. Group content + * suitability placement view resource names have the form: + * `customers/{customer_id}/groupContentSuitabilityPlacementViews/{placement_fingerprint}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Output only. The resource name of the group content suitability placement view. Group content + * suitability placement view resource names have the form: + * `customers/{customer_id}/groupContentSuitabilityPlacementViews/{placement_fingerprint}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesGroupContentSuitabilityPlacementView setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Output only. URL of the placement, for example, website, link to the mobile application in app + * store, or a YouTube video URL. + * @return value or {@code null} for none + */ + public java.lang.String getTargetUrl() { + return targetUrl; + } + + /** + * Output only. URL of the placement, for example, website, link to the mobile application in app + * store, or a YouTube video URL. + * @param targetUrl targetUrl or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesGroupContentSuitabilityPlacementView setTargetUrl(java.lang.String targetUrl) { + this.targetUrl = targetUrl; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesGroupContentSuitabilityPlacementView set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesGroupContentSuitabilityPlacementView) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesGroupContentSuitabilityPlacementView clone() { + return (GoogleAdsSearchads360V23ResourcesGroupContentSuitabilityPlacementView) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesGroupPlacementView.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesGroupPlacementView.java new file mode 100644 index 00000000000..e03d5cb8488 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesGroupPlacementView.java @@ -0,0 +1,172 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A group placement view. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesGroupPlacementView extends com.google.api.client.json.GenericJson { + + /** + * Output only. Domain name for websites and YouTube channel name for YouTube channels. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String displayName; + + /** + * Output only. The automatic placement string at group level, e. g. web domain, mobile app ID, or + * a YouTube channel ID. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String placement; + + /** + * Output only. Type of the placement, for example, Website, YouTube Channel, Mobile Application. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String placementType; + + /** + * Output only. The resource name of the group placement view. Group placement view resource names + * have the form: `customers/{customer_id}/groupPlacementViews/{ad_group_id}~{base64_placement}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. URL of the group placement, for example, domain, link to the mobile application in + * app store, or a YouTube channel URL. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String targetUrl; + + /** + * Output only. Domain name for websites and YouTube channel name for YouTube channels. + * @return value or {@code null} for none + */ + public java.lang.String getDisplayName() { + return displayName; + } + + /** + * Output only. Domain name for websites and YouTube channel name for YouTube channels. + * @param displayName displayName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesGroupPlacementView setDisplayName(java.lang.String displayName) { + this.displayName = displayName; + return this; + } + + /** + * Output only. The automatic placement string at group level, e. g. web domain, mobile app ID, or + * a YouTube channel ID. + * @return value or {@code null} for none + */ + public java.lang.String getPlacement() { + return placement; + } + + /** + * Output only. The automatic placement string at group level, e. g. web domain, mobile app ID, or + * a YouTube channel ID. + * @param placement placement or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesGroupPlacementView setPlacement(java.lang.String placement) { + this.placement = placement; + return this; + } + + /** + * Output only. Type of the placement, for example, Website, YouTube Channel, Mobile Application. + * @return value or {@code null} for none + */ + public java.lang.String getPlacementType() { + return placementType; + } + + /** + * Output only. Type of the placement, for example, Website, YouTube Channel, Mobile Application. + * @param placementType placementType or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesGroupPlacementView setPlacementType(java.lang.String placementType) { + this.placementType = placementType; + return this; + } + + /** + * Output only. The resource name of the group placement view. Group placement view resource names + * have the form: `customers/{customer_id}/groupPlacementViews/{ad_group_id}~{base64_placement}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Output only. The resource name of the group placement view. Group placement view resource names + * have the form: `customers/{customer_id}/groupPlacementViews/{ad_group_id}~{base64_placement}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesGroupPlacementView setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Output only. URL of the group placement, for example, domain, link to the mobile application in + * app store, or a YouTube channel URL. + * @return value or {@code null} for none + */ + public java.lang.String getTargetUrl() { + return targetUrl; + } + + /** + * Output only. URL of the group placement, for example, domain, link to the mobile application in + * app store, or a YouTube channel URL. + * @param targetUrl targetUrl or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesGroupPlacementView setTargetUrl(java.lang.String targetUrl) { + this.targetUrl = targetUrl; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesGroupPlacementView set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesGroupPlacementView) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesGroupPlacementView clone() { + return (GoogleAdsSearchads360V23ResourcesGroupPlacementView) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesHotelCenterLinkInvitationIdentifier.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesHotelCenterLinkInvitationIdentifier.java new file mode 100644 index 00000000000..97b851197f7 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesHotelCenterLinkInvitationIdentifier.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The identifier for Hotel account. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesHotelCenterLinkInvitationIdentifier extends com.google.api.client.json.GenericJson { + + /** + * Output only. The hotel center id of the hotel account. This field is read only + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long hotelCenterId; + + /** + * Output only. The hotel center id of the hotel account. This field is read only + * @return value or {@code null} for none + */ + public java.lang.Long getHotelCenterId() { + return hotelCenterId; + } + + /** + * Output only. The hotel center id of the hotel account. This field is read only + * @param hotelCenterId hotelCenterId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesHotelCenterLinkInvitationIdentifier setHotelCenterId(java.lang.Long hotelCenterId) { + this.hotelCenterId = hotelCenterId; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesHotelCenterLinkInvitationIdentifier set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesHotelCenterLinkInvitationIdentifier) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesHotelCenterLinkInvitationIdentifier clone() { + return (GoogleAdsSearchads360V23ResourcesHotelCenterLinkInvitationIdentifier) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesHotelGroupView.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesHotelGroupView.java new file mode 100644 index 00000000000..a704bcb024e --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesHotelGroupView.java @@ -0,0 +1,70 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A hotel group view. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesHotelGroupView extends com.google.api.client.json.GenericJson { + + /** + * Output only. The resource name of the hotel group view. Hotel Group view resource names have + * the form: `customers/{customer_id}/hotelGroupViews/{ad_group_id}~{criterion_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. The resource name of the hotel group view. Hotel Group view resource names have + * the form: `customers/{customer_id}/hotelGroupViews/{ad_group_id}~{criterion_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Output only. The resource name of the hotel group view. Hotel Group view resource names have + * the form: `customers/{customer_id}/hotelGroupViews/{ad_group_id}~{criterion_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesHotelGroupView setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesHotelGroupView set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesHotelGroupView) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesHotelGroupView clone() { + return (GoogleAdsSearchads360V23ResourcesHotelGroupView) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesHotelPerformanceView.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesHotelPerformanceView.java new file mode 100644 index 00000000000..ef3a8ba11a7 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesHotelPerformanceView.java @@ -0,0 +1,70 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A hotel performance view. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesHotelPerformanceView extends com.google.api.client.json.GenericJson { + + /** + * Output only. The resource name of the hotel performance view. Hotel performance view resource + * names have the form: `customers/{customer_id}/hotelPerformanceView` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. The resource name of the hotel performance view. Hotel performance view resource + * names have the form: `customers/{customer_id}/hotelPerformanceView` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Output only. The resource name of the hotel performance view. Hotel performance view resource + * names have the form: `customers/{customer_id}/hotelPerformanceView` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesHotelPerformanceView setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesHotelPerformanceView set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesHotelPerformanceView) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesHotelPerformanceView clone() { + return (GoogleAdsSearchads360V23ResourcesHotelPerformanceView) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesHotelReconciliation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesHotelReconciliation.java new file mode 100644 index 00000000000..7a904a4935a --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesHotelReconciliation.java @@ -0,0 +1,356 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A hotel reconciliation. It contains conversion information from Hotel bookings to reconcile with + * advertiser records. These rows may be updated or canceled before billing through Bulk Uploads. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesHotelReconciliation extends com.google.api.client.json.GenericJson { + + /** + * Output only. Whether a given booking has been billed. Once billed, a booking can't be modified. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean billed; + + /** + * Output only. The resource name for the Campaign associated with the conversion. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String campaign; + + /** + * Output only. Check-in date recorded when the booking is made. If the check-in date is modified + * at reconciliation, the revised date will then take the place of the original date in this + * column. Format is YYYY-MM-DD. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String checkInDate; + + /** + * Output only. Check-out date recorded when the booking is made. If the check-in date is modified + * at reconciliation, the revised date will then take the place of the original date in this + * column. Format is YYYY-MM-DD. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String checkOutDate; + + /** + * Required. Output only. The commission ID is Google's ID for this booking. Every booking event + * is assigned a Commission ID to help you match it to a guest stay. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String commissionId; + + /** + * Output only. Identifier for the Hotel Center account which provides the rates for the Hotel + * campaign. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long hotelCenterId; + + /** + * Output only. Unique identifier for the booked property, as provided in the Hotel Center feed. + * The hotel ID comes from the 'ID' parameter of the conversion tracking tag. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String hotelId; + + /** + * Output only. The order ID is the identifier for this booking as provided in the + * 'transaction_id' parameter of the conversion tracking tag. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String orderId; + + /** + * Required. Output only. Reconciled value is the final value of a booking as paid by the guest. + * If original booking value changes for any reason, such as itinerary changes or room upsells, + * the reconciled value should be the full final amount collected. If a booking is canceled, the + * reconciled value should include the value of any cancellation fees or non-refundable nights + * charged. Value is in millionths of the base unit currency. For example, $12.35 would be + * represented as 12350000. Currency unit is in the default customer currency. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long reconciledValueMicros; + + /** + * Immutable. The resource name of the hotel reconciliation. Hotel reconciliation resource names + * have the form: `customers/{customer_id}/hotelReconciliations/{commission_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Required. Output only. Current status of a booking with regards to reconciliation and billing. + * Bookings should be reconciled within 45 days after the check-out date. Any booking not + * reconciled within 45 days will be billed at its original value. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String status; + + /** + * Output only. Whether a given booking has been billed. Once billed, a booking can't be modified. + * @return value or {@code null} for none + */ + public java.lang.Boolean getBilled() { + return billed; + } + + /** + * Output only. Whether a given booking has been billed. Once billed, a booking can't be modified. + * @param billed billed or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesHotelReconciliation setBilled(java.lang.Boolean billed) { + this.billed = billed; + return this; + } + + /** + * Output only. The resource name for the Campaign associated with the conversion. + * @return value or {@code null} for none + */ + public java.lang.String getCampaign() { + return campaign; + } + + /** + * Output only. The resource name for the Campaign associated with the conversion. + * @param campaign campaign or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesHotelReconciliation setCampaign(java.lang.String campaign) { + this.campaign = campaign; + return this; + } + + /** + * Output only. Check-in date recorded when the booking is made. If the check-in date is modified + * at reconciliation, the revised date will then take the place of the original date in this + * column. Format is YYYY-MM-DD. + * @return value or {@code null} for none + */ + public java.lang.String getCheckInDate() { + return checkInDate; + } + + /** + * Output only. Check-in date recorded when the booking is made. If the check-in date is modified + * at reconciliation, the revised date will then take the place of the original date in this + * column. Format is YYYY-MM-DD. + * @param checkInDate checkInDate or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesHotelReconciliation setCheckInDate(java.lang.String checkInDate) { + this.checkInDate = checkInDate; + return this; + } + + /** + * Output only. Check-out date recorded when the booking is made. If the check-in date is modified + * at reconciliation, the revised date will then take the place of the original date in this + * column. Format is YYYY-MM-DD. + * @return value or {@code null} for none + */ + public java.lang.String getCheckOutDate() { + return checkOutDate; + } + + /** + * Output only. Check-out date recorded when the booking is made. If the check-in date is modified + * at reconciliation, the revised date will then take the place of the original date in this + * column. Format is YYYY-MM-DD. + * @param checkOutDate checkOutDate or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesHotelReconciliation setCheckOutDate(java.lang.String checkOutDate) { + this.checkOutDate = checkOutDate; + return this; + } + + /** + * Required. Output only. The commission ID is Google's ID for this booking. Every booking event + * is assigned a Commission ID to help you match it to a guest stay. + * @return value or {@code null} for none + */ + public java.lang.String getCommissionId() { + return commissionId; + } + + /** + * Required. Output only. The commission ID is Google's ID for this booking. Every booking event + * is assigned a Commission ID to help you match it to a guest stay. + * @param commissionId commissionId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesHotelReconciliation setCommissionId(java.lang.String commissionId) { + this.commissionId = commissionId; + return this; + } + + /** + * Output only. Identifier for the Hotel Center account which provides the rates for the Hotel + * campaign. + * @return value or {@code null} for none + */ + public java.lang.Long getHotelCenterId() { + return hotelCenterId; + } + + /** + * Output only. Identifier for the Hotel Center account which provides the rates for the Hotel + * campaign. + * @param hotelCenterId hotelCenterId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesHotelReconciliation setHotelCenterId(java.lang.Long hotelCenterId) { + this.hotelCenterId = hotelCenterId; + return this; + } + + /** + * Output only. Unique identifier for the booked property, as provided in the Hotel Center feed. + * The hotel ID comes from the 'ID' parameter of the conversion tracking tag. + * @return value or {@code null} for none + */ + public java.lang.String getHotelId() { + return hotelId; + } + + /** + * Output only. Unique identifier for the booked property, as provided in the Hotel Center feed. + * The hotel ID comes from the 'ID' parameter of the conversion tracking tag. + * @param hotelId hotelId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesHotelReconciliation setHotelId(java.lang.String hotelId) { + this.hotelId = hotelId; + return this; + } + + /** + * Output only. The order ID is the identifier for this booking as provided in the + * 'transaction_id' parameter of the conversion tracking tag. + * @return value or {@code null} for none + */ + public java.lang.String getOrderId() { + return orderId; + } + + /** + * Output only. The order ID is the identifier for this booking as provided in the + * 'transaction_id' parameter of the conversion tracking tag. + * @param orderId orderId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesHotelReconciliation setOrderId(java.lang.String orderId) { + this.orderId = orderId; + return this; + } + + /** + * Required. Output only. Reconciled value is the final value of a booking as paid by the guest. + * If original booking value changes for any reason, such as itinerary changes or room upsells, + * the reconciled value should be the full final amount collected. If a booking is canceled, the + * reconciled value should include the value of any cancellation fees or non-refundable nights + * charged. Value is in millionths of the base unit currency. For example, $12.35 would be + * represented as 12350000. Currency unit is in the default customer currency. + * @return value or {@code null} for none + */ + public java.lang.Long getReconciledValueMicros() { + return reconciledValueMicros; + } + + /** + * Required. Output only. Reconciled value is the final value of a booking as paid by the guest. + * If original booking value changes for any reason, such as itinerary changes or room upsells, + * the reconciled value should be the full final amount collected. If a booking is canceled, the + * reconciled value should include the value of any cancellation fees or non-refundable nights + * charged. Value is in millionths of the base unit currency. For example, $12.35 would be + * represented as 12350000. Currency unit is in the default customer currency. + * @param reconciledValueMicros reconciledValueMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesHotelReconciliation setReconciledValueMicros(java.lang.Long reconciledValueMicros) { + this.reconciledValueMicros = reconciledValueMicros; + return this; + } + + /** + * Immutable. The resource name of the hotel reconciliation. Hotel reconciliation resource names + * have the form: `customers/{customer_id}/hotelReconciliations/{commission_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Immutable. The resource name of the hotel reconciliation. Hotel reconciliation resource names + * have the form: `customers/{customer_id}/hotelReconciliations/{commission_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesHotelReconciliation setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Required. Output only. Current status of a booking with regards to reconciliation and billing. + * Bookings should be reconciled within 45 days after the check-out date. Any booking not + * reconciled within 45 days will be billed at its original value. + * @return value or {@code null} for none + */ + public java.lang.String getStatus() { + return status; + } + + /** + * Required. Output only. Current status of a booking with regards to reconciliation and billing. + * Bookings should be reconciled within 45 days after the check-out date. Any booking not + * reconciled within 45 days will be billed at its original value. + * @param status status or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesHotelReconciliation setStatus(java.lang.String status) { + this.status = status; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesHotelReconciliation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesHotelReconciliation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesHotelReconciliation clone() { + return (GoogleAdsSearchads360V23ResourcesHotelReconciliation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesIncomeRangeView.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesIncomeRangeView.java new file mode 100644 index 00000000000..b62acaf6780 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesIncomeRangeView.java @@ -0,0 +1,70 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * An income range view. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesIncomeRangeView extends com.google.api.client.json.GenericJson { + + /** + * Output only. The resource name of the income range view. Income range view resource names have + * the form: `customers/{customer_id}/incomeRangeViews/{ad_group_id}~{criterion_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. The resource name of the income range view. Income range view resource names have + * the form: `customers/{customer_id}/incomeRangeViews/{ad_group_id}~{criterion_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Output only. The resource name of the income range view. Income range view resource names have + * the form: `customers/{customer_id}/incomeRangeViews/{ad_group_id}~{criterion_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesIncomeRangeView setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesIncomeRangeView set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesIncomeRangeView) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesIncomeRangeView clone() { + return (GoogleAdsSearchads360V23ResourcesIncomeRangeView) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesInsuranceVerificationArtifact.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesInsuranceVerificationArtifact.java new file mode 100644 index 00000000000..3e9837440c8 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesInsuranceVerificationArtifact.java @@ -0,0 +1,145 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * specific to a local services insurance. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesInsuranceVerificationArtifact extends com.google.api.client.json.GenericJson { + + /** + * Output only. Insurance amount. This is measured in "micros" of the currency mentioned in the + * insurance document. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long amountMicros; + + /** + * Output only. The timestamp when this insurance expires. The format is "YYYY-MM-DD HH:MM:SS" in + * the Google Ads account's timezone. Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String expirationDateTime; + + /** + * Output only. The readonly field containing the information for an uploaded insurance document. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonLocalServicesDocumentReadOnly insuranceDocumentReadonly; + + /** + * Output only. Insurance document's rejection reason. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String rejectionReason; + + /** + * Output only. Insurance amount. This is measured in "micros" of the currency mentioned in the + * insurance document. + * @return value or {@code null} for none + */ + public java.lang.Long getAmountMicros() { + return amountMicros; + } + + /** + * Output only. Insurance amount. This is measured in "micros" of the currency mentioned in the + * insurance document. + * @param amountMicros amountMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesInsuranceVerificationArtifact setAmountMicros(java.lang.Long amountMicros) { + this.amountMicros = amountMicros; + return this; + } + + /** + * Output only. The timestamp when this insurance expires. The format is "YYYY-MM-DD HH:MM:SS" in + * the Google Ads account's timezone. Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" + * @return value or {@code null} for none + */ + public java.lang.String getExpirationDateTime() { + return expirationDateTime; + } + + /** + * Output only. The timestamp when this insurance expires. The format is "YYYY-MM-DD HH:MM:SS" in + * the Google Ads account's timezone. Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" + * @param expirationDateTime expirationDateTime or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesInsuranceVerificationArtifact setExpirationDateTime(java.lang.String expirationDateTime) { + this.expirationDateTime = expirationDateTime; + return this; + } + + /** + * Output only. The readonly field containing the information for an uploaded insurance document. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLocalServicesDocumentReadOnly getInsuranceDocumentReadonly() { + return insuranceDocumentReadonly; + } + + /** + * Output only. The readonly field containing the information for an uploaded insurance document. + * @param insuranceDocumentReadonly insuranceDocumentReadonly or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesInsuranceVerificationArtifact setInsuranceDocumentReadonly(GoogleAdsSearchads360V23CommonLocalServicesDocumentReadOnly insuranceDocumentReadonly) { + this.insuranceDocumentReadonly = insuranceDocumentReadonly; + return this; + } + + /** + * Output only. Insurance document's rejection reason. + * @return value or {@code null} for none + */ + public java.lang.String getRejectionReason() { + return rejectionReason; + } + + /** + * Output only. Insurance document's rejection reason. + * @param rejectionReason rejectionReason or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesInsuranceVerificationArtifact setRejectionReason(java.lang.String rejectionReason) { + this.rejectionReason = rejectionReason; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesInsuranceVerificationArtifact set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesInsuranceVerificationArtifact) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesInsuranceVerificationArtifact clone() { + return (GoogleAdsSearchads360V23ResourcesInsuranceVerificationArtifact) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesInvoice.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesInvoice.java new file mode 100644 index 00000000000..e052a5d9c5b --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesInvoice.java @@ -0,0 +1,767 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * An invoice. All invoice information is snapshotted to match the PDF invoice. For invoices older + * than the launch of InvoiceService, the snapshotted information may not match the PDF invoice. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesInvoice extends com.google.api.client.json.GenericJson { + + /** + * Output only. The list of summarized account budget information associated with this invoice. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List accountBudgetSummaries; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ResourcesInvoiceAccountBudgetSummary used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ResourcesInvoiceAccountBudgetSummary.class); + } + + /** + * Output only. The list of summarized account information associated with this invoice. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List accountSummaries; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ResourcesInvoiceAccountSummary used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ResourcesInvoiceAccountSummary.class); + } + + /** + * Output only. The pretax subtotal amount of invoice level adjustments, in micros. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long adjustmentsSubtotalAmountMicros; + + /** + * Output only. The sum of taxes on the invoice level adjustments, in micros. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long adjustmentsTaxAmountMicros; + + /** + * Output only. The total amount of invoice level adjustments, in micros. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long adjustmentsTotalAmountMicros; + + /** + * Output only. The resource name of this invoice's billing setup. + * `customers/{customer_id}/billingSetups/{billing_setup_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String billingSetup; + + /** + * Output only. The resource name of the original invoice corrected, wrote off, or canceled by + * this invoice, if applicable. If `corrected_invoice` is set, `replaced_invoices` will not be + * set. Invoice resource names have the form: `customers/{customer_id}/invoices/{invoice_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String correctedInvoice; + + /** + * Output only. The currency code. All costs are returned in this currency. A subset of the + * currency codes derived from the ISO 4217 standard is supported. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String currencyCode; + + /** + * Output only. The due date in yyyy-mm-dd format. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String dueDate; + + /** + * Output only. The pretax subtotal amount of invoice level export charges, in micros. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long exportChargeSubtotalAmountMicros; + + /** + * Output only. The sum of taxes on the invoice level export charges, in micros. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long exportChargeTaxAmountMicros; + + /** + * Output only. The total amount of invoice level export charges, in micros. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long exportChargeTotalAmountMicros; + + /** + * Output only. The ID of the invoice. It appears on the invoice PDF as "Invoice number". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String id; + + /** + * Output only. The issue date in yyyy-mm-dd format. It appears on the invoice PDF as either + * "Issue date" or "Invoice date". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String issueDate; + + /** + * Output only. A 16 digit ID used to identify the payments account associated with the billing + * setup, for example, "1234-5678-9012-3456". It appears on the invoice PDF as "Billing Account + * Number". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String paymentsAccountId; + + /** + * Output only. A 12 digit ID used to identify the payments profile associated with the billing + * setup, for example, "1234-5678-9012". It appears on the invoice PDF as "Billing ID". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String paymentsProfileId; + + /** + * Output only. The URL to a PDF copy of the invoice. Users need to pass in their OAuth token to + * request the PDF with this URL. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String pdfUrl; + + /** + * Output only. The pretax subtotal amount of invoice level regulatory costs, in micros. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long regulatoryCostsSubtotalAmountMicros; + + /** + * Output only. The sum of taxes on the invoice level regulatory costs, in micros. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long regulatoryCostsTaxAmountMicros; + + /** + * Output only. The total amount of invoice level regulatory costs, in micros. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long regulatoryCostsTotalAmountMicros; + + /** + * Output only. The resource name of the original invoice(s) being rebilled or replaced by this + * invoice, if applicable. There might be multiple replaced invoices due to invoice consolidation. + * The replaced invoices may not belong to the same payments account. If `replaced_invoices` is + * set, `corrected_invoice` will not be set. Invoice resource names have the form: + * `customers/{customer_id}/invoices/{invoice_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List replacedInvoices; + + /** + * Output only. The resource name of the invoice. Multiple customers can share a given invoice, so + * multiple resource names may point to the same invoice. Invoice resource names have the form: + * `customers/{customer_id}/invoices/{invoice_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. The service period date range of this invoice. The end date is inclusive. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonDateRange serviceDateRange; + + /** + * Output only. The pretax subtotal amount, in micros. This is equal to the sum of the + * AccountBudgetSummary subtotal amounts and Invoice.adjustments_subtotal_amount_micros. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long subtotalAmountMicros; + + /** + * Output only. The sum of all taxes on the invoice, in micros. This equals the sum of the + * AccountBudgetSummary tax amounts, plus taxes not associated with a specific account budget. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long taxAmountMicros; + + /** + * Output only. The total amount, in micros. This equals the sum of + * Invoice.subtotal_amount_micros, Invoice.tax_amount_micros, + * Invoice.regulatory_costs_subtotal_amount_micros, and + * Invoice.export_charge_subtotal_amount_micros (which is separated into a separate line item + * starting with V14.1). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long totalAmountMicros; + + /** + * Output only. The type of invoice. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String type; + + /** + * Output only. The list of summarized account budget information associated with this invoice. + * @return value or {@code null} for none + */ + public java.util.List getAccountBudgetSummaries() { + return accountBudgetSummaries; + } + + /** + * Output only. The list of summarized account budget information associated with this invoice. + * @param accountBudgetSummaries accountBudgetSummaries or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesInvoice setAccountBudgetSummaries(java.util.List accountBudgetSummaries) { + this.accountBudgetSummaries = accountBudgetSummaries; + return this; + } + + /** + * Output only. The list of summarized account information associated with this invoice. + * @return value or {@code null} for none + */ + public java.util.List getAccountSummaries() { + return accountSummaries; + } + + /** + * Output only. The list of summarized account information associated with this invoice. + * @param accountSummaries accountSummaries or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesInvoice setAccountSummaries(java.util.List accountSummaries) { + this.accountSummaries = accountSummaries; + return this; + } + + /** + * Output only. The pretax subtotal amount of invoice level adjustments, in micros. + * @return value or {@code null} for none + */ + public java.lang.Long getAdjustmentsSubtotalAmountMicros() { + return adjustmentsSubtotalAmountMicros; + } + + /** + * Output only. The pretax subtotal amount of invoice level adjustments, in micros. + * @param adjustmentsSubtotalAmountMicros adjustmentsSubtotalAmountMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesInvoice setAdjustmentsSubtotalAmountMicros(java.lang.Long adjustmentsSubtotalAmountMicros) { + this.adjustmentsSubtotalAmountMicros = adjustmentsSubtotalAmountMicros; + return this; + } + + /** + * Output only. The sum of taxes on the invoice level adjustments, in micros. + * @return value or {@code null} for none + */ + public java.lang.Long getAdjustmentsTaxAmountMicros() { + return adjustmentsTaxAmountMicros; + } + + /** + * Output only. The sum of taxes on the invoice level adjustments, in micros. + * @param adjustmentsTaxAmountMicros adjustmentsTaxAmountMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesInvoice setAdjustmentsTaxAmountMicros(java.lang.Long adjustmentsTaxAmountMicros) { + this.adjustmentsTaxAmountMicros = adjustmentsTaxAmountMicros; + return this; + } + + /** + * Output only. The total amount of invoice level adjustments, in micros. + * @return value or {@code null} for none + */ + public java.lang.Long getAdjustmentsTotalAmountMicros() { + return adjustmentsTotalAmountMicros; + } + + /** + * Output only. The total amount of invoice level adjustments, in micros. + * @param adjustmentsTotalAmountMicros adjustmentsTotalAmountMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesInvoice setAdjustmentsTotalAmountMicros(java.lang.Long adjustmentsTotalAmountMicros) { + this.adjustmentsTotalAmountMicros = adjustmentsTotalAmountMicros; + return this; + } + + /** + * Output only. The resource name of this invoice's billing setup. + * `customers/{customer_id}/billingSetups/{billing_setup_id}` + * @return value or {@code null} for none + */ + public java.lang.String getBillingSetup() { + return billingSetup; + } + + /** + * Output only. The resource name of this invoice's billing setup. + * `customers/{customer_id}/billingSetups/{billing_setup_id}` + * @param billingSetup billingSetup or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesInvoice setBillingSetup(java.lang.String billingSetup) { + this.billingSetup = billingSetup; + return this; + } + + /** + * Output only. The resource name of the original invoice corrected, wrote off, or canceled by + * this invoice, if applicable. If `corrected_invoice` is set, `replaced_invoices` will not be + * set. Invoice resource names have the form: `customers/{customer_id}/invoices/{invoice_id}` + * @return value or {@code null} for none + */ + public java.lang.String getCorrectedInvoice() { + return correctedInvoice; + } + + /** + * Output only. The resource name of the original invoice corrected, wrote off, or canceled by + * this invoice, if applicable. If `corrected_invoice` is set, `replaced_invoices` will not be + * set. Invoice resource names have the form: `customers/{customer_id}/invoices/{invoice_id}` + * @param correctedInvoice correctedInvoice or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesInvoice setCorrectedInvoice(java.lang.String correctedInvoice) { + this.correctedInvoice = correctedInvoice; + return this; + } + + /** + * Output only. The currency code. All costs are returned in this currency. A subset of the + * currency codes derived from the ISO 4217 standard is supported. + * @return value or {@code null} for none + */ + public java.lang.String getCurrencyCode() { + return currencyCode; + } + + /** + * Output only. The currency code. All costs are returned in this currency. A subset of the + * currency codes derived from the ISO 4217 standard is supported. + * @param currencyCode currencyCode or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesInvoice setCurrencyCode(java.lang.String currencyCode) { + this.currencyCode = currencyCode; + return this; + } + + /** + * Output only. The due date in yyyy-mm-dd format. + * @return value or {@code null} for none + */ + public java.lang.String getDueDate() { + return dueDate; + } + + /** + * Output only. The due date in yyyy-mm-dd format. + * @param dueDate dueDate or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesInvoice setDueDate(java.lang.String dueDate) { + this.dueDate = dueDate; + return this; + } + + /** + * Output only. The pretax subtotal amount of invoice level export charges, in micros. + * @return value or {@code null} for none + */ + public java.lang.Long getExportChargeSubtotalAmountMicros() { + return exportChargeSubtotalAmountMicros; + } + + /** + * Output only. The pretax subtotal amount of invoice level export charges, in micros. + * @param exportChargeSubtotalAmountMicros exportChargeSubtotalAmountMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesInvoice setExportChargeSubtotalAmountMicros(java.lang.Long exportChargeSubtotalAmountMicros) { + this.exportChargeSubtotalAmountMicros = exportChargeSubtotalAmountMicros; + return this; + } + + /** + * Output only. The sum of taxes on the invoice level export charges, in micros. + * @return value or {@code null} for none + */ + public java.lang.Long getExportChargeTaxAmountMicros() { + return exportChargeTaxAmountMicros; + } + + /** + * Output only. The sum of taxes on the invoice level export charges, in micros. + * @param exportChargeTaxAmountMicros exportChargeTaxAmountMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesInvoice setExportChargeTaxAmountMicros(java.lang.Long exportChargeTaxAmountMicros) { + this.exportChargeTaxAmountMicros = exportChargeTaxAmountMicros; + return this; + } + + /** + * Output only. The total amount of invoice level export charges, in micros. + * @return value or {@code null} for none + */ + public java.lang.Long getExportChargeTotalAmountMicros() { + return exportChargeTotalAmountMicros; + } + + /** + * Output only. The total amount of invoice level export charges, in micros. + * @param exportChargeTotalAmountMicros exportChargeTotalAmountMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesInvoice setExportChargeTotalAmountMicros(java.lang.Long exportChargeTotalAmountMicros) { + this.exportChargeTotalAmountMicros = exportChargeTotalAmountMicros; + return this; + } + + /** + * Output only. The ID of the invoice. It appears on the invoice PDF as "Invoice number". + * @return value or {@code null} for none + */ + public java.lang.String getId() { + return id; + } + + /** + * Output only. The ID of the invoice. It appears on the invoice PDF as "Invoice number". + * @param id id or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesInvoice setId(java.lang.String id) { + this.id = id; + return this; + } + + /** + * Output only. The issue date in yyyy-mm-dd format. It appears on the invoice PDF as either + * "Issue date" or "Invoice date". + * @return value or {@code null} for none + */ + public java.lang.String getIssueDate() { + return issueDate; + } + + /** + * Output only. The issue date in yyyy-mm-dd format. It appears on the invoice PDF as either + * "Issue date" or "Invoice date". + * @param issueDate issueDate or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesInvoice setIssueDate(java.lang.String issueDate) { + this.issueDate = issueDate; + return this; + } + + /** + * Output only. A 16 digit ID used to identify the payments account associated with the billing + * setup, for example, "1234-5678-9012-3456". It appears on the invoice PDF as "Billing Account + * Number". + * @return value or {@code null} for none + */ + public java.lang.String getPaymentsAccountId() { + return paymentsAccountId; + } + + /** + * Output only. A 16 digit ID used to identify the payments account associated with the billing + * setup, for example, "1234-5678-9012-3456". It appears on the invoice PDF as "Billing Account + * Number". + * @param paymentsAccountId paymentsAccountId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesInvoice setPaymentsAccountId(java.lang.String paymentsAccountId) { + this.paymentsAccountId = paymentsAccountId; + return this; + } + + /** + * Output only. A 12 digit ID used to identify the payments profile associated with the billing + * setup, for example, "1234-5678-9012". It appears on the invoice PDF as "Billing ID". + * @return value or {@code null} for none + */ + public java.lang.String getPaymentsProfileId() { + return paymentsProfileId; + } + + /** + * Output only. A 12 digit ID used to identify the payments profile associated with the billing + * setup, for example, "1234-5678-9012". It appears on the invoice PDF as "Billing ID". + * @param paymentsProfileId paymentsProfileId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesInvoice setPaymentsProfileId(java.lang.String paymentsProfileId) { + this.paymentsProfileId = paymentsProfileId; + return this; + } + + /** + * Output only. The URL to a PDF copy of the invoice. Users need to pass in their OAuth token to + * request the PDF with this URL. + * @return value or {@code null} for none + */ + public java.lang.String getPdfUrl() { + return pdfUrl; + } + + /** + * Output only. The URL to a PDF copy of the invoice. Users need to pass in their OAuth token to + * request the PDF with this URL. + * @param pdfUrl pdfUrl or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesInvoice setPdfUrl(java.lang.String pdfUrl) { + this.pdfUrl = pdfUrl; + return this; + } + + /** + * Output only. The pretax subtotal amount of invoice level regulatory costs, in micros. + * @return value or {@code null} for none + */ + public java.lang.Long getRegulatoryCostsSubtotalAmountMicros() { + return regulatoryCostsSubtotalAmountMicros; + } + + /** + * Output only. The pretax subtotal amount of invoice level regulatory costs, in micros. + * @param regulatoryCostsSubtotalAmountMicros regulatoryCostsSubtotalAmountMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesInvoice setRegulatoryCostsSubtotalAmountMicros(java.lang.Long regulatoryCostsSubtotalAmountMicros) { + this.regulatoryCostsSubtotalAmountMicros = regulatoryCostsSubtotalAmountMicros; + return this; + } + + /** + * Output only. The sum of taxes on the invoice level regulatory costs, in micros. + * @return value or {@code null} for none + */ + public java.lang.Long getRegulatoryCostsTaxAmountMicros() { + return regulatoryCostsTaxAmountMicros; + } + + /** + * Output only. The sum of taxes on the invoice level regulatory costs, in micros. + * @param regulatoryCostsTaxAmountMicros regulatoryCostsTaxAmountMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesInvoice setRegulatoryCostsTaxAmountMicros(java.lang.Long regulatoryCostsTaxAmountMicros) { + this.regulatoryCostsTaxAmountMicros = regulatoryCostsTaxAmountMicros; + return this; + } + + /** + * Output only. The total amount of invoice level regulatory costs, in micros. + * @return value or {@code null} for none + */ + public java.lang.Long getRegulatoryCostsTotalAmountMicros() { + return regulatoryCostsTotalAmountMicros; + } + + /** + * Output only. The total amount of invoice level regulatory costs, in micros. + * @param regulatoryCostsTotalAmountMicros regulatoryCostsTotalAmountMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesInvoice setRegulatoryCostsTotalAmountMicros(java.lang.Long regulatoryCostsTotalAmountMicros) { + this.regulatoryCostsTotalAmountMicros = regulatoryCostsTotalAmountMicros; + return this; + } + + /** + * Output only. The resource name of the original invoice(s) being rebilled or replaced by this + * invoice, if applicable. There might be multiple replaced invoices due to invoice consolidation. + * The replaced invoices may not belong to the same payments account. If `replaced_invoices` is + * set, `corrected_invoice` will not be set. Invoice resource names have the form: + * `customers/{customer_id}/invoices/{invoice_id}` + * @return value or {@code null} for none + */ + public java.util.List getReplacedInvoices() { + return replacedInvoices; + } + + /** + * Output only. The resource name of the original invoice(s) being rebilled or replaced by this + * invoice, if applicable. There might be multiple replaced invoices due to invoice consolidation. + * The replaced invoices may not belong to the same payments account. If `replaced_invoices` is + * set, `corrected_invoice` will not be set. Invoice resource names have the form: + * `customers/{customer_id}/invoices/{invoice_id}` + * @param replacedInvoices replacedInvoices or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesInvoice setReplacedInvoices(java.util.List replacedInvoices) { + this.replacedInvoices = replacedInvoices; + return this; + } + + /** + * Output only. The resource name of the invoice. Multiple customers can share a given invoice, so + * multiple resource names may point to the same invoice. Invoice resource names have the form: + * `customers/{customer_id}/invoices/{invoice_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Output only. The resource name of the invoice. Multiple customers can share a given invoice, so + * multiple resource names may point to the same invoice. Invoice resource names have the form: + * `customers/{customer_id}/invoices/{invoice_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesInvoice setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Output only. The service period date range of this invoice. The end date is inclusive. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDateRange getServiceDateRange() { + return serviceDateRange; + } + + /** + * Output only. The service period date range of this invoice. The end date is inclusive. + * @param serviceDateRange serviceDateRange or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesInvoice setServiceDateRange(GoogleAdsSearchads360V23CommonDateRange serviceDateRange) { + this.serviceDateRange = serviceDateRange; + return this; + } + + /** + * Output only. The pretax subtotal amount, in micros. This is equal to the sum of the + * AccountBudgetSummary subtotal amounts and Invoice.adjustments_subtotal_amount_micros. + * @return value or {@code null} for none + */ + public java.lang.Long getSubtotalAmountMicros() { + return subtotalAmountMicros; + } + + /** + * Output only. The pretax subtotal amount, in micros. This is equal to the sum of the + * AccountBudgetSummary subtotal amounts and Invoice.adjustments_subtotal_amount_micros. + * @param subtotalAmountMicros subtotalAmountMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesInvoice setSubtotalAmountMicros(java.lang.Long subtotalAmountMicros) { + this.subtotalAmountMicros = subtotalAmountMicros; + return this; + } + + /** + * Output only. The sum of all taxes on the invoice, in micros. This equals the sum of the + * AccountBudgetSummary tax amounts, plus taxes not associated with a specific account budget. + * @return value or {@code null} for none + */ + public java.lang.Long getTaxAmountMicros() { + return taxAmountMicros; + } + + /** + * Output only. The sum of all taxes on the invoice, in micros. This equals the sum of the + * AccountBudgetSummary tax amounts, plus taxes not associated with a specific account budget. + * @param taxAmountMicros taxAmountMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesInvoice setTaxAmountMicros(java.lang.Long taxAmountMicros) { + this.taxAmountMicros = taxAmountMicros; + return this; + } + + /** + * Output only. The total amount, in micros. This equals the sum of + * Invoice.subtotal_amount_micros, Invoice.tax_amount_micros, + * Invoice.regulatory_costs_subtotal_amount_micros, and + * Invoice.export_charge_subtotal_amount_micros (which is separated into a separate line item + * starting with V14.1). + * @return value or {@code null} for none + */ + public java.lang.Long getTotalAmountMicros() { + return totalAmountMicros; + } + + /** + * Output only. The total amount, in micros. This equals the sum of + * Invoice.subtotal_amount_micros, Invoice.tax_amount_micros, + * Invoice.regulatory_costs_subtotal_amount_micros, and + * Invoice.export_charge_subtotal_amount_micros (which is separated into a separate line item + * starting with V14.1). + * @param totalAmountMicros totalAmountMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesInvoice setTotalAmountMicros(java.lang.Long totalAmountMicros) { + this.totalAmountMicros = totalAmountMicros; + return this; + } + + /** + * Output only. The type of invoice. + * @return value or {@code null} for none + */ + public java.lang.String getType() { + return type; + } + + /** + * Output only. The type of invoice. + * @param type type or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesInvoice setType(java.lang.String type) { + this.type = type; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesInvoice set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesInvoice) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesInvoice clone() { + return (GoogleAdsSearchads360V23ResourcesInvoice) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesInvoiceAccountBudgetSummary.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesInvoiceAccountBudgetSummary.java new file mode 100644 index 00000000000..f95b31724d9 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesInvoiceAccountBudgetSummary.java @@ -0,0 +1,448 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Represents a summarized account budget billable cost. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesInvoiceAccountBudgetSummary extends com.google.api.client.json.GenericJson { + + /** + * Output only. The resource name of the account budget associated with this summarized billable + * cost. AccountBudget resource names have the form: + * `customers/{customer_id}/accountBudgets/{account_budget_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String accountBudget; + + /** + * Output only. The name of the account budget. It appears on the invoice PDF as "Account budget". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String accountBudgetName; + + /** + * Output only. The billable activity date range of the account budget, within the service date + * range of this invoice. The end date is inclusive. This can be different from the account + * budget's start and end time. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonDateRange billableActivityDateRange; + + /** + * Output only. The pretax billed amount attributable to this budget during the service period, in + * micros. This does not account for any adjustments. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long billedAmountMicros; + + /** + * Output only. The list of summarized campaign level information associated with this account + * budget. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List campaignSummaries; + + /** + * Output only. The resource name of the customer associated with this account budget. This + * contains the customer ID, which appears on the invoice PDF as "Account ID". Customer resource + * names have the form: `customers/{customer_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String customer; + + /** + * Output only. The descriptive name of the account budget's customer. It appears on the invoice + * PDF as "Account". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String customerDescriptiveName; + + /** + * Output only. The pretax invalid activity amount attributable to this budget in previous months, + * in micros (negative value). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long invalidActivityAmountMicros; + + /** + * Output only. The list of summarized invalid activity credits with original linkages. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List invalidActivitySummaries; + + /** + * Output only. The pretax overdelivery amount attributable to this budget during the service + * period, in micros (negative value). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long overdeliveryAmountMicros; + + /** + * Output only. The purchase order number of the account budget. It appears on the invoice PDF as + * "Purchase order". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String purchaseOrderNumber; + + /** + * Output only. The pretax served amount attributable to this budget during the service period, in + * micros. This is only useful to reconcile invoice and delivery data. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long servedAmountMicros; + + /** + * Output only. The pretax subtotal amount attributable to this budget during the service period, + * in micros. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long subtotalAmountMicros; + + /** + * Output only. The tax amount attributable to this budget during the service period, in micros. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long taxAmountMicros; + + /** + * Output only. The total amount attributable to this budget during the service period, in micros. + * This equals the sum of the account budget subtotal amount and the account budget tax amount. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long totalAmountMicros; + + /** + * Output only. The resource name of the account budget associated with this summarized billable + * cost. AccountBudget resource names have the form: + * `customers/{customer_id}/accountBudgets/{account_budget_id}` + * @return value or {@code null} for none + */ + public java.lang.String getAccountBudget() { + return accountBudget; + } + + /** + * Output only. The resource name of the account budget associated with this summarized billable + * cost. AccountBudget resource names have the form: + * `customers/{customer_id}/accountBudgets/{account_budget_id}` + * @param accountBudget accountBudget or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesInvoiceAccountBudgetSummary setAccountBudget(java.lang.String accountBudget) { + this.accountBudget = accountBudget; + return this; + } + + /** + * Output only. The name of the account budget. It appears on the invoice PDF as "Account budget". + * @return value or {@code null} for none + */ + public java.lang.String getAccountBudgetName() { + return accountBudgetName; + } + + /** + * Output only. The name of the account budget. It appears on the invoice PDF as "Account budget". + * @param accountBudgetName accountBudgetName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesInvoiceAccountBudgetSummary setAccountBudgetName(java.lang.String accountBudgetName) { + this.accountBudgetName = accountBudgetName; + return this; + } + + /** + * Output only. The billable activity date range of the account budget, within the service date + * range of this invoice. The end date is inclusive. This can be different from the account + * budget's start and end time. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDateRange getBillableActivityDateRange() { + return billableActivityDateRange; + } + + /** + * Output only. The billable activity date range of the account budget, within the service date + * range of this invoice. The end date is inclusive. This can be different from the account + * budget's start and end time. + * @param billableActivityDateRange billableActivityDateRange or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesInvoiceAccountBudgetSummary setBillableActivityDateRange(GoogleAdsSearchads360V23CommonDateRange billableActivityDateRange) { + this.billableActivityDateRange = billableActivityDateRange; + return this; + } + + /** + * Output only. The pretax billed amount attributable to this budget during the service period, in + * micros. This does not account for any adjustments. + * @return value or {@code null} for none + */ + public java.lang.Long getBilledAmountMicros() { + return billedAmountMicros; + } + + /** + * Output only. The pretax billed amount attributable to this budget during the service period, in + * micros. This does not account for any adjustments. + * @param billedAmountMicros billedAmountMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesInvoiceAccountBudgetSummary setBilledAmountMicros(java.lang.Long billedAmountMicros) { + this.billedAmountMicros = billedAmountMicros; + return this; + } + + /** + * Output only. The list of summarized campaign level information associated with this account + * budget. + * @return value or {@code null} for none + */ + public java.util.List getCampaignSummaries() { + return campaignSummaries; + } + + /** + * Output only. The list of summarized campaign level information associated with this account + * budget. + * @param campaignSummaries campaignSummaries or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesInvoiceAccountBudgetSummary setCampaignSummaries(java.util.List campaignSummaries) { + this.campaignSummaries = campaignSummaries; + return this; + } + + /** + * Output only. The resource name of the customer associated with this account budget. This + * contains the customer ID, which appears on the invoice PDF as "Account ID". Customer resource + * names have the form: `customers/{customer_id}` + * @return value or {@code null} for none + */ + public java.lang.String getCustomer() { + return customer; + } + + /** + * Output only. The resource name of the customer associated with this account budget. This + * contains the customer ID, which appears on the invoice PDF as "Account ID". Customer resource + * names have the form: `customers/{customer_id}` + * @param customer customer or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesInvoiceAccountBudgetSummary setCustomer(java.lang.String customer) { + this.customer = customer; + return this; + } + + /** + * Output only. The descriptive name of the account budget's customer. It appears on the invoice + * PDF as "Account". + * @return value or {@code null} for none + */ + public java.lang.String getCustomerDescriptiveName() { + return customerDescriptiveName; + } + + /** + * Output only. The descriptive name of the account budget's customer. It appears on the invoice + * PDF as "Account". + * @param customerDescriptiveName customerDescriptiveName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesInvoiceAccountBudgetSummary setCustomerDescriptiveName(java.lang.String customerDescriptiveName) { + this.customerDescriptiveName = customerDescriptiveName; + return this; + } + + /** + * Output only. The pretax invalid activity amount attributable to this budget in previous months, + * in micros (negative value). + * @return value or {@code null} for none + */ + public java.lang.Long getInvalidActivityAmountMicros() { + return invalidActivityAmountMicros; + } + + /** + * Output only. The pretax invalid activity amount attributable to this budget in previous months, + * in micros (negative value). + * @param invalidActivityAmountMicros invalidActivityAmountMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesInvoiceAccountBudgetSummary setInvalidActivityAmountMicros(java.lang.Long invalidActivityAmountMicros) { + this.invalidActivityAmountMicros = invalidActivityAmountMicros; + return this; + } + + /** + * Output only. The list of summarized invalid activity credits with original linkages. + * @return value or {@code null} for none + */ + public java.util.List getInvalidActivitySummaries() { + return invalidActivitySummaries; + } + + /** + * Output only. The list of summarized invalid activity credits with original linkages. + * @param invalidActivitySummaries invalidActivitySummaries or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesInvoiceAccountBudgetSummary setInvalidActivitySummaries(java.util.List invalidActivitySummaries) { + this.invalidActivitySummaries = invalidActivitySummaries; + return this; + } + + /** + * Output only. The pretax overdelivery amount attributable to this budget during the service + * period, in micros (negative value). + * @return value or {@code null} for none + */ + public java.lang.Long getOverdeliveryAmountMicros() { + return overdeliveryAmountMicros; + } + + /** + * Output only. The pretax overdelivery amount attributable to this budget during the service + * period, in micros (negative value). + * @param overdeliveryAmountMicros overdeliveryAmountMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesInvoiceAccountBudgetSummary setOverdeliveryAmountMicros(java.lang.Long overdeliveryAmountMicros) { + this.overdeliveryAmountMicros = overdeliveryAmountMicros; + return this; + } + + /** + * Output only. The purchase order number of the account budget. It appears on the invoice PDF as + * "Purchase order". + * @return value or {@code null} for none + */ + public java.lang.String getPurchaseOrderNumber() { + return purchaseOrderNumber; + } + + /** + * Output only. The purchase order number of the account budget. It appears on the invoice PDF as + * "Purchase order". + * @param purchaseOrderNumber purchaseOrderNumber or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesInvoiceAccountBudgetSummary setPurchaseOrderNumber(java.lang.String purchaseOrderNumber) { + this.purchaseOrderNumber = purchaseOrderNumber; + return this; + } + + /** + * Output only. The pretax served amount attributable to this budget during the service period, in + * micros. This is only useful to reconcile invoice and delivery data. + * @return value or {@code null} for none + */ + public java.lang.Long getServedAmountMicros() { + return servedAmountMicros; + } + + /** + * Output only. The pretax served amount attributable to this budget during the service period, in + * micros. This is only useful to reconcile invoice and delivery data. + * @param servedAmountMicros servedAmountMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesInvoiceAccountBudgetSummary setServedAmountMicros(java.lang.Long servedAmountMicros) { + this.servedAmountMicros = servedAmountMicros; + return this; + } + + /** + * Output only. The pretax subtotal amount attributable to this budget during the service period, + * in micros. + * @return value or {@code null} for none + */ + public java.lang.Long getSubtotalAmountMicros() { + return subtotalAmountMicros; + } + + /** + * Output only. The pretax subtotal amount attributable to this budget during the service period, + * in micros. + * @param subtotalAmountMicros subtotalAmountMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesInvoiceAccountBudgetSummary setSubtotalAmountMicros(java.lang.Long subtotalAmountMicros) { + this.subtotalAmountMicros = subtotalAmountMicros; + return this; + } + + /** + * Output only. The tax amount attributable to this budget during the service period, in micros. + * @return value or {@code null} for none + */ + public java.lang.Long getTaxAmountMicros() { + return taxAmountMicros; + } + + /** + * Output only. The tax amount attributable to this budget during the service period, in micros. + * @param taxAmountMicros taxAmountMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesInvoiceAccountBudgetSummary setTaxAmountMicros(java.lang.Long taxAmountMicros) { + this.taxAmountMicros = taxAmountMicros; + return this; + } + + /** + * Output only. The total amount attributable to this budget during the service period, in micros. + * This equals the sum of the account budget subtotal amount and the account budget tax amount. + * @return value or {@code null} for none + */ + public java.lang.Long getTotalAmountMicros() { + return totalAmountMicros; + } + + /** + * Output only. The total amount attributable to this budget during the service period, in micros. + * This equals the sum of the account budget subtotal amount and the account budget tax amount. + * @param totalAmountMicros totalAmountMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesInvoiceAccountBudgetSummary setTotalAmountMicros(java.lang.Long totalAmountMicros) { + this.totalAmountMicros = totalAmountMicros; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesInvoiceAccountBudgetSummary set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesInvoiceAccountBudgetSummary) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesInvoiceAccountBudgetSummary clone() { + return (GoogleAdsSearchads360V23ResourcesInvoiceAccountBudgetSummary) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesInvoiceAccountSummary.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesInvoiceAccountSummary.java new file mode 100644 index 00000000000..f7beef98360 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesInvoiceAccountSummary.java @@ -0,0 +1,553 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Represents a summarized view at account level. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesInvoiceAccountSummary extends com.google.api.client.json.GenericJson { + + /** + * Output only. The list of adjustment information associated with this account. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List adjustmentSummaries; + + /** + * Output only. Pretax billing correction subtotal amount, in micros. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long billingCorrectionSubtotalAmountMicros; + + /** + * Output only. Tax on billing correction, in micros. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long billingCorrectionTaxAmountMicros; + + /** + * Output only. Total billing correction amount, in micros. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long billingCorrectionTotalAmountMicros; + + /** + * Output only. Pretax coupon adjustment subtotal amount, in micros. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long couponAdjustmentSubtotalAmountMicros; + + /** + * Output only. Tax on coupon adjustment, in micros. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long couponAdjustmentTaxAmountMicros; + + /** + * Output only. Total coupon adjustment amount, in micros. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long couponAdjustmentTotalAmountMicros; + + /** + * Output only. The account associated with the account summary. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String customer; + + /** + * Output only. Pretax excess credit adjustment subtotal amount, in micros. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long excessCreditAdjustmentSubtotalAmountMicros; + + /** + * Output only. Tax on excess credit adjustment, in micros. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long excessCreditAdjustmentTaxAmountMicros; + + /** + * Output only. Total excess credit adjustment amount, in micros. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long excessCreditAdjustmentTotalAmountMicros; + + /** + * Output only. Pretax export charge subtotal amount, in micros. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long exportChargeSubtotalAmountMicros; + + /** + * Output only. Tax on export charge, in micros. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long exportChargeTaxAmountMicros; + + /** + * Output only. Total export charge amount, in micros. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long exportChargeTotalAmountMicros; + + /** + * Output only. The list of regulatory cost information associated with this account. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List regulatoryCostSummaries; + + /** + * Output only. Pretax regulatory costs subtotal amount, in micros. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long regulatoryCostsSubtotalAmountMicros; + + /** + * Output only. Tax on regulatory costs, in micros. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long regulatoryCostsTaxAmountMicros; + + /** + * Output only. Total regulatory costs amount, in micros. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long regulatoryCostsTotalAmountMicros; + + /** + * Output only. Total pretax subtotal amount attributable to the account during the service + * period, in micros. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long subtotalAmountMicros; + + /** + * Output only. Total tax amount attributable to the account during the service period, in micros. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long taxAmountMicros; + + /** + * Output only. Total amount attributable to the account during the service period, in micros. + * This equals the sum of the subtotal_amount_micros and tax_amount_micros. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long totalAmountMicros; + + /** + * Output only. The list of adjustment information associated with this account. + * @return value or {@code null} for none + */ + public java.util.List getAdjustmentSummaries() { + return adjustmentSummaries; + } + + /** + * Output only. The list of adjustment information associated with this account. + * @param adjustmentSummaries adjustmentSummaries or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesInvoiceAccountSummary setAdjustmentSummaries(java.util.List adjustmentSummaries) { + this.adjustmentSummaries = adjustmentSummaries; + return this; + } + + /** + * Output only. Pretax billing correction subtotal amount, in micros. + * @return value or {@code null} for none + */ + public java.lang.Long getBillingCorrectionSubtotalAmountMicros() { + return billingCorrectionSubtotalAmountMicros; + } + + /** + * Output only. Pretax billing correction subtotal amount, in micros. + * @param billingCorrectionSubtotalAmountMicros billingCorrectionSubtotalAmountMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesInvoiceAccountSummary setBillingCorrectionSubtotalAmountMicros(java.lang.Long billingCorrectionSubtotalAmountMicros) { + this.billingCorrectionSubtotalAmountMicros = billingCorrectionSubtotalAmountMicros; + return this; + } + + /** + * Output only. Tax on billing correction, in micros. + * @return value or {@code null} for none + */ + public java.lang.Long getBillingCorrectionTaxAmountMicros() { + return billingCorrectionTaxAmountMicros; + } + + /** + * Output only. Tax on billing correction, in micros. + * @param billingCorrectionTaxAmountMicros billingCorrectionTaxAmountMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesInvoiceAccountSummary setBillingCorrectionTaxAmountMicros(java.lang.Long billingCorrectionTaxAmountMicros) { + this.billingCorrectionTaxAmountMicros = billingCorrectionTaxAmountMicros; + return this; + } + + /** + * Output only. Total billing correction amount, in micros. + * @return value or {@code null} for none + */ + public java.lang.Long getBillingCorrectionTotalAmountMicros() { + return billingCorrectionTotalAmountMicros; + } + + /** + * Output only. Total billing correction amount, in micros. + * @param billingCorrectionTotalAmountMicros billingCorrectionTotalAmountMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesInvoiceAccountSummary setBillingCorrectionTotalAmountMicros(java.lang.Long billingCorrectionTotalAmountMicros) { + this.billingCorrectionTotalAmountMicros = billingCorrectionTotalAmountMicros; + return this; + } + + /** + * Output only. Pretax coupon adjustment subtotal amount, in micros. + * @return value or {@code null} for none + */ + public java.lang.Long getCouponAdjustmentSubtotalAmountMicros() { + return couponAdjustmentSubtotalAmountMicros; + } + + /** + * Output only. Pretax coupon adjustment subtotal amount, in micros. + * @param couponAdjustmentSubtotalAmountMicros couponAdjustmentSubtotalAmountMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesInvoiceAccountSummary setCouponAdjustmentSubtotalAmountMicros(java.lang.Long couponAdjustmentSubtotalAmountMicros) { + this.couponAdjustmentSubtotalAmountMicros = couponAdjustmentSubtotalAmountMicros; + return this; + } + + /** + * Output only. Tax on coupon adjustment, in micros. + * @return value or {@code null} for none + */ + public java.lang.Long getCouponAdjustmentTaxAmountMicros() { + return couponAdjustmentTaxAmountMicros; + } + + /** + * Output only. Tax on coupon adjustment, in micros. + * @param couponAdjustmentTaxAmountMicros couponAdjustmentTaxAmountMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesInvoiceAccountSummary setCouponAdjustmentTaxAmountMicros(java.lang.Long couponAdjustmentTaxAmountMicros) { + this.couponAdjustmentTaxAmountMicros = couponAdjustmentTaxAmountMicros; + return this; + } + + /** + * Output only. Total coupon adjustment amount, in micros. + * @return value or {@code null} for none + */ + public java.lang.Long getCouponAdjustmentTotalAmountMicros() { + return couponAdjustmentTotalAmountMicros; + } + + /** + * Output only. Total coupon adjustment amount, in micros. + * @param couponAdjustmentTotalAmountMicros couponAdjustmentTotalAmountMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesInvoiceAccountSummary setCouponAdjustmentTotalAmountMicros(java.lang.Long couponAdjustmentTotalAmountMicros) { + this.couponAdjustmentTotalAmountMicros = couponAdjustmentTotalAmountMicros; + return this; + } + + /** + * Output only. The account associated with the account summary. + * @return value or {@code null} for none + */ + public java.lang.String getCustomer() { + return customer; + } + + /** + * Output only. The account associated with the account summary. + * @param customer customer or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesInvoiceAccountSummary setCustomer(java.lang.String customer) { + this.customer = customer; + return this; + } + + /** + * Output only. Pretax excess credit adjustment subtotal amount, in micros. + * @return value or {@code null} for none + */ + public java.lang.Long getExcessCreditAdjustmentSubtotalAmountMicros() { + return excessCreditAdjustmentSubtotalAmountMicros; + } + + /** + * Output only. Pretax excess credit adjustment subtotal amount, in micros. + * @param excessCreditAdjustmentSubtotalAmountMicros excessCreditAdjustmentSubtotalAmountMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesInvoiceAccountSummary setExcessCreditAdjustmentSubtotalAmountMicros(java.lang.Long excessCreditAdjustmentSubtotalAmountMicros) { + this.excessCreditAdjustmentSubtotalAmountMicros = excessCreditAdjustmentSubtotalAmountMicros; + return this; + } + + /** + * Output only. Tax on excess credit adjustment, in micros. + * @return value or {@code null} for none + */ + public java.lang.Long getExcessCreditAdjustmentTaxAmountMicros() { + return excessCreditAdjustmentTaxAmountMicros; + } + + /** + * Output only. Tax on excess credit adjustment, in micros. + * @param excessCreditAdjustmentTaxAmountMicros excessCreditAdjustmentTaxAmountMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesInvoiceAccountSummary setExcessCreditAdjustmentTaxAmountMicros(java.lang.Long excessCreditAdjustmentTaxAmountMicros) { + this.excessCreditAdjustmentTaxAmountMicros = excessCreditAdjustmentTaxAmountMicros; + return this; + } + + /** + * Output only. Total excess credit adjustment amount, in micros. + * @return value or {@code null} for none + */ + public java.lang.Long getExcessCreditAdjustmentTotalAmountMicros() { + return excessCreditAdjustmentTotalAmountMicros; + } + + /** + * Output only. Total excess credit adjustment amount, in micros. + * @param excessCreditAdjustmentTotalAmountMicros excessCreditAdjustmentTotalAmountMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesInvoiceAccountSummary setExcessCreditAdjustmentTotalAmountMicros(java.lang.Long excessCreditAdjustmentTotalAmountMicros) { + this.excessCreditAdjustmentTotalAmountMicros = excessCreditAdjustmentTotalAmountMicros; + return this; + } + + /** + * Output only. Pretax export charge subtotal amount, in micros. + * @return value or {@code null} for none + */ + public java.lang.Long getExportChargeSubtotalAmountMicros() { + return exportChargeSubtotalAmountMicros; + } + + /** + * Output only. Pretax export charge subtotal amount, in micros. + * @param exportChargeSubtotalAmountMicros exportChargeSubtotalAmountMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesInvoiceAccountSummary setExportChargeSubtotalAmountMicros(java.lang.Long exportChargeSubtotalAmountMicros) { + this.exportChargeSubtotalAmountMicros = exportChargeSubtotalAmountMicros; + return this; + } + + /** + * Output only. Tax on export charge, in micros. + * @return value or {@code null} for none + */ + public java.lang.Long getExportChargeTaxAmountMicros() { + return exportChargeTaxAmountMicros; + } + + /** + * Output only. Tax on export charge, in micros. + * @param exportChargeTaxAmountMicros exportChargeTaxAmountMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesInvoiceAccountSummary setExportChargeTaxAmountMicros(java.lang.Long exportChargeTaxAmountMicros) { + this.exportChargeTaxAmountMicros = exportChargeTaxAmountMicros; + return this; + } + + /** + * Output only. Total export charge amount, in micros. + * @return value or {@code null} for none + */ + public java.lang.Long getExportChargeTotalAmountMicros() { + return exportChargeTotalAmountMicros; + } + + /** + * Output only. Total export charge amount, in micros. + * @param exportChargeTotalAmountMicros exportChargeTotalAmountMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesInvoiceAccountSummary setExportChargeTotalAmountMicros(java.lang.Long exportChargeTotalAmountMicros) { + this.exportChargeTotalAmountMicros = exportChargeTotalAmountMicros; + return this; + } + + /** + * Output only. The list of regulatory cost information associated with this account. + * @return value or {@code null} for none + */ + public java.util.List getRegulatoryCostSummaries() { + return regulatoryCostSummaries; + } + + /** + * Output only. The list of regulatory cost information associated with this account. + * @param regulatoryCostSummaries regulatoryCostSummaries or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesInvoiceAccountSummary setRegulatoryCostSummaries(java.util.List regulatoryCostSummaries) { + this.regulatoryCostSummaries = regulatoryCostSummaries; + return this; + } + + /** + * Output only. Pretax regulatory costs subtotal amount, in micros. + * @return value or {@code null} for none + */ + public java.lang.Long getRegulatoryCostsSubtotalAmountMicros() { + return regulatoryCostsSubtotalAmountMicros; + } + + /** + * Output only. Pretax regulatory costs subtotal amount, in micros. + * @param regulatoryCostsSubtotalAmountMicros regulatoryCostsSubtotalAmountMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesInvoiceAccountSummary setRegulatoryCostsSubtotalAmountMicros(java.lang.Long regulatoryCostsSubtotalAmountMicros) { + this.regulatoryCostsSubtotalAmountMicros = regulatoryCostsSubtotalAmountMicros; + return this; + } + + /** + * Output only. Tax on regulatory costs, in micros. + * @return value or {@code null} for none + */ + public java.lang.Long getRegulatoryCostsTaxAmountMicros() { + return regulatoryCostsTaxAmountMicros; + } + + /** + * Output only. Tax on regulatory costs, in micros. + * @param regulatoryCostsTaxAmountMicros regulatoryCostsTaxAmountMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesInvoiceAccountSummary setRegulatoryCostsTaxAmountMicros(java.lang.Long regulatoryCostsTaxAmountMicros) { + this.regulatoryCostsTaxAmountMicros = regulatoryCostsTaxAmountMicros; + return this; + } + + /** + * Output only. Total regulatory costs amount, in micros. + * @return value or {@code null} for none + */ + public java.lang.Long getRegulatoryCostsTotalAmountMicros() { + return regulatoryCostsTotalAmountMicros; + } + + /** + * Output only. Total regulatory costs amount, in micros. + * @param regulatoryCostsTotalAmountMicros regulatoryCostsTotalAmountMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesInvoiceAccountSummary setRegulatoryCostsTotalAmountMicros(java.lang.Long regulatoryCostsTotalAmountMicros) { + this.regulatoryCostsTotalAmountMicros = regulatoryCostsTotalAmountMicros; + return this; + } + + /** + * Output only. Total pretax subtotal amount attributable to the account during the service + * period, in micros. + * @return value or {@code null} for none + */ + public java.lang.Long getSubtotalAmountMicros() { + return subtotalAmountMicros; + } + + /** + * Output only. Total pretax subtotal amount attributable to the account during the service + * period, in micros. + * @param subtotalAmountMicros subtotalAmountMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesInvoiceAccountSummary setSubtotalAmountMicros(java.lang.Long subtotalAmountMicros) { + this.subtotalAmountMicros = subtotalAmountMicros; + return this; + } + + /** + * Output only. Total tax amount attributable to the account during the service period, in micros. + * @return value or {@code null} for none + */ + public java.lang.Long getTaxAmountMicros() { + return taxAmountMicros; + } + + /** + * Output only. Total tax amount attributable to the account during the service period, in micros. + * @param taxAmountMicros taxAmountMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesInvoiceAccountSummary setTaxAmountMicros(java.lang.Long taxAmountMicros) { + this.taxAmountMicros = taxAmountMicros; + return this; + } + + /** + * Output only. Total amount attributable to the account during the service period, in micros. + * This equals the sum of the subtotal_amount_micros and tax_amount_micros. + * @return value or {@code null} for none + */ + public java.lang.Long getTotalAmountMicros() { + return totalAmountMicros; + } + + /** + * Output only. Total amount attributable to the account during the service period, in micros. + * This equals the sum of the subtotal_amount_micros and tax_amount_micros. + * @param totalAmountMicros totalAmountMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesInvoiceAccountSummary setTotalAmountMicros(java.lang.Long totalAmountMicros) { + this.totalAmountMicros = totalAmountMicros; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesInvoiceAccountSummary set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesInvoiceAccountSummary) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesInvoiceAccountSummary clone() { + return (GoogleAdsSearchads360V23ResourcesInvoiceAccountSummary) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesInvoiceAdjustmentSummary.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesInvoiceAdjustmentSummary.java new file mode 100644 index 00000000000..ce344d8dce4 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesInvoiceAdjustmentSummary.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Represents adjustment information associated with an account. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesInvoiceAdjustmentSummary extends com.google.api.client.json.GenericJson { + + /** + * Output only. The description of the adjustment. Example: Incentive Adjustment, discount. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String adjustmentDescription; + + /** + * Output only. The amount of the adjustment, in micros. The currency code for this amount is the + * same as the Invoice.currency_code. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long amountMicros; + + /** + * Output only. The description of the adjustment. Example: Incentive Adjustment, discount. + * @return value or {@code null} for none + */ + public java.lang.String getAdjustmentDescription() { + return adjustmentDescription; + } + + /** + * Output only. The description of the adjustment. Example: Incentive Adjustment, discount. + * @param adjustmentDescription adjustmentDescription or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesInvoiceAdjustmentSummary setAdjustmentDescription(java.lang.String adjustmentDescription) { + this.adjustmentDescription = adjustmentDescription; + return this; + } + + /** + * Output only. The amount of the adjustment, in micros. The currency code for this amount is the + * same as the Invoice.currency_code. + * @return value or {@code null} for none + */ + public java.lang.Long getAmountMicros() { + return amountMicros; + } + + /** + * Output only. The amount of the adjustment, in micros. The currency code for this amount is the + * same as the Invoice.currency_code. + * @param amountMicros amountMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesInvoiceAdjustmentSummary setAmountMicros(java.lang.Long amountMicros) { + this.amountMicros = amountMicros; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesInvoiceAdjustmentSummary set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesInvoiceAdjustmentSummary) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesInvoiceAdjustmentSummary clone() { + return (GoogleAdsSearchads360V23ResourcesInvoiceAdjustmentSummary) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesInvoiceCampaignSummary.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesInvoiceCampaignSummary.java new file mode 100644 index 00000000000..d58b4082888 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesInvoiceCampaignSummary.java @@ -0,0 +1,148 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Represents campaign level billable cost information associated with an account budget. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesInvoiceCampaignSummary extends com.google.api.client.json.GenericJson { + + /** + * Output only. The amount attributable to this campaign for the given unit of measure during the + * service period, in micros. The currency code for this amount is the same as the + * Invoice.currency_code. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long amountMicros; + + /** + * Output only. The description of the campaign. This is generally the same as the campaign name, + * but may differ. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String campaignDescription; + + /** + * Output only. The quantity served for the given unit of measure. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long quantity; + + /** + * Output only. The unit of measure for the quantity served. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String unitOfMeasure; + + /** + * Output only. The amount attributable to this campaign for the given unit of measure during the + * service period, in micros. The currency code for this amount is the same as the + * Invoice.currency_code. + * @return value or {@code null} for none + */ + public java.lang.Long getAmountMicros() { + return amountMicros; + } + + /** + * Output only. The amount attributable to this campaign for the given unit of measure during the + * service period, in micros. The currency code for this amount is the same as the + * Invoice.currency_code. + * @param amountMicros amountMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesInvoiceCampaignSummary setAmountMicros(java.lang.Long amountMicros) { + this.amountMicros = amountMicros; + return this; + } + + /** + * Output only. The description of the campaign. This is generally the same as the campaign name, + * but may differ. + * @return value or {@code null} for none + */ + public java.lang.String getCampaignDescription() { + return campaignDescription; + } + + /** + * Output only. The description of the campaign. This is generally the same as the campaign name, + * but may differ. + * @param campaignDescription campaignDescription or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesInvoiceCampaignSummary setCampaignDescription(java.lang.String campaignDescription) { + this.campaignDescription = campaignDescription; + return this; + } + + /** + * Output only. The quantity served for the given unit of measure. + * @return value or {@code null} for none + */ + public java.lang.Long getQuantity() { + return quantity; + } + + /** + * Output only. The quantity served for the given unit of measure. + * @param quantity quantity or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesInvoiceCampaignSummary setQuantity(java.lang.Long quantity) { + this.quantity = quantity; + return this; + } + + /** + * Output only. The unit of measure for the quantity served. + * @return value or {@code null} for none + */ + public java.lang.String getUnitOfMeasure() { + return unitOfMeasure; + } + + /** + * Output only. The unit of measure for the quantity served. + * @param unitOfMeasure unitOfMeasure or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesInvoiceCampaignSummary setUnitOfMeasure(java.lang.String unitOfMeasure) { + this.unitOfMeasure = unitOfMeasure; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesInvoiceCampaignSummary set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesInvoiceCampaignSummary) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesInvoiceCampaignSummary clone() { + return (GoogleAdsSearchads360V23ResourcesInvoiceCampaignSummary) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesInvoiceInvalidActivitySummary.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesInvoiceInvalidActivitySummary.java new file mode 100644 index 00000000000..b2d3ff3f4a3 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesInvoiceInvalidActivitySummary.java @@ -0,0 +1,188 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Details about the invalid activity for the invoice that contain additional details about invoice + * against which corrections are made. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesInvoiceInvalidActivitySummary extends com.google.api.client.json.GenericJson { + + /** + * Output only. Invalid activity amount in micros. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long amountMicros; + + /** + * Output only. Original account budget name related to this invalid activity credit. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String originalAccountBudgetName; + + /** + * Output only. Original invoice number related to this invalid activity credit. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String originalInvoiceId; + + /** + * Output only. Original month of service related to this invalid activity credit. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String originalMonthOfService; + + /** + * Output only. Original purchase order number related to this invalid activity credit. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String originalPurchaseOrderNumber; + + /** + * Output only. Original year of service related to this invalid activity credit. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String originalYearOfService; + + /** + * Output only. Invalid activity amount in micros. + * @return value or {@code null} for none + */ + public java.lang.Long getAmountMicros() { + return amountMicros; + } + + /** + * Output only. Invalid activity amount in micros. + * @param amountMicros amountMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesInvoiceInvalidActivitySummary setAmountMicros(java.lang.Long amountMicros) { + this.amountMicros = amountMicros; + return this; + } + + /** + * Output only. Original account budget name related to this invalid activity credit. + * @return value or {@code null} for none + */ + public java.lang.String getOriginalAccountBudgetName() { + return originalAccountBudgetName; + } + + /** + * Output only. Original account budget name related to this invalid activity credit. + * @param originalAccountBudgetName originalAccountBudgetName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesInvoiceInvalidActivitySummary setOriginalAccountBudgetName(java.lang.String originalAccountBudgetName) { + this.originalAccountBudgetName = originalAccountBudgetName; + return this; + } + + /** + * Output only. Original invoice number related to this invalid activity credit. + * @return value or {@code null} for none + */ + public java.lang.String getOriginalInvoiceId() { + return originalInvoiceId; + } + + /** + * Output only. Original invoice number related to this invalid activity credit. + * @param originalInvoiceId originalInvoiceId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesInvoiceInvalidActivitySummary setOriginalInvoiceId(java.lang.String originalInvoiceId) { + this.originalInvoiceId = originalInvoiceId; + return this; + } + + /** + * Output only. Original month of service related to this invalid activity credit. + * @return value or {@code null} for none + */ + public java.lang.String getOriginalMonthOfService() { + return originalMonthOfService; + } + + /** + * Output only. Original month of service related to this invalid activity credit. + * @param originalMonthOfService originalMonthOfService or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesInvoiceInvalidActivitySummary setOriginalMonthOfService(java.lang.String originalMonthOfService) { + this.originalMonthOfService = originalMonthOfService; + return this; + } + + /** + * Output only. Original purchase order number related to this invalid activity credit. + * @return value or {@code null} for none + */ + public java.lang.String getOriginalPurchaseOrderNumber() { + return originalPurchaseOrderNumber; + } + + /** + * Output only. Original purchase order number related to this invalid activity credit. + * @param originalPurchaseOrderNumber originalPurchaseOrderNumber or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesInvoiceInvalidActivitySummary setOriginalPurchaseOrderNumber(java.lang.String originalPurchaseOrderNumber) { + this.originalPurchaseOrderNumber = originalPurchaseOrderNumber; + return this; + } + + /** + * Output only. Original year of service related to this invalid activity credit. + * @return value or {@code null} for none + */ + public java.lang.String getOriginalYearOfService() { + return originalYearOfService; + } + + /** + * Output only. Original year of service related to this invalid activity credit. + * @param originalYearOfService originalYearOfService or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesInvoiceInvalidActivitySummary setOriginalYearOfService(java.lang.String originalYearOfService) { + this.originalYearOfService = originalYearOfService; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesInvoiceInvalidActivitySummary set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesInvoiceInvalidActivitySummary) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesInvoiceInvalidActivitySummary clone() { + return (GoogleAdsSearchads360V23ResourcesInvoiceInvalidActivitySummary) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesInvoiceRegulatoryCostSummary.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesInvoiceRegulatoryCostSummary.java new file mode 100644 index 00000000000..3dbdd7d67bc --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesInvoiceRegulatoryCostSummary.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Represents regulatory cost information associated with an account. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesInvoiceRegulatoryCostSummary extends com.google.api.client.json.GenericJson { + + /** + * Output only. The amount of the regulatory fee, in micros. The currency code for this amount is + * the same as the Invoice.currency_code. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long amountMicros; + + /** + * Output only. The type of regulatory fee. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String regulatoryFeeType; + + /** + * Output only. The amount of the regulatory fee, in micros. The currency code for this amount is + * the same as the Invoice.currency_code. + * @return value or {@code null} for none + */ + public java.lang.Long getAmountMicros() { + return amountMicros; + } + + /** + * Output only. The amount of the regulatory fee, in micros. The currency code for this amount is + * the same as the Invoice.currency_code. + * @param amountMicros amountMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesInvoiceRegulatoryCostSummary setAmountMicros(java.lang.Long amountMicros) { + this.amountMicros = amountMicros; + return this; + } + + /** + * Output only. The type of regulatory fee. + * @return value or {@code null} for none + */ + public java.lang.String getRegulatoryFeeType() { + return regulatoryFeeType; + } + + /** + * Output only. The type of regulatory fee. + * @param regulatoryFeeType regulatoryFeeType or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesInvoiceRegulatoryCostSummary setRegulatoryFeeType(java.lang.String regulatoryFeeType) { + this.regulatoryFeeType = regulatoryFeeType; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesInvoiceRegulatoryCostSummary set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesInvoiceRegulatoryCostSummary) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesInvoiceRegulatoryCostSummary clone() { + return (GoogleAdsSearchads360V23ResourcesInvoiceRegulatoryCostSummary) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesKeywordPlan.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesKeywordPlan.java new file mode 100644 index 00000000000..a8c65adc720 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesKeywordPlan.java @@ -0,0 +1,146 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A Keyword Planner plan. Max number of saved keyword plans: 10000. It's possible to remove plans + * if limit is reached. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesKeywordPlan extends com.google.api.client.json.GenericJson { + + /** + * The date period used for forecasting the plan. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesKeywordPlanForecastPeriod forecastPeriod; + + /** + * Output only. The ID of the keyword plan. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long id; + + /** + * The name of the keyword plan. This field is required and should not be empty when creating new + * keyword plans. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * Immutable. The resource name of the Keyword Planner plan. KeywordPlan resource names have the + * form: `customers/{customer_id}/keywordPlans/{kp_plan_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * The date period used for forecasting the plan. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesKeywordPlanForecastPeriod getForecastPeriod() { + return forecastPeriod; + } + + /** + * The date period used for forecasting the plan. + * @param forecastPeriod forecastPeriod or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesKeywordPlan setForecastPeriod(GoogleAdsSearchads360V23ResourcesKeywordPlanForecastPeriod forecastPeriod) { + this.forecastPeriod = forecastPeriod; + return this; + } + + /** + * Output only. The ID of the keyword plan. + * @return value or {@code null} for none + */ + public java.lang.Long getId() { + return id; + } + + /** + * Output only. The ID of the keyword plan. + * @param id id or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesKeywordPlan setId(java.lang.Long id) { + this.id = id; + return this; + } + + /** + * The name of the keyword plan. This field is required and should not be empty when creating new + * keyword plans. + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * The name of the keyword plan. This field is required and should not be empty when creating new + * keyword plans. + * @param name name or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesKeywordPlan setName(java.lang.String name) { + this.name = name; + return this; + } + + /** + * Immutable. The resource name of the Keyword Planner plan. KeywordPlan resource names have the + * form: `customers/{customer_id}/keywordPlans/{kp_plan_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Immutable. The resource name of the Keyword Planner plan. KeywordPlan resource names have the + * form: `customers/{customer_id}/keywordPlans/{kp_plan_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesKeywordPlan setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesKeywordPlan set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesKeywordPlan) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesKeywordPlan clone() { + return (GoogleAdsSearchads360V23ResourcesKeywordPlan) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesKeywordPlanAdGroup.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesKeywordPlanAdGroup.java new file mode 100644 index 00000000000..9ce264e4cad --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesKeywordPlanAdGroup.java @@ -0,0 +1,172 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A Keyword Planner ad group. Max number of keyword plan ad groups per plan: 200. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesKeywordPlanAdGroup extends com.google.api.client.json.GenericJson { + + /** + * A default ad group max cpc bid in micros in account currency for all biddable keywords under + * the keyword plan ad group. If not set, will inherit from parent campaign. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long cpcBidMicros; + + /** + * Output only. The ID of the keyword plan ad group. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long id; + + /** + * The keyword plan campaign to which this ad group belongs. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String keywordPlanCampaign; + + /** + * The name of the keyword plan ad group. This field is required and should not be empty when + * creating keyword plan ad group. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * Immutable. The resource name of the Keyword Planner ad group. KeywordPlanAdGroup resource names + * have the form: `customers/{customer_id}/keywordPlanAdGroups/{kp_ad_group_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * A default ad group max cpc bid in micros in account currency for all biddable keywords under + * the keyword plan ad group. If not set, will inherit from parent campaign. + * @return value or {@code null} for none + */ + public java.lang.Long getCpcBidMicros() { + return cpcBidMicros; + } + + /** + * A default ad group max cpc bid in micros in account currency for all biddable keywords under + * the keyword plan ad group. If not set, will inherit from parent campaign. + * @param cpcBidMicros cpcBidMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesKeywordPlanAdGroup setCpcBidMicros(java.lang.Long cpcBidMicros) { + this.cpcBidMicros = cpcBidMicros; + return this; + } + + /** + * Output only. The ID of the keyword plan ad group. + * @return value or {@code null} for none + */ + public java.lang.Long getId() { + return id; + } + + /** + * Output only. The ID of the keyword plan ad group. + * @param id id or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesKeywordPlanAdGroup setId(java.lang.Long id) { + this.id = id; + return this; + } + + /** + * The keyword plan campaign to which this ad group belongs. + * @return value or {@code null} for none + */ + public java.lang.String getKeywordPlanCampaign() { + return keywordPlanCampaign; + } + + /** + * The keyword plan campaign to which this ad group belongs. + * @param keywordPlanCampaign keywordPlanCampaign or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesKeywordPlanAdGroup setKeywordPlanCampaign(java.lang.String keywordPlanCampaign) { + this.keywordPlanCampaign = keywordPlanCampaign; + return this; + } + + /** + * The name of the keyword plan ad group. This field is required and should not be empty when + * creating keyword plan ad group. + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * The name of the keyword plan ad group. This field is required and should not be empty when + * creating keyword plan ad group. + * @param name name or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesKeywordPlanAdGroup setName(java.lang.String name) { + this.name = name; + return this; + } + + /** + * Immutable. The resource name of the Keyword Planner ad group. KeywordPlanAdGroup resource names + * have the form: `customers/{customer_id}/keywordPlanAdGroups/{kp_ad_group_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Immutable. The resource name of the Keyword Planner ad group. KeywordPlanAdGroup resource names + * have the form: `customers/{customer_id}/keywordPlanAdGroups/{kp_ad_group_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesKeywordPlanAdGroup setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesKeywordPlanAdGroup set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesKeywordPlanAdGroup) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesKeywordPlanAdGroup clone() { + return (GoogleAdsSearchads360V23ResourcesKeywordPlanAdGroup) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesKeywordPlanAdGroupKeyword.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesKeywordPlanAdGroupKeyword.java new file mode 100644 index 00000000000..a1759430216 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesKeywordPlanAdGroupKeyword.java @@ -0,0 +1,223 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A Keyword Plan ad group keyword. Max number of keyword plan keywords per plan: 10000. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesKeywordPlanAdGroupKeyword extends com.google.api.client.json.GenericJson { + + /** + * A keyword level max cpc bid in micros (for example, $1 = 1mm). The currency is the same as the + * account currency code. This will override any CPC bid set at the keyword plan ad group level. + * Not applicable for negative keywords. (negative = true) This field is Optional. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long cpcBidMicros; + + /** + * Output only. The ID of the Keyword Plan keyword. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long id; + + /** + * The Keyword Plan ad group to which this keyword belongs. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String keywordPlanAdGroup; + + /** + * The keyword match type. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String matchType; + + /** + * Immutable. If true, the keyword is negative. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean negative; + + /** + * Immutable. The resource name of the Keyword Plan ad group keyword. KeywordPlanAdGroupKeyword + * resource names have the form: + * `customers/{customer_id}/keywordPlanAdGroupKeywords/{kp_ad_group_keyword_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * The keyword text. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String text; + + /** + * A keyword level max cpc bid in micros (for example, $1 = 1mm). The currency is the same as the + * account currency code. This will override any CPC bid set at the keyword plan ad group level. + * Not applicable for negative keywords. (negative = true) This field is Optional. + * @return value or {@code null} for none + */ + public java.lang.Long getCpcBidMicros() { + return cpcBidMicros; + } + + /** + * A keyword level max cpc bid in micros (for example, $1 = 1mm). The currency is the same as the + * account currency code. This will override any CPC bid set at the keyword plan ad group level. + * Not applicable for negative keywords. (negative = true) This field is Optional. + * @param cpcBidMicros cpcBidMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesKeywordPlanAdGroupKeyword setCpcBidMicros(java.lang.Long cpcBidMicros) { + this.cpcBidMicros = cpcBidMicros; + return this; + } + + /** + * Output only. The ID of the Keyword Plan keyword. + * @return value or {@code null} for none + */ + public java.lang.Long getId() { + return id; + } + + /** + * Output only. The ID of the Keyword Plan keyword. + * @param id id or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesKeywordPlanAdGroupKeyword setId(java.lang.Long id) { + this.id = id; + return this; + } + + /** + * The Keyword Plan ad group to which this keyword belongs. + * @return value or {@code null} for none + */ + public java.lang.String getKeywordPlanAdGroup() { + return keywordPlanAdGroup; + } + + /** + * The Keyword Plan ad group to which this keyword belongs. + * @param keywordPlanAdGroup keywordPlanAdGroup or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesKeywordPlanAdGroupKeyword setKeywordPlanAdGroup(java.lang.String keywordPlanAdGroup) { + this.keywordPlanAdGroup = keywordPlanAdGroup; + return this; + } + + /** + * The keyword match type. + * @return value or {@code null} for none + */ + public java.lang.String getMatchType() { + return matchType; + } + + /** + * The keyword match type. + * @param matchType matchType or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesKeywordPlanAdGroupKeyword setMatchType(java.lang.String matchType) { + this.matchType = matchType; + return this; + } + + /** + * Immutable. If true, the keyword is negative. + * @return value or {@code null} for none + */ + public java.lang.Boolean getNegative() { + return negative; + } + + /** + * Immutable. If true, the keyword is negative. + * @param negative negative or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesKeywordPlanAdGroupKeyword setNegative(java.lang.Boolean negative) { + this.negative = negative; + return this; + } + + /** + * Immutable. The resource name of the Keyword Plan ad group keyword. KeywordPlanAdGroupKeyword + * resource names have the form: + * `customers/{customer_id}/keywordPlanAdGroupKeywords/{kp_ad_group_keyword_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Immutable. The resource name of the Keyword Plan ad group keyword. KeywordPlanAdGroupKeyword + * resource names have the form: + * `customers/{customer_id}/keywordPlanAdGroupKeywords/{kp_ad_group_keyword_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesKeywordPlanAdGroupKeyword setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * The keyword text. + * @return value or {@code null} for none + */ + public java.lang.String getText() { + return text; + } + + /** + * The keyword text. + * @param text text or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesKeywordPlanAdGroupKeyword setText(java.lang.String text) { + this.text = text; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesKeywordPlanAdGroupKeyword set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesKeywordPlanAdGroupKeyword) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesKeywordPlanAdGroupKeyword clone() { + return (GoogleAdsSearchads360V23ResourcesKeywordPlanAdGroupKeyword) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesKeywordPlanCampaign.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesKeywordPlanCampaign.java new file mode 100644 index 00000000000..23e12fc673c --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesKeywordPlanCampaign.java @@ -0,0 +1,247 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A Keyword Plan campaign. Max number of keyword plan campaigns per plan allowed: 1. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesKeywordPlanCampaign extends com.google.api.client.json.GenericJson { + + /** + * A default max cpc bid in micros, and in the account currency, for all ad groups under the + * campaign. This field is required and should not be empty when creating Keyword Plan campaigns. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long cpcBidMicros; + + /** + * The geo targets. Max number allowed: 20. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List geoTargets; + + /** + * Output only. The ID of the Keyword Plan campaign. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long id; + + /** + * The keyword plan this campaign belongs to. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String keywordPlan; + + /** + * Targeting network. This field is required and should not be empty when creating Keyword Plan + * campaigns. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String keywordPlanNetwork; + + /** + * The languages targeted for the Keyword Plan campaign. Max allowed: 1. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List languageConstants; + + /** + * The name of the Keyword Plan campaign. This field is required and should not be empty when + * creating Keyword Plan campaigns. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * Immutable. The resource name of the Keyword Plan campaign. KeywordPlanCampaign resource names + * have the form: `customers/{customer_id}/keywordPlanCampaigns/{kp_campaign_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * A default max cpc bid in micros, and in the account currency, for all ad groups under the + * campaign. This field is required and should not be empty when creating Keyword Plan campaigns. + * @return value or {@code null} for none + */ + public java.lang.Long getCpcBidMicros() { + return cpcBidMicros; + } + + /** + * A default max cpc bid in micros, and in the account currency, for all ad groups under the + * campaign. This field is required and should not be empty when creating Keyword Plan campaigns. + * @param cpcBidMicros cpcBidMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesKeywordPlanCampaign setCpcBidMicros(java.lang.Long cpcBidMicros) { + this.cpcBidMicros = cpcBidMicros; + return this; + } + + /** + * The geo targets. Max number allowed: 20. + * @return value or {@code null} for none + */ + public java.util.List getGeoTargets() { + return geoTargets; + } + + /** + * The geo targets. Max number allowed: 20. + * @param geoTargets geoTargets or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesKeywordPlanCampaign setGeoTargets(java.util.List geoTargets) { + this.geoTargets = geoTargets; + return this; + } + + /** + * Output only. The ID of the Keyword Plan campaign. + * @return value or {@code null} for none + */ + public java.lang.Long getId() { + return id; + } + + /** + * Output only. The ID of the Keyword Plan campaign. + * @param id id or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesKeywordPlanCampaign setId(java.lang.Long id) { + this.id = id; + return this; + } + + /** + * The keyword plan this campaign belongs to. + * @return value or {@code null} for none + */ + public java.lang.String getKeywordPlan() { + return keywordPlan; + } + + /** + * The keyword plan this campaign belongs to. + * @param keywordPlan keywordPlan or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesKeywordPlanCampaign setKeywordPlan(java.lang.String keywordPlan) { + this.keywordPlan = keywordPlan; + return this; + } + + /** + * Targeting network. This field is required and should not be empty when creating Keyword Plan + * campaigns. + * @return value or {@code null} for none + */ + public java.lang.String getKeywordPlanNetwork() { + return keywordPlanNetwork; + } + + /** + * Targeting network. This field is required and should not be empty when creating Keyword Plan + * campaigns. + * @param keywordPlanNetwork keywordPlanNetwork or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesKeywordPlanCampaign setKeywordPlanNetwork(java.lang.String keywordPlanNetwork) { + this.keywordPlanNetwork = keywordPlanNetwork; + return this; + } + + /** + * The languages targeted for the Keyword Plan campaign. Max allowed: 1. + * @return value or {@code null} for none + */ + public java.util.List getLanguageConstants() { + return languageConstants; + } + + /** + * The languages targeted for the Keyword Plan campaign. Max allowed: 1. + * @param languageConstants languageConstants or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesKeywordPlanCampaign setLanguageConstants(java.util.List languageConstants) { + this.languageConstants = languageConstants; + return this; + } + + /** + * The name of the Keyword Plan campaign. This field is required and should not be empty when + * creating Keyword Plan campaigns. + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * The name of the Keyword Plan campaign. This field is required and should not be empty when + * creating Keyword Plan campaigns. + * @param name name or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesKeywordPlanCampaign setName(java.lang.String name) { + this.name = name; + return this; + } + + /** + * Immutable. The resource name of the Keyword Plan campaign. KeywordPlanCampaign resource names + * have the form: `customers/{customer_id}/keywordPlanCampaigns/{kp_campaign_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Immutable. The resource name of the Keyword Plan campaign. KeywordPlanCampaign resource names + * have the form: `customers/{customer_id}/keywordPlanCampaigns/{kp_campaign_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesKeywordPlanCampaign setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesKeywordPlanCampaign set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesKeywordPlanCampaign) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesKeywordPlanCampaign clone() { + return (GoogleAdsSearchads360V23ResourcesKeywordPlanCampaign) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesKeywordPlanCampaignKeyword.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesKeywordPlanCampaignKeyword.java new file mode 100644 index 00000000000..6056a832ba3 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesKeywordPlanCampaignKeyword.java @@ -0,0 +1,196 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A Keyword Plan Campaign keyword. Only negative keywords are supported for Campaign Keyword. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesKeywordPlanCampaignKeyword extends com.google.api.client.json.GenericJson { + + /** + * Output only. The ID of the Keyword Plan negative keyword. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long id; + + /** + * The Keyword Plan campaign to which this negative keyword belongs. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String keywordPlanCampaign; + + /** + * The keyword match type. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String matchType; + + /** + * Immutable. If true, the keyword is negative. Must be set to true. Only negative campaign + * keywords are supported. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean negative; + + /** + * Immutable. The resource name of the Keyword Plan Campaign keyword. KeywordPlanCampaignKeyword + * resource names have the form: + * `customers/{customer_id}/keywordPlanCampaignKeywords/{kp_campaign_keyword_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * The keyword text. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String text; + + /** + * Output only. The ID of the Keyword Plan negative keyword. + * @return value or {@code null} for none + */ + public java.lang.Long getId() { + return id; + } + + /** + * Output only. The ID of the Keyword Plan negative keyword. + * @param id id or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesKeywordPlanCampaignKeyword setId(java.lang.Long id) { + this.id = id; + return this; + } + + /** + * The Keyword Plan campaign to which this negative keyword belongs. + * @return value or {@code null} for none + */ + public java.lang.String getKeywordPlanCampaign() { + return keywordPlanCampaign; + } + + /** + * The Keyword Plan campaign to which this negative keyword belongs. + * @param keywordPlanCampaign keywordPlanCampaign or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesKeywordPlanCampaignKeyword setKeywordPlanCampaign(java.lang.String keywordPlanCampaign) { + this.keywordPlanCampaign = keywordPlanCampaign; + return this; + } + + /** + * The keyword match type. + * @return value or {@code null} for none + */ + public java.lang.String getMatchType() { + return matchType; + } + + /** + * The keyword match type. + * @param matchType matchType or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesKeywordPlanCampaignKeyword setMatchType(java.lang.String matchType) { + this.matchType = matchType; + return this; + } + + /** + * Immutable. If true, the keyword is negative. Must be set to true. Only negative campaign + * keywords are supported. + * @return value or {@code null} for none + */ + public java.lang.Boolean getNegative() { + return negative; + } + + /** + * Immutable. If true, the keyword is negative. Must be set to true. Only negative campaign + * keywords are supported. + * @param negative negative or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesKeywordPlanCampaignKeyword setNegative(java.lang.Boolean negative) { + this.negative = negative; + return this; + } + + /** + * Immutable. The resource name of the Keyword Plan Campaign keyword. KeywordPlanCampaignKeyword + * resource names have the form: + * `customers/{customer_id}/keywordPlanCampaignKeywords/{kp_campaign_keyword_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Immutable. The resource name of the Keyword Plan Campaign keyword. KeywordPlanCampaignKeyword + * resource names have the form: + * `customers/{customer_id}/keywordPlanCampaignKeywords/{kp_campaign_keyword_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesKeywordPlanCampaignKeyword setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * The keyword text. + * @return value or {@code null} for none + */ + public java.lang.String getText() { + return text; + } + + /** + * The keyword text. + * @param text text or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesKeywordPlanCampaignKeyword setText(java.lang.String text) { + this.text = text; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesKeywordPlanCampaignKeyword set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesKeywordPlanCampaignKeyword) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesKeywordPlanCampaignKeyword clone() { + return (GoogleAdsSearchads360V23ResourcesKeywordPlanCampaignKeyword) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesKeywordPlanForecastPeriod.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesKeywordPlanForecastPeriod.java new file mode 100644 index 00000000000..3140184d381 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesKeywordPlanForecastPeriod.java @@ -0,0 +1,97 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The forecasting period associated with the keyword plan. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesKeywordPlanForecastPeriod extends com.google.api.client.json.GenericJson { + + /** + * A future date range relative to the current date used for forecasting. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String dateInterval; + + /** + * The custom date range used for forecasting. It cannot be greater than a year. The start and end + * dates must be in the future. Otherwise, an error will be returned when the forecasting action + * is performed. The start and end dates are inclusive. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonDateRange dateRange; + + /** + * A future date range relative to the current date used for forecasting. + * @return value or {@code null} for none + */ + public java.lang.String getDateInterval() { + return dateInterval; + } + + /** + * A future date range relative to the current date used for forecasting. + * @param dateInterval dateInterval or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesKeywordPlanForecastPeriod setDateInterval(java.lang.String dateInterval) { + this.dateInterval = dateInterval; + return this; + } + + /** + * The custom date range used for forecasting. It cannot be greater than a year. The start and end + * dates must be in the future. Otherwise, an error will be returned when the forecasting action + * is performed. The start and end dates are inclusive. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDateRange getDateRange() { + return dateRange; + } + + /** + * The custom date range used for forecasting. It cannot be greater than a year. The start and end + * dates must be in the future. Otherwise, an error will be returned when the forecasting action + * is performed. The start and end dates are inclusive. + * @param dateRange dateRange or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesKeywordPlanForecastPeriod setDateRange(GoogleAdsSearchads360V23CommonDateRange dateRange) { + this.dateRange = dateRange; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesKeywordPlanForecastPeriod set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesKeywordPlanForecastPeriod) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesKeywordPlanForecastPeriod clone() { + return (GoogleAdsSearchads360V23ResourcesKeywordPlanForecastPeriod) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesKeywordPlanGeoTarget.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesKeywordPlanGeoTarget.java new file mode 100644 index 00000000000..f21b16093d3 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesKeywordPlanGeoTarget.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A geo target. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesKeywordPlanGeoTarget extends com.google.api.client.json.GenericJson { + + /** + * Required. The resource name of the geo target. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String geoTargetConstant; + + /** + * Required. The resource name of the geo target. + * @return value or {@code null} for none + */ + public java.lang.String getGeoTargetConstant() { + return geoTargetConstant; + } + + /** + * Required. The resource name of the geo target. + * @param geoTargetConstant geoTargetConstant or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesKeywordPlanGeoTarget setGeoTargetConstant(java.lang.String geoTargetConstant) { + this.geoTargetConstant = geoTargetConstant; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesKeywordPlanGeoTarget set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesKeywordPlanGeoTarget) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesKeywordPlanGeoTarget clone() { + return (GoogleAdsSearchads360V23ResourcesKeywordPlanGeoTarget) super.clone(); + } + +} From 4e703e9e1f90c508d48ef0c1f75ae99535ba3ede Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Wed, 3 Jun 2026 18:43:29 -0700 Subject: [PATCH 07/14] chore: regenerate searchads360 client --- ...ds360V23ResourcesKeywordThemeConstant.java | 148 ++ ...dsSearchads360V23ResourcesKeywordView.java | 70 + ...oogleAdsSearchads360V23ResourcesLabel.java | 169 ++ ...archads360V23ResourcesLandingPageView.java | 94 + ...rchads360V23ResourcesLanguageConstant.java | 169 ++ ...360V23ResourcesLeadFormSubmissionData.java | 298 ++++ ...60V23ResourcesLeadFormSubmissionField.java | 91 + ...3ResourcesLicenseVerificationArtifact.java | 214 +++ ...eAdsSearchads360V23ResourcesLifeEvent.java | 197 +++ ...3ResourcesListingGroupFilterDimension.java | 235 +++ ...ourcesListingGroupFilterDimensionPath.java | 76 + ...stingGroupFilterDimensionProductBrand.java | 67 + ...ngGroupFilterDimensionProductCategory.java | 97 + ...ingGroupFilterDimensionProductChannel.java | 67 + ...gGroupFilterDimensionProductCondition.java | 67 + ...FilterDimensionProductCustomAttribute.java | 91 + ...tingGroupFilterDimensionProductItemId.java | 67 + ...istingGroupFilterDimensionProductType.java | 91 + ...cesListingGroupFilterDimensionWebpage.java | 86 + ...gGroupFilterDimensionWebpageCondition.java | 100 ++ ...s360V23ResourcesLocalServicesEmployee.java | 472 +++++ ...chads360V23ResourcesLocalServicesLead.java | 377 ++++ ...esourcesLocalServicesLeadConversation.java | 249 +++ ...s360V23ResourcesLocalServicesSettings.java | 103 ++ ...rcesLocalServicesVerificationArtifact.java | 271 +++ ...ds360V23ResourcesLocationInterestView.java | 73 + ...sSearchads360V23ResourcesLocationView.java | 70 + ...ds360V23ResourcesManagedPlacementView.java | 73 + ...3ResourcesMatchedLocationInterestView.java | 76 + ...AdsSearchads360V23ResourcesMediaAudio.java | 67 + ...dsSearchads360V23ResourcesMediaBundle.java | 122 ++ ...eAdsSearchads360V23ResourcesMediaFile.java | 316 ++++ ...AdsSearchads360V23ResourcesMediaImage.java | 143 ++ ...AdsSearchads360V23ResourcesMediaVideo.java | 151 ++ ...0V23ResourcesMerchantCenterIdentifier.java | 73 + ...erchantCenterLinkInvitationIdentifier.java | 67 + ...earchads360V23ResourcesMessageDetails.java | 94 + ...V23ResourcesMobileAppCategoryConstant.java | 118 ++ ...ds360V23ResourcesMobileDeviceConstant.java | 190 ++ ...GoogleAdsSearchads360V23ResourcesNote.java | 95 + ...360V23ResourcesOfflineConversionAlert.java | 91 + ...360V23ResourcesOfflineConversionError.java | 283 +++ ...0V23ResourcesOfflineConversionSummary.java | 163 ++ ...sOfflineConversionUploadClientSummary.java | 364 ++++ ...nversionUploadConversionActionSummary.java | 367 ++++ ...hads360V23ResourcesOfflineUserDataJob.java | 264 +++ ...23ResourcesOfflineUserDataJobMetadata.java | 73 + ...sourcesOperatingSystemVersionConstant.java | 195 ++ ...V23ResourcesPaidOrganicSearchTermView.java | 98 + ...hads360V23ResourcesParentalStatusView.java | 70 + ...archads360V23ResourcesPaymentsAccount.java | 223 +++ ...sSearchads360V23ResourcesPerStoreView.java | 287 +++ ...3ResourcesPerformanceMaxPlacementView.java | 181 ++ ...rchads360V23ResourcesPhoneCallDetails.java | 91 + ...60V23ResourcesProductCategoryConstant.java | 202 +++ ...ryConstantProductCategoryLocalization.java | 115 ++ ...rchads360V23ResourcesProductGroupView.java | 70 + ...dsSearchads360V23ResourcesProductLink.java | 211 +++ ...s360V23ResourcesProductLinkInvitation.java | 221 +++ ...hads360V23ResourcesQualifyingQuestion.java | 142 ++ ...earchads360V23ResourcesRecommendation.java | 1573 +++++++++++++++++ ...V23ResourcesRecommendationAccountInfo.java | 91 + ...RecommendationCallAssetRecommendation.java | 43 + ...ommendationCalloutAssetRecommendation.java | 91 + ...ResourcesRecommendationCampaignBudget.java | 121 ++ ...mendationCampaignBudgetRecommendation.java | 124 ++ ...ionCampaignBudgetRecommendationOption.java | 91 + ...tionCustomAudienceOptInRecommendation.java | 73 + ...onDisplayExpansionOptInRecommendation.java | 43 + ...amicImageExtensionOptInRecommendation.java | 44 + ...ndationEnhancedCpcOptInRecommendation.java | 43 + ...ForecastingSetTargetCpaRecommendation.java | 91 + ...orecastingSetTargetRoasRecommendation.java | 94 + ...roveDemandGenAdStrengthRecommendation.java | 115 ++ ...mproveGoogleTagCoverageRecommendation.java | 43 + ...erformanceMaxAdStrengthRecommendation.java | 92 + ...ndationKeywordMatchTypeRecommendation.java | 91 + ...esRecommendationKeywordRecommendation.java | 124 ++ ...dationKeywordRecommendationSearchTerm.java | 91 + ...mmendationLeadFormAssetRecommendation.java | 43 + ...endationLowerTargetRoasRecommendation.java | 67 + ...tionMaximizeClicksOptInRecommendation.java | 67 + ...izeConversionValueOptInRecommendation.java | 43 + ...aximizeConversionsOptInRecommendation.java | 67 + ...23ResourcesRecommendationMerchantInfo.java | 115 ++ ...ampaignToPerformanceMaxRecommendation.java | 70 + ...ndationMoveUnusedBudgetRecommendation.java | 91 + ...ationOptimizeAdRotationRecommendation.java | 43 + ...ormanceMaxFinalUrlOptInRecommendation.java | 43 + ...tionPerformanceMaxOptInRecommendation.java | 43 + ...RaiseTargetCpaBidTooLowRecommendation.java | 97 + ...mendationRaiseTargetCpaRecommendation.java | 94 + ...cesRecommendationRecommendationImpact.java | 92 + ...esRecommendationRecommendationMetrics.java | 188 ++ ...efreshCustomerMatchListRecommendation.java | 198 +++ ...ResponsiveSearchAdAssetRecommendation.java | 94 + ...archAdImproveAdStrengthRecommendation.java | 91 + ...ationResponsiveSearchAdRecommendation.java | 67 + ...tionSearchPartnersOptInRecommendation.java | 43 + ...ngAddProductsToCampaignRecommendation.java | 115 ++ 100 files changed, 14254 insertions(+) create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesKeywordThemeConstant.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesKeywordView.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesLabel.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesLandingPageView.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesLanguageConstant.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesLeadFormSubmissionData.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesLeadFormSubmissionField.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesLicenseVerificationArtifact.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesLifeEvent.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesListingGroupFilterDimension.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionPath.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionProductBrand.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionProductCategory.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionProductChannel.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionProductCondition.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionProductCustomAttribute.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionProductItemId.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionProductType.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionWebpage.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionWebpageCondition.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesLocalServicesEmployee.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesLocalServicesLead.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesLocalServicesLeadConversation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesLocalServicesSettings.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesLocalServicesVerificationArtifact.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesLocationInterestView.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesLocationView.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesManagedPlacementView.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesMatchedLocationInterestView.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesMediaAudio.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesMediaBundle.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesMediaFile.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesMediaImage.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesMediaVideo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesMerchantCenterIdentifier.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesMerchantCenterLinkInvitationIdentifier.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesMessageDetails.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesMobileAppCategoryConstant.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesMobileDeviceConstant.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesNote.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesOfflineConversionAlert.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesOfflineConversionError.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesOfflineConversionSummary.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesOfflineConversionUploadClientSummary.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesOfflineConversionUploadConversionActionSummary.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesOfflineUserDataJob.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesOfflineUserDataJobMetadata.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesOperatingSystemVersionConstant.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesPaidOrganicSearchTermView.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesParentalStatusView.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesPaymentsAccount.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesPerStoreView.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesPerformanceMaxPlacementView.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesPhoneCallDetails.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesProductCategoryConstant.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesProductCategoryConstantProductCategoryLocalization.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesProductGroupView.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesProductLink.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesProductLinkInvitation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesQualifyingQuestion.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationAccountInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationCallAssetRecommendation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationCalloutAssetRecommendation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationCampaignBudget.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationCampaignBudgetRecommendation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationCampaignBudgetRecommendationCampaignBudgetRecommendationOption.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationCustomAudienceOptInRecommendation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationDisplayExpansionOptInRecommendation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationDynamicImageExtensionOptInRecommendation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationEnhancedCpcOptInRecommendation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationForecastingSetTargetCpaRecommendation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationForecastingSetTargetRoasRecommendation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationImproveDemandGenAdStrengthRecommendation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationImproveGoogleTagCoverageRecommendation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationImprovePerformanceMaxAdStrengthRecommendation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationKeywordMatchTypeRecommendation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationKeywordRecommendation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationKeywordRecommendationSearchTerm.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationLeadFormAssetRecommendation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationLowerTargetRoasRecommendation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationMaximizeClicksOptInRecommendation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationMaximizeConversionValueOptInRecommendation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationMaximizeConversionsOptInRecommendation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationMerchantInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationMigrateDynamicSearchAdsCampaignToPerformanceMaxRecommendation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationMoveUnusedBudgetRecommendation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationOptimizeAdRotationRecommendation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationPerformanceMaxFinalUrlOptInRecommendation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationPerformanceMaxOptInRecommendation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationRaiseTargetCpaBidTooLowRecommendation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationRaiseTargetCpaRecommendation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationRecommendationImpact.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationRecommendationMetrics.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationRefreshCustomerMatchListRecommendation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationResponsiveSearchAdAssetRecommendation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationResponsiveSearchAdImproveAdStrengthRecommendation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationResponsiveSearchAdRecommendation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationSearchPartnersOptInRecommendation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationShoppingAddProductsToCampaignRecommendation.java diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesKeywordThemeConstant.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesKeywordThemeConstant.java new file mode 100644 index 00000000000..7761f19844c --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesKeywordThemeConstant.java @@ -0,0 +1,148 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A Smart Campaign keyword theme constant. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesKeywordThemeConstant extends com.google.api.client.json.GenericJson { + + /** + * Output only. The ISO-3166 Alpha-2 country code of the constant, eg. "US". To display and query + * matching purpose, the keyword theme needs to be localized. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String countryCode; + + /** + * Output only. The display name of the keyword theme or sub keyword theme. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String displayName; + + /** + * Output only. The ISO-639-1 language code with 2 letters of the constant, eg. "en". To display + * and query matching purpose, the keyword theme needs to be localized. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String languageCode; + + /** + * Output only. The resource name of the keyword theme constant. Keyword theme constant resource + * names have the form: `keywordThemeConstants/{keyword_theme_id}~{sub_keyword_theme_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. The ISO-3166 Alpha-2 country code of the constant, eg. "US". To display and query + * matching purpose, the keyword theme needs to be localized. + * @return value or {@code null} for none + */ + public java.lang.String getCountryCode() { + return countryCode; + } + + /** + * Output only. The ISO-3166 Alpha-2 country code of the constant, eg. "US". To display and query + * matching purpose, the keyword theme needs to be localized. + * @param countryCode countryCode or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesKeywordThemeConstant setCountryCode(java.lang.String countryCode) { + this.countryCode = countryCode; + return this; + } + + /** + * Output only. The display name of the keyword theme or sub keyword theme. + * @return value or {@code null} for none + */ + public java.lang.String getDisplayName() { + return displayName; + } + + /** + * Output only. The display name of the keyword theme or sub keyword theme. + * @param displayName displayName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesKeywordThemeConstant setDisplayName(java.lang.String displayName) { + this.displayName = displayName; + return this; + } + + /** + * Output only. The ISO-639-1 language code with 2 letters of the constant, eg. "en". To display + * and query matching purpose, the keyword theme needs to be localized. + * @return value or {@code null} for none + */ + public java.lang.String getLanguageCode() { + return languageCode; + } + + /** + * Output only. The ISO-639-1 language code with 2 letters of the constant, eg. "en". To display + * and query matching purpose, the keyword theme needs to be localized. + * @param languageCode languageCode or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesKeywordThemeConstant setLanguageCode(java.lang.String languageCode) { + this.languageCode = languageCode; + return this; + } + + /** + * Output only. The resource name of the keyword theme constant. Keyword theme constant resource + * names have the form: `keywordThemeConstants/{keyword_theme_id}~{sub_keyword_theme_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Output only. The resource name of the keyword theme constant. Keyword theme constant resource + * names have the form: `keywordThemeConstants/{keyword_theme_id}~{sub_keyword_theme_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesKeywordThemeConstant setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesKeywordThemeConstant set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesKeywordThemeConstant) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesKeywordThemeConstant clone() { + return (GoogleAdsSearchads360V23ResourcesKeywordThemeConstant) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesKeywordView.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesKeywordView.java new file mode 100644 index 00000000000..34df712d5bb --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesKeywordView.java @@ -0,0 +1,70 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A keyword view. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesKeywordView extends com.google.api.client.json.GenericJson { + + /** + * Output only. The resource name of the keyword view. Keyword view resource names have the form: + * `customers/{customer_id}/keywordViews/{ad_group_id}~{criterion_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. The resource name of the keyword view. Keyword view resource names have the form: + * `customers/{customer_id}/keywordViews/{ad_group_id}~{criterion_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Output only. The resource name of the keyword view. Keyword view resource names have the form: + * `customers/{customer_id}/keywordViews/{ad_group_id}~{criterion_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesKeywordView setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesKeywordView set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesKeywordView) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesKeywordView clone() { + return (GoogleAdsSearchads360V23ResourcesKeywordView) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesLabel.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesLabel.java new file mode 100644 index 00000000000..9492cbcc61d --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesLabel.java @@ -0,0 +1,169 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A label. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesLabel extends com.google.api.client.json.GenericJson { + + /** + * Output only. ID of the label. Read only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long id; + + /** + * The name of the label. This field is required and should not be empty when creating a new + * label. The length of this string should be between 1 and 80, inclusive. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * Immutable. Name of the resource. Label resource names have the form: + * `customers/{owner_customer_id}/labels/{label_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. Status of the label. Read only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String status; + + /** + * A type of label displaying text on a colored background. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonTextLabel textLabel; + + /** + * Output only. ID of the label. Read only. + * @return value or {@code null} for none + */ + public java.lang.Long getId() { + return id; + } + + /** + * Output only. ID of the label. Read only. + * @param id id or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLabel setId(java.lang.Long id) { + this.id = id; + return this; + } + + /** + * The name of the label. This field is required and should not be empty when creating a new + * label. The length of this string should be between 1 and 80, inclusive. + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * The name of the label. This field is required and should not be empty when creating a new + * label. The length of this string should be between 1 and 80, inclusive. + * @param name name or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLabel setName(java.lang.String name) { + this.name = name; + return this; + } + + /** + * Immutable. Name of the resource. Label resource names have the form: + * `customers/{owner_customer_id}/labels/{label_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Immutable. Name of the resource. Label resource names have the form: + * `customers/{owner_customer_id}/labels/{label_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLabel setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Output only. Status of the label. Read only. + * @return value or {@code null} for none + */ + public java.lang.String getStatus() { + return status; + } + + /** + * Output only. Status of the label. Read only. + * @param status status or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLabel setStatus(java.lang.String status) { + this.status = status; + return this; + } + + /** + * A type of label displaying text on a colored background. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonTextLabel getTextLabel() { + return textLabel; + } + + /** + * A type of label displaying text on a colored background. + * @param textLabel textLabel or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLabel setTextLabel(GoogleAdsSearchads360V23CommonTextLabel textLabel) { + this.textLabel = textLabel; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesLabel set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesLabel) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesLabel clone() { + return (GoogleAdsSearchads360V23ResourcesLabel) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesLandingPageView.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesLandingPageView.java new file mode 100644 index 00000000000..fd4db8c9b3a --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesLandingPageView.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A landing page view with metrics aggregated at the unexpanded final URL level. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesLandingPageView extends com.google.api.client.json.GenericJson { + + /** + * Output only. The resource name of the landing page view. Landing page view resource names have + * the form: `customers/{customer_id}/landingPageViews/{unexpanded_final_url_fingerprint}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. The advertiser-specified final URL. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String unexpandedFinalUrl; + + /** + * Output only. The resource name of the landing page view. Landing page view resource names have + * the form: `customers/{customer_id}/landingPageViews/{unexpanded_final_url_fingerprint}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Output only. The resource name of the landing page view. Landing page view resource names have + * the form: `customers/{customer_id}/landingPageViews/{unexpanded_final_url_fingerprint}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLandingPageView setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Output only. The advertiser-specified final URL. + * @return value or {@code null} for none + */ + public java.lang.String getUnexpandedFinalUrl() { + return unexpandedFinalUrl; + } + + /** + * Output only. The advertiser-specified final URL. + * @param unexpandedFinalUrl unexpandedFinalUrl or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLandingPageView setUnexpandedFinalUrl(java.lang.String unexpandedFinalUrl) { + this.unexpandedFinalUrl = unexpandedFinalUrl; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesLandingPageView set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesLandingPageView) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesLandingPageView clone() { + return (GoogleAdsSearchads360V23ResourcesLandingPageView) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesLanguageConstant.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesLanguageConstant.java new file mode 100644 index 00000000000..ad8dc6780b1 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesLanguageConstant.java @@ -0,0 +1,169 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A language. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesLanguageConstant extends com.google.api.client.json.GenericJson { + + /** + * Output only. The language code, for example, "en_US", "en_AU", "es", "fr", etc. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String code; + + /** + * Output only. The ID of the language constant. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long id; + + /** + * Output only. The full name of the language in English, for example, "English (US)", "Spanish", + * etc. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * Output only. The resource name of the language constant. Language constant resource names have + * the form: `languageConstants/{criterion_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. Whether the language is targetable. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean targetable; + + /** + * Output only. The language code, for example, "en_US", "en_AU", "es", "fr", etc. + * @return value or {@code null} for none + */ + public java.lang.String getCode() { + return code; + } + + /** + * Output only. The language code, for example, "en_US", "en_AU", "es", "fr", etc. + * @param code code or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLanguageConstant setCode(java.lang.String code) { + this.code = code; + return this; + } + + /** + * Output only. The ID of the language constant. + * @return value or {@code null} for none + */ + public java.lang.Long getId() { + return id; + } + + /** + * Output only. The ID of the language constant. + * @param id id or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLanguageConstant setId(java.lang.Long id) { + this.id = id; + return this; + } + + /** + * Output only. The full name of the language in English, for example, "English (US)", "Spanish", + * etc. + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * Output only. The full name of the language in English, for example, "English (US)", "Spanish", + * etc. + * @param name name or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLanguageConstant setName(java.lang.String name) { + this.name = name; + return this; + } + + /** + * Output only. The resource name of the language constant. Language constant resource names have + * the form: `languageConstants/{criterion_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Output only. The resource name of the language constant. Language constant resource names have + * the form: `languageConstants/{criterion_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLanguageConstant setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Output only. Whether the language is targetable. + * @return value or {@code null} for none + */ + public java.lang.Boolean getTargetable() { + return targetable; + } + + /** + * Output only. Whether the language is targetable. + * @param targetable targetable or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLanguageConstant setTargetable(java.lang.Boolean targetable) { + this.targetable = targetable; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesLanguageConstant set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesLanguageConstant) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesLanguageConstant clone() { + return (GoogleAdsSearchads360V23ResourcesLanguageConstant) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesLeadFormSubmissionData.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesLeadFormSubmissionData.java new file mode 100644 index 00000000000..7f729ea9c97 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesLeadFormSubmissionData.java @@ -0,0 +1,298 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Data from lead form submissions. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesLeadFormSubmissionData extends com.google.api.client.json.GenericJson { + + /** + * Output only. AdGroup associated with the submitted lead form. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String adGroup; + + /** + * Output only. AdGroupAd associated with the submitted lead form. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String adGroupAd; + + /** + * Output only. Asset associated with the submitted lead form. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String asset; + + /** + * Output only. Campaign associated with the submitted lead form. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String campaign; + + /** + * Output only. Submission data associated with a custom lead form. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List customLeadFormSubmissionFields; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ResourcesCustomLeadFormSubmissionField used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ResourcesCustomLeadFormSubmissionField.class); + } + + /** + * Output only. Google Click Id associated with the submissed lead form. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String gclid; + + /** + * Output only. ID of this lead form submission. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String id; + + /** + * Output only. Submission data associated with a lead form. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List leadFormSubmissionFields; + + /** + * Output only. The resource name of the lead form submission data. Lead form submission data + * resource names have the form: + * `customers/{customer_id}/leadFormSubmissionData/{lead_form_submission_data_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. The date and time at which the lead form was submitted. The format is "yyyy-mm-dd + * hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String submissionDateTime; + + /** + * Output only. AdGroup associated with the submitted lead form. + * @return value or {@code null} for none + */ + public java.lang.String getAdGroup() { + return adGroup; + } + + /** + * Output only. AdGroup associated with the submitted lead form. + * @param adGroup adGroup or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLeadFormSubmissionData setAdGroup(java.lang.String adGroup) { + this.adGroup = adGroup; + return this; + } + + /** + * Output only. AdGroupAd associated with the submitted lead form. + * @return value or {@code null} for none + */ + public java.lang.String getAdGroupAd() { + return adGroupAd; + } + + /** + * Output only. AdGroupAd associated with the submitted lead form. + * @param adGroupAd adGroupAd or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLeadFormSubmissionData setAdGroupAd(java.lang.String adGroupAd) { + this.adGroupAd = adGroupAd; + return this; + } + + /** + * Output only. Asset associated with the submitted lead form. + * @return value or {@code null} for none + */ + public java.lang.String getAsset() { + return asset; + } + + /** + * Output only. Asset associated with the submitted lead form. + * @param asset asset or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLeadFormSubmissionData setAsset(java.lang.String asset) { + this.asset = asset; + return this; + } + + /** + * Output only. Campaign associated with the submitted lead form. + * @return value or {@code null} for none + */ + public java.lang.String getCampaign() { + return campaign; + } + + /** + * Output only. Campaign associated with the submitted lead form. + * @param campaign campaign or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLeadFormSubmissionData setCampaign(java.lang.String campaign) { + this.campaign = campaign; + return this; + } + + /** + * Output only. Submission data associated with a custom lead form. + * @return value or {@code null} for none + */ + public java.util.List getCustomLeadFormSubmissionFields() { + return customLeadFormSubmissionFields; + } + + /** + * Output only. Submission data associated with a custom lead form. + * @param customLeadFormSubmissionFields customLeadFormSubmissionFields or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLeadFormSubmissionData setCustomLeadFormSubmissionFields(java.util.List customLeadFormSubmissionFields) { + this.customLeadFormSubmissionFields = customLeadFormSubmissionFields; + return this; + } + + /** + * Output only. Google Click Id associated with the submissed lead form. + * @return value or {@code null} for none + */ + public java.lang.String getGclid() { + return gclid; + } + + /** + * Output only. Google Click Id associated with the submissed lead form. + * @param gclid gclid or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLeadFormSubmissionData setGclid(java.lang.String gclid) { + this.gclid = gclid; + return this; + } + + /** + * Output only. ID of this lead form submission. + * @return value or {@code null} for none + */ + public java.lang.String getId() { + return id; + } + + /** + * Output only. ID of this lead form submission. + * @param id id or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLeadFormSubmissionData setId(java.lang.String id) { + this.id = id; + return this; + } + + /** + * Output only. Submission data associated with a lead form. + * @return value or {@code null} for none + */ + public java.util.List getLeadFormSubmissionFields() { + return leadFormSubmissionFields; + } + + /** + * Output only. Submission data associated with a lead form. + * @param leadFormSubmissionFields leadFormSubmissionFields or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLeadFormSubmissionData setLeadFormSubmissionFields(java.util.List leadFormSubmissionFields) { + this.leadFormSubmissionFields = leadFormSubmissionFields; + return this; + } + + /** + * Output only. The resource name of the lead form submission data. Lead form submission data + * resource names have the form: + * `customers/{customer_id}/leadFormSubmissionData/{lead_form_submission_data_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Output only. The resource name of the lead form submission data. Lead form submission data + * resource names have the form: + * `customers/{customer_id}/leadFormSubmissionData/{lead_form_submission_data_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLeadFormSubmissionData setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Output only. The date and time at which the lead form was submitted. The format is "yyyy-mm-dd + * hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00". + * @return value or {@code null} for none + */ + public java.lang.String getSubmissionDateTime() { + return submissionDateTime; + } + + /** + * Output only. The date and time at which the lead form was submitted. The format is "yyyy-mm-dd + * hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00". + * @param submissionDateTime submissionDateTime or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLeadFormSubmissionData setSubmissionDateTime(java.lang.String submissionDateTime) { + this.submissionDateTime = submissionDateTime; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesLeadFormSubmissionData set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesLeadFormSubmissionData) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesLeadFormSubmissionData clone() { + return (GoogleAdsSearchads360V23ResourcesLeadFormSubmissionData) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesLeadFormSubmissionField.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesLeadFormSubmissionField.java new file mode 100644 index 00000000000..37e7b1c4046 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesLeadFormSubmissionField.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Fields in the submitted lead form. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesLeadFormSubmissionField extends com.google.api.client.json.GenericJson { + + /** + * Output only. Field type for lead form fields. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String fieldType; + + /** + * Output only. Field value for lead form fields. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String fieldValue; + + /** + * Output only. Field type for lead form fields. + * @return value or {@code null} for none + */ + public java.lang.String getFieldType() { + return fieldType; + } + + /** + * Output only. Field type for lead form fields. + * @param fieldType fieldType or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLeadFormSubmissionField setFieldType(java.lang.String fieldType) { + this.fieldType = fieldType; + return this; + } + + /** + * Output only. Field value for lead form fields. + * @return value or {@code null} for none + */ + public java.lang.String getFieldValue() { + return fieldValue; + } + + /** + * Output only. Field value for lead form fields. + * @param fieldValue fieldValue or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLeadFormSubmissionField setFieldValue(java.lang.String fieldValue) { + this.fieldValue = fieldValue; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesLeadFormSubmissionField set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesLeadFormSubmissionField) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesLeadFormSubmissionField clone() { + return (GoogleAdsSearchads360V23ResourcesLeadFormSubmissionField) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesLicenseVerificationArtifact.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesLicenseVerificationArtifact.java new file mode 100644 index 00000000000..488f358e92a --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesLicenseVerificationArtifact.java @@ -0,0 +1,214 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * specific to a local services license. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesLicenseVerificationArtifact extends com.google.api.client.json.GenericJson { + + /** + * Output only. The timestamp when this license expires. The format is "YYYY-MM-DD HH:MM:SS" in + * the Google Ads account's timezone. Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String expirationDateTime; + + /** + * Output only. The readonly field containing the information for an uploaded license document. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonLocalServicesDocumentReadOnly licenseDocumentReadonly; + + /** + * Output only. License number. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String licenseNumber; + + /** + * Output only. License type / name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String licenseType; + + /** + * Output only. First name of the licensee. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String licenseeFirstName; + + /** + * Output only. Last name of the licensee. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String licenseeLastName; + + /** + * Output only. License rejection reason. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String rejectionReason; + + /** + * Output only. The timestamp when this license expires. The format is "YYYY-MM-DD HH:MM:SS" in + * the Google Ads account's timezone. Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" + * @return value or {@code null} for none + */ + public java.lang.String getExpirationDateTime() { + return expirationDateTime; + } + + /** + * Output only. The timestamp when this license expires. The format is "YYYY-MM-DD HH:MM:SS" in + * the Google Ads account's timezone. Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" + * @param expirationDateTime expirationDateTime or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLicenseVerificationArtifact setExpirationDateTime(java.lang.String expirationDateTime) { + this.expirationDateTime = expirationDateTime; + return this; + } + + /** + * Output only. The readonly field containing the information for an uploaded license document. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLocalServicesDocumentReadOnly getLicenseDocumentReadonly() { + return licenseDocumentReadonly; + } + + /** + * Output only. The readonly field containing the information for an uploaded license document. + * @param licenseDocumentReadonly licenseDocumentReadonly or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLicenseVerificationArtifact setLicenseDocumentReadonly(GoogleAdsSearchads360V23CommonLocalServicesDocumentReadOnly licenseDocumentReadonly) { + this.licenseDocumentReadonly = licenseDocumentReadonly; + return this; + } + + /** + * Output only. License number. + * @return value or {@code null} for none + */ + public java.lang.String getLicenseNumber() { + return licenseNumber; + } + + /** + * Output only. License number. + * @param licenseNumber licenseNumber or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLicenseVerificationArtifact setLicenseNumber(java.lang.String licenseNumber) { + this.licenseNumber = licenseNumber; + return this; + } + + /** + * Output only. License type / name. + * @return value or {@code null} for none + */ + public java.lang.String getLicenseType() { + return licenseType; + } + + /** + * Output only. License type / name. + * @param licenseType licenseType or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLicenseVerificationArtifact setLicenseType(java.lang.String licenseType) { + this.licenseType = licenseType; + return this; + } + + /** + * Output only. First name of the licensee. + * @return value or {@code null} for none + */ + public java.lang.String getLicenseeFirstName() { + return licenseeFirstName; + } + + /** + * Output only. First name of the licensee. + * @param licenseeFirstName licenseeFirstName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLicenseVerificationArtifact setLicenseeFirstName(java.lang.String licenseeFirstName) { + this.licenseeFirstName = licenseeFirstName; + return this; + } + + /** + * Output only. Last name of the licensee. + * @return value or {@code null} for none + */ + public java.lang.String getLicenseeLastName() { + return licenseeLastName; + } + + /** + * Output only. Last name of the licensee. + * @param licenseeLastName licenseeLastName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLicenseVerificationArtifact setLicenseeLastName(java.lang.String licenseeLastName) { + this.licenseeLastName = licenseeLastName; + return this; + } + + /** + * Output only. License rejection reason. + * @return value or {@code null} for none + */ + public java.lang.String getRejectionReason() { + return rejectionReason; + } + + /** + * Output only. License rejection reason. + * @param rejectionReason rejectionReason or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLicenseVerificationArtifact setRejectionReason(java.lang.String rejectionReason) { + this.rejectionReason = rejectionReason; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesLicenseVerificationArtifact set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesLicenseVerificationArtifact) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesLicenseVerificationArtifact clone() { + return (GoogleAdsSearchads360V23ResourcesLicenseVerificationArtifact) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesLifeEvent.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesLifeEvent.java new file mode 100644 index 00000000000..9ea6f4cd54b --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesLifeEvent.java @@ -0,0 +1,197 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A life event: a particular interest-based vertical to be targeted to reach users when they are in + * the midst of important life milestones. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesLifeEvent extends com.google.api.client.json.GenericJson { + + /** + * Output only. Availability information of the life event. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List availabilities; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonCriterionCategoryAvailability used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonCriterionCategoryAvailability.class); + } + + /** + * Output only. The ID of the life event. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long id; + + /** + * Output only. True if the life event is launched to all channels and locales. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean launchedToAll; + + /** + * Output only. The name of the life event, for example,"Recently Moved" + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * Output only. The parent of the life_event. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String parent; + + /** + * Output only. The resource name of the life event. Life event resource names have the form: + * `customers/{customer_id}/lifeEvents/{life_event_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. Availability information of the life event. + * @return value or {@code null} for none + */ + public java.util.List getAvailabilities() { + return availabilities; + } + + /** + * Output only. Availability information of the life event. + * @param availabilities availabilities or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLifeEvent setAvailabilities(java.util.List availabilities) { + this.availabilities = availabilities; + return this; + } + + /** + * Output only. The ID of the life event. + * @return value or {@code null} for none + */ + public java.lang.Long getId() { + return id; + } + + /** + * Output only. The ID of the life event. + * @param id id or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLifeEvent setId(java.lang.Long id) { + this.id = id; + return this; + } + + /** + * Output only. True if the life event is launched to all channels and locales. + * @return value or {@code null} for none + */ + public java.lang.Boolean getLaunchedToAll() { + return launchedToAll; + } + + /** + * Output only. True if the life event is launched to all channels and locales. + * @param launchedToAll launchedToAll or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLifeEvent setLaunchedToAll(java.lang.Boolean launchedToAll) { + this.launchedToAll = launchedToAll; + return this; + } + + /** + * Output only. The name of the life event, for example,"Recently Moved" + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * Output only. The name of the life event, for example,"Recently Moved" + * @param name name or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLifeEvent setName(java.lang.String name) { + this.name = name; + return this; + } + + /** + * Output only. The parent of the life_event. + * @return value or {@code null} for none + */ + public java.lang.String getParent() { + return parent; + } + + /** + * Output only. The parent of the life_event. + * @param parent parent or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLifeEvent setParent(java.lang.String parent) { + this.parent = parent; + return this; + } + + /** + * Output only. The resource name of the life event. Life event resource names have the form: + * `customers/{customer_id}/lifeEvents/{life_event_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Output only. The resource name of the life event. Life event resource names have the form: + * `customers/{customer_id}/lifeEvents/{life_event_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLifeEvent setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesLifeEvent set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesLifeEvent) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesLifeEvent clone() { + return (GoogleAdsSearchads360V23ResourcesLifeEvent) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesListingGroupFilterDimension.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesListingGroupFilterDimension.java new file mode 100644 index 00000000000..f33a5c85212 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesListingGroupFilterDimension.java @@ -0,0 +1,235 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Listing dimensions for the asset group listing group filter. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesListingGroupFilterDimension extends com.google.api.client.json.GenericJson { + + /** + * Brand of a product offer. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionProductBrand productBrand; + + /** + * Category of a product offer. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionProductCategory productCategory; + + /** + * Locality of a product offer. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionProductChannel productChannel; + + /** + * Condition of a product offer. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionProductCondition productCondition; + + /** + * Custom attribute of a product offer. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionProductCustomAttribute productCustomAttribute; + + /** + * Item id of a product offer. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionProductItemId productItemId; + + /** + * Type of a product offer. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionProductType productType; + + /** + * Filters for URLs in a page feed and URLs from the advertiser web domain. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionWebpage webpage; + + /** + * Brand of a product offer. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionProductBrand getProductBrand() { + return productBrand; + } + + /** + * Brand of a product offer. + * @param productBrand productBrand or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesListingGroupFilterDimension setProductBrand(GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionProductBrand productBrand) { + this.productBrand = productBrand; + return this; + } + + /** + * Category of a product offer. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionProductCategory getProductCategory() { + return productCategory; + } + + /** + * Category of a product offer. + * @param productCategory productCategory or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesListingGroupFilterDimension setProductCategory(GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionProductCategory productCategory) { + this.productCategory = productCategory; + return this; + } + + /** + * Locality of a product offer. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionProductChannel getProductChannel() { + return productChannel; + } + + /** + * Locality of a product offer. + * @param productChannel productChannel or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesListingGroupFilterDimension setProductChannel(GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionProductChannel productChannel) { + this.productChannel = productChannel; + return this; + } + + /** + * Condition of a product offer. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionProductCondition getProductCondition() { + return productCondition; + } + + /** + * Condition of a product offer. + * @param productCondition productCondition or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesListingGroupFilterDimension setProductCondition(GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionProductCondition productCondition) { + this.productCondition = productCondition; + return this; + } + + /** + * Custom attribute of a product offer. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionProductCustomAttribute getProductCustomAttribute() { + return productCustomAttribute; + } + + /** + * Custom attribute of a product offer. + * @param productCustomAttribute productCustomAttribute or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesListingGroupFilterDimension setProductCustomAttribute(GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionProductCustomAttribute productCustomAttribute) { + this.productCustomAttribute = productCustomAttribute; + return this; + } + + /** + * Item id of a product offer. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionProductItemId getProductItemId() { + return productItemId; + } + + /** + * Item id of a product offer. + * @param productItemId productItemId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesListingGroupFilterDimension setProductItemId(GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionProductItemId productItemId) { + this.productItemId = productItemId; + return this; + } + + /** + * Type of a product offer. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionProductType getProductType() { + return productType; + } + + /** + * Type of a product offer. + * @param productType productType or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesListingGroupFilterDimension setProductType(GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionProductType productType) { + this.productType = productType; + return this; + } + + /** + * Filters for URLs in a page feed and URLs from the advertiser web domain. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionWebpage getWebpage() { + return webpage; + } + + /** + * Filters for URLs in a page feed and URLs from the advertiser web domain. + * @param webpage webpage or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesListingGroupFilterDimension setWebpage(GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionWebpage webpage) { + this.webpage = webpage; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesListingGroupFilterDimension set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesListingGroupFilterDimension) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesListingGroupFilterDimension clone() { + return (GoogleAdsSearchads360V23ResourcesListingGroupFilterDimension) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionPath.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionPath.java new file mode 100644 index 00000000000..15b321c6b90 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionPath.java @@ -0,0 +1,76 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The path defining of dimensions defining a listing group filter. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionPath extends com.google.api.client.json.GenericJson { + + /** + * Output only. The complete path of dimensions through the listing group filter hierarchy + * (excluding the root node) to this listing group filter. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List dimensions; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ResourcesListingGroupFilterDimension used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ResourcesListingGroupFilterDimension.class); + } + + /** + * Output only. The complete path of dimensions through the listing group filter hierarchy + * (excluding the root node) to this listing group filter. + * @return value or {@code null} for none + */ + public java.util.List getDimensions() { + return dimensions; + } + + /** + * Output only. The complete path of dimensions through the listing group filter hierarchy + * (excluding the root node) to this listing group filter. + * @param dimensions dimensions or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionPath setDimensions(java.util.List dimensions) { + this.dimensions = dimensions; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionPath set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionPath) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionPath clone() { + return (GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionPath) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionProductBrand.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionProductBrand.java new file mode 100644 index 00000000000..4d979eb2a7f --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionProductBrand.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Brand of the product. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionProductBrand extends com.google.api.client.json.GenericJson { + + /** + * String value of the product brand. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String value; + + /** + * String value of the product brand. + * @return value or {@code null} for none + */ + public java.lang.String getValue() { + return value; + } + + /** + * String value of the product brand. + * @param value value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionProductBrand setValue(java.lang.String value) { + this.value = value; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionProductBrand set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionProductBrand) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionProductBrand clone() { + return (GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionProductBrand) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionProductCategory.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionProductCategory.java new file mode 100644 index 00000000000..e4963d3243e --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionProductCategory.java @@ -0,0 +1,97 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * One element of a category at a certain level. Top-level categories are at level 1, their children + * at level 2, and so on. We currently support up to 5 levels. The user must specify a dimension + * type that indicates the level of the category. All cases of the same subdivision must have the + * same dimension type (category level). + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionProductCategory extends com.google.api.client.json.GenericJson { + + /** + * ID of the product category. This ID is equivalent to the google_product_category ID as + * described in this article: https://support.google.com/merchants/answer/6324436 + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long categoryId; + + /** + * Indicates the level of the category in the taxonomy. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String level; + + /** + * ID of the product category. This ID is equivalent to the google_product_category ID as + * described in this article: https://support.google.com/merchants/answer/6324436 + * @return value or {@code null} for none + */ + public java.lang.Long getCategoryId() { + return categoryId; + } + + /** + * ID of the product category. This ID is equivalent to the google_product_category ID as + * described in this article: https://support.google.com/merchants/answer/6324436 + * @param categoryId categoryId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionProductCategory setCategoryId(java.lang.Long categoryId) { + this.categoryId = categoryId; + return this; + } + + /** + * Indicates the level of the category in the taxonomy. + * @return value or {@code null} for none + */ + public java.lang.String getLevel() { + return level; + } + + /** + * Indicates the level of the category in the taxonomy. + * @param level level or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionProductCategory setLevel(java.lang.String level) { + this.level = level; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionProductCategory set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionProductCategory) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionProductCategory clone() { + return (GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionProductCategory) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionProductChannel.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionProductChannel.java new file mode 100644 index 00000000000..64fc609869a --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionProductChannel.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Locality of a product offer. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionProductChannel extends com.google.api.client.json.GenericJson { + + /** + * Value of the locality. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String channel; + + /** + * Value of the locality. + * @return value or {@code null} for none + */ + public java.lang.String getChannel() { + return channel; + } + + /** + * Value of the locality. + * @param channel channel or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionProductChannel setChannel(java.lang.String channel) { + this.channel = channel; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionProductChannel set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionProductChannel) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionProductChannel clone() { + return (GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionProductChannel) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionProductCondition.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionProductCondition.java new file mode 100644 index 00000000000..2953c81980c --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionProductCondition.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Condition of a product offer. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionProductCondition extends com.google.api.client.json.GenericJson { + + /** + * Value of the condition. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String condition; + + /** + * Value of the condition. + * @return value or {@code null} for none + */ + public java.lang.String getCondition() { + return condition; + } + + /** + * Value of the condition. + * @param condition condition or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionProductCondition setCondition(java.lang.String condition) { + this.condition = condition; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionProductCondition set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionProductCondition) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionProductCondition clone() { + return (GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionProductCondition) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionProductCustomAttribute.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionProductCustomAttribute.java new file mode 100644 index 00000000000..00bd008df8b --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionProductCustomAttribute.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Custom attribute of a product offer. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionProductCustomAttribute extends com.google.api.client.json.GenericJson { + + /** + * Indicates the index of the custom attribute. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String index; + + /** + * String value of the product custom attribute. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String value; + + /** + * Indicates the index of the custom attribute. + * @return value or {@code null} for none + */ + public java.lang.String getIndex() { + return index; + } + + /** + * Indicates the index of the custom attribute. + * @param index index or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionProductCustomAttribute setIndex(java.lang.String index) { + this.index = index; + return this; + } + + /** + * String value of the product custom attribute. + * @return value or {@code null} for none + */ + public java.lang.String getValue() { + return value; + } + + /** + * String value of the product custom attribute. + * @param value value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionProductCustomAttribute setValue(java.lang.String value) { + this.value = value; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionProductCustomAttribute set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionProductCustomAttribute) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionProductCustomAttribute clone() { + return (GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionProductCustomAttribute) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionProductItemId.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionProductItemId.java new file mode 100644 index 00000000000..96c398da329 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionProductItemId.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Item id of a product offer. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionProductItemId extends com.google.api.client.json.GenericJson { + + /** + * Value of the id. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String value; + + /** + * Value of the id. + * @return value or {@code null} for none + */ + public java.lang.String getValue() { + return value; + } + + /** + * Value of the id. + * @param value value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionProductItemId setValue(java.lang.String value) { + this.value = value; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionProductItemId set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionProductItemId) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionProductItemId clone() { + return (GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionProductItemId) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionProductType.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionProductType.java new file mode 100644 index 00000000000..bdac86e1ad7 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionProductType.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Type of a product offer. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionProductType extends com.google.api.client.json.GenericJson { + + /** + * Level of the type. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String level; + + /** + * Value of the type. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String value; + + /** + * Level of the type. + * @return value or {@code null} for none + */ + public java.lang.String getLevel() { + return level; + } + + /** + * Level of the type. + * @param level level or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionProductType setLevel(java.lang.String level) { + this.level = level; + return this; + } + + /** + * Value of the type. + * @return value or {@code null} for none + */ + public java.lang.String getValue() { + return value; + } + + /** + * Value of the type. + * @param value value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionProductType setValue(java.lang.String value) { + this.value = value; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionProductType set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionProductType) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionProductType clone() { + return (GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionProductType) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionWebpage.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionWebpage.java new file mode 100644 index 00000000000..1777bf69295 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionWebpage.java @@ -0,0 +1,86 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Filters for URLs in a page feed and URLs from the advertiser web domain. Several root nodes with + * this dimension are allowed in an asset group and their conditions are considered in OR. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionWebpage extends com.google.api.client.json.GenericJson { + + /** + * The webpage conditions are case sensitive and these are and-ed together when evaluated for + * filtering. All the conditions should be of same type. Example1: for URL1 = + * www.ads.google.com?ocid=1&euid=2 and URL2 = www.ads.google.com?ocid=1 and with "ocid" and + * "euid" as url_contains conditions, URL1 will be matched, but URL2 not. Example2 : If URL1 has + * Label1, Label2 and URL2 has Label2, Label3, then with Label1 and Label2 as custom_label + * conditions, URL1 will be matched but not URL2. With Label2 as the only custom_label condition + * then both URL1 and URL2 will be matched. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List conditions; + + /** + * The webpage conditions are case sensitive and these are and-ed together when evaluated for + * filtering. All the conditions should be of same type. Example1: for URL1 = + * www.ads.google.com?ocid=1&euid=2 and URL2 = www.ads.google.com?ocid=1 and with "ocid" and + * "euid" as url_contains conditions, URL1 will be matched, but URL2 not. Example2 : If URL1 has + * Label1, Label2 and URL2 has Label2, Label3, then with Label1 and Label2 as custom_label + * conditions, URL1 will be matched but not URL2. With Label2 as the only custom_label condition + * then both URL1 and URL2 will be matched. + * @return value or {@code null} for none + */ + public java.util.List getConditions() { + return conditions; + } + + /** + * The webpage conditions are case sensitive and these are and-ed together when evaluated for + * filtering. All the conditions should be of same type. Example1: for URL1 = + * www.ads.google.com?ocid=1&euid=2 and URL2 = www.ads.google.com?ocid=1 and with "ocid" and + * "euid" as url_contains conditions, URL1 will be matched, but URL2 not. Example2 : If URL1 has + * Label1, Label2 and URL2 has Label2, Label3, then with Label1 and Label2 as custom_label + * conditions, URL1 will be matched but not URL2. With Label2 as the only custom_label condition + * then both URL1 and URL2 will be matched. + * @param conditions conditions or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionWebpage setConditions(java.util.List conditions) { + this.conditions = conditions; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionWebpage set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionWebpage) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionWebpage clone() { + return (GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionWebpage) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionWebpageCondition.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionWebpageCondition.java new file mode 100644 index 00000000000..a6f5338c611 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionWebpageCondition.java @@ -0,0 +1,100 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Matching condition for URL filtering. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionWebpageCondition extends com.google.api.client.json.GenericJson { + + /** + * Filters the URLs in a page feed that have this custom label. A custom label can be added to a + * campaign by creating an AssetSet of type PAGE_FEED and linking it to the campaign using + * CampaignAssetSet. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String customLabel; + + /** + * Filters the URLs in a page feed and the URLs from the advertiser web domain that contain this + * string. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String urlContains; + + /** + * Filters the URLs in a page feed that have this custom label. A custom label can be added to a + * campaign by creating an AssetSet of type PAGE_FEED and linking it to the campaign using + * CampaignAssetSet. + * @return value or {@code null} for none + */ + public java.lang.String getCustomLabel() { + return customLabel; + } + + /** + * Filters the URLs in a page feed that have this custom label. A custom label can be added to a + * campaign by creating an AssetSet of type PAGE_FEED and linking it to the campaign using + * CampaignAssetSet. + * @param customLabel customLabel or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionWebpageCondition setCustomLabel(java.lang.String customLabel) { + this.customLabel = customLabel; + return this; + } + + /** + * Filters the URLs in a page feed and the URLs from the advertiser web domain that contain this + * string. + * @return value or {@code null} for none + */ + public java.lang.String getUrlContains() { + return urlContains; + } + + /** + * Filters the URLs in a page feed and the URLs from the advertiser web domain that contain this + * string. + * @param urlContains urlContains or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionWebpageCondition setUrlContains(java.lang.String urlContains) { + this.urlContains = urlContains; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionWebpageCondition set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionWebpageCondition) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionWebpageCondition clone() { + return (GoogleAdsSearchads360V23ResourcesListingGroupFilterDimensionWebpageCondition) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesLocalServicesEmployee.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesLocalServicesEmployee.java new file mode 100644 index 00000000000..d5085da0cdb --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesLocalServicesEmployee.java @@ -0,0 +1,472 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A local services employee resource. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesLocalServicesEmployee extends com.google.api.client.json.GenericJson { + + /** + * Output only. Category of the employee. A list of Local Services category IDs can be found at + * https://developers.google.com/google-ads/api/data/codes-formats#local_services_ids. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List categoryIds; + + /** + * Output only. Timestamp of employee creation. The format is "YYYY-MM-DD HH:MM:SS" in the Google + * Ads account's timezone. Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String creationDateTime; + + /** + * Output only. Email address of the employee. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String emailAddress; + + /** + * Output only. The institutions where the employee has completed their fellowship. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List fellowships; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ResourcesFellowship used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ResourcesFellowship.class); + } + + /** + * Output only. First name of the employee. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String firstName; + + /** + * Output only. The ID of the employee. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long id; + + /** + * Output only. Job title for this employee, such as "Senior partner" in legal verticals. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String jobTitle; + + /** + * Output only. Languages that the employee speaks, represented as language tags from + * https://developers.google.com/admin-sdk/directory/v1/languages + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List languagesSpoken; + + /** + * Output only. Last name of the employee. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String lastName; + + /** + * Output only. Middle name of the employee. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String middleName; + + /** + * Output only. NPI id associated with the employee. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String nationalProviderIdNumber; + + /** + * Output only. The institutions where the employee has completed their residency. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List residencies; + + /** + * Immutable. The resource name of the Local Services Verification. Local Services Verification + * resource names have the form: + * `customers/{customer_id}/localServicesEmployees/{gls_employee_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. Employee status, such as DELETED or ENABLED. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String status; + + /** + * Output only. Employee type. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String type; + + /** + * Output only. A list of degrees this employee has obtained, and wants to feature. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List universityDegrees; + + /** + * Output only. The year that this employee started practicing in this field. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer yearStartedPracticing; + + /** + * Output only. Category of the employee. A list of Local Services category IDs can be found at + * https://developers.google.com/google-ads/api/data/codes-formats#local_services_ids. + * @return value or {@code null} for none + */ + public java.util.List getCategoryIds() { + return categoryIds; + } + + /** + * Output only. Category of the employee. A list of Local Services category IDs can be found at + * https://developers.google.com/google-ads/api/data/codes-formats#local_services_ids. + * @param categoryIds categoryIds or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLocalServicesEmployee setCategoryIds(java.util.List categoryIds) { + this.categoryIds = categoryIds; + return this; + } + + /** + * Output only. Timestamp of employee creation. The format is "YYYY-MM-DD HH:MM:SS" in the Google + * Ads account's timezone. Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" + * @return value or {@code null} for none + */ + public java.lang.String getCreationDateTime() { + return creationDateTime; + } + + /** + * Output only. Timestamp of employee creation. The format is "YYYY-MM-DD HH:MM:SS" in the Google + * Ads account's timezone. Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" + * @param creationDateTime creationDateTime or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLocalServicesEmployee setCreationDateTime(java.lang.String creationDateTime) { + this.creationDateTime = creationDateTime; + return this; + } + + /** + * Output only. Email address of the employee. + * @return value or {@code null} for none + */ + public java.lang.String getEmailAddress() { + return emailAddress; + } + + /** + * Output only. Email address of the employee. + * @param emailAddress emailAddress or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLocalServicesEmployee setEmailAddress(java.lang.String emailAddress) { + this.emailAddress = emailAddress; + return this; + } + + /** + * Output only. The institutions where the employee has completed their fellowship. + * @return value or {@code null} for none + */ + public java.util.List getFellowships() { + return fellowships; + } + + /** + * Output only. The institutions where the employee has completed their fellowship. + * @param fellowships fellowships or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLocalServicesEmployee setFellowships(java.util.List fellowships) { + this.fellowships = fellowships; + return this; + } + + /** + * Output only. First name of the employee. + * @return value or {@code null} for none + */ + public java.lang.String getFirstName() { + return firstName; + } + + /** + * Output only. First name of the employee. + * @param firstName firstName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLocalServicesEmployee setFirstName(java.lang.String firstName) { + this.firstName = firstName; + return this; + } + + /** + * Output only. The ID of the employee. + * @return value or {@code null} for none + */ + public java.lang.Long getId() { + return id; + } + + /** + * Output only. The ID of the employee. + * @param id id or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLocalServicesEmployee setId(java.lang.Long id) { + this.id = id; + return this; + } + + /** + * Output only. Job title for this employee, such as "Senior partner" in legal verticals. + * @return value or {@code null} for none + */ + public java.lang.String getJobTitle() { + return jobTitle; + } + + /** + * Output only. Job title for this employee, such as "Senior partner" in legal verticals. + * @param jobTitle jobTitle or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLocalServicesEmployee setJobTitle(java.lang.String jobTitle) { + this.jobTitle = jobTitle; + return this; + } + + /** + * Output only. Languages that the employee speaks, represented as language tags from + * https://developers.google.com/admin-sdk/directory/v1/languages + * @return value or {@code null} for none + */ + public java.util.List getLanguagesSpoken() { + return languagesSpoken; + } + + /** + * Output only. Languages that the employee speaks, represented as language tags from + * https://developers.google.com/admin-sdk/directory/v1/languages + * @param languagesSpoken languagesSpoken or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLocalServicesEmployee setLanguagesSpoken(java.util.List languagesSpoken) { + this.languagesSpoken = languagesSpoken; + return this; + } + + /** + * Output only. Last name of the employee. + * @return value or {@code null} for none + */ + public java.lang.String getLastName() { + return lastName; + } + + /** + * Output only. Last name of the employee. + * @param lastName lastName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLocalServicesEmployee setLastName(java.lang.String lastName) { + this.lastName = lastName; + return this; + } + + /** + * Output only. Middle name of the employee. + * @return value or {@code null} for none + */ + public java.lang.String getMiddleName() { + return middleName; + } + + /** + * Output only. Middle name of the employee. + * @param middleName middleName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLocalServicesEmployee setMiddleName(java.lang.String middleName) { + this.middleName = middleName; + return this; + } + + /** + * Output only. NPI id associated with the employee. + * @return value or {@code null} for none + */ + public java.lang.String getNationalProviderIdNumber() { + return nationalProviderIdNumber; + } + + /** + * Output only. NPI id associated with the employee. + * @param nationalProviderIdNumber nationalProviderIdNumber or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLocalServicesEmployee setNationalProviderIdNumber(java.lang.String nationalProviderIdNumber) { + this.nationalProviderIdNumber = nationalProviderIdNumber; + return this; + } + + /** + * Output only. The institutions where the employee has completed their residency. + * @return value or {@code null} for none + */ + public java.util.List getResidencies() { + return residencies; + } + + /** + * Output only. The institutions where the employee has completed their residency. + * @param residencies residencies or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLocalServicesEmployee setResidencies(java.util.List residencies) { + this.residencies = residencies; + return this; + } + + /** + * Immutable. The resource name of the Local Services Verification. Local Services Verification + * resource names have the form: + * `customers/{customer_id}/localServicesEmployees/{gls_employee_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Immutable. The resource name of the Local Services Verification. Local Services Verification + * resource names have the form: + * `customers/{customer_id}/localServicesEmployees/{gls_employee_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLocalServicesEmployee setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Output only. Employee status, such as DELETED or ENABLED. + * @return value or {@code null} for none + */ + public java.lang.String getStatus() { + return status; + } + + /** + * Output only. Employee status, such as DELETED or ENABLED. + * @param status status or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLocalServicesEmployee setStatus(java.lang.String status) { + this.status = status; + return this; + } + + /** + * Output only. Employee type. + * @return value or {@code null} for none + */ + public java.lang.String getType() { + return type; + } + + /** + * Output only. Employee type. + * @param type type or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLocalServicesEmployee setType(java.lang.String type) { + this.type = type; + return this; + } + + /** + * Output only. A list of degrees this employee has obtained, and wants to feature. + * @return value or {@code null} for none + */ + public java.util.List getUniversityDegrees() { + return universityDegrees; + } + + /** + * Output only. A list of degrees this employee has obtained, and wants to feature. + * @param universityDegrees universityDegrees or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLocalServicesEmployee setUniversityDegrees(java.util.List universityDegrees) { + this.universityDegrees = universityDegrees; + return this; + } + + /** + * Output only. The year that this employee started practicing in this field. + * @return value or {@code null} for none + */ + public java.lang.Integer getYearStartedPracticing() { + return yearStartedPracticing; + } + + /** + * Output only. The year that this employee started practicing in this field. + * @param yearStartedPracticing yearStartedPracticing or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLocalServicesEmployee setYearStartedPracticing(java.lang.Integer yearStartedPracticing) { + this.yearStartedPracticing = yearStartedPracticing; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesLocalServicesEmployee set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesLocalServicesEmployee) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesLocalServicesEmployee clone() { + return (GoogleAdsSearchads360V23ResourcesLocalServicesEmployee) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesLocalServicesLead.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesLocalServicesLead.java new file mode 100644 index 00000000000..8f0e4fff05b --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesLocalServicesLead.java @@ -0,0 +1,377 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Data from Local Services Lead. Contains details of Lead which is generated when user calls, + * messages or books service from advertiser. More info: https://ads.google.com/local-services-ads + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesLocalServicesLead extends com.google.api.client.json.GenericJson { + + /** + * Output only. Service category of the lead. For example: `xcat:service_area_business_hvac`, + * `xcat:service_area_business_real_estate_agent`, etc. For more details see: + * https://developers.google.com/google-ads/api/data/codes-formats#local_services_ids + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String categoryId; + + /** + * Output only. Lead's contact details. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesContactDetails contactDetails; + + /** + * Output only. The date time at which lead was created by Local Services Ads. The format is + * "YYYY-MM-DD HH:MM:SS" in the Google Ads account's timezone. Examples: "2018-03-05 09:15:00" or + * "2018-02-01 14:34:30" + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String creationDateTime; + + /** + * Output only. Credit details of the lead. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCreditDetails creditDetails; + + /** + * Output only. ID of this Lead. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long id; + + /** + * Output only. True if the advertiser was charged for the lead. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean leadCharged; + + /** + * Output only. True if the advertiser submitted feedback for the lead. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean leadFeedbackSubmitted; + + /** + * Output only. Current status of lead. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String leadStatus; + + /** + * Output only. Type of Local Services lead: phone, message, booking, etc. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String leadType; + + /** + * Output only. Language used by the Local Services provider linked to lead. See + * https://developers.google.com/google-ads/api/data/codes-formats#locales + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String locale; + + /** + * Output only. Note added by advertiser for the lead. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesNote note; + + /** + * Immutable. The resource name of the local services lead data. Local Services Lead resource name + * have the form `customers/{customer_id}/localServicesLead/{local_services_lead_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. Service for the category. For example: `buyer_agent`, `seller_agent` for the + * category of `xcat:service_area_business_real_estate_agent`. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String serviceId; + + /** + * Output only. Service category of the lead. For example: `xcat:service_area_business_hvac`, + * `xcat:service_area_business_real_estate_agent`, etc. For more details see: + * https://developers.google.com/google-ads/api/data/codes-formats#local_services_ids + * @return value or {@code null} for none + */ + public java.lang.String getCategoryId() { + return categoryId; + } + + /** + * Output only. Service category of the lead. For example: `xcat:service_area_business_hvac`, + * `xcat:service_area_business_real_estate_agent`, etc. For more details see: + * https://developers.google.com/google-ads/api/data/codes-formats#local_services_ids + * @param categoryId categoryId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLocalServicesLead setCategoryId(java.lang.String categoryId) { + this.categoryId = categoryId; + return this; + } + + /** + * Output only. Lead's contact details. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesContactDetails getContactDetails() { + return contactDetails; + } + + /** + * Output only. Lead's contact details. + * @param contactDetails contactDetails or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLocalServicesLead setContactDetails(GoogleAdsSearchads360V23ResourcesContactDetails contactDetails) { + this.contactDetails = contactDetails; + return this; + } + + /** + * Output only. The date time at which lead was created by Local Services Ads. The format is + * "YYYY-MM-DD HH:MM:SS" in the Google Ads account's timezone. Examples: "2018-03-05 09:15:00" or + * "2018-02-01 14:34:30" + * @return value or {@code null} for none + */ + public java.lang.String getCreationDateTime() { + return creationDateTime; + } + + /** + * Output only. The date time at which lead was created by Local Services Ads. The format is + * "YYYY-MM-DD HH:MM:SS" in the Google Ads account's timezone. Examples: "2018-03-05 09:15:00" or + * "2018-02-01 14:34:30" + * @param creationDateTime creationDateTime or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLocalServicesLead setCreationDateTime(java.lang.String creationDateTime) { + this.creationDateTime = creationDateTime; + return this; + } + + /** + * Output only. Credit details of the lead. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCreditDetails getCreditDetails() { + return creditDetails; + } + + /** + * Output only. Credit details of the lead. + * @param creditDetails creditDetails or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLocalServicesLead setCreditDetails(GoogleAdsSearchads360V23ResourcesCreditDetails creditDetails) { + this.creditDetails = creditDetails; + return this; + } + + /** + * Output only. ID of this Lead. + * @return value or {@code null} for none + */ + public java.lang.Long getId() { + return id; + } + + /** + * Output only. ID of this Lead. + * @param id id or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLocalServicesLead setId(java.lang.Long id) { + this.id = id; + return this; + } + + /** + * Output only. True if the advertiser was charged for the lead. + * @return value or {@code null} for none + */ + public java.lang.Boolean getLeadCharged() { + return leadCharged; + } + + /** + * Output only. True if the advertiser was charged for the lead. + * @param leadCharged leadCharged or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLocalServicesLead setLeadCharged(java.lang.Boolean leadCharged) { + this.leadCharged = leadCharged; + return this; + } + + /** + * Output only. True if the advertiser submitted feedback for the lead. + * @return value or {@code null} for none + */ + public java.lang.Boolean getLeadFeedbackSubmitted() { + return leadFeedbackSubmitted; + } + + /** + * Output only. True if the advertiser submitted feedback for the lead. + * @param leadFeedbackSubmitted leadFeedbackSubmitted or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLocalServicesLead setLeadFeedbackSubmitted(java.lang.Boolean leadFeedbackSubmitted) { + this.leadFeedbackSubmitted = leadFeedbackSubmitted; + return this; + } + + /** + * Output only. Current status of lead. + * @return value or {@code null} for none + */ + public java.lang.String getLeadStatus() { + return leadStatus; + } + + /** + * Output only. Current status of lead. + * @param leadStatus leadStatus or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLocalServicesLead setLeadStatus(java.lang.String leadStatus) { + this.leadStatus = leadStatus; + return this; + } + + /** + * Output only. Type of Local Services lead: phone, message, booking, etc. + * @return value or {@code null} for none + */ + public java.lang.String getLeadType() { + return leadType; + } + + /** + * Output only. Type of Local Services lead: phone, message, booking, etc. + * @param leadType leadType or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLocalServicesLead setLeadType(java.lang.String leadType) { + this.leadType = leadType; + return this; + } + + /** + * Output only. Language used by the Local Services provider linked to lead. See + * https://developers.google.com/google-ads/api/data/codes-formats#locales + * @return value or {@code null} for none + */ + public java.lang.String getLocale() { + return locale; + } + + /** + * Output only. Language used by the Local Services provider linked to lead. See + * https://developers.google.com/google-ads/api/data/codes-formats#locales + * @param locale locale or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLocalServicesLead setLocale(java.lang.String locale) { + this.locale = locale; + return this; + } + + /** + * Output only. Note added by advertiser for the lead. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesNote getNote() { + return note; + } + + /** + * Output only. Note added by advertiser for the lead. + * @param note note or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLocalServicesLead setNote(GoogleAdsSearchads360V23ResourcesNote note) { + this.note = note; + return this; + } + + /** + * Immutable. The resource name of the local services lead data. Local Services Lead resource name + * have the form `customers/{customer_id}/localServicesLead/{local_services_lead_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Immutable. The resource name of the local services lead data. Local Services Lead resource name + * have the form `customers/{customer_id}/localServicesLead/{local_services_lead_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLocalServicesLead setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Output only. Service for the category. For example: `buyer_agent`, `seller_agent` for the + * category of `xcat:service_area_business_real_estate_agent`. + * @return value or {@code null} for none + */ + public java.lang.String getServiceId() { + return serviceId; + } + + /** + * Output only. Service for the category. For example: `buyer_agent`, `seller_agent` for the + * category of `xcat:service_area_business_real_estate_agent`. + * @param serviceId serviceId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLocalServicesLead setServiceId(java.lang.String serviceId) { + this.serviceId = serviceId; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesLocalServicesLead set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesLocalServicesLead) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesLocalServicesLead clone() { + return (GoogleAdsSearchads360V23ResourcesLocalServicesLead) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesLocalServicesLeadConversation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesLocalServicesLeadConversation.java new file mode 100644 index 00000000000..339b8bd6035 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesLocalServicesLeadConversation.java @@ -0,0 +1,249 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Data from Local Services Lead Conversation. Contains details of Lead Conversation which is + * generated when user calls, messages or books service from advertiser. These are appended to a + * Lead. More info: https://ads.google.com/local-services-ads + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesLocalServicesLeadConversation extends com.google.api.client.json.GenericJson { + + /** + * Output only. Type of GLS lead conversation, EMAIL, MESSAGE, PHONE_CALL, SMS, etc. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String conversationChannel; + + /** + * Output only. The date time at which lead conversation was created by Local Services Ads. The + * format is "YYYY-MM-DD HH:MM:SS" in the Google Ads account's timezone. Examples: "2018-03-05 + * 09:15:00" or "2018-02-01 14:34:30" + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String eventDateTime; + + /** + * Output only. ID of this Lead Conversation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long id; + + /** + * Output only. Resource name of Lead associated to the Lead Conversation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String lead; + + /** + * Output only. Details of message conversation in case of EMAIL, MESSAGE or SMS. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesMessageDetails messageDetails; + + /** + * Output only. Type of participant in the lead conversation, ADVERTISER or CONSUMER. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String participantType; + + /** + * Output only. Details of phone call conversation in case of PHONE_CALL. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesPhoneCallDetails phoneCallDetails; + + /** + * Output only. The resource name of the local services lead conversation data. Local Services + * Lead Conversation resource name have the form + * `customers/{customer_id}/localServicesLeadConversation/{local_services_lead_conversation_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. Type of GLS lead conversation, EMAIL, MESSAGE, PHONE_CALL, SMS, etc. + * @return value or {@code null} for none + */ + public java.lang.String getConversationChannel() { + return conversationChannel; + } + + /** + * Output only. Type of GLS lead conversation, EMAIL, MESSAGE, PHONE_CALL, SMS, etc. + * @param conversationChannel conversationChannel or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLocalServicesLeadConversation setConversationChannel(java.lang.String conversationChannel) { + this.conversationChannel = conversationChannel; + return this; + } + + /** + * Output only. The date time at which lead conversation was created by Local Services Ads. The + * format is "YYYY-MM-DD HH:MM:SS" in the Google Ads account's timezone. Examples: "2018-03-05 + * 09:15:00" or "2018-02-01 14:34:30" + * @return value or {@code null} for none + */ + public java.lang.String getEventDateTime() { + return eventDateTime; + } + + /** + * Output only. The date time at which lead conversation was created by Local Services Ads. The + * format is "YYYY-MM-DD HH:MM:SS" in the Google Ads account's timezone. Examples: "2018-03-05 + * 09:15:00" or "2018-02-01 14:34:30" + * @param eventDateTime eventDateTime or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLocalServicesLeadConversation setEventDateTime(java.lang.String eventDateTime) { + this.eventDateTime = eventDateTime; + return this; + } + + /** + * Output only. ID of this Lead Conversation. + * @return value or {@code null} for none + */ + public java.lang.Long getId() { + return id; + } + + /** + * Output only. ID of this Lead Conversation. + * @param id id or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLocalServicesLeadConversation setId(java.lang.Long id) { + this.id = id; + return this; + } + + /** + * Output only. Resource name of Lead associated to the Lead Conversation. + * @return value or {@code null} for none + */ + public java.lang.String getLead() { + return lead; + } + + /** + * Output only. Resource name of Lead associated to the Lead Conversation. + * @param lead lead or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLocalServicesLeadConversation setLead(java.lang.String lead) { + this.lead = lead; + return this; + } + + /** + * Output only. Details of message conversation in case of EMAIL, MESSAGE or SMS. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesMessageDetails getMessageDetails() { + return messageDetails; + } + + /** + * Output only. Details of message conversation in case of EMAIL, MESSAGE or SMS. + * @param messageDetails messageDetails or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLocalServicesLeadConversation setMessageDetails(GoogleAdsSearchads360V23ResourcesMessageDetails messageDetails) { + this.messageDetails = messageDetails; + return this; + } + + /** + * Output only. Type of participant in the lead conversation, ADVERTISER or CONSUMER. + * @return value or {@code null} for none + */ + public java.lang.String getParticipantType() { + return participantType; + } + + /** + * Output only. Type of participant in the lead conversation, ADVERTISER or CONSUMER. + * @param participantType participantType or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLocalServicesLeadConversation setParticipantType(java.lang.String participantType) { + this.participantType = participantType; + return this; + } + + /** + * Output only. Details of phone call conversation in case of PHONE_CALL. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesPhoneCallDetails getPhoneCallDetails() { + return phoneCallDetails; + } + + /** + * Output only. Details of phone call conversation in case of PHONE_CALL. + * @param phoneCallDetails phoneCallDetails or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLocalServicesLeadConversation setPhoneCallDetails(GoogleAdsSearchads360V23ResourcesPhoneCallDetails phoneCallDetails) { + this.phoneCallDetails = phoneCallDetails; + return this; + } + + /** + * Output only. The resource name of the local services lead conversation data. Local Services + * Lead Conversation resource name have the form + * `customers/{customer_id}/localServicesLeadConversation/{local_services_lead_conversation_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Output only. The resource name of the local services lead conversation data. Local Services + * Lead Conversation resource name have the form + * `customers/{customer_id}/localServicesLeadConversation/{local_services_lead_conversation_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLocalServicesLeadConversation setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesLocalServicesLeadConversation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesLocalServicesLeadConversation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesLocalServicesLeadConversation clone() { + return (GoogleAdsSearchads360V23ResourcesLocalServicesLeadConversation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesLocalServicesSettings.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesLocalServicesSettings.java new file mode 100644 index 00000000000..35fc7d1c7c9 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesLocalServicesSettings.java @@ -0,0 +1,103 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Settings for Local Services customer. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesLocalServicesSettings extends com.google.api.client.json.GenericJson { + + /** + * Output only. A read-only list of geo vertical level insurance statuses. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List granularInsuranceStatuses; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ResourcesGranularInsuranceStatus used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ResourcesGranularInsuranceStatus.class); + } + + /** + * Output only. A read-only list of geo vertical level license statuses. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List granularLicenseStatuses; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ResourcesGranularLicenseStatus used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ResourcesGranularLicenseStatus.class); + } + + /** + * Output only. A read-only list of geo vertical level insurance statuses. + * @return value or {@code null} for none + */ + public java.util.List getGranularInsuranceStatuses() { + return granularInsuranceStatuses; + } + + /** + * Output only. A read-only list of geo vertical level insurance statuses. + * @param granularInsuranceStatuses granularInsuranceStatuses or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLocalServicesSettings setGranularInsuranceStatuses(java.util.List granularInsuranceStatuses) { + this.granularInsuranceStatuses = granularInsuranceStatuses; + return this; + } + + /** + * Output only. A read-only list of geo vertical level license statuses. + * @return value or {@code null} for none + */ + public java.util.List getGranularLicenseStatuses() { + return granularLicenseStatuses; + } + + /** + * Output only. A read-only list of geo vertical level license statuses. + * @param granularLicenseStatuses granularLicenseStatuses or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLocalServicesSettings setGranularLicenseStatuses(java.util.List granularLicenseStatuses) { + this.granularLicenseStatuses = granularLicenseStatuses; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesLocalServicesSettings set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesLocalServicesSettings) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesLocalServicesSettings clone() { + return (GoogleAdsSearchads360V23ResourcesLocalServicesSettings) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesLocalServicesVerificationArtifact.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesLocalServicesVerificationArtifact.java new file mode 100644 index 00000000000..4eb1ca00e0d --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesLocalServicesVerificationArtifact.java @@ -0,0 +1,271 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A local services verification resource. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesLocalServicesVerificationArtifact extends com.google.api.client.json.GenericJson { + + /** + * Output only. The type of the verification artifact. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String artifactType; + + /** + * Output only. A background check verification artifact. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesBackgroundCheckVerificationArtifact backgroundCheckVerificationArtifact; + + /** + * Output only. A business registration check verification artifact. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesBusinessRegistrationCheckVerificationArtifact businessRegistrationCheckVerificationArtifact; + + /** + * Output only. The timestamp when this verification artifact was created. The format is "YYYY-MM- + * DD HH:MM:SS" in the Google Ads account's timezone. Examples: "2018-03-05 09:15:00" or + * "2018-02-01 14:34:30" + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String creationDateTime; + + /** + * Output only. The ID of the verification artifact. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long id; + + /** + * Output only. An insurance verification artifact. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesInsuranceVerificationArtifact insuranceVerificationArtifact; + + /** + * Output only. A license verification artifact. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesLicenseVerificationArtifact licenseVerificationArtifact; + + /** + * Immutable. The resource name of the Local Services Verification. Local Services Verification + * resource names have the form: + * `customers/{customer_id}/localServicesVerificationArtifacts/{verification_artifact_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. The status of the verification artifact. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String status; + + /** + * Output only. The type of the verification artifact. + * @return value or {@code null} for none + */ + public java.lang.String getArtifactType() { + return artifactType; + } + + /** + * Output only. The type of the verification artifact. + * @param artifactType artifactType or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLocalServicesVerificationArtifact setArtifactType(java.lang.String artifactType) { + this.artifactType = artifactType; + return this; + } + + /** + * Output only. A background check verification artifact. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBackgroundCheckVerificationArtifact getBackgroundCheckVerificationArtifact() { + return backgroundCheckVerificationArtifact; + } + + /** + * Output only. A background check verification artifact. + * @param backgroundCheckVerificationArtifact backgroundCheckVerificationArtifact or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLocalServicesVerificationArtifact setBackgroundCheckVerificationArtifact(GoogleAdsSearchads360V23ResourcesBackgroundCheckVerificationArtifact backgroundCheckVerificationArtifact) { + this.backgroundCheckVerificationArtifact = backgroundCheckVerificationArtifact; + return this; + } + + /** + * Output only. A business registration check verification artifact. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBusinessRegistrationCheckVerificationArtifact getBusinessRegistrationCheckVerificationArtifact() { + return businessRegistrationCheckVerificationArtifact; + } + + /** + * Output only. A business registration check verification artifact. + * @param businessRegistrationCheckVerificationArtifact businessRegistrationCheckVerificationArtifact or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLocalServicesVerificationArtifact setBusinessRegistrationCheckVerificationArtifact(GoogleAdsSearchads360V23ResourcesBusinessRegistrationCheckVerificationArtifact businessRegistrationCheckVerificationArtifact) { + this.businessRegistrationCheckVerificationArtifact = businessRegistrationCheckVerificationArtifact; + return this; + } + + /** + * Output only. The timestamp when this verification artifact was created. The format is "YYYY-MM- + * DD HH:MM:SS" in the Google Ads account's timezone. Examples: "2018-03-05 09:15:00" or + * "2018-02-01 14:34:30" + * @return value or {@code null} for none + */ + public java.lang.String getCreationDateTime() { + return creationDateTime; + } + + /** + * Output only. The timestamp when this verification artifact was created. The format is "YYYY-MM- + * DD HH:MM:SS" in the Google Ads account's timezone. Examples: "2018-03-05 09:15:00" or + * "2018-02-01 14:34:30" + * @param creationDateTime creationDateTime or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLocalServicesVerificationArtifact setCreationDateTime(java.lang.String creationDateTime) { + this.creationDateTime = creationDateTime; + return this; + } + + /** + * Output only. The ID of the verification artifact. + * @return value or {@code null} for none + */ + public java.lang.Long getId() { + return id; + } + + /** + * Output only. The ID of the verification artifact. + * @param id id or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLocalServicesVerificationArtifact setId(java.lang.Long id) { + this.id = id; + return this; + } + + /** + * Output only. An insurance verification artifact. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesInsuranceVerificationArtifact getInsuranceVerificationArtifact() { + return insuranceVerificationArtifact; + } + + /** + * Output only. An insurance verification artifact. + * @param insuranceVerificationArtifact insuranceVerificationArtifact or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLocalServicesVerificationArtifact setInsuranceVerificationArtifact(GoogleAdsSearchads360V23ResourcesInsuranceVerificationArtifact insuranceVerificationArtifact) { + this.insuranceVerificationArtifact = insuranceVerificationArtifact; + return this; + } + + /** + * Output only. A license verification artifact. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLicenseVerificationArtifact getLicenseVerificationArtifact() { + return licenseVerificationArtifact; + } + + /** + * Output only. A license verification artifact. + * @param licenseVerificationArtifact licenseVerificationArtifact or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLocalServicesVerificationArtifact setLicenseVerificationArtifact(GoogleAdsSearchads360V23ResourcesLicenseVerificationArtifact licenseVerificationArtifact) { + this.licenseVerificationArtifact = licenseVerificationArtifact; + return this; + } + + /** + * Immutable. The resource name of the Local Services Verification. Local Services Verification + * resource names have the form: + * `customers/{customer_id}/localServicesVerificationArtifacts/{verification_artifact_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Immutable. The resource name of the Local Services Verification. Local Services Verification + * resource names have the form: + * `customers/{customer_id}/localServicesVerificationArtifacts/{verification_artifact_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLocalServicesVerificationArtifact setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Output only. The status of the verification artifact. + * @return value or {@code null} for none + */ + public java.lang.String getStatus() { + return status; + } + + /** + * Output only. The status of the verification artifact. + * @param status status or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLocalServicesVerificationArtifact setStatus(java.lang.String status) { + this.status = status; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesLocalServicesVerificationArtifact set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesLocalServicesVerificationArtifact) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesLocalServicesVerificationArtifact clone() { + return (GoogleAdsSearchads360V23ResourcesLocalServicesVerificationArtifact) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesLocationInterestView.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesLocationInterestView.java new file mode 100644 index 00000000000..ef2c2056e5d --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesLocationInterestView.java @@ -0,0 +1,73 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A location interest view summarizes the performance of adgroup location interest criteria. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesLocationInterestView extends com.google.api.client.json.GenericJson { + + /** + * Output only. The resource name of the location interest view. Location interest view resource + * names have the form: + * `customers/{customer_id}/locationInterestViews/{campaign_id}~{ad_group_id}~{criterion_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. The resource name of the location interest view. Location interest view resource + * names have the form: + * `customers/{customer_id}/locationInterestViews/{campaign_id}~{ad_group_id}~{criterion_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Output only. The resource name of the location interest view. Location interest view resource + * names have the form: + * `customers/{customer_id}/locationInterestViews/{campaign_id}~{ad_group_id}~{criterion_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLocationInterestView setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesLocationInterestView set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesLocationInterestView) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesLocationInterestView clone() { + return (GoogleAdsSearchads360V23ResourcesLocationInterestView) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesLocationView.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesLocationView.java new file mode 100644 index 00000000000..60519107746 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesLocationView.java @@ -0,0 +1,70 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A location view summarizes the performance of campaigns by a Location criterion. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesLocationView extends com.google.api.client.json.GenericJson { + + /** + * Output only. The resource name of the location view. Location view resource names have the + * form: `customers/{customer_id}/locationViews/{campaign_id}~{criterion_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. The resource name of the location view. Location view resource names have the + * form: `customers/{customer_id}/locationViews/{campaign_id}~{criterion_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Output only. The resource name of the location view. Location view resource names have the + * form: `customers/{customer_id}/locationViews/{campaign_id}~{criterion_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLocationView setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesLocationView set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesLocationView) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesLocationView clone() { + return (GoogleAdsSearchads360V23ResourcesLocationView) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesManagedPlacementView.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesManagedPlacementView.java new file mode 100644 index 00000000000..c57e5f486b6 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesManagedPlacementView.java @@ -0,0 +1,73 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A managed placement view. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesManagedPlacementView extends com.google.api.client.json.GenericJson { + + /** + * Output only. The resource name of the Managed Placement view. Managed placement view resource + * names have the form: + * `customers/{customer_id}/managedPlacementViews/{ad_group_id}~{criterion_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. The resource name of the Managed Placement view. Managed placement view resource + * names have the form: + * `customers/{customer_id}/managedPlacementViews/{ad_group_id}~{criterion_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Output only. The resource name of the Managed Placement view. Managed placement view resource + * names have the form: + * `customers/{customer_id}/managedPlacementViews/{ad_group_id}~{criterion_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesManagedPlacementView setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesManagedPlacementView set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesManagedPlacementView) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesManagedPlacementView clone() { + return (GoogleAdsSearchads360V23ResourcesManagedPlacementView) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesMatchedLocationInterestView.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesMatchedLocationInterestView.java new file mode 100644 index 00000000000..af56386c2de --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesMatchedLocationInterestView.java @@ -0,0 +1,76 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A view that reports metrics for locations where users showed interest, and which matched the + * advertiser's location interest targeting (defined as geo targets at the AdGroup level). The data + * is aggregated at the country level by default. This view is currently only available for AI Max + * campaigns. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesMatchedLocationInterestView extends com.google.api.client.json.GenericJson { + + /** + * Output only. The resource name of the matched location interest view. Matched location interest + * view resource names have the form: + * `customers/{customer_id}/matchedLocationInterestViews/{country_criterion_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. The resource name of the matched location interest view. Matched location interest + * view resource names have the form: + * `customers/{customer_id}/matchedLocationInterestViews/{country_criterion_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Output only. The resource name of the matched location interest view. Matched location interest + * view resource names have the form: + * `customers/{customer_id}/matchedLocationInterestViews/{country_criterion_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesMatchedLocationInterestView setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesMatchedLocationInterestView set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesMatchedLocationInterestView) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesMatchedLocationInterestView clone() { + return (GoogleAdsSearchads360V23ResourcesMatchedLocationInterestView) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesMediaAudio.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesMediaAudio.java new file mode 100644 index 00000000000..9afe0929cb6 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesMediaAudio.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Encapsulates an Audio. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesMediaAudio extends com.google.api.client.json.GenericJson { + + /** + * Output only. The duration of the Audio in milliseconds. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long adDurationMillis; + + /** + * Output only. The duration of the Audio in milliseconds. + * @return value or {@code null} for none + */ + public java.lang.Long getAdDurationMillis() { + return adDurationMillis; + } + + /** + * Output only. The duration of the Audio in milliseconds. + * @param adDurationMillis adDurationMillis or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesMediaAudio setAdDurationMillis(java.lang.Long adDurationMillis) { + this.adDurationMillis = adDurationMillis; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesMediaAudio set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesMediaAudio) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesMediaAudio clone() { + return (GoogleAdsSearchads360V23ResourcesMediaAudio) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesMediaBundle.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesMediaBundle.java new file mode 100644 index 00000000000..fda2902bfdf --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesMediaBundle.java @@ -0,0 +1,122 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Represents a ZIP archive media the content of which contains HTML5 assets. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesMediaBundle extends com.google.api.client.json.GenericJson { + + /** + * Immutable. Raw zipped data. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String data; + + /** + * Output only. The url to access the uploaded zipped data. For example, + * https://tpc.googlesyndication.com/simgad/123 This field is read-only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String url; + + /** + * Immutable. Raw zipped data. + * @see #decodeData() + * @return value or {@code null} for none + */ + public java.lang.String getData() { + return data; + } + + /** + * Immutable. Raw zipped data. + * @see #getData() + * @return Base64 decoded value or {@code null} for none + * + * @since 1.14 + */ + public byte[] decodeData() { + return com.google.api.client.util.Base64.decodeBase64(data); + } + + /** + * Immutable. Raw zipped data. + * @see #encodeData() + * @param data data or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesMediaBundle setData(java.lang.String data) { + this.data = data; + return this; + } + + /** + * Immutable. Raw zipped data. + * @see #setData() + * + *

+ * The value is encoded Base64 or {@code null} for none. + *

+ * + * @since 1.14 + */ + public GoogleAdsSearchads360V23ResourcesMediaBundle encodeData(byte[] data) { + this.data = com.google.api.client.util.Base64.encodeBase64URLSafeString(data); + return this; + } + + /** + * Output only. The url to access the uploaded zipped data. For example, + * https://tpc.googlesyndication.com/simgad/123 This field is read-only. + * @return value or {@code null} for none + */ + public java.lang.String getUrl() { + return url; + } + + /** + * Output only. The url to access the uploaded zipped data. For example, + * https://tpc.googlesyndication.com/simgad/123 This field is read-only. + * @param url url or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesMediaBundle setUrl(java.lang.String url) { + this.url = url; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesMediaBundle set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesMediaBundle) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesMediaBundle clone() { + return (GoogleAdsSearchads360V23ResourcesMediaBundle) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesMediaFile.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesMediaFile.java new file mode 100644 index 00000000000..1d5158ad097 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesMediaFile.java @@ -0,0 +1,316 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A media file. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesMediaFile extends com.google.api.client.json.GenericJson { + + /** + * Output only. Encapsulates an Audio. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesMediaAudio audio; + + /** + * Output only. The size of the media file in bytes. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long fileSize; + + /** + * Output only. The ID of the media file. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long id; + + /** + * Immutable. Encapsulates an Image. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesMediaImage image; + + /** + * Immutable. A ZIP archive media the content of which contains HTML5 assets. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesMediaBundle mediaBundle; + + /** + * Output only. The mime type of the media file. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String mimeType; + + /** + * Immutable. The name of the media file. The name can be used by clients to help identify + * previously uploaded media. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * Immutable. The resource name of the media file. Media file resource names have the form: + * `customers/{customer_id}/mediaFiles/{media_file_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Immutable. The URL of where the original media file was downloaded from (or a file name). Only + * used for media of type AUDIO and IMAGE. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String sourceUrl; + + /** + * Immutable. Type of the media file. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String type; + + /** + * Immutable. Encapsulates a Video. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesMediaVideo video; + + /** + * Output only. Encapsulates an Audio. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesMediaAudio getAudio() { + return audio; + } + + /** + * Output only. Encapsulates an Audio. + * @param audio audio or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesMediaFile setAudio(GoogleAdsSearchads360V23ResourcesMediaAudio audio) { + this.audio = audio; + return this; + } + + /** + * Output only. The size of the media file in bytes. + * @return value or {@code null} for none + */ + public java.lang.Long getFileSize() { + return fileSize; + } + + /** + * Output only. The size of the media file in bytes. + * @param fileSize fileSize or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesMediaFile setFileSize(java.lang.Long fileSize) { + this.fileSize = fileSize; + return this; + } + + /** + * Output only. The ID of the media file. + * @return value or {@code null} for none + */ + public java.lang.Long getId() { + return id; + } + + /** + * Output only. The ID of the media file. + * @param id id or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesMediaFile setId(java.lang.Long id) { + this.id = id; + return this; + } + + /** + * Immutable. Encapsulates an Image. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesMediaImage getImage() { + return image; + } + + /** + * Immutable. Encapsulates an Image. + * @param image image or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesMediaFile setImage(GoogleAdsSearchads360V23ResourcesMediaImage image) { + this.image = image; + return this; + } + + /** + * Immutable. A ZIP archive media the content of which contains HTML5 assets. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesMediaBundle getMediaBundle() { + return mediaBundle; + } + + /** + * Immutable. A ZIP archive media the content of which contains HTML5 assets. + * @param mediaBundle mediaBundle or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesMediaFile setMediaBundle(GoogleAdsSearchads360V23ResourcesMediaBundle mediaBundle) { + this.mediaBundle = mediaBundle; + return this; + } + + /** + * Output only. The mime type of the media file. + * @return value or {@code null} for none + */ + public java.lang.String getMimeType() { + return mimeType; + } + + /** + * Output only. The mime type of the media file. + * @param mimeType mimeType or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesMediaFile setMimeType(java.lang.String mimeType) { + this.mimeType = mimeType; + return this; + } + + /** + * Immutable. The name of the media file. The name can be used by clients to help identify + * previously uploaded media. + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * Immutable. The name of the media file. The name can be used by clients to help identify + * previously uploaded media. + * @param name name or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesMediaFile setName(java.lang.String name) { + this.name = name; + return this; + } + + /** + * Immutable. The resource name of the media file. Media file resource names have the form: + * `customers/{customer_id}/mediaFiles/{media_file_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Immutable. The resource name of the media file. Media file resource names have the form: + * `customers/{customer_id}/mediaFiles/{media_file_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesMediaFile setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Immutable. The URL of where the original media file was downloaded from (or a file name). Only + * used for media of type AUDIO and IMAGE. + * @return value or {@code null} for none + */ + public java.lang.String getSourceUrl() { + return sourceUrl; + } + + /** + * Immutable. The URL of where the original media file was downloaded from (or a file name). Only + * used for media of type AUDIO and IMAGE. + * @param sourceUrl sourceUrl or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesMediaFile setSourceUrl(java.lang.String sourceUrl) { + this.sourceUrl = sourceUrl; + return this; + } + + /** + * Immutable. Type of the media file. + * @return value or {@code null} for none + */ + public java.lang.String getType() { + return type; + } + + /** + * Immutable. Type of the media file. + * @param type type or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesMediaFile setType(java.lang.String type) { + this.type = type; + return this; + } + + /** + * Immutable. Encapsulates a Video. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesMediaVideo getVideo() { + return video; + } + + /** + * Immutable. Encapsulates a Video. + * @param video video or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesMediaFile setVideo(GoogleAdsSearchads360V23ResourcesMediaVideo video) { + this.video = video; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesMediaFile set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesMediaFile) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesMediaFile clone() { + return (GoogleAdsSearchads360V23ResourcesMediaFile) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesMediaImage.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesMediaImage.java new file mode 100644 index 00000000000..a4298091d22 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesMediaImage.java @@ -0,0 +1,143 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Encapsulates an Image. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesMediaImage extends com.google.api.client.json.GenericJson { + + /** + * Immutable. Raw image data. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String data; + + /** + * Output only. The url to the full size version of the image. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String fullSizeImageUrl; + + /** + * Output only. The url to the preview size version of the image. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String previewSizeImageUrl; + + /** + * Immutable. Raw image data. + * @see #decodeData() + * @return value or {@code null} for none + */ + public java.lang.String getData() { + return data; + } + + /** + * Immutable. Raw image data. + * @see #getData() + * @return Base64 decoded value or {@code null} for none + * + * @since 1.14 + */ + public byte[] decodeData() { + return com.google.api.client.util.Base64.decodeBase64(data); + } + + /** + * Immutable. Raw image data. + * @see #encodeData() + * @param data data or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesMediaImage setData(java.lang.String data) { + this.data = data; + return this; + } + + /** + * Immutable. Raw image data. + * @see #setData() + * + *

+ * The value is encoded Base64 or {@code null} for none. + *

+ * + * @since 1.14 + */ + public GoogleAdsSearchads360V23ResourcesMediaImage encodeData(byte[] data) { + this.data = com.google.api.client.util.Base64.encodeBase64URLSafeString(data); + return this; + } + + /** + * Output only. The url to the full size version of the image. + * @return value or {@code null} for none + */ + public java.lang.String getFullSizeImageUrl() { + return fullSizeImageUrl; + } + + /** + * Output only. The url to the full size version of the image. + * @param fullSizeImageUrl fullSizeImageUrl or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesMediaImage setFullSizeImageUrl(java.lang.String fullSizeImageUrl) { + this.fullSizeImageUrl = fullSizeImageUrl; + return this; + } + + /** + * Output only. The url to the preview size version of the image. + * @return value or {@code null} for none + */ + public java.lang.String getPreviewSizeImageUrl() { + return previewSizeImageUrl; + } + + /** + * Output only. The url to the preview size version of the image. + * @param previewSizeImageUrl previewSizeImageUrl or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesMediaImage setPreviewSizeImageUrl(java.lang.String previewSizeImageUrl) { + this.previewSizeImageUrl = previewSizeImageUrl; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesMediaImage set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesMediaImage) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesMediaImage clone() { + return (GoogleAdsSearchads360V23ResourcesMediaImage) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesMediaVideo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesMediaVideo.java new file mode 100644 index 00000000000..cf561e22ee9 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesMediaVideo.java @@ -0,0 +1,151 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Encapsulates a Video. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesMediaVideo extends com.google.api.client.json.GenericJson { + + /** + * Output only. The duration of the Video in milliseconds. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long adDurationMillis; + + /** + * Output only. The Advertising Digital Identification code for this video, as defined by the + * American Association of Advertising Agencies, used mainly for television commercials. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String advertisingIdCode; + + /** + * Output only. The Industry Standard Commercial Identifier code for this video, used mainly for + * television commercials. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String isciCode; + + /** + * Immutable. The YouTube video ID (as seen in YouTube URLs). Adding prefix + * "https://www.youtube.com/watch?v=" to this ID will get the YouTube streaming URL for this + * video. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String youtubeVideoId; + + /** + * Output only. The duration of the Video in milliseconds. + * @return value or {@code null} for none + */ + public java.lang.Long getAdDurationMillis() { + return adDurationMillis; + } + + /** + * Output only. The duration of the Video in milliseconds. + * @param adDurationMillis adDurationMillis or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesMediaVideo setAdDurationMillis(java.lang.Long adDurationMillis) { + this.adDurationMillis = adDurationMillis; + return this; + } + + /** + * Output only. The Advertising Digital Identification code for this video, as defined by the + * American Association of Advertising Agencies, used mainly for television commercials. + * @return value or {@code null} for none + */ + public java.lang.String getAdvertisingIdCode() { + return advertisingIdCode; + } + + /** + * Output only. The Advertising Digital Identification code for this video, as defined by the + * American Association of Advertising Agencies, used mainly for television commercials. + * @param advertisingIdCode advertisingIdCode or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesMediaVideo setAdvertisingIdCode(java.lang.String advertisingIdCode) { + this.advertisingIdCode = advertisingIdCode; + return this; + } + + /** + * Output only. The Industry Standard Commercial Identifier code for this video, used mainly for + * television commercials. + * @return value or {@code null} for none + */ + public java.lang.String getIsciCode() { + return isciCode; + } + + /** + * Output only. The Industry Standard Commercial Identifier code for this video, used mainly for + * television commercials. + * @param isciCode isciCode or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesMediaVideo setIsciCode(java.lang.String isciCode) { + this.isciCode = isciCode; + return this; + } + + /** + * Immutable. The YouTube video ID (as seen in YouTube URLs). Adding prefix + * "https://www.youtube.com/watch?v=" to this ID will get the YouTube streaming URL for this + * video. + * @return value or {@code null} for none + */ + public java.lang.String getYoutubeVideoId() { + return youtubeVideoId; + } + + /** + * Immutable. The YouTube video ID (as seen in YouTube URLs). Adding prefix + * "https://www.youtube.com/watch?v=" to this ID will get the YouTube streaming URL for this + * video. + * @param youtubeVideoId youtubeVideoId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesMediaVideo setYoutubeVideoId(java.lang.String youtubeVideoId) { + this.youtubeVideoId = youtubeVideoId; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesMediaVideo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesMediaVideo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesMediaVideo clone() { + return (GoogleAdsSearchads360V23ResourcesMediaVideo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesMerchantCenterIdentifier.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesMerchantCenterIdentifier.java new file mode 100644 index 00000000000..f4124199e1e --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesMerchantCenterIdentifier.java @@ -0,0 +1,73 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The identifier for Google Merchant Center account + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesMerchantCenterIdentifier extends com.google.api.client.json.GenericJson { + + /** + * Immutable. The customer ID of the Google Merchant Center account. This field is required and + * should not be empty when creating a new Merchant Center link. It is unable to be modified after + * the creation of the link. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long merchantCenterId; + + /** + * Immutable. The customer ID of the Google Merchant Center account. This field is required and + * should not be empty when creating a new Merchant Center link. It is unable to be modified after + * the creation of the link. + * @return value or {@code null} for none + */ + public java.lang.Long getMerchantCenterId() { + return merchantCenterId; + } + + /** + * Immutable. The customer ID of the Google Merchant Center account. This field is required and + * should not be empty when creating a new Merchant Center link. It is unable to be modified after + * the creation of the link. + * @param merchantCenterId merchantCenterId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesMerchantCenterIdentifier setMerchantCenterId(java.lang.Long merchantCenterId) { + this.merchantCenterId = merchantCenterId; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesMerchantCenterIdentifier set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesMerchantCenterIdentifier) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesMerchantCenterIdentifier clone() { + return (GoogleAdsSearchads360V23ResourcesMerchantCenterIdentifier) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesMerchantCenterLinkInvitationIdentifier.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesMerchantCenterLinkInvitationIdentifier.java new file mode 100644 index 00000000000..6be209fc795 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesMerchantCenterLinkInvitationIdentifier.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The identifier for Merchant Center Account. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesMerchantCenterLinkInvitationIdentifier extends com.google.api.client.json.GenericJson { + + /** + * Output only. The Merchant Center id of the Merchant account. This field is read only + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long merchantCenterId; + + /** + * Output only. The Merchant Center id of the Merchant account. This field is read only + * @return value or {@code null} for none + */ + public java.lang.Long getMerchantCenterId() { + return merchantCenterId; + } + + /** + * Output only. The Merchant Center id of the Merchant account. This field is read only + * @param merchantCenterId merchantCenterId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesMerchantCenterLinkInvitationIdentifier setMerchantCenterId(java.lang.Long merchantCenterId) { + this.merchantCenterId = merchantCenterId; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesMerchantCenterLinkInvitationIdentifier set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesMerchantCenterLinkInvitationIdentifier) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesMerchantCenterLinkInvitationIdentifier clone() { + return (GoogleAdsSearchads360V23ResourcesMerchantCenterLinkInvitationIdentifier) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesMessageDetails.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesMessageDetails.java new file mode 100644 index 00000000000..dadc3e7bb5a --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesMessageDetails.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Represents details of text message in case of email, message or SMS. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesMessageDetails extends com.google.api.client.json.GenericJson { + + /** + * Output only. URL to the SMS or email attachments. These URLs can be used to download the + * contents of the attachment by using the developer token. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List attachmentUrls; + + /** + * Output only. Textual content of the message. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String text; + + /** + * Output only. URL to the SMS or email attachments. These URLs can be used to download the + * contents of the attachment by using the developer token. + * @return value or {@code null} for none + */ + public java.util.List getAttachmentUrls() { + return attachmentUrls; + } + + /** + * Output only. URL to the SMS or email attachments. These URLs can be used to download the + * contents of the attachment by using the developer token. + * @param attachmentUrls attachmentUrls or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesMessageDetails setAttachmentUrls(java.util.List attachmentUrls) { + this.attachmentUrls = attachmentUrls; + return this; + } + + /** + * Output only. Textual content of the message. + * @return value or {@code null} for none + */ + public java.lang.String getText() { + return text; + } + + /** + * Output only. Textual content of the message. + * @param text text or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesMessageDetails setText(java.lang.String text) { + this.text = text; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesMessageDetails set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesMessageDetails) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesMessageDetails clone() { + return (GoogleAdsSearchads360V23ResourcesMessageDetails) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesMobileAppCategoryConstant.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesMobileAppCategoryConstant.java new file mode 100644 index 00000000000..406770b786a --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesMobileAppCategoryConstant.java @@ -0,0 +1,118 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A mobile application category constant. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesMobileAppCategoryConstant extends com.google.api.client.json.GenericJson { + + /** + * Output only. The ID of the mobile app category constant. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer id; + + /** + * Output only. Mobile app category name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * Output only. The resource name of the mobile app category constant. Mobile app category + * constant resource names have the form: `mobileAppCategoryConstants/{mobile_app_category_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. The ID of the mobile app category constant. + * @return value or {@code null} for none + */ + public java.lang.Integer getId() { + return id; + } + + /** + * Output only. The ID of the mobile app category constant. + * @param id id or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesMobileAppCategoryConstant setId(java.lang.Integer id) { + this.id = id; + return this; + } + + /** + * Output only. Mobile app category name. + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * Output only. Mobile app category name. + * @param name name or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesMobileAppCategoryConstant setName(java.lang.String name) { + this.name = name; + return this; + } + + /** + * Output only. The resource name of the mobile app category constant. Mobile app category + * constant resource names have the form: `mobileAppCategoryConstants/{mobile_app_category_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Output only. The resource name of the mobile app category constant. Mobile app category + * constant resource names have the form: `mobileAppCategoryConstants/{mobile_app_category_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesMobileAppCategoryConstant setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesMobileAppCategoryConstant set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesMobileAppCategoryConstant) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesMobileAppCategoryConstant clone() { + return (GoogleAdsSearchads360V23ResourcesMobileAppCategoryConstant) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesMobileDeviceConstant.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesMobileDeviceConstant.java new file mode 100644 index 00000000000..8fae21ebf42 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesMobileDeviceConstant.java @@ -0,0 +1,190 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A mobile device constant. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesMobileDeviceConstant extends com.google.api.client.json.GenericJson { + + /** + * Output only. The ID of the mobile device constant. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long id; + + /** + * Output only. The manufacturer of the mobile device. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String manufacturerName; + + /** + * Output only. The name of the mobile device. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * Output only. The operating system of the mobile device. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String operatingSystemName; + + /** + * Output only. The resource name of the mobile device constant. Mobile device constant resource + * names have the form: `mobileDeviceConstants/{criterion_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. The type of mobile device. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String type; + + /** + * Output only. The ID of the mobile device constant. + * @return value or {@code null} for none + */ + public java.lang.Long getId() { + return id; + } + + /** + * Output only. The ID of the mobile device constant. + * @param id id or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesMobileDeviceConstant setId(java.lang.Long id) { + this.id = id; + return this; + } + + /** + * Output only. The manufacturer of the mobile device. + * @return value or {@code null} for none + */ + public java.lang.String getManufacturerName() { + return manufacturerName; + } + + /** + * Output only. The manufacturer of the mobile device. + * @param manufacturerName manufacturerName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesMobileDeviceConstant setManufacturerName(java.lang.String manufacturerName) { + this.manufacturerName = manufacturerName; + return this; + } + + /** + * Output only. The name of the mobile device. + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * Output only. The name of the mobile device. + * @param name name or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesMobileDeviceConstant setName(java.lang.String name) { + this.name = name; + return this; + } + + /** + * Output only. The operating system of the mobile device. + * @return value or {@code null} for none + */ + public java.lang.String getOperatingSystemName() { + return operatingSystemName; + } + + /** + * Output only. The operating system of the mobile device. + * @param operatingSystemName operatingSystemName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesMobileDeviceConstant setOperatingSystemName(java.lang.String operatingSystemName) { + this.operatingSystemName = operatingSystemName; + return this; + } + + /** + * Output only. The resource name of the mobile device constant. Mobile device constant resource + * names have the form: `mobileDeviceConstants/{criterion_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Output only. The resource name of the mobile device constant. Mobile device constant resource + * names have the form: `mobileDeviceConstants/{criterion_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesMobileDeviceConstant setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Output only. The type of mobile device. + * @return value or {@code null} for none + */ + public java.lang.String getType() { + return type; + } + + /** + * Output only. The type of mobile device. + * @param type type or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesMobileDeviceConstant setType(java.lang.String type) { + this.type = type; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesMobileDeviceConstant set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesMobileDeviceConstant) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesMobileDeviceConstant clone() { + return (GoogleAdsSearchads360V23ResourcesMobileDeviceConstant) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesNote.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesNote.java new file mode 100644 index 00000000000..e51609365e2 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesNote.java @@ -0,0 +1,95 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Represents a note added to a lead by the advertiser. Advertisers can edit notes, which will reset + * edit time and change description. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesNote extends com.google.api.client.json.GenericJson { + + /** + * Output only. Content of lead note. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String description; + + /** + * Output only. The date time when lead note was edited. The format is "YYYY-MM-DD HH:MM:SS" in + * the Google Ads account's timezone. Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String editDateTime; + + /** + * Output only. Content of lead note. + * @return value or {@code null} for none + */ + public java.lang.String getDescription() { + return description; + } + + /** + * Output only. Content of lead note. + * @param description description or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesNote setDescription(java.lang.String description) { + this.description = description; + return this; + } + + /** + * Output only. The date time when lead note was edited. The format is "YYYY-MM-DD HH:MM:SS" in + * the Google Ads account's timezone. Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" + * @return value or {@code null} for none + */ + public java.lang.String getEditDateTime() { + return editDateTime; + } + + /** + * Output only. The date time when lead note was edited. The format is "YYYY-MM-DD HH:MM:SS" in + * the Google Ads account's timezone. Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" + * @param editDateTime editDateTime or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesNote setEditDateTime(java.lang.String editDateTime) { + this.editDateTime = editDateTime; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesNote set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesNote) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesNote clone() { + return (GoogleAdsSearchads360V23ResourcesNote) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesOfflineConversionAlert.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesOfflineConversionAlert.java new file mode 100644 index 00000000000..6e34795fd18 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesOfflineConversionAlert.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Alert for offline conversion client summary. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesOfflineConversionAlert extends com.google.api.client.json.GenericJson { + + /** + * Output only. Error for offline conversion client alert. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesOfflineConversionError error; + + /** + * Output only. Percentage of the error, the range of this field should be [0, 1.0]. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double errorPercentage; + + /** + * Output only. Error for offline conversion client alert. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesOfflineConversionError getError() { + return error; + } + + /** + * Output only. Error for offline conversion client alert. + * @param error error or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesOfflineConversionAlert setError(GoogleAdsSearchads360V23ResourcesOfflineConversionError error) { + this.error = error; + return this; + } + + /** + * Output only. Percentage of the error, the range of this field should be [0, 1.0]. + * @return value or {@code null} for none + */ + public java.lang.Double getErrorPercentage() { + return errorPercentage; + } + + /** + * Output only. Percentage of the error, the range of this field should be [0, 1.0]. + * @param errorPercentage errorPercentage or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesOfflineConversionAlert setErrorPercentage(java.lang.Double errorPercentage) { + this.errorPercentage = errorPercentage; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesOfflineConversionAlert set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesOfflineConversionAlert) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesOfflineConversionAlert clone() { + return (GoogleAdsSearchads360V23ResourcesOfflineConversionAlert) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesOfflineConversionError.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesOfflineConversionError.java new file mode 100644 index 00000000000..918087de074 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesOfflineConversionError.java @@ -0,0 +1,283 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Possible errors for offline conversion client summary. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesOfflineConversionError extends com.google.api.client.json.GenericJson { + + /** + * Output only. Collection size error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String collectionSizeError; + + /** + * Output only. Conversion adjustment upload error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String conversionAdjustmentUploadError; + + /** + * Output only. Conversion upload error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String conversionUploadError; + + /** + * Output only. Date error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String dateError; + + /** + * Output only. Distinct error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String distinctError; + + /** + * Output only. Field error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String fieldError; + + /** + * Output only. Mutate error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String mutateError; + + /** + * Output only. Not allowlisted error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String notAllowlistedError; + + /** + * Output only. String format error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String stringFormatError; + + /** + * Output only. String length error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String stringLengthError; + + /** + * Output only. Collection size error. + * @return value or {@code null} for none + */ + public java.lang.String getCollectionSizeError() { + return collectionSizeError; + } + + /** + * Output only. Collection size error. + * @param collectionSizeError collectionSizeError or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesOfflineConversionError setCollectionSizeError(java.lang.String collectionSizeError) { + this.collectionSizeError = collectionSizeError; + return this; + } + + /** + * Output only. Conversion adjustment upload error. + * @return value or {@code null} for none + */ + public java.lang.String getConversionAdjustmentUploadError() { + return conversionAdjustmentUploadError; + } + + /** + * Output only. Conversion adjustment upload error. + * @param conversionAdjustmentUploadError conversionAdjustmentUploadError or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesOfflineConversionError setConversionAdjustmentUploadError(java.lang.String conversionAdjustmentUploadError) { + this.conversionAdjustmentUploadError = conversionAdjustmentUploadError; + return this; + } + + /** + * Output only. Conversion upload error. + * @return value or {@code null} for none + */ + public java.lang.String getConversionUploadError() { + return conversionUploadError; + } + + /** + * Output only. Conversion upload error. + * @param conversionUploadError conversionUploadError or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesOfflineConversionError setConversionUploadError(java.lang.String conversionUploadError) { + this.conversionUploadError = conversionUploadError; + return this; + } + + /** + * Output only. Date error. + * @return value or {@code null} for none + */ + public java.lang.String getDateError() { + return dateError; + } + + /** + * Output only. Date error. + * @param dateError dateError or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesOfflineConversionError setDateError(java.lang.String dateError) { + this.dateError = dateError; + return this; + } + + /** + * Output only. Distinct error. + * @return value or {@code null} for none + */ + public java.lang.String getDistinctError() { + return distinctError; + } + + /** + * Output only. Distinct error. + * @param distinctError distinctError or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesOfflineConversionError setDistinctError(java.lang.String distinctError) { + this.distinctError = distinctError; + return this; + } + + /** + * Output only. Field error. + * @return value or {@code null} for none + */ + public java.lang.String getFieldError() { + return fieldError; + } + + /** + * Output only. Field error. + * @param fieldError fieldError or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesOfflineConversionError setFieldError(java.lang.String fieldError) { + this.fieldError = fieldError; + return this; + } + + /** + * Output only. Mutate error. + * @return value or {@code null} for none + */ + public java.lang.String getMutateError() { + return mutateError; + } + + /** + * Output only. Mutate error. + * @param mutateError mutateError or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesOfflineConversionError setMutateError(java.lang.String mutateError) { + this.mutateError = mutateError; + return this; + } + + /** + * Output only. Not allowlisted error. + * @return value or {@code null} for none + */ + public java.lang.String getNotAllowlistedError() { + return notAllowlistedError; + } + + /** + * Output only. Not allowlisted error. + * @param notAllowlistedError notAllowlistedError or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesOfflineConversionError setNotAllowlistedError(java.lang.String notAllowlistedError) { + this.notAllowlistedError = notAllowlistedError; + return this; + } + + /** + * Output only. String format error. + * @return value or {@code null} for none + */ + public java.lang.String getStringFormatError() { + return stringFormatError; + } + + /** + * Output only. String format error. + * @param stringFormatError stringFormatError or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesOfflineConversionError setStringFormatError(java.lang.String stringFormatError) { + this.stringFormatError = stringFormatError; + return this; + } + + /** + * Output only. String length error. + * @return value or {@code null} for none + */ + public java.lang.String getStringLengthError() { + return stringLengthError; + } + + /** + * Output only. String length error. + * @param stringLengthError stringLengthError or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesOfflineConversionError setStringLengthError(java.lang.String stringLengthError) { + this.stringLengthError = stringLengthError; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesOfflineConversionError set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesOfflineConversionError) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesOfflineConversionError clone() { + return (GoogleAdsSearchads360V23ResourcesOfflineConversionError) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesOfflineConversionSummary.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesOfflineConversionSummary.java new file mode 100644 index 00000000000..b2c674f8378 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesOfflineConversionSummary.java @@ -0,0 +1,163 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Historical upload summary, grouped by upload date or job. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesOfflineConversionSummary extends com.google.api.client.json.GenericJson { + + /** + * Output only. Total count of failed event. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long failedCount; + + /** + * Output only. Dimension key for last N jobs. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long jobId; + + /** + * Output only. Total count of pending uploaded event. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long pendingCount; + + /** + * Output only. Total count of successful event. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long successfulCount; + + /** + * Output only. Dimension key for last N days. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String uploadDate; + + /** + * Output only. Total count of failed event. + * @return value or {@code null} for none + */ + public java.lang.Long getFailedCount() { + return failedCount; + } + + /** + * Output only. Total count of failed event. + * @param failedCount failedCount or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesOfflineConversionSummary setFailedCount(java.lang.Long failedCount) { + this.failedCount = failedCount; + return this; + } + + /** + * Output only. Dimension key for last N jobs. + * @return value or {@code null} for none + */ + public java.lang.Long getJobId() { + return jobId; + } + + /** + * Output only. Dimension key for last N jobs. + * @param jobId jobId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesOfflineConversionSummary setJobId(java.lang.Long jobId) { + this.jobId = jobId; + return this; + } + + /** + * Output only. Total count of pending uploaded event. + * @return value or {@code null} for none + */ + public java.lang.Long getPendingCount() { + return pendingCount; + } + + /** + * Output only. Total count of pending uploaded event. + * @param pendingCount pendingCount or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesOfflineConversionSummary setPendingCount(java.lang.Long pendingCount) { + this.pendingCount = pendingCount; + return this; + } + + /** + * Output only. Total count of successful event. + * @return value or {@code null} for none + */ + public java.lang.Long getSuccessfulCount() { + return successfulCount; + } + + /** + * Output only. Total count of successful event. + * @param successfulCount successfulCount or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesOfflineConversionSummary setSuccessfulCount(java.lang.Long successfulCount) { + this.successfulCount = successfulCount; + return this; + } + + /** + * Output only. Dimension key for last N days. + * @return value or {@code null} for none + */ + public java.lang.String getUploadDate() { + return uploadDate; + } + + /** + * Output only. Dimension key for last N days. + * @param uploadDate uploadDate or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesOfflineConversionSummary setUploadDate(java.lang.String uploadDate) { + this.uploadDate = uploadDate; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesOfflineConversionSummary set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesOfflineConversionSummary) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesOfflineConversionSummary clone() { + return (GoogleAdsSearchads360V23ResourcesOfflineConversionSummary) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesOfflineConversionUploadClientSummary.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesOfflineConversionUploadClientSummary.java new file mode 100644 index 00000000000..023086a7d22 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesOfflineConversionUploadClientSummary.java @@ -0,0 +1,364 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Offline conversion upload summary at customer level. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesOfflineConversionUploadClientSummary extends com.google.api.client.json.GenericJson { + + /** + * Output only. Details for each error code. Alerts are generated from most recent calendar day + * with upload stats. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List alerts; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ResourcesOfflineConversionAlert used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ResourcesOfflineConversionAlert.class); + } + + /** + * Output only. Client type of the upload event. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String client; + + /** + * Output only. Summary of history stats by last N days. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List dailySummaries; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ResourcesOfflineConversionSummary used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ResourcesOfflineConversionSummary.class); + } + + /** + * Output only. Summary of history stats by last N jobs. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List jobSummaries; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ResourcesOfflineConversionSummary used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ResourcesOfflineConversionSummary.class); + } + + /** + * Output only. Date for the latest upload batch. The format is "yyyy-mm-dd hh:mm:ss", and it's in + * the time zone of the Google Ads account. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String lastUploadDateTime; + + /** + * Output only. Total count of pending uploaded events. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long pendingEventCount; + + /** + * Output only. The ratio of total pending events to total events. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double pendingRate; + + /** + * Output only. The resource name of the offline conversion upload summary at customer level. + * Offline conversion upload client summary resource names have the form: + * `customers/{customer_id}/offlineConversionUploadClientSummaries/{client}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. Overall status for offline conversion client summary. Status is generated from + * most recent calendar day with upload stats. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String status; + + /** + * Output only. Successful rate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double successRate; + + /** + * Output only. Total count of successful uploaded events. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long successfulEventCount; + + /** + * Output only. Total count of uploaded events. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long totalEventCount; + + /** + * Output only. Details for each error code. Alerts are generated from most recent calendar day + * with upload stats. + * @return value or {@code null} for none + */ + public java.util.List getAlerts() { + return alerts; + } + + /** + * Output only. Details for each error code. Alerts are generated from most recent calendar day + * with upload stats. + * @param alerts alerts or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesOfflineConversionUploadClientSummary setAlerts(java.util.List alerts) { + this.alerts = alerts; + return this; + } + + /** + * Output only. Client type of the upload event. + * @return value or {@code null} for none + */ + public java.lang.String getClient() { + return client; + } + + /** + * Output only. Client type of the upload event. + * @param client client or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesOfflineConversionUploadClientSummary setClient(java.lang.String client) { + this.client = client; + return this; + } + + /** + * Output only. Summary of history stats by last N days. + * @return value or {@code null} for none + */ + public java.util.List getDailySummaries() { + return dailySummaries; + } + + /** + * Output only. Summary of history stats by last N days. + * @param dailySummaries dailySummaries or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesOfflineConversionUploadClientSummary setDailySummaries(java.util.List dailySummaries) { + this.dailySummaries = dailySummaries; + return this; + } + + /** + * Output only. Summary of history stats by last N jobs. + * @return value or {@code null} for none + */ + public java.util.List getJobSummaries() { + return jobSummaries; + } + + /** + * Output only. Summary of history stats by last N jobs. + * @param jobSummaries jobSummaries or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesOfflineConversionUploadClientSummary setJobSummaries(java.util.List jobSummaries) { + this.jobSummaries = jobSummaries; + return this; + } + + /** + * Output only. Date for the latest upload batch. The format is "yyyy-mm-dd hh:mm:ss", and it's in + * the time zone of the Google Ads account. + * @return value or {@code null} for none + */ + public java.lang.String getLastUploadDateTime() { + return lastUploadDateTime; + } + + /** + * Output only. Date for the latest upload batch. The format is "yyyy-mm-dd hh:mm:ss", and it's in + * the time zone of the Google Ads account. + * @param lastUploadDateTime lastUploadDateTime or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesOfflineConversionUploadClientSummary setLastUploadDateTime(java.lang.String lastUploadDateTime) { + this.lastUploadDateTime = lastUploadDateTime; + return this; + } + + /** + * Output only. Total count of pending uploaded events. + * @return value or {@code null} for none + */ + public java.lang.Long getPendingEventCount() { + return pendingEventCount; + } + + /** + * Output only. Total count of pending uploaded events. + * @param pendingEventCount pendingEventCount or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesOfflineConversionUploadClientSummary setPendingEventCount(java.lang.Long pendingEventCount) { + this.pendingEventCount = pendingEventCount; + return this; + } + + /** + * Output only. The ratio of total pending events to total events. + * @return value or {@code null} for none + */ + public java.lang.Double getPendingRate() { + return pendingRate; + } + + /** + * Output only. The ratio of total pending events to total events. + * @param pendingRate pendingRate or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesOfflineConversionUploadClientSummary setPendingRate(java.lang.Double pendingRate) { + this.pendingRate = pendingRate; + return this; + } + + /** + * Output only. The resource name of the offline conversion upload summary at customer level. + * Offline conversion upload client summary resource names have the form: + * `customers/{customer_id}/offlineConversionUploadClientSummaries/{client}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Output only. The resource name of the offline conversion upload summary at customer level. + * Offline conversion upload client summary resource names have the form: + * `customers/{customer_id}/offlineConversionUploadClientSummaries/{client}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesOfflineConversionUploadClientSummary setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Output only. Overall status for offline conversion client summary. Status is generated from + * most recent calendar day with upload stats. + * @return value or {@code null} for none + */ + public java.lang.String getStatus() { + return status; + } + + /** + * Output only. Overall status for offline conversion client summary. Status is generated from + * most recent calendar day with upload stats. + * @param status status or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesOfflineConversionUploadClientSummary setStatus(java.lang.String status) { + this.status = status; + return this; + } + + /** + * Output only. Successful rate. + * @return value or {@code null} for none + */ + public java.lang.Double getSuccessRate() { + return successRate; + } + + /** + * Output only. Successful rate. + * @param successRate successRate or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesOfflineConversionUploadClientSummary setSuccessRate(java.lang.Double successRate) { + this.successRate = successRate; + return this; + } + + /** + * Output only. Total count of successful uploaded events. + * @return value or {@code null} for none + */ + public java.lang.Long getSuccessfulEventCount() { + return successfulEventCount; + } + + /** + * Output only. Total count of successful uploaded events. + * @param successfulEventCount successfulEventCount or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesOfflineConversionUploadClientSummary setSuccessfulEventCount(java.lang.Long successfulEventCount) { + this.successfulEventCount = successfulEventCount; + return this; + } + + /** + * Output only. Total count of uploaded events. + * @return value or {@code null} for none + */ + public java.lang.Long getTotalEventCount() { + return totalEventCount; + } + + /** + * Output only. Total count of uploaded events. + * @param totalEventCount totalEventCount or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesOfflineConversionUploadClientSummary setTotalEventCount(java.lang.Long totalEventCount) { + this.totalEventCount = totalEventCount; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesOfflineConversionUploadClientSummary set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesOfflineConversionUploadClientSummary) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesOfflineConversionUploadClientSummary clone() { + return (GoogleAdsSearchads360V23ResourcesOfflineConversionUploadClientSummary) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesOfflineConversionUploadConversionActionSummary.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesOfflineConversionUploadConversionActionSummary.java new file mode 100644 index 00000000000..544381fa68f --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesOfflineConversionUploadConversionActionSummary.java @@ -0,0 +1,367 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Offline conversion upload summary at conversion action level. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesOfflineConversionUploadConversionActionSummary extends com.google.api.client.json.GenericJson { + + /** + * Output only. Details for each error code. Alerts are generated from most recent calendar day + * with upload stats. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List alerts; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ResourcesOfflineConversionAlert used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ResourcesOfflineConversionAlert.class); + } + + /** + * Output only. Client type of the upload event. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String client; + + /** + * Output only. Conversion action id. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long conversionActionId; + + /** + * Output only. The name of the conversion action. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String conversionActionName; + + /** + * Output only. Summary of history stats by last N days. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List dailySummaries; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ResourcesOfflineConversionSummary used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ResourcesOfflineConversionSummary.class); + } + + /** + * Output only. Summary of history stats by last N jobs. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List jobSummaries; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ResourcesOfflineConversionSummary used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ResourcesOfflineConversionSummary.class); + } + + /** + * Output only. Date for the latest upload batch. The format is "yyyy-mm-dd hh:mm:ss", and it's in + * the time zone of the Google Ads account. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String lastUploadDateTime; + + /** + * Output only. Total count of pending uploaded events. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long pendingEventCount; + + /** + * Output only. The resource name of the offline conversion upload summary at conversion action + * level. Offline conversion upload conversion action summary resource names have the form: `custo + * mers/{customer_id}/offlineConversionUploadConversionActionSummaries/{conversion_action_id}~{cli + * ent}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. Overall status for offline conversion upload conversion action summary. Status is + * generated from most recent calendar day with upload stats. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String status; + + /** + * Output only. Total count of successful uploaded events. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long successfulEventCount; + + /** + * Output only. Total count of uploaded events. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long totalEventCount; + + /** + * Output only. Details for each error code. Alerts are generated from most recent calendar day + * with upload stats. + * @return value or {@code null} for none + */ + public java.util.List getAlerts() { + return alerts; + } + + /** + * Output only. Details for each error code. Alerts are generated from most recent calendar day + * with upload stats. + * @param alerts alerts or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesOfflineConversionUploadConversionActionSummary setAlerts(java.util.List alerts) { + this.alerts = alerts; + return this; + } + + /** + * Output only. Client type of the upload event. + * @return value or {@code null} for none + */ + public java.lang.String getClient() { + return client; + } + + /** + * Output only. Client type of the upload event. + * @param client client or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesOfflineConversionUploadConversionActionSummary setClient(java.lang.String client) { + this.client = client; + return this; + } + + /** + * Output only. Conversion action id. + * @return value or {@code null} for none + */ + public java.lang.Long getConversionActionId() { + return conversionActionId; + } + + /** + * Output only. Conversion action id. + * @param conversionActionId conversionActionId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesOfflineConversionUploadConversionActionSummary setConversionActionId(java.lang.Long conversionActionId) { + this.conversionActionId = conversionActionId; + return this; + } + + /** + * Output only. The name of the conversion action. + * @return value or {@code null} for none + */ + public java.lang.String getConversionActionName() { + return conversionActionName; + } + + /** + * Output only. The name of the conversion action. + * @param conversionActionName conversionActionName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesOfflineConversionUploadConversionActionSummary setConversionActionName(java.lang.String conversionActionName) { + this.conversionActionName = conversionActionName; + return this; + } + + /** + * Output only. Summary of history stats by last N days. + * @return value or {@code null} for none + */ + public java.util.List getDailySummaries() { + return dailySummaries; + } + + /** + * Output only. Summary of history stats by last N days. + * @param dailySummaries dailySummaries or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesOfflineConversionUploadConversionActionSummary setDailySummaries(java.util.List dailySummaries) { + this.dailySummaries = dailySummaries; + return this; + } + + /** + * Output only. Summary of history stats by last N jobs. + * @return value or {@code null} for none + */ + public java.util.List getJobSummaries() { + return jobSummaries; + } + + /** + * Output only. Summary of history stats by last N jobs. + * @param jobSummaries jobSummaries or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesOfflineConversionUploadConversionActionSummary setJobSummaries(java.util.List jobSummaries) { + this.jobSummaries = jobSummaries; + return this; + } + + /** + * Output only. Date for the latest upload batch. The format is "yyyy-mm-dd hh:mm:ss", and it's in + * the time zone of the Google Ads account. + * @return value or {@code null} for none + */ + public java.lang.String getLastUploadDateTime() { + return lastUploadDateTime; + } + + /** + * Output only. Date for the latest upload batch. The format is "yyyy-mm-dd hh:mm:ss", and it's in + * the time zone of the Google Ads account. + * @param lastUploadDateTime lastUploadDateTime or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesOfflineConversionUploadConversionActionSummary setLastUploadDateTime(java.lang.String lastUploadDateTime) { + this.lastUploadDateTime = lastUploadDateTime; + return this; + } + + /** + * Output only. Total count of pending uploaded events. + * @return value or {@code null} for none + */ + public java.lang.Long getPendingEventCount() { + return pendingEventCount; + } + + /** + * Output only. Total count of pending uploaded events. + * @param pendingEventCount pendingEventCount or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesOfflineConversionUploadConversionActionSummary setPendingEventCount(java.lang.Long pendingEventCount) { + this.pendingEventCount = pendingEventCount; + return this; + } + + /** + * Output only. The resource name of the offline conversion upload summary at conversion action + * level. Offline conversion upload conversion action summary resource names have the form: `custo + * mers/{customer_id}/offlineConversionUploadConversionActionSummaries/{conversion_action_id}~{cli + * ent}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Output only. The resource name of the offline conversion upload summary at conversion action + * level. Offline conversion upload conversion action summary resource names have the form: `custo + * mers/{customer_id}/offlineConversionUploadConversionActionSummaries/{conversion_action_id}~{cli + * ent}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesOfflineConversionUploadConversionActionSummary setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Output only. Overall status for offline conversion upload conversion action summary. Status is + * generated from most recent calendar day with upload stats. + * @return value or {@code null} for none + */ + public java.lang.String getStatus() { + return status; + } + + /** + * Output only. Overall status for offline conversion upload conversion action summary. Status is + * generated from most recent calendar day with upload stats. + * @param status status or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesOfflineConversionUploadConversionActionSummary setStatus(java.lang.String status) { + this.status = status; + return this; + } + + /** + * Output only. Total count of successful uploaded events. + * @return value or {@code null} for none + */ + public java.lang.Long getSuccessfulEventCount() { + return successfulEventCount; + } + + /** + * Output only. Total count of successful uploaded events. + * @param successfulEventCount successfulEventCount or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesOfflineConversionUploadConversionActionSummary setSuccessfulEventCount(java.lang.Long successfulEventCount) { + this.successfulEventCount = successfulEventCount; + return this; + } + + /** + * Output only. Total count of uploaded events. + * @return value or {@code null} for none + */ + public java.lang.Long getTotalEventCount() { + return totalEventCount; + } + + /** + * Output only. Total count of uploaded events. + * @param totalEventCount totalEventCount or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesOfflineConversionUploadConversionActionSummary setTotalEventCount(java.lang.Long totalEventCount) { + this.totalEventCount = totalEventCount; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesOfflineConversionUploadConversionActionSummary set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesOfflineConversionUploadConversionActionSummary) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesOfflineConversionUploadConversionActionSummary clone() { + return (GoogleAdsSearchads360V23ResourcesOfflineConversionUploadConversionActionSummary) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesOfflineUserDataJob.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesOfflineUserDataJob.java new file mode 100644 index 00000000000..ad865ecfcc7 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesOfflineUserDataJob.java @@ -0,0 +1,264 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A job containing offline user data of store visitors, or user list members that will be processed + * asynchronously. The uploaded data isn't readable and the processing results of the job can only + * be read using + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesOfflineUserDataJob extends com.google.api.client.json.GenericJson { + + /** + * Immutable. Metadata for data updates to a CRM-based user list. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonCustomerMatchUserListMetadata customerMatchUserListMetadata; + + /** + * Immutable. User specified job ID. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long externalId; + + /** + * Output only. Reason for the processing failure, if status is FAILED. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String failureReason; + + /** + * Output only. ID of this offline user data job. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long id; + + /** + * Output only. Metadata of offline user data job depicting match rate range. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesOfflineUserDataJobMetadata operationMetadata; + + /** + * Immutable. The resource name of the offline user data job. Offline user data job resource names + * have the form: `customers/{customer_id}/offlineUserDataJobs/{offline_user_data_job_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. Status of the job. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String status; + + /** + * Immutable. Metadata for store sales data update. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonStoreSalesMetadata storeSalesMetadata; + + /** + * Immutable. Type of the job. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String type; + + /** + * Immutable. Metadata for data updates to a CRM-based user list. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCustomerMatchUserListMetadata getCustomerMatchUserListMetadata() { + return customerMatchUserListMetadata; + } + + /** + * Immutable. Metadata for data updates to a CRM-based user list. + * @param customerMatchUserListMetadata customerMatchUserListMetadata or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesOfflineUserDataJob setCustomerMatchUserListMetadata(GoogleAdsSearchads360V23CommonCustomerMatchUserListMetadata customerMatchUserListMetadata) { + this.customerMatchUserListMetadata = customerMatchUserListMetadata; + return this; + } + + /** + * Immutable. User specified job ID. + * @return value or {@code null} for none + */ + public java.lang.Long getExternalId() { + return externalId; + } + + /** + * Immutable. User specified job ID. + * @param externalId externalId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesOfflineUserDataJob setExternalId(java.lang.Long externalId) { + this.externalId = externalId; + return this; + } + + /** + * Output only. Reason for the processing failure, if status is FAILED. + * @return value or {@code null} for none + */ + public java.lang.String getFailureReason() { + return failureReason; + } + + /** + * Output only. Reason for the processing failure, if status is FAILED. + * @param failureReason failureReason or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesOfflineUserDataJob setFailureReason(java.lang.String failureReason) { + this.failureReason = failureReason; + return this; + } + + /** + * Output only. ID of this offline user data job. + * @return value or {@code null} for none + */ + public java.lang.Long getId() { + return id; + } + + /** + * Output only. ID of this offline user data job. + * @param id id or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesOfflineUserDataJob setId(java.lang.Long id) { + this.id = id; + return this; + } + + /** + * Output only. Metadata of offline user data job depicting match rate range. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesOfflineUserDataJobMetadata getOperationMetadata() { + return operationMetadata; + } + + /** + * Output only. Metadata of offline user data job depicting match rate range. + * @param operationMetadata operationMetadata or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesOfflineUserDataJob setOperationMetadata(GoogleAdsSearchads360V23ResourcesOfflineUserDataJobMetadata operationMetadata) { + this.operationMetadata = operationMetadata; + return this; + } + + /** + * Immutable. The resource name of the offline user data job. Offline user data job resource names + * have the form: `customers/{customer_id}/offlineUserDataJobs/{offline_user_data_job_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Immutable. The resource name of the offline user data job. Offline user data job resource names + * have the form: `customers/{customer_id}/offlineUserDataJobs/{offline_user_data_job_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesOfflineUserDataJob setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Output only. Status of the job. + * @return value or {@code null} for none + */ + public java.lang.String getStatus() { + return status; + } + + /** + * Output only. Status of the job. + * @param status status or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesOfflineUserDataJob setStatus(java.lang.String status) { + this.status = status; + return this; + } + + /** + * Immutable. Metadata for store sales data update. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonStoreSalesMetadata getStoreSalesMetadata() { + return storeSalesMetadata; + } + + /** + * Immutable. Metadata for store sales data update. + * @param storeSalesMetadata storeSalesMetadata or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesOfflineUserDataJob setStoreSalesMetadata(GoogleAdsSearchads360V23CommonStoreSalesMetadata storeSalesMetadata) { + this.storeSalesMetadata = storeSalesMetadata; + return this; + } + + /** + * Immutable. Type of the job. + * @return value or {@code null} for none + */ + public java.lang.String getType() { + return type; + } + + /** + * Immutable. Type of the job. + * @param type type or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesOfflineUserDataJob setType(java.lang.String type) { + this.type = type; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesOfflineUserDataJob set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesOfflineUserDataJob) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesOfflineUserDataJob clone() { + return (GoogleAdsSearchads360V23ResourcesOfflineUserDataJob) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesOfflineUserDataJobMetadata.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesOfflineUserDataJobMetadata.java new file mode 100644 index 00000000000..25e9d314e3e --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesOfflineUserDataJobMetadata.java @@ -0,0 +1,73 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Metadata of offline user data job. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesOfflineUserDataJobMetadata extends com.google.api.client.json.GenericJson { + + /** + * Output only. Match rate of the Customer Match user list upload. Describes the estimated match + * rate when the status of the job is "RUNNING" and final match rate when the final match rate is + * available after the status of the job is "SUCCESS/FAILED". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String matchRateRange; + + /** + * Output only. Match rate of the Customer Match user list upload. Describes the estimated match + * rate when the status of the job is "RUNNING" and final match rate when the final match rate is + * available after the status of the job is "SUCCESS/FAILED". + * @return value or {@code null} for none + */ + public java.lang.String getMatchRateRange() { + return matchRateRange; + } + + /** + * Output only. Match rate of the Customer Match user list upload. Describes the estimated match + * rate when the status of the job is "RUNNING" and final match rate when the final match rate is + * available after the status of the job is "SUCCESS/FAILED". + * @param matchRateRange matchRateRange or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesOfflineUserDataJobMetadata setMatchRateRange(java.lang.String matchRateRange) { + this.matchRateRange = matchRateRange; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesOfflineUserDataJobMetadata set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesOfflineUserDataJobMetadata) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesOfflineUserDataJobMetadata clone() { + return (GoogleAdsSearchads360V23ResourcesOfflineUserDataJobMetadata) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesOperatingSystemVersionConstant.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesOperatingSystemVersionConstant.java new file mode 100644 index 00000000000..90e22edf1ab --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesOperatingSystemVersionConstant.java @@ -0,0 +1,195 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A mobile operating system version or a range of versions, depending on `operator_type`. List of + * available mobile platforms at https://developers.google.com/google-ads/api/reference/data/codes- + * formats#mobile-platforms + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesOperatingSystemVersionConstant extends com.google.api.client.json.GenericJson { + + /** + * Output only. The ID of the operating system version. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long id; + + /** + * Output only. Name of the operating system. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * Output only. Determines whether this constant represents a single version or a range of + * versions. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String operatorType; + + /** + * Output only. The OS Major Version number. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer osMajorVersion; + + /** + * Output only. The OS Minor Version number. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer osMinorVersion; + + /** + * Output only. The resource name of the operating system version constant. Operating system + * version constant resource names have the form: `operatingSystemVersionConstants/{criterion_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. The ID of the operating system version. + * @return value or {@code null} for none + */ + public java.lang.Long getId() { + return id; + } + + /** + * Output only. The ID of the operating system version. + * @param id id or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesOperatingSystemVersionConstant setId(java.lang.Long id) { + this.id = id; + return this; + } + + /** + * Output only. Name of the operating system. + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * Output only. Name of the operating system. + * @param name name or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesOperatingSystemVersionConstant setName(java.lang.String name) { + this.name = name; + return this; + } + + /** + * Output only. Determines whether this constant represents a single version or a range of + * versions. + * @return value or {@code null} for none + */ + public java.lang.String getOperatorType() { + return operatorType; + } + + /** + * Output only. Determines whether this constant represents a single version or a range of + * versions. + * @param operatorType operatorType or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesOperatingSystemVersionConstant setOperatorType(java.lang.String operatorType) { + this.operatorType = operatorType; + return this; + } + + /** + * Output only. The OS Major Version number. + * @return value or {@code null} for none + */ + public java.lang.Integer getOsMajorVersion() { + return osMajorVersion; + } + + /** + * Output only. The OS Major Version number. + * @param osMajorVersion osMajorVersion or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesOperatingSystemVersionConstant setOsMajorVersion(java.lang.Integer osMajorVersion) { + this.osMajorVersion = osMajorVersion; + return this; + } + + /** + * Output only. The OS Minor Version number. + * @return value or {@code null} for none + */ + public java.lang.Integer getOsMinorVersion() { + return osMinorVersion; + } + + /** + * Output only. The OS Minor Version number. + * @param osMinorVersion osMinorVersion or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesOperatingSystemVersionConstant setOsMinorVersion(java.lang.Integer osMinorVersion) { + this.osMinorVersion = osMinorVersion; + return this; + } + + /** + * Output only. The resource name of the operating system version constant. Operating system + * version constant resource names have the form: `operatingSystemVersionConstants/{criterion_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Output only. The resource name of the operating system version constant. Operating system + * version constant resource names have the form: `operatingSystemVersionConstants/{criterion_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesOperatingSystemVersionConstant setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesOperatingSystemVersionConstant set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesOperatingSystemVersionConstant) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesOperatingSystemVersionConstant clone() { + return (GoogleAdsSearchads360V23ResourcesOperatingSystemVersionConstant) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesPaidOrganicSearchTermView.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesPaidOrganicSearchTermView.java new file mode 100644 index 00000000000..61ae2d67e05 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesPaidOrganicSearchTermView.java @@ -0,0 +1,98 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A paid organic search term view providing a view of search stats across ads and organic listings + * aggregated by search term at the ad group level. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesPaidOrganicSearchTermView extends com.google.api.client.json.GenericJson { + + /** + * Output only. The resource name of the search term view. Search term view resource names have + * the form: `customers/{customer_id}/paidOrganicSearchTermViews/{campaign_id}~ + * {ad_group_id}~{URL-base64 search term}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. The search term. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String searchTerm; + + /** + * Output only. The resource name of the search term view. Search term view resource names have + * the form: `customers/{customer_id}/paidOrganicSearchTermViews/{campaign_id}~ + * {ad_group_id}~{URL-base64 search term}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Output only. The resource name of the search term view. Search term view resource names have + * the form: `customers/{customer_id}/paidOrganicSearchTermViews/{campaign_id}~ + * {ad_group_id}~{URL-base64 search term}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesPaidOrganicSearchTermView setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Output only. The search term. + * @return value or {@code null} for none + */ + public java.lang.String getSearchTerm() { + return searchTerm; + } + + /** + * Output only. The search term. + * @param searchTerm searchTerm or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesPaidOrganicSearchTermView setSearchTerm(java.lang.String searchTerm) { + this.searchTerm = searchTerm; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesPaidOrganicSearchTermView set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesPaidOrganicSearchTermView) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesPaidOrganicSearchTermView clone() { + return (GoogleAdsSearchads360V23ResourcesPaidOrganicSearchTermView) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesParentalStatusView.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesParentalStatusView.java new file mode 100644 index 00000000000..47d22e6a2b9 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesParentalStatusView.java @@ -0,0 +1,70 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A parental status view. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesParentalStatusView extends com.google.api.client.json.GenericJson { + + /** + * Output only. The resource name of the parental status view. Parental Status view resource names + * have the form: `customers/{customer_id}/parentalStatusViews/{ad_group_id}~{criterion_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. The resource name of the parental status view. Parental Status view resource names + * have the form: `customers/{customer_id}/parentalStatusViews/{ad_group_id}~{criterion_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Output only. The resource name of the parental status view. Parental Status view resource names + * have the form: `customers/{customer_id}/parentalStatusViews/{ad_group_id}~{criterion_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesParentalStatusView setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesParentalStatusView set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesParentalStatusView) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesParentalStatusView clone() { + return (GoogleAdsSearchads360V23ResourcesParentalStatusView) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesPaymentsAccount.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesPaymentsAccount.java new file mode 100644 index 00000000000..eb8f8fe3604 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesPaymentsAccount.java @@ -0,0 +1,223 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A payments account, which can be used to set up billing for an Ads customer. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesPaymentsAccount extends com.google.api.client.json.GenericJson { + + /** + * Output only. The currency code of the payments account. A subset of the currency codes derived + * from the ISO 4217 standard is supported. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String currencyCode; + + /** + * Output only. The name of the payments account. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * Output only. Paying manager of this payment account. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String payingManagerCustomer; + + /** + * Output only. A 16 digit ID used to identify a payments account. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String paymentsAccountId; + + /** + * Output only. A 12 digit ID used to identify the payments profile associated with the payments + * account. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String paymentsProfileId; + + /** + * Output only. The resource name of the payments account. PaymentsAccount resource names have the + * form: `customers/{customer_id}/paymentsAccounts/{payments_account_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. A secondary payments profile ID present in uncommon situations, for example, when + * a sequential liability agreement has been arranged. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String secondaryPaymentsProfileId; + + /** + * Output only. The currency code of the payments account. A subset of the currency codes derived + * from the ISO 4217 standard is supported. + * @return value or {@code null} for none + */ + public java.lang.String getCurrencyCode() { + return currencyCode; + } + + /** + * Output only. The currency code of the payments account. A subset of the currency codes derived + * from the ISO 4217 standard is supported. + * @param currencyCode currencyCode or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesPaymentsAccount setCurrencyCode(java.lang.String currencyCode) { + this.currencyCode = currencyCode; + return this; + } + + /** + * Output only. The name of the payments account. + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * Output only. The name of the payments account. + * @param name name or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesPaymentsAccount setName(java.lang.String name) { + this.name = name; + return this; + } + + /** + * Output only. Paying manager of this payment account. + * @return value or {@code null} for none + */ + public java.lang.String getPayingManagerCustomer() { + return payingManagerCustomer; + } + + /** + * Output only. Paying manager of this payment account. + * @param payingManagerCustomer payingManagerCustomer or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesPaymentsAccount setPayingManagerCustomer(java.lang.String payingManagerCustomer) { + this.payingManagerCustomer = payingManagerCustomer; + return this; + } + + /** + * Output only. A 16 digit ID used to identify a payments account. + * @return value or {@code null} for none + */ + public java.lang.String getPaymentsAccountId() { + return paymentsAccountId; + } + + /** + * Output only. A 16 digit ID used to identify a payments account. + * @param paymentsAccountId paymentsAccountId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesPaymentsAccount setPaymentsAccountId(java.lang.String paymentsAccountId) { + this.paymentsAccountId = paymentsAccountId; + return this; + } + + /** + * Output only. A 12 digit ID used to identify the payments profile associated with the payments + * account. + * @return value or {@code null} for none + */ + public java.lang.String getPaymentsProfileId() { + return paymentsProfileId; + } + + /** + * Output only. A 12 digit ID used to identify the payments profile associated with the payments + * account. + * @param paymentsProfileId paymentsProfileId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesPaymentsAccount setPaymentsProfileId(java.lang.String paymentsProfileId) { + this.paymentsProfileId = paymentsProfileId; + return this; + } + + /** + * Output only. The resource name of the payments account. PaymentsAccount resource names have the + * form: `customers/{customer_id}/paymentsAccounts/{payments_account_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Output only. The resource name of the payments account. PaymentsAccount resource names have the + * form: `customers/{customer_id}/paymentsAccounts/{payments_account_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesPaymentsAccount setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Output only. A secondary payments profile ID present in uncommon situations, for example, when + * a sequential liability agreement has been arranged. + * @return value or {@code null} for none + */ + public java.lang.String getSecondaryPaymentsProfileId() { + return secondaryPaymentsProfileId; + } + + /** + * Output only. A secondary payments profile ID present in uncommon situations, for example, when + * a sequential liability agreement has been arranged. + * @param secondaryPaymentsProfileId secondaryPaymentsProfileId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesPaymentsAccount setSecondaryPaymentsProfileId(java.lang.String secondaryPaymentsProfileId) { + this.secondaryPaymentsProfileId = secondaryPaymentsProfileId; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesPaymentsAccount set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesPaymentsAccount) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesPaymentsAccount clone() { + return (GoogleAdsSearchads360V23ResourcesPaymentsAccount) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesPerStoreView.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesPerStoreView.java new file mode 100644 index 00000000000..4a44d9ae3f0 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesPerStoreView.java @@ -0,0 +1,287 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A per store view. This view provides per store impression reach and local action conversion stats + * for advertisers. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesPerStoreView extends com.google.api.client.json.GenericJson { + + /** + * Output only. First line of the store's address. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String address1; + + /** + * Output only. Second line of the store's address. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String address2; + + /** + * Output only. The name of the business. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String businessName; + + /** + * Output only. The city where the store is located. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String city; + + /** + * Output only. The two-letter country code for the store's location (e.g., "US"). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String countryCode; + + /** + * Output only. The phone number of the store. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String phoneNumber; + + /** + * Output only. The place ID of the per store view. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String placeId; + + /** + * Output only. The postal code of the store's address. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String postalCode; + + /** + * Output only. The province or state of the store's address. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String province; + + /** + * Output only. The resource name of the per store view. Per Store view resource names have the + * form: `customers/{customer_id}/perStoreViews/{place_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. First line of the store's address. + * @return value or {@code null} for none + */ + public java.lang.String getAddress1() { + return address1; + } + + /** + * Output only. First line of the store's address. + * @param address1 address1 or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesPerStoreView setAddress1(java.lang.String address1) { + this.address1 = address1; + return this; + } + + /** + * Output only. Second line of the store's address. + * @return value or {@code null} for none + */ + public java.lang.String getAddress2() { + return address2; + } + + /** + * Output only. Second line of the store's address. + * @param address2 address2 or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesPerStoreView setAddress2(java.lang.String address2) { + this.address2 = address2; + return this; + } + + /** + * Output only. The name of the business. + * @return value or {@code null} for none + */ + public java.lang.String getBusinessName() { + return businessName; + } + + /** + * Output only. The name of the business. + * @param businessName businessName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesPerStoreView setBusinessName(java.lang.String businessName) { + this.businessName = businessName; + return this; + } + + /** + * Output only. The city where the store is located. + * @return value or {@code null} for none + */ + public java.lang.String getCity() { + return city; + } + + /** + * Output only. The city where the store is located. + * @param city city or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesPerStoreView setCity(java.lang.String city) { + this.city = city; + return this; + } + + /** + * Output only. The two-letter country code for the store's location (e.g., "US"). + * @return value or {@code null} for none + */ + public java.lang.String getCountryCode() { + return countryCode; + } + + /** + * Output only. The two-letter country code for the store's location (e.g., "US"). + * @param countryCode countryCode or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesPerStoreView setCountryCode(java.lang.String countryCode) { + this.countryCode = countryCode; + return this; + } + + /** + * Output only. The phone number of the store. + * @return value or {@code null} for none + */ + public java.lang.String getPhoneNumber() { + return phoneNumber; + } + + /** + * Output only. The phone number of the store. + * @param phoneNumber phoneNumber or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesPerStoreView setPhoneNumber(java.lang.String phoneNumber) { + this.phoneNumber = phoneNumber; + return this; + } + + /** + * Output only. The place ID of the per store view. + * @return value or {@code null} for none + */ + public java.lang.String getPlaceId() { + return placeId; + } + + /** + * Output only. The place ID of the per store view. + * @param placeId placeId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesPerStoreView setPlaceId(java.lang.String placeId) { + this.placeId = placeId; + return this; + } + + /** + * Output only. The postal code of the store's address. + * @return value or {@code null} for none + */ + public java.lang.String getPostalCode() { + return postalCode; + } + + /** + * Output only. The postal code of the store's address. + * @param postalCode postalCode or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesPerStoreView setPostalCode(java.lang.String postalCode) { + this.postalCode = postalCode; + return this; + } + + /** + * Output only. The province or state of the store's address. + * @return value or {@code null} for none + */ + public java.lang.String getProvince() { + return province; + } + + /** + * Output only. The province or state of the store's address. + * @param province province or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesPerStoreView setProvince(java.lang.String province) { + this.province = province; + return this; + } + + /** + * Output only. The resource name of the per store view. Per Store view resource names have the + * form: `customers/{customer_id}/perStoreViews/{place_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Output only. The resource name of the per store view. Per Store view resource names have the + * form: `customers/{customer_id}/perStoreViews/{place_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesPerStoreView setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesPerStoreView set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesPerStoreView) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesPerStoreView clone() { + return (GoogleAdsSearchads360V23ResourcesPerStoreView) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesPerformanceMaxPlacementView.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesPerformanceMaxPlacementView.java new file mode 100644 index 00000000000..d62702f0af4 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesPerformanceMaxPlacementView.java @@ -0,0 +1,181 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A view with impression metrics for Performance Max campaign placements. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesPerformanceMaxPlacementView extends com.google.api.client.json.GenericJson { + + /** + * Output only. The name displayed to represent the placement, such as the URL name for websites, + * YouTube video name for YouTube videos, and translated mobile app name for mobile apps. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String displayName; + + /** + * Output only. The default placement string, such as the website URL, mobile application ID, or a + * YouTube video ID. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String placement; + + /** + * Output only. Type of the placement. Possible values for Performance Max placements are WEBSITE, + * MOBILE_APPLICATION, or YOUTUBE_VIDEO. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String placementType; + + /** + * Output only. The resource name of the Performance Max placement view. Performance Max placement + * view resource names have the form: + * `customers/{customer_id}/performanceMaxPlacementViews/{base_64_placement}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. URL of the placement, for example, website, link to the mobile application in app + * store, or a YouTube video URL. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String targetUrl; + + /** + * Output only. The name displayed to represent the placement, such as the URL name for websites, + * YouTube video name for YouTube videos, and translated mobile app name for mobile apps. + * @return value or {@code null} for none + */ + public java.lang.String getDisplayName() { + return displayName; + } + + /** + * Output only. The name displayed to represent the placement, such as the URL name for websites, + * YouTube video name for YouTube videos, and translated mobile app name for mobile apps. + * @param displayName displayName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesPerformanceMaxPlacementView setDisplayName(java.lang.String displayName) { + this.displayName = displayName; + return this; + } + + /** + * Output only. The default placement string, such as the website URL, mobile application ID, or a + * YouTube video ID. + * @return value or {@code null} for none + */ + public java.lang.String getPlacement() { + return placement; + } + + /** + * Output only. The default placement string, such as the website URL, mobile application ID, or a + * YouTube video ID. + * @param placement placement or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesPerformanceMaxPlacementView setPlacement(java.lang.String placement) { + this.placement = placement; + return this; + } + + /** + * Output only. Type of the placement. Possible values for Performance Max placements are WEBSITE, + * MOBILE_APPLICATION, or YOUTUBE_VIDEO. + * @return value or {@code null} for none + */ + public java.lang.String getPlacementType() { + return placementType; + } + + /** + * Output only. Type of the placement. Possible values for Performance Max placements are WEBSITE, + * MOBILE_APPLICATION, or YOUTUBE_VIDEO. + * @param placementType placementType or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesPerformanceMaxPlacementView setPlacementType(java.lang.String placementType) { + this.placementType = placementType; + return this; + } + + /** + * Output only. The resource name of the Performance Max placement view. Performance Max placement + * view resource names have the form: + * `customers/{customer_id}/performanceMaxPlacementViews/{base_64_placement}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Output only. The resource name of the Performance Max placement view. Performance Max placement + * view resource names have the form: + * `customers/{customer_id}/performanceMaxPlacementViews/{base_64_placement}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesPerformanceMaxPlacementView setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Output only. URL of the placement, for example, website, link to the mobile application in app + * store, or a YouTube video URL. + * @return value or {@code null} for none + */ + public java.lang.String getTargetUrl() { + return targetUrl; + } + + /** + * Output only. URL of the placement, for example, website, link to the mobile application in app + * store, or a YouTube video URL. + * @param targetUrl targetUrl or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesPerformanceMaxPlacementView setTargetUrl(java.lang.String targetUrl) { + this.targetUrl = targetUrl; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesPerformanceMaxPlacementView set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesPerformanceMaxPlacementView) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesPerformanceMaxPlacementView clone() { + return (GoogleAdsSearchads360V23ResourcesPerformanceMaxPlacementView) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesPhoneCallDetails.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesPhoneCallDetails.java new file mode 100644 index 00000000000..5ec4753487c --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesPhoneCallDetails.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Represents details of a phone call conversation. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesPhoneCallDetails extends com.google.api.client.json.GenericJson { + + /** + * Output only. The duration (in milliseconds) of the phone call (end to end). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long callDurationMillis; + + /** + * Output only. URL to the call recording audio file. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String callRecordingUrl; + + /** + * Output only. The duration (in milliseconds) of the phone call (end to end). + * @return value or {@code null} for none + */ + public java.lang.Long getCallDurationMillis() { + return callDurationMillis; + } + + /** + * Output only. The duration (in milliseconds) of the phone call (end to end). + * @param callDurationMillis callDurationMillis or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesPhoneCallDetails setCallDurationMillis(java.lang.Long callDurationMillis) { + this.callDurationMillis = callDurationMillis; + return this; + } + + /** + * Output only. URL to the call recording audio file. + * @return value or {@code null} for none + */ + public java.lang.String getCallRecordingUrl() { + return callRecordingUrl; + } + + /** + * Output only. URL to the call recording audio file. + * @param callRecordingUrl callRecordingUrl or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesPhoneCallDetails setCallRecordingUrl(java.lang.String callRecordingUrl) { + this.callRecordingUrl = callRecordingUrl; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesPhoneCallDetails set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesPhoneCallDetails) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesPhoneCallDetails clone() { + return (GoogleAdsSearchads360V23ResourcesPhoneCallDetails) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesProductCategoryConstant.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesProductCategoryConstant.java new file mode 100644 index 00000000000..63a05242660 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesProductCategoryConstant.java @@ -0,0 +1,202 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A Product Category. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesProductCategoryConstant extends com.google.api.client.json.GenericJson { + + /** + * Output only. The ID of the product category. This ID is equivalent to the + * google_product_category ID as described in this article: + * https://support.google.com/merchants/answer/6324436. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long categoryId; + + /** + * Output only. Level of the product category. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String level; + + /** + * Output only. List of all available localizations of the product category. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List localizations; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ResourcesProductCategoryConstantProductCategoryLocalization used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ResourcesProductCategoryConstantProductCategoryLocalization.class); + } + + /** + * Output only. Resource name of the parent product category. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String productCategoryConstantParent; + + /** + * Output only. The resource name of the product category. Product category resource names have + * the form: `productCategoryConstants/{level}~{category_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. State of the product category. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String state; + + /** + * Output only. The ID of the product category. This ID is equivalent to the + * google_product_category ID as described in this article: + * https://support.google.com/merchants/answer/6324436. + * @return value or {@code null} for none + */ + public java.lang.Long getCategoryId() { + return categoryId; + } + + /** + * Output only. The ID of the product category. This ID is equivalent to the + * google_product_category ID as described in this article: + * https://support.google.com/merchants/answer/6324436. + * @param categoryId categoryId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesProductCategoryConstant setCategoryId(java.lang.Long categoryId) { + this.categoryId = categoryId; + return this; + } + + /** + * Output only. Level of the product category. + * @return value or {@code null} for none + */ + public java.lang.String getLevel() { + return level; + } + + /** + * Output only. Level of the product category. + * @param level level or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesProductCategoryConstant setLevel(java.lang.String level) { + this.level = level; + return this; + } + + /** + * Output only. List of all available localizations of the product category. + * @return value or {@code null} for none + */ + public java.util.List getLocalizations() { + return localizations; + } + + /** + * Output only. List of all available localizations of the product category. + * @param localizations localizations or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesProductCategoryConstant setLocalizations(java.util.List localizations) { + this.localizations = localizations; + return this; + } + + /** + * Output only. Resource name of the parent product category. + * @return value or {@code null} for none + */ + public java.lang.String getProductCategoryConstantParent() { + return productCategoryConstantParent; + } + + /** + * Output only. Resource name of the parent product category. + * @param productCategoryConstantParent productCategoryConstantParent or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesProductCategoryConstant setProductCategoryConstantParent(java.lang.String productCategoryConstantParent) { + this.productCategoryConstantParent = productCategoryConstantParent; + return this; + } + + /** + * Output only. The resource name of the product category. Product category resource names have + * the form: `productCategoryConstants/{level}~{category_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Output only. The resource name of the product category. Product category resource names have + * the form: `productCategoryConstants/{level}~{category_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesProductCategoryConstant setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Output only. State of the product category. + * @return value or {@code null} for none + */ + public java.lang.String getState() { + return state; + } + + /** + * Output only. State of the product category. + * @param state state or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesProductCategoryConstant setState(java.lang.String state) { + this.state = state; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesProductCategoryConstant set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesProductCategoryConstant) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesProductCategoryConstant clone() { + return (GoogleAdsSearchads360V23ResourcesProductCategoryConstant) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesProductCategoryConstantProductCategoryLocalization.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesProductCategoryConstantProductCategoryLocalization.java new file mode 100644 index 00000000000..c22fa428c68 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesProductCategoryConstantProductCategoryLocalization.java @@ -0,0 +1,115 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Localization for the product category. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesProductCategoryConstantProductCategoryLocalization extends com.google.api.client.json.GenericJson { + + /** + * Output only. Two-letter ISO 639-1 language code of the localized category. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String languageCode; + + /** + * Output only. Upper-case two-letter ISO 3166-1 country code of the localized category. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String regionCode; + + /** + * Output only. The name of the category in the specified locale. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String value; + + /** + * Output only. Two-letter ISO 639-1 language code of the localized category. + * @return value or {@code null} for none + */ + public java.lang.String getLanguageCode() { + return languageCode; + } + + /** + * Output only. Two-letter ISO 639-1 language code of the localized category. + * @param languageCode languageCode or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesProductCategoryConstantProductCategoryLocalization setLanguageCode(java.lang.String languageCode) { + this.languageCode = languageCode; + return this; + } + + /** + * Output only. Upper-case two-letter ISO 3166-1 country code of the localized category. + * @return value or {@code null} for none + */ + public java.lang.String getRegionCode() { + return regionCode; + } + + /** + * Output only. Upper-case two-letter ISO 3166-1 country code of the localized category. + * @param regionCode regionCode or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesProductCategoryConstantProductCategoryLocalization setRegionCode(java.lang.String regionCode) { + this.regionCode = regionCode; + return this; + } + + /** + * Output only. The name of the category in the specified locale. + * @return value or {@code null} for none + */ + public java.lang.String getValue() { + return value; + } + + /** + * Output only. The name of the category in the specified locale. + * @param value value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesProductCategoryConstantProductCategoryLocalization setValue(java.lang.String value) { + this.value = value; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesProductCategoryConstantProductCategoryLocalization set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesProductCategoryConstantProductCategoryLocalization) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesProductCategoryConstantProductCategoryLocalization clone() { + return (GoogleAdsSearchads360V23ResourcesProductCategoryConstantProductCategoryLocalization) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesProductGroupView.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesProductGroupView.java new file mode 100644 index 00000000000..3111d5a38ca --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesProductGroupView.java @@ -0,0 +1,70 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A product group view. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesProductGroupView extends com.google.api.client.json.GenericJson { + + /** + * Output only. The resource name of the product group view. Product group view resource names + * have the form: `customers/{customer_id}/productGroupViews/{ad_group_id}~{criterion_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. The resource name of the product group view. Product group view resource names + * have the form: `customers/{customer_id}/productGroupViews/{ad_group_id}~{criterion_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Output only. The resource name of the product group view. Product group view resource names + * have the form: `customers/{customer_id}/productGroupViews/{ad_group_id}~{criterion_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesProductGroupView setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesProductGroupView set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesProductGroupView) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesProductGroupView clone() { + return (GoogleAdsSearchads360V23ResourcesProductGroupView) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesProductLink.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesProductLink.java new file mode 100644 index 00000000000..281f8964aa6 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesProductLink.java @@ -0,0 +1,211 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Represents the data sharing connection between + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesProductLink extends com.google.api.client.json.GenericJson { + + /** + * Output only. Advertising Partner link. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAdvertisingPartnerIdentifier advertisingPartner; + + /** + * Immutable. Data partner link. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesDataPartnerIdentifier dataPartner; + + /** + * Immutable. Google Ads link. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesGoogleAdsIdentifier googleAds; + + /** + * Immutable. Google Merchant Center link. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesMerchantCenterIdentifier merchantCenter; + + /** + * Output only. The ID of the link. This field is read only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long productLinkId; + + /** + * Immutable. Resource name of the product link. ProductLink resource names have the form: ` ` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. The type of the linked product. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String type; + + /** + * Output only. Advertising Partner link. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdvertisingPartnerIdentifier getAdvertisingPartner() { + return advertisingPartner; + } + + /** + * Output only. Advertising Partner link. + * @param advertisingPartner advertisingPartner or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesProductLink setAdvertisingPartner(GoogleAdsSearchads360V23ResourcesAdvertisingPartnerIdentifier advertisingPartner) { + this.advertisingPartner = advertisingPartner; + return this; + } + + /** + * Immutable. Data partner link. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesDataPartnerIdentifier getDataPartner() { + return dataPartner; + } + + /** + * Immutable. Data partner link. + * @param dataPartner dataPartner or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesProductLink setDataPartner(GoogleAdsSearchads360V23ResourcesDataPartnerIdentifier dataPartner) { + this.dataPartner = dataPartner; + return this; + } + + /** + * Immutable. Google Ads link. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesGoogleAdsIdentifier getGoogleAds() { + return googleAds; + } + + /** + * Immutable. Google Ads link. + * @param googleAds googleAds or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesProductLink setGoogleAds(GoogleAdsSearchads360V23ResourcesGoogleAdsIdentifier googleAds) { + this.googleAds = googleAds; + return this; + } + + /** + * Immutable. Google Merchant Center link. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesMerchantCenterIdentifier getMerchantCenter() { + return merchantCenter; + } + + /** + * Immutable. Google Merchant Center link. + * @param merchantCenter merchantCenter or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesProductLink setMerchantCenter(GoogleAdsSearchads360V23ResourcesMerchantCenterIdentifier merchantCenter) { + this.merchantCenter = merchantCenter; + return this; + } + + /** + * Output only. The ID of the link. This field is read only. + * @return value or {@code null} for none + */ + public java.lang.Long getProductLinkId() { + return productLinkId; + } + + /** + * Output only. The ID of the link. This field is read only. + * @param productLinkId productLinkId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesProductLink setProductLinkId(java.lang.Long productLinkId) { + this.productLinkId = productLinkId; + return this; + } + + /** + * Immutable. Resource name of the product link. ProductLink resource names have the form: ` ` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Immutable. Resource name of the product link. ProductLink resource names have the form: ` ` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesProductLink setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Output only. The type of the linked product. + * @return value or {@code null} for none + */ + public java.lang.String getType() { + return type; + } + + /** + * Output only. The type of the linked product. + * @param type type or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesProductLink setType(java.lang.String type) { + this.type = type; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesProductLink set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesProductLink) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesProductLink clone() { + return (GoogleAdsSearchads360V23ResourcesProductLink) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesProductLinkInvitation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesProductLinkInvitation.java new file mode 100644 index 00000000000..3246928fedd --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesProductLinkInvitation.java @@ -0,0 +1,221 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Represents an invitation for data sharing connection between a Google Ads account and another + * account. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesProductLinkInvitation extends com.google.api.client.json.GenericJson { + + /** + * Output only. Advertising Partner link invitation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAdvertisingPartnerLinkInvitationIdentifier advertisingPartner; + + /** + * Output only. Hotel link invitation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesHotelCenterLinkInvitationIdentifier hotelCenter; + + /** + * Output only. Merchant Center link invitation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesMerchantCenterLinkInvitationIdentifier merchantCenter; + + /** + * Output only. The ID of the product link invitation. This field is read only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long productLinkInvitationId; + + /** + * Immutable. The resource name of a product link invitation. Product link invitation resource + * names have the form: + * `customers/{customer_id}/productLinkInvitations/{product_link_invitation_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. The status of the product link invitation. This field is read only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String status; + + /** + * Output only. The type of the invited account. This field is read only and can be used for + * filtering invitations with {@code GoogleAdsService.SearchGoogleAdsRequest}. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String type; + + /** + * Output only. Advertising Partner link invitation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdvertisingPartnerLinkInvitationIdentifier getAdvertisingPartner() { + return advertisingPartner; + } + + /** + * Output only. Advertising Partner link invitation. + * @param advertisingPartner advertisingPartner or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesProductLinkInvitation setAdvertisingPartner(GoogleAdsSearchads360V23ResourcesAdvertisingPartnerLinkInvitationIdentifier advertisingPartner) { + this.advertisingPartner = advertisingPartner; + return this; + } + + /** + * Output only. Hotel link invitation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesHotelCenterLinkInvitationIdentifier getHotelCenter() { + return hotelCenter; + } + + /** + * Output only. Hotel link invitation. + * @param hotelCenter hotelCenter or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesProductLinkInvitation setHotelCenter(GoogleAdsSearchads360V23ResourcesHotelCenterLinkInvitationIdentifier hotelCenter) { + this.hotelCenter = hotelCenter; + return this; + } + + /** + * Output only. Merchant Center link invitation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesMerchantCenterLinkInvitationIdentifier getMerchantCenter() { + return merchantCenter; + } + + /** + * Output only. Merchant Center link invitation. + * @param merchantCenter merchantCenter or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesProductLinkInvitation setMerchantCenter(GoogleAdsSearchads360V23ResourcesMerchantCenterLinkInvitationIdentifier merchantCenter) { + this.merchantCenter = merchantCenter; + return this; + } + + /** + * Output only. The ID of the product link invitation. This field is read only. + * @return value or {@code null} for none + */ + public java.lang.Long getProductLinkInvitationId() { + return productLinkInvitationId; + } + + /** + * Output only. The ID of the product link invitation. This field is read only. + * @param productLinkInvitationId productLinkInvitationId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesProductLinkInvitation setProductLinkInvitationId(java.lang.Long productLinkInvitationId) { + this.productLinkInvitationId = productLinkInvitationId; + return this; + } + + /** + * Immutable. The resource name of a product link invitation. Product link invitation resource + * names have the form: + * `customers/{customer_id}/productLinkInvitations/{product_link_invitation_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Immutable. The resource name of a product link invitation. Product link invitation resource + * names have the form: + * `customers/{customer_id}/productLinkInvitations/{product_link_invitation_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesProductLinkInvitation setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Output only. The status of the product link invitation. This field is read only. + * @return value or {@code null} for none + */ + public java.lang.String getStatus() { + return status; + } + + /** + * Output only. The status of the product link invitation. This field is read only. + * @param status status or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesProductLinkInvitation setStatus(java.lang.String status) { + this.status = status; + return this; + } + + /** + * Output only. The type of the invited account. This field is read only and can be used for + * filtering invitations with {@code GoogleAdsService.SearchGoogleAdsRequest}. + * @return value or {@code null} for none + */ + public java.lang.String getType() { + return type; + } + + /** + * Output only. The type of the invited account. This field is read only and can be used for + * filtering invitations with {@code GoogleAdsService.SearchGoogleAdsRequest}. + * @param type type or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesProductLinkInvitation setType(java.lang.String type) { + this.type = type; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesProductLinkInvitation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesProductLinkInvitation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesProductLinkInvitation clone() { + return (GoogleAdsSearchads360V23ResourcesProductLinkInvitation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesQualifyingQuestion.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesQualifyingQuestion.java new file mode 100644 index 00000000000..ef3a8ab23fe --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesQualifyingQuestion.java @@ -0,0 +1,142 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Qualifying Questions for Lead Form. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesQualifyingQuestion extends com.google.api.client.json.GenericJson { + + /** + * Output only. The locale of the qualifying question. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String locale; + + /** + * Output only. The id of the qualifying question. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long qualifyingQuestionId; + + /** + * Output only. The resource name of the qualifying question. + * 'qualifyingQuestions/{qualifyingQuestionId}' + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. The qualifying question. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String text; + + /** + * Output only. The locale of the qualifying question. + * @return value or {@code null} for none + */ + public java.lang.String getLocale() { + return locale; + } + + /** + * Output only. The locale of the qualifying question. + * @param locale locale or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesQualifyingQuestion setLocale(java.lang.String locale) { + this.locale = locale; + return this; + } + + /** + * Output only. The id of the qualifying question. + * @return value or {@code null} for none + */ + public java.lang.Long getQualifyingQuestionId() { + return qualifyingQuestionId; + } + + /** + * Output only. The id of the qualifying question. + * @param qualifyingQuestionId qualifyingQuestionId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesQualifyingQuestion setQualifyingQuestionId(java.lang.Long qualifyingQuestionId) { + this.qualifyingQuestionId = qualifyingQuestionId; + return this; + } + + /** + * Output only. The resource name of the qualifying question. + * 'qualifyingQuestions/{qualifyingQuestionId}' + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Output only. The resource name of the qualifying question. + * 'qualifyingQuestions/{qualifyingQuestionId}' + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesQualifyingQuestion setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Output only. The qualifying question. + * @return value or {@code null} for none + */ + public java.lang.String getText() { + return text; + } + + /** + * Output only. The qualifying question. + * @param text text or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesQualifyingQuestion setText(java.lang.String text) { + this.text = text; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesQualifyingQuestion set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesQualifyingQuestion) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesQualifyingQuestion clone() { + return (GoogleAdsSearchads360V23ResourcesQualifyingQuestion) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendation.java new file mode 100644 index 00000000000..53cab8d613e --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendation.java @@ -0,0 +1,1573 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A recommendation. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesRecommendation extends com.google.api.client.json.GenericJson { + + /** + * Output only. The ad group targeted by this recommendation. This will be set only when the + * recommendation affects a single ad group. This field will be set for the following + * recommendation types: KEYWORD, OPTIMIZE_AD_ROTATION, TEXT_AD + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String adGroup; + + /** + * Output only. The call asset recommendation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesRecommendationCallAssetRecommendation callAssetRecommendation; + + /** + * Output only. The callout asset recommendation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesRecommendationCalloutAssetRecommendation calloutAssetRecommendation; + + /** + * Output only. The campaign targeted by this recommendation. This field will be set for the + * following recommendation types: CALL_EXTENSION, CALLOUT_EXTENSION, ENHANCED_CPC_OPT_IN, + * KEYWORD, KEYWORD_MATCH_TYPE, MAXIMIZE_CLICKS_OPT_IN, MAXIMIZE_CONVERSIONS_OPT_IN, + * OPTIMIZE_AD_ROTATION, SEARCH_PARTNERS_OPT_IN, SITELINK_EXTENSION, TARGET_CPA_OPT_IN, + * TARGET_ROAS_OPT_IN, TEXT_AD, + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String campaign; + + /** + * Output only. The budget targeted by this recommendation. This will be set only when the + * recommendation affects a single campaign budget. This field will be set for the following + * recommendation types: CAMPAIGN_BUDGET, FORECASTING_CAMPAIGN_BUDGET, MOVE_UNUSED_BUDGET + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String campaignBudget; + + /** + * Output only. The campaign budget recommendation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesRecommendationCampaignBudgetRecommendation campaignBudgetRecommendation; + + /** + * Output only. The campaigns targeted by this recommendation. This field will be set for the + * following recommendation types: CAMPAIGN_BUDGET, FORECASTING_CAMPAIGN_BUDGET, + * MARGINAL_ROI_CAMPAIGN_BUDGET and MOVE_UNUSED_BUDGET + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List campaigns; + + /** + * Output only. The custom audience opt in recommendation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesRecommendationCustomAudienceOptInRecommendation customAudienceOptInRecommendation; + + /** + * Output only. Whether the recommendation is dismissed or not. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean dismissed; + + /** + * Output only. The Display Expansion opt-in recommendation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesRecommendationDisplayExpansionOptInRecommendation displayExpansionOptInRecommendation; + + /** + * Output only. Recommendation to enable dynamic image extensions on the account, allowing Google + * to find the best images from ad landing pages and complement text ads. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesRecommendationDynamicImageExtensionOptInRecommendation dynamicImageExtensionOptInRecommendation; + + /** + * Output only. The Enhanced Cost-Per-Click Opt-In recommendation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesRecommendationEnhancedCpcOptInRecommendation enhancedCpcOptInRecommendation; + + /** + * Output only. The forecasting campaign budget recommendation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesRecommendationCampaignBudgetRecommendation forecastingCampaignBudgetRecommendation; + + /** + * Output only. The forecasting set target CPA recommendation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesRecommendationForecastingSetTargetCpaRecommendation forecastingSetTargetCpaRecommendation; + + /** + * Output only. The forecasting set target ROAS recommendation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesRecommendationForecastingSetTargetRoasRecommendation forecastingSetTargetRoasRecommendation; + + /** + * Output only. The impact on account performance as a result of applying the recommendation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesRecommendationRecommendationImpact impact; + + /** + * Output only. The improve Demand Gen ad strength recommendation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesRecommendationImproveDemandGenAdStrengthRecommendation improveDemandGenAdStrengthRecommendation; + + /** + * Output only. Recommendation to deploy Google Tag on more pages. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesRecommendationImproveGoogleTagCoverageRecommendation improveGoogleTagCoverageRecommendation; + + /** + * Output only. The improve Performance Max ad strength recommendation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesRecommendationImprovePerformanceMaxAdStrengthRecommendation improvePerformanceMaxAdStrengthRecommendation; + + /** + * Output only. The keyword match type recommendation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesRecommendationKeywordMatchTypeRecommendation keywordMatchTypeRecommendation; + + /** + * Output only. The keyword recommendation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesRecommendationKeywordRecommendation keywordRecommendation; + + /** + * Output only. The lead form asset recommendation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesRecommendationLeadFormAssetRecommendation leadFormAssetRecommendation; + + /** + * Output only. Recommendation to lower Target ROAS. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesRecommendationLowerTargetRoasRecommendation lowerTargetRoasRecommendation; + + /** + * Output only. The marginal ROI campaign budget recommendation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesRecommendationCampaignBudgetRecommendation marginalRoiCampaignBudgetRecommendation; + + /** + * Output only. The MaximizeClicks Opt-In recommendation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesRecommendationMaximizeClicksOptInRecommendation maximizeClicksOptInRecommendation; + + /** + * Output only. The Maximize Conversion Value opt-in recommendation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesRecommendationMaximizeConversionValueOptInRecommendation maximizeConversionValueOptInRecommendation; + + /** + * Output only. The MaximizeConversions Opt-In recommendation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesRecommendationMaximizeConversionsOptInRecommendation maximizeConversionsOptInRecommendation; + + /** + * Output only. The Dynamic Search Ads to Performance Max migration recommendation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesRecommendationMigrateDynamicSearchAdsCampaignToPerformanceMaxRecommendation migrateDynamicSearchAdsCampaignToPerformanceMaxRecommendation; + + /** + * Output only. The move unused budget recommendation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesRecommendationMoveUnusedBudgetRecommendation moveUnusedBudgetRecommendation; + + /** + * Output only. The Optimize Ad Rotation recommendation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesRecommendationOptimizeAdRotationRecommendation optimizeAdRotationRecommendation; + + /** + * Output only. Recommendation to turn on Final URL expansion for your Performance Max campaigns. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesRecommendationPerformanceMaxFinalUrlOptInRecommendation performanceMaxFinalUrlOptInRecommendation; + + /** + * Output only. The Performance Max Opt In recommendation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesRecommendationPerformanceMaxOptInRecommendation performanceMaxOptInRecommendation; + + /** + * Output only. The raise target CPA bid too low recommendation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesRecommendationRaiseTargetCpaBidTooLowRecommendation raiseTargetCpaBidTooLowRecommendation; + + /** + * Output only. Recommendation to raise Target CPA. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesRecommendationRaiseTargetCpaRecommendation raiseTargetCpaRecommendation; + + /** + * Output only. The refresh customer list recommendation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesRecommendationRefreshCustomerMatchListRecommendation refreshCustomerMatchListRecommendation; + + /** + * Immutable. The resource name of the recommendation. + * `customers/{customer_id}/recommendations/{recommendation_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. The responsive search ad asset recommendation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesRecommendationResponsiveSearchAdAssetRecommendation responsiveSearchAdAssetRecommendation; + + /** + * Output only. The responsive search ad improve ad strength recommendation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesRecommendationResponsiveSearchAdImproveAdStrengthRecommendation responsiveSearchAdImproveAdStrengthRecommendation; + + /** + * Output only. The add responsive search ad recommendation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesRecommendationResponsiveSearchAdRecommendation responsiveSearchAdRecommendation; + + /** + * Output only. The Search Partners Opt-In recommendation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesRecommendationSearchPartnersOptInRecommendation searchPartnersOptInRecommendation; + + /** + * Output only. The set target CPA recommendation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesRecommendationForecastingSetTargetCpaRecommendation setTargetCpaRecommendation; + + /** + * Output only. The set target ROAS recommendation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesRecommendationForecastingSetTargetRoasRecommendation setTargetRoasRecommendation; + + /** + * Output only. The shopping add age group recommendation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesRecommendationShoppingOfferAttributeRecommendation shoppingAddAgeGroupRecommendation; + + /** + * Output only. The shopping add color recommendation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesRecommendationShoppingOfferAttributeRecommendation shoppingAddColorRecommendation; + + /** + * Output only. The shopping add gender recommendation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesRecommendationShoppingOfferAttributeRecommendation shoppingAddGenderRecommendation; + + /** + * Output only. The shopping add GTIN recommendation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesRecommendationShoppingOfferAttributeRecommendation shoppingAddGtinRecommendation; + + /** + * Output only. The shopping add more identifiers recommendation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesRecommendationShoppingOfferAttributeRecommendation shoppingAddMoreIdentifiersRecommendation; + + /** + * Output only. The shopping add products to campaign recommendation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesRecommendationShoppingAddProductsToCampaignRecommendation shoppingAddProductsToCampaignRecommendation; + + /** + * Output only. The shopping add size recommendation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesRecommendationShoppingOfferAttributeRecommendation shoppingAddSizeRecommendation; + + /** + * Output only. The shopping fix disapproved products recommendation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesRecommendationShoppingFixDisapprovedProductsRecommendation shoppingFixDisapprovedProductsRecommendation; + + /** + * Output only. The shopping fix Merchant Center account suspension warning recommendation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesRecommendationShoppingMerchantCenterAccountSuspensionRecommendation shoppingFixMerchantCenterAccountSuspensionWarningRecommendation; + + /** + * Output only. The shopping fix suspended Merchant Center account recommendation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesRecommendationShoppingMerchantCenterAccountSuspensionRecommendation shoppingFixSuspendedMerchantCenterAccountRecommendation; + + /** + * Output only. The shopping migrate Regular Shopping Campaign offers to Performance Max + * recommendation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesRecommendationShoppingMigrateRegularShoppingCampaignOffersToPerformanceMaxRecommendation shoppingMigrateRegularShoppingCampaignOffersToPerformanceMaxRecommendation; + + /** + * Output only. The shopping target all offers recommendation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesRecommendationShoppingTargetAllOffersRecommendation shoppingTargetAllOffersRecommendation; + + /** + * Output only. The sitelink asset recommendation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesRecommendationSitelinkAssetRecommendation sitelinkAssetRecommendation; + + /** + * Output only. The TargetCPA opt-in recommendation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesRecommendationTargetCpaOptInRecommendation targetCpaOptInRecommendation; + + /** + * Output only. The Target ROAS opt-in recommendation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesRecommendationTargetRoasOptInRecommendation targetRoasOptInRecommendation; + + /** + * Output only. Add expanded text ad recommendation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesRecommendationTextAdRecommendation textAdRecommendation; + + /** + * Output only. The type of recommendation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String type; + + /** + * Output only. The upgrade a Local campaign to a Performance Max campaign recommendation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesRecommendationUpgradeLocalCampaignToPerformanceMaxRecommendation upgradeLocalCampaignToPerformanceMaxRecommendation; + + /** + * Output only. The upgrade a Smart Shopping campaign to a Performance Max campaign + * recommendation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesRecommendationUpgradeSmartShoppingCampaignToPerformanceMaxRecommendation upgradeSmartShoppingCampaignToPerformanceMaxRecommendation; + + /** + * Output only. The use broad match keyword recommendation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesRecommendationUseBroadMatchKeywordRecommendation useBroadMatchKeywordRecommendation; + + /** + * Output only. The ad group targeted by this recommendation. This will be set only when the + * recommendation affects a single ad group. This field will be set for the following + * recommendation types: KEYWORD, OPTIMIZE_AD_ROTATION, TEXT_AD + * @return value or {@code null} for none + */ + public java.lang.String getAdGroup() { + return adGroup; + } + + /** + * Output only. The ad group targeted by this recommendation. This will be set only when the + * recommendation affects a single ad group. This field will be set for the following + * recommendation types: KEYWORD, OPTIMIZE_AD_ROTATION, TEXT_AD + * @param adGroup adGroup or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendation setAdGroup(java.lang.String adGroup) { + this.adGroup = adGroup; + return this; + } + + /** + * Output only. The call asset recommendation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationCallAssetRecommendation getCallAssetRecommendation() { + return callAssetRecommendation; + } + + /** + * Output only. The call asset recommendation. + * @param callAssetRecommendation callAssetRecommendation or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendation setCallAssetRecommendation(GoogleAdsSearchads360V23ResourcesRecommendationCallAssetRecommendation callAssetRecommendation) { + this.callAssetRecommendation = callAssetRecommendation; + return this; + } + + /** + * Output only. The callout asset recommendation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationCalloutAssetRecommendation getCalloutAssetRecommendation() { + return calloutAssetRecommendation; + } + + /** + * Output only. The callout asset recommendation. + * @param calloutAssetRecommendation calloutAssetRecommendation or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendation setCalloutAssetRecommendation(GoogleAdsSearchads360V23ResourcesRecommendationCalloutAssetRecommendation calloutAssetRecommendation) { + this.calloutAssetRecommendation = calloutAssetRecommendation; + return this; + } + + /** + * Output only. The campaign targeted by this recommendation. This field will be set for the + * following recommendation types: CALL_EXTENSION, CALLOUT_EXTENSION, ENHANCED_CPC_OPT_IN, + * KEYWORD, KEYWORD_MATCH_TYPE, MAXIMIZE_CLICKS_OPT_IN, MAXIMIZE_CONVERSIONS_OPT_IN, + * OPTIMIZE_AD_ROTATION, SEARCH_PARTNERS_OPT_IN, SITELINK_EXTENSION, TARGET_CPA_OPT_IN, + * TARGET_ROAS_OPT_IN, TEXT_AD, + * @return value or {@code null} for none + */ + public java.lang.String getCampaign() { + return campaign; + } + + /** + * Output only. The campaign targeted by this recommendation. This field will be set for the + * following recommendation types: CALL_EXTENSION, CALLOUT_EXTENSION, ENHANCED_CPC_OPT_IN, + * KEYWORD, KEYWORD_MATCH_TYPE, MAXIMIZE_CLICKS_OPT_IN, MAXIMIZE_CONVERSIONS_OPT_IN, + * OPTIMIZE_AD_ROTATION, SEARCH_PARTNERS_OPT_IN, SITELINK_EXTENSION, TARGET_CPA_OPT_IN, + * TARGET_ROAS_OPT_IN, TEXT_AD, + * @param campaign campaign or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendation setCampaign(java.lang.String campaign) { + this.campaign = campaign; + return this; + } + + /** + * Output only. The budget targeted by this recommendation. This will be set only when the + * recommendation affects a single campaign budget. This field will be set for the following + * recommendation types: CAMPAIGN_BUDGET, FORECASTING_CAMPAIGN_BUDGET, MOVE_UNUSED_BUDGET + * @return value or {@code null} for none + */ + public java.lang.String getCampaignBudget() { + return campaignBudget; + } + + /** + * Output only. The budget targeted by this recommendation. This will be set only when the + * recommendation affects a single campaign budget. This field will be set for the following + * recommendation types: CAMPAIGN_BUDGET, FORECASTING_CAMPAIGN_BUDGET, MOVE_UNUSED_BUDGET + * @param campaignBudget campaignBudget or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendation setCampaignBudget(java.lang.String campaignBudget) { + this.campaignBudget = campaignBudget; + return this; + } + + /** + * Output only. The campaign budget recommendation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationCampaignBudgetRecommendation getCampaignBudgetRecommendation() { + return campaignBudgetRecommendation; + } + + /** + * Output only. The campaign budget recommendation. + * @param campaignBudgetRecommendation campaignBudgetRecommendation or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendation setCampaignBudgetRecommendation(GoogleAdsSearchads360V23ResourcesRecommendationCampaignBudgetRecommendation campaignBudgetRecommendation) { + this.campaignBudgetRecommendation = campaignBudgetRecommendation; + return this; + } + + /** + * Output only. The campaigns targeted by this recommendation. This field will be set for the + * following recommendation types: CAMPAIGN_BUDGET, FORECASTING_CAMPAIGN_BUDGET, + * MARGINAL_ROI_CAMPAIGN_BUDGET and MOVE_UNUSED_BUDGET + * @return value or {@code null} for none + */ + public java.util.List getCampaigns() { + return campaigns; + } + + /** + * Output only. The campaigns targeted by this recommendation. This field will be set for the + * following recommendation types: CAMPAIGN_BUDGET, FORECASTING_CAMPAIGN_BUDGET, + * MARGINAL_ROI_CAMPAIGN_BUDGET and MOVE_UNUSED_BUDGET + * @param campaigns campaigns or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendation setCampaigns(java.util.List campaigns) { + this.campaigns = campaigns; + return this; + } + + /** + * Output only. The custom audience opt in recommendation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationCustomAudienceOptInRecommendation getCustomAudienceOptInRecommendation() { + return customAudienceOptInRecommendation; + } + + /** + * Output only. The custom audience opt in recommendation. + * @param customAudienceOptInRecommendation customAudienceOptInRecommendation or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendation setCustomAudienceOptInRecommendation(GoogleAdsSearchads360V23ResourcesRecommendationCustomAudienceOptInRecommendation customAudienceOptInRecommendation) { + this.customAudienceOptInRecommendation = customAudienceOptInRecommendation; + return this; + } + + /** + * Output only. Whether the recommendation is dismissed or not. + * @return value or {@code null} for none + */ + public java.lang.Boolean getDismissed() { + return dismissed; + } + + /** + * Output only. Whether the recommendation is dismissed or not. + * @param dismissed dismissed or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendation setDismissed(java.lang.Boolean dismissed) { + this.dismissed = dismissed; + return this; + } + + /** + * Output only. The Display Expansion opt-in recommendation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationDisplayExpansionOptInRecommendation getDisplayExpansionOptInRecommendation() { + return displayExpansionOptInRecommendation; + } + + /** + * Output only. The Display Expansion opt-in recommendation. + * @param displayExpansionOptInRecommendation displayExpansionOptInRecommendation or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendation setDisplayExpansionOptInRecommendation(GoogleAdsSearchads360V23ResourcesRecommendationDisplayExpansionOptInRecommendation displayExpansionOptInRecommendation) { + this.displayExpansionOptInRecommendation = displayExpansionOptInRecommendation; + return this; + } + + /** + * Output only. Recommendation to enable dynamic image extensions on the account, allowing Google + * to find the best images from ad landing pages and complement text ads. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationDynamicImageExtensionOptInRecommendation getDynamicImageExtensionOptInRecommendation() { + return dynamicImageExtensionOptInRecommendation; + } + + /** + * Output only. Recommendation to enable dynamic image extensions on the account, allowing Google + * to find the best images from ad landing pages and complement text ads. + * @param dynamicImageExtensionOptInRecommendation dynamicImageExtensionOptInRecommendation or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendation setDynamicImageExtensionOptInRecommendation(GoogleAdsSearchads360V23ResourcesRecommendationDynamicImageExtensionOptInRecommendation dynamicImageExtensionOptInRecommendation) { + this.dynamicImageExtensionOptInRecommendation = dynamicImageExtensionOptInRecommendation; + return this; + } + + /** + * Output only. The Enhanced Cost-Per-Click Opt-In recommendation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationEnhancedCpcOptInRecommendation getEnhancedCpcOptInRecommendation() { + return enhancedCpcOptInRecommendation; + } + + /** + * Output only. The Enhanced Cost-Per-Click Opt-In recommendation. + * @param enhancedCpcOptInRecommendation enhancedCpcOptInRecommendation or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendation setEnhancedCpcOptInRecommendation(GoogleAdsSearchads360V23ResourcesRecommendationEnhancedCpcOptInRecommendation enhancedCpcOptInRecommendation) { + this.enhancedCpcOptInRecommendation = enhancedCpcOptInRecommendation; + return this; + } + + /** + * Output only. The forecasting campaign budget recommendation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationCampaignBudgetRecommendation getForecastingCampaignBudgetRecommendation() { + return forecastingCampaignBudgetRecommendation; + } + + /** + * Output only. The forecasting campaign budget recommendation. + * @param forecastingCampaignBudgetRecommendation forecastingCampaignBudgetRecommendation or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendation setForecastingCampaignBudgetRecommendation(GoogleAdsSearchads360V23ResourcesRecommendationCampaignBudgetRecommendation forecastingCampaignBudgetRecommendation) { + this.forecastingCampaignBudgetRecommendation = forecastingCampaignBudgetRecommendation; + return this; + } + + /** + * Output only. The forecasting set target CPA recommendation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationForecastingSetTargetCpaRecommendation getForecastingSetTargetCpaRecommendation() { + return forecastingSetTargetCpaRecommendation; + } + + /** + * Output only. The forecasting set target CPA recommendation. + * @param forecastingSetTargetCpaRecommendation forecastingSetTargetCpaRecommendation or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendation setForecastingSetTargetCpaRecommendation(GoogleAdsSearchads360V23ResourcesRecommendationForecastingSetTargetCpaRecommendation forecastingSetTargetCpaRecommendation) { + this.forecastingSetTargetCpaRecommendation = forecastingSetTargetCpaRecommendation; + return this; + } + + /** + * Output only. The forecasting set target ROAS recommendation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationForecastingSetTargetRoasRecommendation getForecastingSetTargetRoasRecommendation() { + return forecastingSetTargetRoasRecommendation; + } + + /** + * Output only. The forecasting set target ROAS recommendation. + * @param forecastingSetTargetRoasRecommendation forecastingSetTargetRoasRecommendation or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendation setForecastingSetTargetRoasRecommendation(GoogleAdsSearchads360V23ResourcesRecommendationForecastingSetTargetRoasRecommendation forecastingSetTargetRoasRecommendation) { + this.forecastingSetTargetRoasRecommendation = forecastingSetTargetRoasRecommendation; + return this; + } + + /** + * Output only. The impact on account performance as a result of applying the recommendation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationRecommendationImpact getImpact() { + return impact; + } + + /** + * Output only. The impact on account performance as a result of applying the recommendation. + * @param impact impact or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendation setImpact(GoogleAdsSearchads360V23ResourcesRecommendationRecommendationImpact impact) { + this.impact = impact; + return this; + } + + /** + * Output only. The improve Demand Gen ad strength recommendation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationImproveDemandGenAdStrengthRecommendation getImproveDemandGenAdStrengthRecommendation() { + return improveDemandGenAdStrengthRecommendation; + } + + /** + * Output only. The improve Demand Gen ad strength recommendation. + * @param improveDemandGenAdStrengthRecommendation improveDemandGenAdStrengthRecommendation or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendation setImproveDemandGenAdStrengthRecommendation(GoogleAdsSearchads360V23ResourcesRecommendationImproveDemandGenAdStrengthRecommendation improveDemandGenAdStrengthRecommendation) { + this.improveDemandGenAdStrengthRecommendation = improveDemandGenAdStrengthRecommendation; + return this; + } + + /** + * Output only. Recommendation to deploy Google Tag on more pages. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationImproveGoogleTagCoverageRecommendation getImproveGoogleTagCoverageRecommendation() { + return improveGoogleTagCoverageRecommendation; + } + + /** + * Output only. Recommendation to deploy Google Tag on more pages. + * @param improveGoogleTagCoverageRecommendation improveGoogleTagCoverageRecommendation or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendation setImproveGoogleTagCoverageRecommendation(GoogleAdsSearchads360V23ResourcesRecommendationImproveGoogleTagCoverageRecommendation improveGoogleTagCoverageRecommendation) { + this.improveGoogleTagCoverageRecommendation = improveGoogleTagCoverageRecommendation; + return this; + } + + /** + * Output only. The improve Performance Max ad strength recommendation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationImprovePerformanceMaxAdStrengthRecommendation getImprovePerformanceMaxAdStrengthRecommendation() { + return improvePerformanceMaxAdStrengthRecommendation; + } + + /** + * Output only. The improve Performance Max ad strength recommendation. + * @param improvePerformanceMaxAdStrengthRecommendation improvePerformanceMaxAdStrengthRecommendation or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendation setImprovePerformanceMaxAdStrengthRecommendation(GoogleAdsSearchads360V23ResourcesRecommendationImprovePerformanceMaxAdStrengthRecommendation improvePerformanceMaxAdStrengthRecommendation) { + this.improvePerformanceMaxAdStrengthRecommendation = improvePerformanceMaxAdStrengthRecommendation; + return this; + } + + /** + * Output only. The keyword match type recommendation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationKeywordMatchTypeRecommendation getKeywordMatchTypeRecommendation() { + return keywordMatchTypeRecommendation; + } + + /** + * Output only. The keyword match type recommendation. + * @param keywordMatchTypeRecommendation keywordMatchTypeRecommendation or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendation setKeywordMatchTypeRecommendation(GoogleAdsSearchads360V23ResourcesRecommendationKeywordMatchTypeRecommendation keywordMatchTypeRecommendation) { + this.keywordMatchTypeRecommendation = keywordMatchTypeRecommendation; + return this; + } + + /** + * Output only. The keyword recommendation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationKeywordRecommendation getKeywordRecommendation() { + return keywordRecommendation; + } + + /** + * Output only. The keyword recommendation. + * @param keywordRecommendation keywordRecommendation or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendation setKeywordRecommendation(GoogleAdsSearchads360V23ResourcesRecommendationKeywordRecommendation keywordRecommendation) { + this.keywordRecommendation = keywordRecommendation; + return this; + } + + /** + * Output only. The lead form asset recommendation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationLeadFormAssetRecommendation getLeadFormAssetRecommendation() { + return leadFormAssetRecommendation; + } + + /** + * Output only. The lead form asset recommendation. + * @param leadFormAssetRecommendation leadFormAssetRecommendation or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendation setLeadFormAssetRecommendation(GoogleAdsSearchads360V23ResourcesRecommendationLeadFormAssetRecommendation leadFormAssetRecommendation) { + this.leadFormAssetRecommendation = leadFormAssetRecommendation; + return this; + } + + /** + * Output only. Recommendation to lower Target ROAS. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationLowerTargetRoasRecommendation getLowerTargetRoasRecommendation() { + return lowerTargetRoasRecommendation; + } + + /** + * Output only. Recommendation to lower Target ROAS. + * @param lowerTargetRoasRecommendation lowerTargetRoasRecommendation or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendation setLowerTargetRoasRecommendation(GoogleAdsSearchads360V23ResourcesRecommendationLowerTargetRoasRecommendation lowerTargetRoasRecommendation) { + this.lowerTargetRoasRecommendation = lowerTargetRoasRecommendation; + return this; + } + + /** + * Output only. The marginal ROI campaign budget recommendation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationCampaignBudgetRecommendation getMarginalRoiCampaignBudgetRecommendation() { + return marginalRoiCampaignBudgetRecommendation; + } + + /** + * Output only. The marginal ROI campaign budget recommendation. + * @param marginalRoiCampaignBudgetRecommendation marginalRoiCampaignBudgetRecommendation or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendation setMarginalRoiCampaignBudgetRecommendation(GoogleAdsSearchads360V23ResourcesRecommendationCampaignBudgetRecommendation marginalRoiCampaignBudgetRecommendation) { + this.marginalRoiCampaignBudgetRecommendation = marginalRoiCampaignBudgetRecommendation; + return this; + } + + /** + * Output only. The MaximizeClicks Opt-In recommendation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationMaximizeClicksOptInRecommendation getMaximizeClicksOptInRecommendation() { + return maximizeClicksOptInRecommendation; + } + + /** + * Output only. The MaximizeClicks Opt-In recommendation. + * @param maximizeClicksOptInRecommendation maximizeClicksOptInRecommendation or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendation setMaximizeClicksOptInRecommendation(GoogleAdsSearchads360V23ResourcesRecommendationMaximizeClicksOptInRecommendation maximizeClicksOptInRecommendation) { + this.maximizeClicksOptInRecommendation = maximizeClicksOptInRecommendation; + return this; + } + + /** + * Output only. The Maximize Conversion Value opt-in recommendation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationMaximizeConversionValueOptInRecommendation getMaximizeConversionValueOptInRecommendation() { + return maximizeConversionValueOptInRecommendation; + } + + /** + * Output only. The Maximize Conversion Value opt-in recommendation. + * @param maximizeConversionValueOptInRecommendation maximizeConversionValueOptInRecommendation or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendation setMaximizeConversionValueOptInRecommendation(GoogleAdsSearchads360V23ResourcesRecommendationMaximizeConversionValueOptInRecommendation maximizeConversionValueOptInRecommendation) { + this.maximizeConversionValueOptInRecommendation = maximizeConversionValueOptInRecommendation; + return this; + } + + /** + * Output only. The MaximizeConversions Opt-In recommendation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationMaximizeConversionsOptInRecommendation getMaximizeConversionsOptInRecommendation() { + return maximizeConversionsOptInRecommendation; + } + + /** + * Output only. The MaximizeConversions Opt-In recommendation. + * @param maximizeConversionsOptInRecommendation maximizeConversionsOptInRecommendation or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendation setMaximizeConversionsOptInRecommendation(GoogleAdsSearchads360V23ResourcesRecommendationMaximizeConversionsOptInRecommendation maximizeConversionsOptInRecommendation) { + this.maximizeConversionsOptInRecommendation = maximizeConversionsOptInRecommendation; + return this; + } + + /** + * Output only. The Dynamic Search Ads to Performance Max migration recommendation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationMigrateDynamicSearchAdsCampaignToPerformanceMaxRecommendation getMigrateDynamicSearchAdsCampaignToPerformanceMaxRecommendation() { + return migrateDynamicSearchAdsCampaignToPerformanceMaxRecommendation; + } + + /** + * Output only. The Dynamic Search Ads to Performance Max migration recommendation. + * @param migrateDynamicSearchAdsCampaignToPerformanceMaxRecommendation migrateDynamicSearchAdsCampaignToPerformanceMaxRecommendation or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendation setMigrateDynamicSearchAdsCampaignToPerformanceMaxRecommendation(GoogleAdsSearchads360V23ResourcesRecommendationMigrateDynamicSearchAdsCampaignToPerformanceMaxRecommendation migrateDynamicSearchAdsCampaignToPerformanceMaxRecommendation) { + this.migrateDynamicSearchAdsCampaignToPerformanceMaxRecommendation = migrateDynamicSearchAdsCampaignToPerformanceMaxRecommendation; + return this; + } + + /** + * Output only. The move unused budget recommendation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationMoveUnusedBudgetRecommendation getMoveUnusedBudgetRecommendation() { + return moveUnusedBudgetRecommendation; + } + + /** + * Output only. The move unused budget recommendation. + * @param moveUnusedBudgetRecommendation moveUnusedBudgetRecommendation or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendation setMoveUnusedBudgetRecommendation(GoogleAdsSearchads360V23ResourcesRecommendationMoveUnusedBudgetRecommendation moveUnusedBudgetRecommendation) { + this.moveUnusedBudgetRecommendation = moveUnusedBudgetRecommendation; + return this; + } + + /** + * Output only. The Optimize Ad Rotation recommendation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationOptimizeAdRotationRecommendation getOptimizeAdRotationRecommendation() { + return optimizeAdRotationRecommendation; + } + + /** + * Output only. The Optimize Ad Rotation recommendation. + * @param optimizeAdRotationRecommendation optimizeAdRotationRecommendation or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendation setOptimizeAdRotationRecommendation(GoogleAdsSearchads360V23ResourcesRecommendationOptimizeAdRotationRecommendation optimizeAdRotationRecommendation) { + this.optimizeAdRotationRecommendation = optimizeAdRotationRecommendation; + return this; + } + + /** + * Output only. Recommendation to turn on Final URL expansion for your Performance Max campaigns. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationPerformanceMaxFinalUrlOptInRecommendation getPerformanceMaxFinalUrlOptInRecommendation() { + return performanceMaxFinalUrlOptInRecommendation; + } + + /** + * Output only. Recommendation to turn on Final URL expansion for your Performance Max campaigns. + * @param performanceMaxFinalUrlOptInRecommendation performanceMaxFinalUrlOptInRecommendation or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendation setPerformanceMaxFinalUrlOptInRecommendation(GoogleAdsSearchads360V23ResourcesRecommendationPerformanceMaxFinalUrlOptInRecommendation performanceMaxFinalUrlOptInRecommendation) { + this.performanceMaxFinalUrlOptInRecommendation = performanceMaxFinalUrlOptInRecommendation; + return this; + } + + /** + * Output only. The Performance Max Opt In recommendation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationPerformanceMaxOptInRecommendation getPerformanceMaxOptInRecommendation() { + return performanceMaxOptInRecommendation; + } + + /** + * Output only. The Performance Max Opt In recommendation. + * @param performanceMaxOptInRecommendation performanceMaxOptInRecommendation or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendation setPerformanceMaxOptInRecommendation(GoogleAdsSearchads360V23ResourcesRecommendationPerformanceMaxOptInRecommendation performanceMaxOptInRecommendation) { + this.performanceMaxOptInRecommendation = performanceMaxOptInRecommendation; + return this; + } + + /** + * Output only. The raise target CPA bid too low recommendation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationRaiseTargetCpaBidTooLowRecommendation getRaiseTargetCpaBidTooLowRecommendation() { + return raiseTargetCpaBidTooLowRecommendation; + } + + /** + * Output only. The raise target CPA bid too low recommendation. + * @param raiseTargetCpaBidTooLowRecommendation raiseTargetCpaBidTooLowRecommendation or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendation setRaiseTargetCpaBidTooLowRecommendation(GoogleAdsSearchads360V23ResourcesRecommendationRaiseTargetCpaBidTooLowRecommendation raiseTargetCpaBidTooLowRecommendation) { + this.raiseTargetCpaBidTooLowRecommendation = raiseTargetCpaBidTooLowRecommendation; + return this; + } + + /** + * Output only. Recommendation to raise Target CPA. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationRaiseTargetCpaRecommendation getRaiseTargetCpaRecommendation() { + return raiseTargetCpaRecommendation; + } + + /** + * Output only. Recommendation to raise Target CPA. + * @param raiseTargetCpaRecommendation raiseTargetCpaRecommendation or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendation setRaiseTargetCpaRecommendation(GoogleAdsSearchads360V23ResourcesRecommendationRaiseTargetCpaRecommendation raiseTargetCpaRecommendation) { + this.raiseTargetCpaRecommendation = raiseTargetCpaRecommendation; + return this; + } + + /** + * Output only. The refresh customer list recommendation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationRefreshCustomerMatchListRecommendation getRefreshCustomerMatchListRecommendation() { + return refreshCustomerMatchListRecommendation; + } + + /** + * Output only. The refresh customer list recommendation. + * @param refreshCustomerMatchListRecommendation refreshCustomerMatchListRecommendation or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendation setRefreshCustomerMatchListRecommendation(GoogleAdsSearchads360V23ResourcesRecommendationRefreshCustomerMatchListRecommendation refreshCustomerMatchListRecommendation) { + this.refreshCustomerMatchListRecommendation = refreshCustomerMatchListRecommendation; + return this; + } + + /** + * Immutable. The resource name of the recommendation. + * `customers/{customer_id}/recommendations/{recommendation_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Immutable. The resource name of the recommendation. + * `customers/{customer_id}/recommendations/{recommendation_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendation setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Output only. The responsive search ad asset recommendation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationResponsiveSearchAdAssetRecommendation getResponsiveSearchAdAssetRecommendation() { + return responsiveSearchAdAssetRecommendation; + } + + /** + * Output only. The responsive search ad asset recommendation. + * @param responsiveSearchAdAssetRecommendation responsiveSearchAdAssetRecommendation or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendation setResponsiveSearchAdAssetRecommendation(GoogleAdsSearchads360V23ResourcesRecommendationResponsiveSearchAdAssetRecommendation responsiveSearchAdAssetRecommendation) { + this.responsiveSearchAdAssetRecommendation = responsiveSearchAdAssetRecommendation; + return this; + } + + /** + * Output only. The responsive search ad improve ad strength recommendation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationResponsiveSearchAdImproveAdStrengthRecommendation getResponsiveSearchAdImproveAdStrengthRecommendation() { + return responsiveSearchAdImproveAdStrengthRecommendation; + } + + /** + * Output only. The responsive search ad improve ad strength recommendation. + * @param responsiveSearchAdImproveAdStrengthRecommendation responsiveSearchAdImproveAdStrengthRecommendation or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendation setResponsiveSearchAdImproveAdStrengthRecommendation(GoogleAdsSearchads360V23ResourcesRecommendationResponsiveSearchAdImproveAdStrengthRecommendation responsiveSearchAdImproveAdStrengthRecommendation) { + this.responsiveSearchAdImproveAdStrengthRecommendation = responsiveSearchAdImproveAdStrengthRecommendation; + return this; + } + + /** + * Output only. The add responsive search ad recommendation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationResponsiveSearchAdRecommendation getResponsiveSearchAdRecommendation() { + return responsiveSearchAdRecommendation; + } + + /** + * Output only. The add responsive search ad recommendation. + * @param responsiveSearchAdRecommendation responsiveSearchAdRecommendation or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendation setResponsiveSearchAdRecommendation(GoogleAdsSearchads360V23ResourcesRecommendationResponsiveSearchAdRecommendation responsiveSearchAdRecommendation) { + this.responsiveSearchAdRecommendation = responsiveSearchAdRecommendation; + return this; + } + + /** + * Output only. The Search Partners Opt-In recommendation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationSearchPartnersOptInRecommendation getSearchPartnersOptInRecommendation() { + return searchPartnersOptInRecommendation; + } + + /** + * Output only. The Search Partners Opt-In recommendation. + * @param searchPartnersOptInRecommendation searchPartnersOptInRecommendation or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendation setSearchPartnersOptInRecommendation(GoogleAdsSearchads360V23ResourcesRecommendationSearchPartnersOptInRecommendation searchPartnersOptInRecommendation) { + this.searchPartnersOptInRecommendation = searchPartnersOptInRecommendation; + return this; + } + + /** + * Output only. The set target CPA recommendation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationForecastingSetTargetCpaRecommendation getSetTargetCpaRecommendation() { + return setTargetCpaRecommendation; + } + + /** + * Output only. The set target CPA recommendation. + * @param setTargetCpaRecommendation setTargetCpaRecommendation or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendation setSetTargetCpaRecommendation(GoogleAdsSearchads360V23ResourcesRecommendationForecastingSetTargetCpaRecommendation setTargetCpaRecommendation) { + this.setTargetCpaRecommendation = setTargetCpaRecommendation; + return this; + } + + /** + * Output only. The set target ROAS recommendation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationForecastingSetTargetRoasRecommendation getSetTargetRoasRecommendation() { + return setTargetRoasRecommendation; + } + + /** + * Output only. The set target ROAS recommendation. + * @param setTargetRoasRecommendation setTargetRoasRecommendation or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendation setSetTargetRoasRecommendation(GoogleAdsSearchads360V23ResourcesRecommendationForecastingSetTargetRoasRecommendation setTargetRoasRecommendation) { + this.setTargetRoasRecommendation = setTargetRoasRecommendation; + return this; + } + + /** + * Output only. The shopping add age group recommendation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationShoppingOfferAttributeRecommendation getShoppingAddAgeGroupRecommendation() { + return shoppingAddAgeGroupRecommendation; + } + + /** + * Output only. The shopping add age group recommendation. + * @param shoppingAddAgeGroupRecommendation shoppingAddAgeGroupRecommendation or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendation setShoppingAddAgeGroupRecommendation(GoogleAdsSearchads360V23ResourcesRecommendationShoppingOfferAttributeRecommendation shoppingAddAgeGroupRecommendation) { + this.shoppingAddAgeGroupRecommendation = shoppingAddAgeGroupRecommendation; + return this; + } + + /** + * Output only. The shopping add color recommendation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationShoppingOfferAttributeRecommendation getShoppingAddColorRecommendation() { + return shoppingAddColorRecommendation; + } + + /** + * Output only. The shopping add color recommendation. + * @param shoppingAddColorRecommendation shoppingAddColorRecommendation or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendation setShoppingAddColorRecommendation(GoogleAdsSearchads360V23ResourcesRecommendationShoppingOfferAttributeRecommendation shoppingAddColorRecommendation) { + this.shoppingAddColorRecommendation = shoppingAddColorRecommendation; + return this; + } + + /** + * Output only. The shopping add gender recommendation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationShoppingOfferAttributeRecommendation getShoppingAddGenderRecommendation() { + return shoppingAddGenderRecommendation; + } + + /** + * Output only. The shopping add gender recommendation. + * @param shoppingAddGenderRecommendation shoppingAddGenderRecommendation or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendation setShoppingAddGenderRecommendation(GoogleAdsSearchads360V23ResourcesRecommendationShoppingOfferAttributeRecommendation shoppingAddGenderRecommendation) { + this.shoppingAddGenderRecommendation = shoppingAddGenderRecommendation; + return this; + } + + /** + * Output only. The shopping add GTIN recommendation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationShoppingOfferAttributeRecommendation getShoppingAddGtinRecommendation() { + return shoppingAddGtinRecommendation; + } + + /** + * Output only. The shopping add GTIN recommendation. + * @param shoppingAddGtinRecommendation shoppingAddGtinRecommendation or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendation setShoppingAddGtinRecommendation(GoogleAdsSearchads360V23ResourcesRecommendationShoppingOfferAttributeRecommendation shoppingAddGtinRecommendation) { + this.shoppingAddGtinRecommendation = shoppingAddGtinRecommendation; + return this; + } + + /** + * Output only. The shopping add more identifiers recommendation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationShoppingOfferAttributeRecommendation getShoppingAddMoreIdentifiersRecommendation() { + return shoppingAddMoreIdentifiersRecommendation; + } + + /** + * Output only. The shopping add more identifiers recommendation. + * @param shoppingAddMoreIdentifiersRecommendation shoppingAddMoreIdentifiersRecommendation or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendation setShoppingAddMoreIdentifiersRecommendation(GoogleAdsSearchads360V23ResourcesRecommendationShoppingOfferAttributeRecommendation shoppingAddMoreIdentifiersRecommendation) { + this.shoppingAddMoreIdentifiersRecommendation = shoppingAddMoreIdentifiersRecommendation; + return this; + } + + /** + * Output only. The shopping add products to campaign recommendation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationShoppingAddProductsToCampaignRecommendation getShoppingAddProductsToCampaignRecommendation() { + return shoppingAddProductsToCampaignRecommendation; + } + + /** + * Output only. The shopping add products to campaign recommendation. + * @param shoppingAddProductsToCampaignRecommendation shoppingAddProductsToCampaignRecommendation or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendation setShoppingAddProductsToCampaignRecommendation(GoogleAdsSearchads360V23ResourcesRecommendationShoppingAddProductsToCampaignRecommendation shoppingAddProductsToCampaignRecommendation) { + this.shoppingAddProductsToCampaignRecommendation = shoppingAddProductsToCampaignRecommendation; + return this; + } + + /** + * Output only. The shopping add size recommendation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationShoppingOfferAttributeRecommendation getShoppingAddSizeRecommendation() { + return shoppingAddSizeRecommendation; + } + + /** + * Output only. The shopping add size recommendation. + * @param shoppingAddSizeRecommendation shoppingAddSizeRecommendation or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendation setShoppingAddSizeRecommendation(GoogleAdsSearchads360V23ResourcesRecommendationShoppingOfferAttributeRecommendation shoppingAddSizeRecommendation) { + this.shoppingAddSizeRecommendation = shoppingAddSizeRecommendation; + return this; + } + + /** + * Output only. The shopping fix disapproved products recommendation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationShoppingFixDisapprovedProductsRecommendation getShoppingFixDisapprovedProductsRecommendation() { + return shoppingFixDisapprovedProductsRecommendation; + } + + /** + * Output only. The shopping fix disapproved products recommendation. + * @param shoppingFixDisapprovedProductsRecommendation shoppingFixDisapprovedProductsRecommendation or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendation setShoppingFixDisapprovedProductsRecommendation(GoogleAdsSearchads360V23ResourcesRecommendationShoppingFixDisapprovedProductsRecommendation shoppingFixDisapprovedProductsRecommendation) { + this.shoppingFixDisapprovedProductsRecommendation = shoppingFixDisapprovedProductsRecommendation; + return this; + } + + /** + * Output only. The shopping fix Merchant Center account suspension warning recommendation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationShoppingMerchantCenterAccountSuspensionRecommendation getShoppingFixMerchantCenterAccountSuspensionWarningRecommendation() { + return shoppingFixMerchantCenterAccountSuspensionWarningRecommendation; + } + + /** + * Output only. The shopping fix Merchant Center account suspension warning recommendation. + * @param shoppingFixMerchantCenterAccountSuspensionWarningRecommendation shoppingFixMerchantCenterAccountSuspensionWarningRecommendation or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendation setShoppingFixMerchantCenterAccountSuspensionWarningRecommendation(GoogleAdsSearchads360V23ResourcesRecommendationShoppingMerchantCenterAccountSuspensionRecommendation shoppingFixMerchantCenterAccountSuspensionWarningRecommendation) { + this.shoppingFixMerchantCenterAccountSuspensionWarningRecommendation = shoppingFixMerchantCenterAccountSuspensionWarningRecommendation; + return this; + } + + /** + * Output only. The shopping fix suspended Merchant Center account recommendation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationShoppingMerchantCenterAccountSuspensionRecommendation getShoppingFixSuspendedMerchantCenterAccountRecommendation() { + return shoppingFixSuspendedMerchantCenterAccountRecommendation; + } + + /** + * Output only. The shopping fix suspended Merchant Center account recommendation. + * @param shoppingFixSuspendedMerchantCenterAccountRecommendation shoppingFixSuspendedMerchantCenterAccountRecommendation or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendation setShoppingFixSuspendedMerchantCenterAccountRecommendation(GoogleAdsSearchads360V23ResourcesRecommendationShoppingMerchantCenterAccountSuspensionRecommendation shoppingFixSuspendedMerchantCenterAccountRecommendation) { + this.shoppingFixSuspendedMerchantCenterAccountRecommendation = shoppingFixSuspendedMerchantCenterAccountRecommendation; + return this; + } + + /** + * Output only. The shopping migrate Regular Shopping Campaign offers to Performance Max + * recommendation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationShoppingMigrateRegularShoppingCampaignOffersToPerformanceMaxRecommendation getShoppingMigrateRegularShoppingCampaignOffersToPerformanceMaxRecommendation() { + return shoppingMigrateRegularShoppingCampaignOffersToPerformanceMaxRecommendation; + } + + /** + * Output only. The shopping migrate Regular Shopping Campaign offers to Performance Max + * recommendation. + * @param shoppingMigrateRegularShoppingCampaignOffersToPerformanceMaxRecommendation shoppingMigrateRegularShoppingCampaignOffersToPerformanceMaxRecommendation or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendation setShoppingMigrateRegularShoppingCampaignOffersToPerformanceMaxRecommendation(GoogleAdsSearchads360V23ResourcesRecommendationShoppingMigrateRegularShoppingCampaignOffersToPerformanceMaxRecommendation shoppingMigrateRegularShoppingCampaignOffersToPerformanceMaxRecommendation) { + this.shoppingMigrateRegularShoppingCampaignOffersToPerformanceMaxRecommendation = shoppingMigrateRegularShoppingCampaignOffersToPerformanceMaxRecommendation; + return this; + } + + /** + * Output only. The shopping target all offers recommendation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationShoppingTargetAllOffersRecommendation getShoppingTargetAllOffersRecommendation() { + return shoppingTargetAllOffersRecommendation; + } + + /** + * Output only. The shopping target all offers recommendation. + * @param shoppingTargetAllOffersRecommendation shoppingTargetAllOffersRecommendation or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendation setShoppingTargetAllOffersRecommendation(GoogleAdsSearchads360V23ResourcesRecommendationShoppingTargetAllOffersRecommendation shoppingTargetAllOffersRecommendation) { + this.shoppingTargetAllOffersRecommendation = shoppingTargetAllOffersRecommendation; + return this; + } + + /** + * Output only. The sitelink asset recommendation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationSitelinkAssetRecommendation getSitelinkAssetRecommendation() { + return sitelinkAssetRecommendation; + } + + /** + * Output only. The sitelink asset recommendation. + * @param sitelinkAssetRecommendation sitelinkAssetRecommendation or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendation setSitelinkAssetRecommendation(GoogleAdsSearchads360V23ResourcesRecommendationSitelinkAssetRecommendation sitelinkAssetRecommendation) { + this.sitelinkAssetRecommendation = sitelinkAssetRecommendation; + return this; + } + + /** + * Output only. The TargetCPA opt-in recommendation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationTargetCpaOptInRecommendation getTargetCpaOptInRecommendation() { + return targetCpaOptInRecommendation; + } + + /** + * Output only. The TargetCPA opt-in recommendation. + * @param targetCpaOptInRecommendation targetCpaOptInRecommendation or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendation setTargetCpaOptInRecommendation(GoogleAdsSearchads360V23ResourcesRecommendationTargetCpaOptInRecommendation targetCpaOptInRecommendation) { + this.targetCpaOptInRecommendation = targetCpaOptInRecommendation; + return this; + } + + /** + * Output only. The Target ROAS opt-in recommendation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationTargetRoasOptInRecommendation getTargetRoasOptInRecommendation() { + return targetRoasOptInRecommendation; + } + + /** + * Output only. The Target ROAS opt-in recommendation. + * @param targetRoasOptInRecommendation targetRoasOptInRecommendation or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendation setTargetRoasOptInRecommendation(GoogleAdsSearchads360V23ResourcesRecommendationTargetRoasOptInRecommendation targetRoasOptInRecommendation) { + this.targetRoasOptInRecommendation = targetRoasOptInRecommendation; + return this; + } + + /** + * Output only. Add expanded text ad recommendation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationTextAdRecommendation getTextAdRecommendation() { + return textAdRecommendation; + } + + /** + * Output only. Add expanded text ad recommendation. + * @param textAdRecommendation textAdRecommendation or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendation setTextAdRecommendation(GoogleAdsSearchads360V23ResourcesRecommendationTextAdRecommendation textAdRecommendation) { + this.textAdRecommendation = textAdRecommendation; + return this; + } + + /** + * Output only. The type of recommendation. + * @return value or {@code null} for none + */ + public java.lang.String getType() { + return type; + } + + /** + * Output only. The type of recommendation. + * @param type type or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendation setType(java.lang.String type) { + this.type = type; + return this; + } + + /** + * Output only. The upgrade a Local campaign to a Performance Max campaign recommendation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationUpgradeLocalCampaignToPerformanceMaxRecommendation getUpgradeLocalCampaignToPerformanceMaxRecommendation() { + return upgradeLocalCampaignToPerformanceMaxRecommendation; + } + + /** + * Output only. The upgrade a Local campaign to a Performance Max campaign recommendation. + * @param upgradeLocalCampaignToPerformanceMaxRecommendation upgradeLocalCampaignToPerformanceMaxRecommendation or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendation setUpgradeLocalCampaignToPerformanceMaxRecommendation(GoogleAdsSearchads360V23ResourcesRecommendationUpgradeLocalCampaignToPerformanceMaxRecommendation upgradeLocalCampaignToPerformanceMaxRecommendation) { + this.upgradeLocalCampaignToPerformanceMaxRecommendation = upgradeLocalCampaignToPerformanceMaxRecommendation; + return this; + } + + /** + * Output only. The upgrade a Smart Shopping campaign to a Performance Max campaign + * recommendation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationUpgradeSmartShoppingCampaignToPerformanceMaxRecommendation getUpgradeSmartShoppingCampaignToPerformanceMaxRecommendation() { + return upgradeSmartShoppingCampaignToPerformanceMaxRecommendation; + } + + /** + * Output only. The upgrade a Smart Shopping campaign to a Performance Max campaign + * recommendation. + * @param upgradeSmartShoppingCampaignToPerformanceMaxRecommendation upgradeSmartShoppingCampaignToPerformanceMaxRecommendation or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendation setUpgradeSmartShoppingCampaignToPerformanceMaxRecommendation(GoogleAdsSearchads360V23ResourcesRecommendationUpgradeSmartShoppingCampaignToPerformanceMaxRecommendation upgradeSmartShoppingCampaignToPerformanceMaxRecommendation) { + this.upgradeSmartShoppingCampaignToPerformanceMaxRecommendation = upgradeSmartShoppingCampaignToPerformanceMaxRecommendation; + return this; + } + + /** + * Output only. The use broad match keyword recommendation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationUseBroadMatchKeywordRecommendation getUseBroadMatchKeywordRecommendation() { + return useBroadMatchKeywordRecommendation; + } + + /** + * Output only. The use broad match keyword recommendation. + * @param useBroadMatchKeywordRecommendation useBroadMatchKeywordRecommendation or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendation setUseBroadMatchKeywordRecommendation(GoogleAdsSearchads360V23ResourcesRecommendationUseBroadMatchKeywordRecommendation useBroadMatchKeywordRecommendation) { + this.useBroadMatchKeywordRecommendation = useBroadMatchKeywordRecommendation; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesRecommendation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendation clone() { + return (GoogleAdsSearchads360V23ResourcesRecommendation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationAccountInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationAccountInfo.java new file mode 100644 index 00000000000..d99ab7ad7a2 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationAccountInfo.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Wrapper for information about a Google Ads account. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesRecommendationAccountInfo extends com.google.api.client.json.GenericJson { + + /** + * Output only. The customer ID of the account. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long customerId; + + /** + * Output only. The descriptive name of the account. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String descriptiveName; + + /** + * Output only. The customer ID of the account. + * @return value or {@code null} for none + */ + public java.lang.Long getCustomerId() { + return customerId; + } + + /** + * Output only. The customer ID of the account. + * @param customerId customerId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationAccountInfo setCustomerId(java.lang.Long customerId) { + this.customerId = customerId; + return this; + } + + /** + * Output only. The descriptive name of the account. + * @return value or {@code null} for none + */ + public java.lang.String getDescriptiveName() { + return descriptiveName; + } + + /** + * Output only. The descriptive name of the account. + * @param descriptiveName descriptiveName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationAccountInfo setDescriptiveName(java.lang.String descriptiveName) { + this.descriptiveName = descriptiveName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationAccountInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesRecommendationAccountInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationAccountInfo clone() { + return (GoogleAdsSearchads360V23ResourcesRecommendationAccountInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationCallAssetRecommendation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationCallAssetRecommendation.java new file mode 100644 index 00000000000..eb27601112d --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationCallAssetRecommendation.java @@ -0,0 +1,43 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The call asset recommendation. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesRecommendationCallAssetRecommendation extends com.google.api.client.json.GenericJson { + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationCallAssetRecommendation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesRecommendationCallAssetRecommendation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationCallAssetRecommendation clone() { + return (GoogleAdsSearchads360V23ResourcesRecommendationCallAssetRecommendation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationCalloutAssetRecommendation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationCalloutAssetRecommendation.java new file mode 100644 index 00000000000..e321d378229 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationCalloutAssetRecommendation.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The callout asset recommendation. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesRecommendationCalloutAssetRecommendation extends com.google.api.client.json.GenericJson { + + /** + * Output only. New callout extension assets recommended at the campaign level. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List recommendedCampaignCalloutAssets; + + /** + * Output only. New callout extension assets recommended at the customer level. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List recommendedCustomerCalloutAssets; + + /** + * Output only. New callout extension assets recommended at the campaign level. + * @return value or {@code null} for none + */ + public java.util.List getRecommendedCampaignCalloutAssets() { + return recommendedCampaignCalloutAssets; + } + + /** + * Output only. New callout extension assets recommended at the campaign level. + * @param recommendedCampaignCalloutAssets recommendedCampaignCalloutAssets or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationCalloutAssetRecommendation setRecommendedCampaignCalloutAssets(java.util.List recommendedCampaignCalloutAssets) { + this.recommendedCampaignCalloutAssets = recommendedCampaignCalloutAssets; + return this; + } + + /** + * Output only. New callout extension assets recommended at the customer level. + * @return value or {@code null} for none + */ + public java.util.List getRecommendedCustomerCalloutAssets() { + return recommendedCustomerCalloutAssets; + } + + /** + * Output only. New callout extension assets recommended at the customer level. + * @param recommendedCustomerCalloutAssets recommendedCustomerCalloutAssets or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationCalloutAssetRecommendation setRecommendedCustomerCalloutAssets(java.util.List recommendedCustomerCalloutAssets) { + this.recommendedCustomerCalloutAssets = recommendedCustomerCalloutAssets; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationCalloutAssetRecommendation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesRecommendationCalloutAssetRecommendation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationCalloutAssetRecommendation clone() { + return (GoogleAdsSearchads360V23ResourcesRecommendationCalloutAssetRecommendation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationCampaignBudget.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationCampaignBudget.java new file mode 100644 index 00000000000..af8c995c0cd --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationCampaignBudget.java @@ -0,0 +1,121 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A campaign budget shared amongst various budget recommendation types. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesRecommendationCampaignBudget extends com.google.api.client.json.GenericJson { + + /** + * Output only. Current budget amount. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long currentAmountMicros; + + /** + * Output only. The date when the new budget would start being used. This field will be set for + * the following recommendation types: FORECASTING_SET_TARGET_ROAS YYYY-MM-DD format, for example, + * 2018-04-17. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String newStartDate; + + /** + * Output only. Recommended budget amount. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long recommendedNewAmountMicros; + + /** + * Output only. Current budget amount. + * @return value or {@code null} for none + */ + public java.lang.Long getCurrentAmountMicros() { + return currentAmountMicros; + } + + /** + * Output only. Current budget amount. + * @param currentAmountMicros currentAmountMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationCampaignBudget setCurrentAmountMicros(java.lang.Long currentAmountMicros) { + this.currentAmountMicros = currentAmountMicros; + return this; + } + + /** + * Output only. The date when the new budget would start being used. This field will be set for + * the following recommendation types: FORECASTING_SET_TARGET_ROAS YYYY-MM-DD format, for example, + * 2018-04-17. + * @return value or {@code null} for none + */ + public java.lang.String getNewStartDate() { + return newStartDate; + } + + /** + * Output only. The date when the new budget would start being used. This field will be set for + * the following recommendation types: FORECASTING_SET_TARGET_ROAS YYYY-MM-DD format, for example, + * 2018-04-17. + * @param newStartDate newStartDate or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationCampaignBudget setNewStartDate(java.lang.String newStartDate) { + this.newStartDate = newStartDate; + return this; + } + + /** + * Output only. Recommended budget amount. + * @return value or {@code null} for none + */ + public java.lang.Long getRecommendedNewAmountMicros() { + return recommendedNewAmountMicros; + } + + /** + * Output only. Recommended budget amount. + * @param recommendedNewAmountMicros recommendedNewAmountMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationCampaignBudget setRecommendedNewAmountMicros(java.lang.Long recommendedNewAmountMicros) { + this.recommendedNewAmountMicros = recommendedNewAmountMicros; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationCampaignBudget set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesRecommendationCampaignBudget) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationCampaignBudget clone() { + return (GoogleAdsSearchads360V23ResourcesRecommendationCampaignBudget) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationCampaignBudgetRecommendation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationCampaignBudgetRecommendation.java new file mode 100644 index 00000000000..c12e0aa790e --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationCampaignBudgetRecommendation.java @@ -0,0 +1,124 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The budget recommendation for budget constrained campaigns. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesRecommendationCampaignBudgetRecommendation extends com.google.api.client.json.GenericJson { + + /** + * Output only. The budget amounts and associated impact estimates for some values of possible + * budget amounts. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List budgetOptions; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ResourcesRecommendationCampaignBudgetRecommendationCampaignBudgetRecommendationOption used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ResourcesRecommendationCampaignBudgetRecommendationCampaignBudgetRecommendationOption.class); + } + + /** + * Output only. The current budget amount in micros. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long currentBudgetAmountMicros; + + /** + * Output only. The recommended budget amount in micros. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long recommendedBudgetAmountMicros; + + /** + * Output only. The budget amounts and associated impact estimates for some values of possible + * budget amounts. + * @return value or {@code null} for none + */ + public java.util.List getBudgetOptions() { + return budgetOptions; + } + + /** + * Output only. The budget amounts and associated impact estimates for some values of possible + * budget amounts. + * @param budgetOptions budgetOptions or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationCampaignBudgetRecommendation setBudgetOptions(java.util.List budgetOptions) { + this.budgetOptions = budgetOptions; + return this; + } + + /** + * Output only. The current budget amount in micros. + * @return value or {@code null} for none + */ + public java.lang.Long getCurrentBudgetAmountMicros() { + return currentBudgetAmountMicros; + } + + /** + * Output only. The current budget amount in micros. + * @param currentBudgetAmountMicros currentBudgetAmountMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationCampaignBudgetRecommendation setCurrentBudgetAmountMicros(java.lang.Long currentBudgetAmountMicros) { + this.currentBudgetAmountMicros = currentBudgetAmountMicros; + return this; + } + + /** + * Output only. The recommended budget amount in micros. + * @return value or {@code null} for none + */ + public java.lang.Long getRecommendedBudgetAmountMicros() { + return recommendedBudgetAmountMicros; + } + + /** + * Output only. The recommended budget amount in micros. + * @param recommendedBudgetAmountMicros recommendedBudgetAmountMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationCampaignBudgetRecommendation setRecommendedBudgetAmountMicros(java.lang.Long recommendedBudgetAmountMicros) { + this.recommendedBudgetAmountMicros = recommendedBudgetAmountMicros; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationCampaignBudgetRecommendation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesRecommendationCampaignBudgetRecommendation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationCampaignBudgetRecommendation clone() { + return (GoogleAdsSearchads360V23ResourcesRecommendationCampaignBudgetRecommendation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationCampaignBudgetRecommendationCampaignBudgetRecommendationOption.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationCampaignBudgetRecommendationCampaignBudgetRecommendationOption.java new file mode 100644 index 00000000000..d2f6ac6a6b6 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationCampaignBudgetRecommendationCampaignBudgetRecommendationOption.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The impact estimates for a given budget amount. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesRecommendationCampaignBudgetRecommendationCampaignBudgetRecommendationOption extends com.google.api.client.json.GenericJson { + + /** + * Output only. The budget amount for this option. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long budgetAmountMicros; + + /** + * Output only. The impact estimate if budget is changed to amount specified in this option. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesRecommendationRecommendationImpact impact; + + /** + * Output only. The budget amount for this option. + * @return value or {@code null} for none + */ + public java.lang.Long getBudgetAmountMicros() { + return budgetAmountMicros; + } + + /** + * Output only. The budget amount for this option. + * @param budgetAmountMicros budgetAmountMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationCampaignBudgetRecommendationCampaignBudgetRecommendationOption setBudgetAmountMicros(java.lang.Long budgetAmountMicros) { + this.budgetAmountMicros = budgetAmountMicros; + return this; + } + + /** + * Output only. The impact estimate if budget is changed to amount specified in this option. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationRecommendationImpact getImpact() { + return impact; + } + + /** + * Output only. The impact estimate if budget is changed to amount specified in this option. + * @param impact impact or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationCampaignBudgetRecommendationCampaignBudgetRecommendationOption setImpact(GoogleAdsSearchads360V23ResourcesRecommendationRecommendationImpact impact) { + this.impact = impact; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationCampaignBudgetRecommendationCampaignBudgetRecommendationOption set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesRecommendationCampaignBudgetRecommendationCampaignBudgetRecommendationOption) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationCampaignBudgetRecommendationCampaignBudgetRecommendationOption clone() { + return (GoogleAdsSearchads360V23ResourcesRecommendationCampaignBudgetRecommendationCampaignBudgetRecommendationOption) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationCustomAudienceOptInRecommendation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationCustomAudienceOptInRecommendation.java new file mode 100644 index 00000000000..576b990eadd --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationCustomAudienceOptInRecommendation.java @@ -0,0 +1,73 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The Custom Audience Opt In recommendation. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesRecommendationCustomAudienceOptInRecommendation extends com.google.api.client.json.GenericJson { + + /** + * Output only. The list of keywords to use for custom audience creation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List keywords; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonKeywordInfo used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonKeywordInfo.class); + } + + /** + * Output only. The list of keywords to use for custom audience creation. + * @return value or {@code null} for none + */ + public java.util.List getKeywords() { + return keywords; + } + + /** + * Output only. The list of keywords to use for custom audience creation. + * @param keywords keywords or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationCustomAudienceOptInRecommendation setKeywords(java.util.List keywords) { + this.keywords = keywords; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationCustomAudienceOptInRecommendation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesRecommendationCustomAudienceOptInRecommendation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationCustomAudienceOptInRecommendation clone() { + return (GoogleAdsSearchads360V23ResourcesRecommendationCustomAudienceOptInRecommendation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationDisplayExpansionOptInRecommendation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationDisplayExpansionOptInRecommendation.java new file mode 100644 index 00000000000..7bb1cf8cad0 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationDisplayExpansionOptInRecommendation.java @@ -0,0 +1,43 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The Display Expansion opt-in recommendation. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesRecommendationDisplayExpansionOptInRecommendation extends com.google.api.client.json.GenericJson { + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationDisplayExpansionOptInRecommendation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesRecommendationDisplayExpansionOptInRecommendation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationDisplayExpansionOptInRecommendation clone() { + return (GoogleAdsSearchads360V23ResourcesRecommendationDisplayExpansionOptInRecommendation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationDynamicImageExtensionOptInRecommendation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationDynamicImageExtensionOptInRecommendation.java new file mode 100644 index 00000000000..d2d653110b7 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationDynamicImageExtensionOptInRecommendation.java @@ -0,0 +1,44 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Recommendation to enable dynamic image extensions on the account, allowing Google to find the + * best images from ad landing pages and complement text ads. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesRecommendationDynamicImageExtensionOptInRecommendation extends com.google.api.client.json.GenericJson { + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationDynamicImageExtensionOptInRecommendation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesRecommendationDynamicImageExtensionOptInRecommendation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationDynamicImageExtensionOptInRecommendation clone() { + return (GoogleAdsSearchads360V23ResourcesRecommendationDynamicImageExtensionOptInRecommendation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationEnhancedCpcOptInRecommendation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationEnhancedCpcOptInRecommendation.java new file mode 100644 index 00000000000..58522ea5216 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationEnhancedCpcOptInRecommendation.java @@ -0,0 +1,43 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The Enhanced Cost-Per-Click Opt-In recommendation. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesRecommendationEnhancedCpcOptInRecommendation extends com.google.api.client.json.GenericJson { + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationEnhancedCpcOptInRecommendation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesRecommendationEnhancedCpcOptInRecommendation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationEnhancedCpcOptInRecommendation clone() { + return (GoogleAdsSearchads360V23ResourcesRecommendationEnhancedCpcOptInRecommendation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationForecastingSetTargetCpaRecommendation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationForecastingSetTargetCpaRecommendation.java new file mode 100644 index 00000000000..29a39e57f2a --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationForecastingSetTargetCpaRecommendation.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The set target CPA recommendations. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesRecommendationForecastingSetTargetCpaRecommendation extends com.google.api.client.json.GenericJson { + + /** + * Output only. The campaign budget. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesRecommendationCampaignBudget campaignBudget; + + /** + * Output only. The recommended target CPA. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long recommendedTargetCpaMicros; + + /** + * Output only. The campaign budget. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationCampaignBudget getCampaignBudget() { + return campaignBudget; + } + + /** + * Output only. The campaign budget. + * @param campaignBudget campaignBudget or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationForecastingSetTargetCpaRecommendation setCampaignBudget(GoogleAdsSearchads360V23ResourcesRecommendationCampaignBudget campaignBudget) { + this.campaignBudget = campaignBudget; + return this; + } + + /** + * Output only. The recommended target CPA. + * @return value or {@code null} for none + */ + public java.lang.Long getRecommendedTargetCpaMicros() { + return recommendedTargetCpaMicros; + } + + /** + * Output only. The recommended target CPA. + * @param recommendedTargetCpaMicros recommendedTargetCpaMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationForecastingSetTargetCpaRecommendation setRecommendedTargetCpaMicros(java.lang.Long recommendedTargetCpaMicros) { + this.recommendedTargetCpaMicros = recommendedTargetCpaMicros; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationForecastingSetTargetCpaRecommendation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesRecommendationForecastingSetTargetCpaRecommendation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationForecastingSetTargetCpaRecommendation clone() { + return (GoogleAdsSearchads360V23ResourcesRecommendationForecastingSetTargetCpaRecommendation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationForecastingSetTargetRoasRecommendation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationForecastingSetTargetRoasRecommendation.java new file mode 100644 index 00000000000..f759ea587f8 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationForecastingSetTargetRoasRecommendation.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The forecasting set target ROAS recommendation. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesRecommendationForecastingSetTargetRoasRecommendation extends com.google.api.client.json.GenericJson { + + /** + * Output only. The campaign budget. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesRecommendationCampaignBudget campaignBudget; + + /** + * Output only. The recommended target ROAS (revenue per unit of spend). The value is between 0.01 + * and 1000.0, inclusive. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double recommendedTargetRoas; + + /** + * Output only. The campaign budget. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationCampaignBudget getCampaignBudget() { + return campaignBudget; + } + + /** + * Output only. The campaign budget. + * @param campaignBudget campaignBudget or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationForecastingSetTargetRoasRecommendation setCampaignBudget(GoogleAdsSearchads360V23ResourcesRecommendationCampaignBudget campaignBudget) { + this.campaignBudget = campaignBudget; + return this; + } + + /** + * Output only. The recommended target ROAS (revenue per unit of spend). The value is between 0.01 + * and 1000.0, inclusive. + * @return value or {@code null} for none + */ + public java.lang.Double getRecommendedTargetRoas() { + return recommendedTargetRoas; + } + + /** + * Output only. The recommended target ROAS (revenue per unit of spend). The value is between 0.01 + * and 1000.0, inclusive. + * @param recommendedTargetRoas recommendedTargetRoas or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationForecastingSetTargetRoasRecommendation setRecommendedTargetRoas(java.lang.Double recommendedTargetRoas) { + this.recommendedTargetRoas = recommendedTargetRoas; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationForecastingSetTargetRoasRecommendation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesRecommendationForecastingSetTargetRoasRecommendation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationForecastingSetTargetRoasRecommendation clone() { + return (GoogleAdsSearchads360V23ResourcesRecommendationForecastingSetTargetRoasRecommendation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationImproveDemandGenAdStrengthRecommendation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationImproveDemandGenAdStrengthRecommendation.java new file mode 100644 index 00000000000..3f8bc60c374 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationImproveDemandGenAdStrengthRecommendation.java @@ -0,0 +1,115 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The improve Demand Gen ad strength recommendation. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesRecommendationImproveDemandGenAdStrengthRecommendation extends com.google.api.client.json.GenericJson { + + /** + * Output only. The resource name of the ad that can be improved. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String ad; + + /** + * Output only. The current ad strength. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String adStrength; + + /** + * Output only. A list of recommendations to improve the ad strength. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List demandGenAssetActionItems; + + /** + * Output only. The resource name of the ad that can be improved. + * @return value or {@code null} for none + */ + public java.lang.String getAd() { + return ad; + } + + /** + * Output only. The resource name of the ad that can be improved. + * @param ad ad or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationImproveDemandGenAdStrengthRecommendation setAd(java.lang.String ad) { + this.ad = ad; + return this; + } + + /** + * Output only. The current ad strength. + * @return value or {@code null} for none + */ + public java.lang.String getAdStrength() { + return adStrength; + } + + /** + * Output only. The current ad strength. + * @param adStrength adStrength or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationImproveDemandGenAdStrengthRecommendation setAdStrength(java.lang.String adStrength) { + this.adStrength = adStrength; + return this; + } + + /** + * Output only. A list of recommendations to improve the ad strength. + * @return value or {@code null} for none + */ + public java.util.List getDemandGenAssetActionItems() { + return demandGenAssetActionItems; + } + + /** + * Output only. A list of recommendations to improve the ad strength. + * @param demandGenAssetActionItems demandGenAssetActionItems or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationImproveDemandGenAdStrengthRecommendation setDemandGenAssetActionItems(java.util.List demandGenAssetActionItems) { + this.demandGenAssetActionItems = demandGenAssetActionItems; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationImproveDemandGenAdStrengthRecommendation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesRecommendationImproveDemandGenAdStrengthRecommendation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationImproveDemandGenAdStrengthRecommendation clone() { + return (GoogleAdsSearchads360V23ResourcesRecommendationImproveDemandGenAdStrengthRecommendation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationImproveGoogleTagCoverageRecommendation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationImproveGoogleTagCoverageRecommendation.java new file mode 100644 index 00000000000..2517352a4c6 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationImproveGoogleTagCoverageRecommendation.java @@ -0,0 +1,43 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Recommendation to deploy Google Tag on more pages. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesRecommendationImproveGoogleTagCoverageRecommendation extends com.google.api.client.json.GenericJson { + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationImproveGoogleTagCoverageRecommendation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesRecommendationImproveGoogleTagCoverageRecommendation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationImproveGoogleTagCoverageRecommendation clone() { + return (GoogleAdsSearchads360V23ResourcesRecommendationImproveGoogleTagCoverageRecommendation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationImprovePerformanceMaxAdStrengthRecommendation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationImprovePerformanceMaxAdStrengthRecommendation.java new file mode 100644 index 00000000000..7136a9c76bd --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationImprovePerformanceMaxAdStrengthRecommendation.java @@ -0,0 +1,92 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Recommendation to improve the asset group strength of a Performance Max campaign to an + * "Excellent" rating. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesRecommendationImprovePerformanceMaxAdStrengthRecommendation extends com.google.api.client.json.GenericJson { + + /** + * Output only. The current ad strength score of the asset group. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String adStrength; + + /** + * Output only. The asset group resource name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String assetGroup; + + /** + * Output only. The current ad strength score of the asset group. + * @return value or {@code null} for none + */ + public java.lang.String getAdStrength() { + return adStrength; + } + + /** + * Output only. The current ad strength score of the asset group. + * @param adStrength adStrength or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationImprovePerformanceMaxAdStrengthRecommendation setAdStrength(java.lang.String adStrength) { + this.adStrength = adStrength; + return this; + } + + /** + * Output only. The asset group resource name. + * @return value or {@code null} for none + */ + public java.lang.String getAssetGroup() { + return assetGroup; + } + + /** + * Output only. The asset group resource name. + * @param assetGroup assetGroup or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationImprovePerformanceMaxAdStrengthRecommendation setAssetGroup(java.lang.String assetGroup) { + this.assetGroup = assetGroup; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationImprovePerformanceMaxAdStrengthRecommendation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesRecommendationImprovePerformanceMaxAdStrengthRecommendation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationImprovePerformanceMaxAdStrengthRecommendation clone() { + return (GoogleAdsSearchads360V23ResourcesRecommendationImprovePerformanceMaxAdStrengthRecommendation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationKeywordMatchTypeRecommendation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationKeywordMatchTypeRecommendation.java new file mode 100644 index 00000000000..83bdac0c117 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationKeywordMatchTypeRecommendation.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The keyword match type recommendation. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesRecommendationKeywordMatchTypeRecommendation extends com.google.api.client.json.GenericJson { + + /** + * Output only. The existing keyword where the match type should be more broad. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonKeywordInfo keyword; + + /** + * Output only. The recommended new match type. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String recommendedMatchType; + + /** + * Output only. The existing keyword where the match type should be more broad. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonKeywordInfo getKeyword() { + return keyword; + } + + /** + * Output only. The existing keyword where the match type should be more broad. + * @param keyword keyword or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationKeywordMatchTypeRecommendation setKeyword(GoogleAdsSearchads360V23CommonKeywordInfo keyword) { + this.keyword = keyword; + return this; + } + + /** + * Output only. The recommended new match type. + * @return value or {@code null} for none + */ + public java.lang.String getRecommendedMatchType() { + return recommendedMatchType; + } + + /** + * Output only. The recommended new match type. + * @param recommendedMatchType recommendedMatchType or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationKeywordMatchTypeRecommendation setRecommendedMatchType(java.lang.String recommendedMatchType) { + this.recommendedMatchType = recommendedMatchType; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationKeywordMatchTypeRecommendation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesRecommendationKeywordMatchTypeRecommendation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationKeywordMatchTypeRecommendation clone() { + return (GoogleAdsSearchads360V23ResourcesRecommendationKeywordMatchTypeRecommendation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationKeywordRecommendation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationKeywordRecommendation.java new file mode 100644 index 00000000000..ff588b919fc --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationKeywordRecommendation.java @@ -0,0 +1,124 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The keyword recommendation. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesRecommendationKeywordRecommendation extends com.google.api.client.json.GenericJson { + + /** + * Output only. The recommended keyword. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonKeywordInfo keyword; + + /** + * Output only. The recommended CPC (cost-per-click) bid. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long recommendedCpcBidMicros; + + /** + * Output only. A list of search terms this keyword matches. The same search term may be repeated + * for multiple keywords. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List searchTerms; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ResourcesRecommendationKeywordRecommendationSearchTerm used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ResourcesRecommendationKeywordRecommendationSearchTerm.class); + } + + /** + * Output only. The recommended keyword. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonKeywordInfo getKeyword() { + return keyword; + } + + /** + * Output only. The recommended keyword. + * @param keyword keyword or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationKeywordRecommendation setKeyword(GoogleAdsSearchads360V23CommonKeywordInfo keyword) { + this.keyword = keyword; + return this; + } + + /** + * Output only. The recommended CPC (cost-per-click) bid. + * @return value or {@code null} for none + */ + public java.lang.Long getRecommendedCpcBidMicros() { + return recommendedCpcBidMicros; + } + + /** + * Output only. The recommended CPC (cost-per-click) bid. + * @param recommendedCpcBidMicros recommendedCpcBidMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationKeywordRecommendation setRecommendedCpcBidMicros(java.lang.Long recommendedCpcBidMicros) { + this.recommendedCpcBidMicros = recommendedCpcBidMicros; + return this; + } + + /** + * Output only. A list of search terms this keyword matches. The same search term may be repeated + * for multiple keywords. + * @return value or {@code null} for none + */ + public java.util.List getSearchTerms() { + return searchTerms; + } + + /** + * Output only. A list of search terms this keyword matches. The same search term may be repeated + * for multiple keywords. + * @param searchTerms searchTerms or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationKeywordRecommendation setSearchTerms(java.util.List searchTerms) { + this.searchTerms = searchTerms; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationKeywordRecommendation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesRecommendationKeywordRecommendation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationKeywordRecommendation clone() { + return (GoogleAdsSearchads360V23ResourcesRecommendationKeywordRecommendation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationKeywordRecommendationSearchTerm.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationKeywordRecommendationSearchTerm.java new file mode 100644 index 00000000000..9e3c536ce22 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationKeywordRecommendationSearchTerm.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Information about a search term as related to a keyword recommendation. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesRecommendationKeywordRecommendationSearchTerm extends com.google.api.client.json.GenericJson { + + /** + * Output only. Estimated number of historical weekly searches for this search term. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long estimatedWeeklySearchCount; + + /** + * Output only. The text of the search term. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String text; + + /** + * Output only. Estimated number of historical weekly searches for this search term. + * @return value or {@code null} for none + */ + public java.lang.Long getEstimatedWeeklySearchCount() { + return estimatedWeeklySearchCount; + } + + /** + * Output only. Estimated number of historical weekly searches for this search term. + * @param estimatedWeeklySearchCount estimatedWeeklySearchCount or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationKeywordRecommendationSearchTerm setEstimatedWeeklySearchCount(java.lang.Long estimatedWeeklySearchCount) { + this.estimatedWeeklySearchCount = estimatedWeeklySearchCount; + return this; + } + + /** + * Output only. The text of the search term. + * @return value or {@code null} for none + */ + public java.lang.String getText() { + return text; + } + + /** + * Output only. The text of the search term. + * @param text text or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationKeywordRecommendationSearchTerm setText(java.lang.String text) { + this.text = text; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationKeywordRecommendationSearchTerm set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesRecommendationKeywordRecommendationSearchTerm) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationKeywordRecommendationSearchTerm clone() { + return (GoogleAdsSearchads360V23ResourcesRecommendationKeywordRecommendationSearchTerm) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationLeadFormAssetRecommendation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationLeadFormAssetRecommendation.java new file mode 100644 index 00000000000..38fb93d941e --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationLeadFormAssetRecommendation.java @@ -0,0 +1,43 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The lead form asset recommendation. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesRecommendationLeadFormAssetRecommendation extends com.google.api.client.json.GenericJson { + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationLeadFormAssetRecommendation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesRecommendationLeadFormAssetRecommendation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationLeadFormAssetRecommendation clone() { + return (GoogleAdsSearchads360V23ResourcesRecommendationLeadFormAssetRecommendation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationLowerTargetRoasRecommendation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationLowerTargetRoasRecommendation.java new file mode 100644 index 00000000000..74bac06225d --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationLowerTargetRoasRecommendation.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Recommendation to lower Target ROAS. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesRecommendationLowerTargetRoasRecommendation extends com.google.api.client.json.GenericJson { + + /** + * Output only. The relevant information describing the recommended target adjustment. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesRecommendationTargetAdjustmentInfo targetAdjustment; + + /** + * Output only. The relevant information describing the recommended target adjustment. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationTargetAdjustmentInfo getTargetAdjustment() { + return targetAdjustment; + } + + /** + * Output only. The relevant information describing the recommended target adjustment. + * @param targetAdjustment targetAdjustment or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationLowerTargetRoasRecommendation setTargetAdjustment(GoogleAdsSearchads360V23ResourcesRecommendationTargetAdjustmentInfo targetAdjustment) { + this.targetAdjustment = targetAdjustment; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationLowerTargetRoasRecommendation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesRecommendationLowerTargetRoasRecommendation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationLowerTargetRoasRecommendation clone() { + return (GoogleAdsSearchads360V23ResourcesRecommendationLowerTargetRoasRecommendation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationMaximizeClicksOptInRecommendation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationMaximizeClicksOptInRecommendation.java new file mode 100644 index 00000000000..10e960afd19 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationMaximizeClicksOptInRecommendation.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The Maximize Clicks opt-in recommendation. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesRecommendationMaximizeClicksOptInRecommendation extends com.google.api.client.json.GenericJson { + + /** + * Output only. The recommended new budget amount. Only set if the current budget is too high. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long recommendedBudgetAmountMicros; + + /** + * Output only. The recommended new budget amount. Only set if the current budget is too high. + * @return value or {@code null} for none + */ + public java.lang.Long getRecommendedBudgetAmountMicros() { + return recommendedBudgetAmountMicros; + } + + /** + * Output only. The recommended new budget amount. Only set if the current budget is too high. + * @param recommendedBudgetAmountMicros recommendedBudgetAmountMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationMaximizeClicksOptInRecommendation setRecommendedBudgetAmountMicros(java.lang.Long recommendedBudgetAmountMicros) { + this.recommendedBudgetAmountMicros = recommendedBudgetAmountMicros; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationMaximizeClicksOptInRecommendation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesRecommendationMaximizeClicksOptInRecommendation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationMaximizeClicksOptInRecommendation clone() { + return (GoogleAdsSearchads360V23ResourcesRecommendationMaximizeClicksOptInRecommendation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationMaximizeConversionValueOptInRecommendation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationMaximizeConversionValueOptInRecommendation.java new file mode 100644 index 00000000000..331a269f476 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationMaximizeConversionValueOptInRecommendation.java @@ -0,0 +1,43 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Recommendation to opt into Maximize Conversion Value bidding strategy. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesRecommendationMaximizeConversionValueOptInRecommendation extends com.google.api.client.json.GenericJson { + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationMaximizeConversionValueOptInRecommendation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesRecommendationMaximizeConversionValueOptInRecommendation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationMaximizeConversionValueOptInRecommendation clone() { + return (GoogleAdsSearchads360V23ResourcesRecommendationMaximizeConversionValueOptInRecommendation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationMaximizeConversionsOptInRecommendation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationMaximizeConversionsOptInRecommendation.java new file mode 100644 index 00000000000..f5ca5670efe --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationMaximizeConversionsOptInRecommendation.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The Maximize Conversions Opt-In recommendation. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesRecommendationMaximizeConversionsOptInRecommendation extends com.google.api.client.json.GenericJson { + + /** + * Output only. The recommended new budget amount. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long recommendedBudgetAmountMicros; + + /** + * Output only. The recommended new budget amount. + * @return value or {@code null} for none + */ + public java.lang.Long getRecommendedBudgetAmountMicros() { + return recommendedBudgetAmountMicros; + } + + /** + * Output only. The recommended new budget amount. + * @param recommendedBudgetAmountMicros recommendedBudgetAmountMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationMaximizeConversionsOptInRecommendation setRecommendedBudgetAmountMicros(java.lang.Long recommendedBudgetAmountMicros) { + this.recommendedBudgetAmountMicros = recommendedBudgetAmountMicros; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationMaximizeConversionsOptInRecommendation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesRecommendationMaximizeConversionsOptInRecommendation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationMaximizeConversionsOptInRecommendation clone() { + return (GoogleAdsSearchads360V23ResourcesRecommendationMaximizeConversionsOptInRecommendation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationMerchantInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationMerchantInfo.java new file mode 100644 index 00000000000..288cb1c2a33 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationMerchantInfo.java @@ -0,0 +1,115 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The Merchant Center account details. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesRecommendationMerchantInfo extends com.google.api.client.json.GenericJson { + + /** + * Output only. The Merchant Center account ID. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long id; + + /** + * Output only. Whether the Merchant Center account is a Multi-Client account (MCA). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean multiClient; + + /** + * Output only. The name of the Merchant Center account. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * Output only. The Merchant Center account ID. + * @return value or {@code null} for none + */ + public java.lang.Long getId() { + return id; + } + + /** + * Output only. The Merchant Center account ID. + * @param id id or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationMerchantInfo setId(java.lang.Long id) { + this.id = id; + return this; + } + + /** + * Output only. Whether the Merchant Center account is a Multi-Client account (MCA). + * @return value or {@code null} for none + */ + public java.lang.Boolean getMultiClient() { + return multiClient; + } + + /** + * Output only. Whether the Merchant Center account is a Multi-Client account (MCA). + * @param multiClient multiClient or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationMerchantInfo setMultiClient(java.lang.Boolean multiClient) { + this.multiClient = multiClient; + return this; + } + + /** + * Output only. The name of the Merchant Center account. + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * Output only. The name of the Merchant Center account. + * @param name name or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationMerchantInfo setName(java.lang.String name) { + this.name = name; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationMerchantInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesRecommendationMerchantInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationMerchantInfo clone() { + return (GoogleAdsSearchads360V23ResourcesRecommendationMerchantInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationMigrateDynamicSearchAdsCampaignToPerformanceMaxRecommendation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationMigrateDynamicSearchAdsCampaignToPerformanceMaxRecommendation.java new file mode 100644 index 00000000000..2b8835ed84e --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationMigrateDynamicSearchAdsCampaignToPerformanceMaxRecommendation.java @@ -0,0 +1,70 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The Dynamic Search Ads to Performance Max migration recommendation. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesRecommendationMigrateDynamicSearchAdsCampaignToPerformanceMaxRecommendation extends com.google.api.client.json.GenericJson { + + /** + * Output only. A link to the Google Ads UI where the customer can manually apply the + * recommendation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String applyLink; + + /** + * Output only. A link to the Google Ads UI where the customer can manually apply the + * recommendation. + * @return value or {@code null} for none + */ + public java.lang.String getApplyLink() { + return applyLink; + } + + /** + * Output only. A link to the Google Ads UI where the customer can manually apply the + * recommendation. + * @param applyLink applyLink or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationMigrateDynamicSearchAdsCampaignToPerformanceMaxRecommendation setApplyLink(java.lang.String applyLink) { + this.applyLink = applyLink; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationMigrateDynamicSearchAdsCampaignToPerformanceMaxRecommendation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesRecommendationMigrateDynamicSearchAdsCampaignToPerformanceMaxRecommendation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationMigrateDynamicSearchAdsCampaignToPerformanceMaxRecommendation clone() { + return (GoogleAdsSearchads360V23ResourcesRecommendationMigrateDynamicSearchAdsCampaignToPerformanceMaxRecommendation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationMoveUnusedBudgetRecommendation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationMoveUnusedBudgetRecommendation.java new file mode 100644 index 00000000000..c7ec47e1d5d --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationMoveUnusedBudgetRecommendation.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The move unused budget recommendation. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesRecommendationMoveUnusedBudgetRecommendation extends com.google.api.client.json.GenericJson { + + /** + * Output only. The recommendation for the constrained budget to increase. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesRecommendationCampaignBudgetRecommendation budgetRecommendation; + + /** + * Output only. The excess budget's resource_name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String excessCampaignBudget; + + /** + * Output only. The recommendation for the constrained budget to increase. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationCampaignBudgetRecommendation getBudgetRecommendation() { + return budgetRecommendation; + } + + /** + * Output only. The recommendation for the constrained budget to increase. + * @param budgetRecommendation budgetRecommendation or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationMoveUnusedBudgetRecommendation setBudgetRecommendation(GoogleAdsSearchads360V23ResourcesRecommendationCampaignBudgetRecommendation budgetRecommendation) { + this.budgetRecommendation = budgetRecommendation; + return this; + } + + /** + * Output only. The excess budget's resource_name. + * @return value or {@code null} for none + */ + public java.lang.String getExcessCampaignBudget() { + return excessCampaignBudget; + } + + /** + * Output only. The excess budget's resource_name. + * @param excessCampaignBudget excessCampaignBudget or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationMoveUnusedBudgetRecommendation setExcessCampaignBudget(java.lang.String excessCampaignBudget) { + this.excessCampaignBudget = excessCampaignBudget; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationMoveUnusedBudgetRecommendation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesRecommendationMoveUnusedBudgetRecommendation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationMoveUnusedBudgetRecommendation clone() { + return (GoogleAdsSearchads360V23ResourcesRecommendationMoveUnusedBudgetRecommendation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationOptimizeAdRotationRecommendation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationOptimizeAdRotationRecommendation.java new file mode 100644 index 00000000000..ebd6ee9ac5a --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationOptimizeAdRotationRecommendation.java @@ -0,0 +1,43 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The Optimize Ad Rotation recommendation. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesRecommendationOptimizeAdRotationRecommendation extends com.google.api.client.json.GenericJson { + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationOptimizeAdRotationRecommendation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesRecommendationOptimizeAdRotationRecommendation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationOptimizeAdRotationRecommendation clone() { + return (GoogleAdsSearchads360V23ResourcesRecommendationOptimizeAdRotationRecommendation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationPerformanceMaxFinalUrlOptInRecommendation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationPerformanceMaxFinalUrlOptInRecommendation.java new file mode 100644 index 00000000000..d774d49aef3 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationPerformanceMaxFinalUrlOptInRecommendation.java @@ -0,0 +1,43 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Recommendation to turn on Final URL expansion for your Performance Max campaigns. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesRecommendationPerformanceMaxFinalUrlOptInRecommendation extends com.google.api.client.json.GenericJson { + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationPerformanceMaxFinalUrlOptInRecommendation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesRecommendationPerformanceMaxFinalUrlOptInRecommendation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationPerformanceMaxFinalUrlOptInRecommendation clone() { + return (GoogleAdsSearchads360V23ResourcesRecommendationPerformanceMaxFinalUrlOptInRecommendation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationPerformanceMaxOptInRecommendation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationPerformanceMaxOptInRecommendation.java new file mode 100644 index 00000000000..2ac110ae8fb --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationPerformanceMaxOptInRecommendation.java @@ -0,0 +1,43 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The Performance Max Opt In recommendation. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesRecommendationPerformanceMaxOptInRecommendation extends com.google.api.client.json.GenericJson { + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationPerformanceMaxOptInRecommendation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesRecommendationPerformanceMaxOptInRecommendation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationPerformanceMaxOptInRecommendation clone() { + return (GoogleAdsSearchads360V23ResourcesRecommendationPerformanceMaxOptInRecommendation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationRaiseTargetCpaBidTooLowRecommendation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationRaiseTargetCpaBidTooLowRecommendation.java new file mode 100644 index 00000000000..30c51f39f3a --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationRaiseTargetCpaBidTooLowRecommendation.java @@ -0,0 +1,97 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The raise target CPA bid too low recommendation. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesRecommendationRaiseTargetCpaBidTooLowRecommendation extends com.google.api.client.json.GenericJson { + + /** + * Output only. The current average target CPA of the campaign, in micros of customer local + * currency. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long averageTargetCpaMicros; + + /** + * Output only. A number greater than 1.0 indicating the factor by which we recommend the target + * CPA should be increased. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double recommendedTargetMultiplier; + + /** + * Output only. The current average target CPA of the campaign, in micros of customer local + * currency. + * @return value or {@code null} for none + */ + public java.lang.Long getAverageTargetCpaMicros() { + return averageTargetCpaMicros; + } + + /** + * Output only. The current average target CPA of the campaign, in micros of customer local + * currency. + * @param averageTargetCpaMicros averageTargetCpaMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationRaiseTargetCpaBidTooLowRecommendation setAverageTargetCpaMicros(java.lang.Long averageTargetCpaMicros) { + this.averageTargetCpaMicros = averageTargetCpaMicros; + return this; + } + + /** + * Output only. A number greater than 1.0 indicating the factor by which we recommend the target + * CPA should be increased. + * @return value or {@code null} for none + */ + public java.lang.Double getRecommendedTargetMultiplier() { + return recommendedTargetMultiplier; + } + + /** + * Output only. A number greater than 1.0 indicating the factor by which we recommend the target + * CPA should be increased. + * @param recommendedTargetMultiplier recommendedTargetMultiplier or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationRaiseTargetCpaBidTooLowRecommendation setRecommendedTargetMultiplier(java.lang.Double recommendedTargetMultiplier) { + this.recommendedTargetMultiplier = recommendedTargetMultiplier; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationRaiseTargetCpaBidTooLowRecommendation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesRecommendationRaiseTargetCpaBidTooLowRecommendation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationRaiseTargetCpaBidTooLowRecommendation clone() { + return (GoogleAdsSearchads360V23ResourcesRecommendationRaiseTargetCpaBidTooLowRecommendation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationRaiseTargetCpaRecommendation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationRaiseTargetCpaRecommendation.java new file mode 100644 index 00000000000..403afd7c042 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationRaiseTargetCpaRecommendation.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Recommendation to raise Target CPA. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesRecommendationRaiseTargetCpaRecommendation extends com.google.api.client.json.GenericJson { + + /** + * Output only. Represents the goal towards which the bidding strategy should optimize. Only + * populated for App Campaigns. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String appBiddingGoal; + + /** + * Output only. The relevant information describing the recommended target adjustment. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesRecommendationTargetAdjustmentInfo targetAdjustment; + + /** + * Output only. Represents the goal towards which the bidding strategy should optimize. Only + * populated for App Campaigns. + * @return value or {@code null} for none + */ + public java.lang.String getAppBiddingGoal() { + return appBiddingGoal; + } + + /** + * Output only. Represents the goal towards which the bidding strategy should optimize. Only + * populated for App Campaigns. + * @param appBiddingGoal appBiddingGoal or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationRaiseTargetCpaRecommendation setAppBiddingGoal(java.lang.String appBiddingGoal) { + this.appBiddingGoal = appBiddingGoal; + return this; + } + + /** + * Output only. The relevant information describing the recommended target adjustment. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationTargetAdjustmentInfo getTargetAdjustment() { + return targetAdjustment; + } + + /** + * Output only. The relevant information describing the recommended target adjustment. + * @param targetAdjustment targetAdjustment or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationRaiseTargetCpaRecommendation setTargetAdjustment(GoogleAdsSearchads360V23ResourcesRecommendationTargetAdjustmentInfo targetAdjustment) { + this.targetAdjustment = targetAdjustment; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationRaiseTargetCpaRecommendation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesRecommendationRaiseTargetCpaRecommendation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationRaiseTargetCpaRecommendation clone() { + return (GoogleAdsSearchads360V23ResourcesRecommendationRaiseTargetCpaRecommendation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationRecommendationImpact.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationRecommendationImpact.java new file mode 100644 index 00000000000..92ae3895983 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationRecommendationImpact.java @@ -0,0 +1,92 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The impact of making the change as described in the recommendation. Some types of recommendations + * may not have impact information. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesRecommendationRecommendationImpact extends com.google.api.client.json.GenericJson { + + /** + * Output only. Base metrics at the time the recommendation was generated. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesRecommendationRecommendationMetrics baseMetrics; + + /** + * Output only. Estimated metrics if the recommendation is applied. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesRecommendationRecommendationMetrics potentialMetrics; + + /** + * Output only. Base metrics at the time the recommendation was generated. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationRecommendationMetrics getBaseMetrics() { + return baseMetrics; + } + + /** + * Output only. Base metrics at the time the recommendation was generated. + * @param baseMetrics baseMetrics or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationRecommendationImpact setBaseMetrics(GoogleAdsSearchads360V23ResourcesRecommendationRecommendationMetrics baseMetrics) { + this.baseMetrics = baseMetrics; + return this; + } + + /** + * Output only. Estimated metrics if the recommendation is applied. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationRecommendationMetrics getPotentialMetrics() { + return potentialMetrics; + } + + /** + * Output only. Estimated metrics if the recommendation is applied. + * @param potentialMetrics potentialMetrics or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationRecommendationImpact setPotentialMetrics(GoogleAdsSearchads360V23ResourcesRecommendationRecommendationMetrics potentialMetrics) { + this.potentialMetrics = potentialMetrics; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationRecommendationImpact set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesRecommendationRecommendationImpact) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationRecommendationImpact clone() { + return (GoogleAdsSearchads360V23ResourcesRecommendationRecommendationImpact) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationRecommendationMetrics.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationRecommendationMetrics.java new file mode 100644 index 00000000000..eed429f3d76 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationRecommendationMetrics.java @@ -0,0 +1,188 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Weekly account performance metrics. For some recommendation types, these are averaged over the + * past 90-day period and hence can be fractional. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesRecommendationRecommendationMetrics extends com.google.api.client.json.GenericJson { + + /** + * Output only. Number of ad clicks. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double clicks; + + /** + * Output only. Number of conversions. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double conversions; + + /** + * Output only. Sum of the conversion value of the conversions. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double conversionsValue; + + /** + * Output only. Cost (in micros) for advertising, in the local currency for the account. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long costMicros; + + /** + * Output only. Number of ad impressions. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double impressions; + + /** + * Output only. Number of video views for a video ad campaign. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double videoViews; + + /** + * Output only. Number of ad clicks. + * @return value or {@code null} for none + */ + public java.lang.Double getClicks() { + return clicks; + } + + /** + * Output only. Number of ad clicks. + * @param clicks clicks or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationRecommendationMetrics setClicks(java.lang.Double clicks) { + this.clicks = clicks; + return this; + } + + /** + * Output only. Number of conversions. + * @return value or {@code null} for none + */ + public java.lang.Double getConversions() { + return conversions; + } + + /** + * Output only. Number of conversions. + * @param conversions conversions or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationRecommendationMetrics setConversions(java.lang.Double conversions) { + this.conversions = conversions; + return this; + } + + /** + * Output only. Sum of the conversion value of the conversions. + * @return value or {@code null} for none + */ + public java.lang.Double getConversionsValue() { + return conversionsValue; + } + + /** + * Output only. Sum of the conversion value of the conversions. + * @param conversionsValue conversionsValue or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationRecommendationMetrics setConversionsValue(java.lang.Double conversionsValue) { + this.conversionsValue = conversionsValue; + return this; + } + + /** + * Output only. Cost (in micros) for advertising, in the local currency for the account. + * @return value or {@code null} for none + */ + public java.lang.Long getCostMicros() { + return costMicros; + } + + /** + * Output only. Cost (in micros) for advertising, in the local currency for the account. + * @param costMicros costMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationRecommendationMetrics setCostMicros(java.lang.Long costMicros) { + this.costMicros = costMicros; + return this; + } + + /** + * Output only. Number of ad impressions. + * @return value or {@code null} for none + */ + public java.lang.Double getImpressions() { + return impressions; + } + + /** + * Output only. Number of ad impressions. + * @param impressions impressions or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationRecommendationMetrics setImpressions(java.lang.Double impressions) { + this.impressions = impressions; + return this; + } + + /** + * Output only. Number of video views for a video ad campaign. + * @return value or {@code null} for none + */ + public java.lang.Double getVideoViews() { + return videoViews; + } + + /** + * Output only. Number of video views for a video ad campaign. + * @param videoViews videoViews or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationRecommendationMetrics setVideoViews(java.lang.Double videoViews) { + this.videoViews = videoViews; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationRecommendationMetrics set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesRecommendationRecommendationMetrics) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationRecommendationMetrics clone() { + return (GoogleAdsSearchads360V23ResourcesRecommendationRecommendationMetrics) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationRefreshCustomerMatchListRecommendation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationRefreshCustomerMatchListRecommendation.java new file mode 100644 index 00000000000..0a3a2a6d772 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationRefreshCustomerMatchListRecommendation.java @@ -0,0 +1,198 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The recommendation to update a customer list that hasn't been updated in the last 90 days. The + * customer receiving the recommendation is not necessarily the owner account. The owner account + * should update the customer list. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesRecommendationRefreshCustomerMatchListRecommendation extends com.google.api.client.json.GenericJson { + + /** + * Output only. Days since last refresh. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long daysSinceLastRefresh; + + /** + * Output only. The owner account. This is the account that should update the customer list. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesRecommendationAccountInfo ownerAccount; + + /** + * Output only. User lists can be shared with other accounts by the owner. + * targeting_accounts_count is the number of those accounts that can use it for targeting. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long targetingAccountsCount; + + /** + * Output only. The top spending account. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List topSpendingAccount; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ResourcesRecommendationAccountInfo used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ResourcesRecommendationAccountInfo.class); + } + + /** + * Output only. The user list ID. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long userListId; + + /** + * Output only. The name of the list. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String userListName; + + /** + * Output only. Days since last refresh. + * @return value or {@code null} for none + */ + public java.lang.Long getDaysSinceLastRefresh() { + return daysSinceLastRefresh; + } + + /** + * Output only. Days since last refresh. + * @param daysSinceLastRefresh daysSinceLastRefresh or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationRefreshCustomerMatchListRecommendation setDaysSinceLastRefresh(java.lang.Long daysSinceLastRefresh) { + this.daysSinceLastRefresh = daysSinceLastRefresh; + return this; + } + + /** + * Output only. The owner account. This is the account that should update the customer list. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationAccountInfo getOwnerAccount() { + return ownerAccount; + } + + /** + * Output only. The owner account. This is the account that should update the customer list. + * @param ownerAccount ownerAccount or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationRefreshCustomerMatchListRecommendation setOwnerAccount(GoogleAdsSearchads360V23ResourcesRecommendationAccountInfo ownerAccount) { + this.ownerAccount = ownerAccount; + return this; + } + + /** + * Output only. User lists can be shared with other accounts by the owner. + * targeting_accounts_count is the number of those accounts that can use it for targeting. + * @return value or {@code null} for none + */ + public java.lang.Long getTargetingAccountsCount() { + return targetingAccountsCount; + } + + /** + * Output only. User lists can be shared with other accounts by the owner. + * targeting_accounts_count is the number of those accounts that can use it for targeting. + * @param targetingAccountsCount targetingAccountsCount or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationRefreshCustomerMatchListRecommendation setTargetingAccountsCount(java.lang.Long targetingAccountsCount) { + this.targetingAccountsCount = targetingAccountsCount; + return this; + } + + /** + * Output only. The top spending account. + * @return value or {@code null} for none + */ + public java.util.List getTopSpendingAccount() { + return topSpendingAccount; + } + + /** + * Output only. The top spending account. + * @param topSpendingAccount topSpendingAccount or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationRefreshCustomerMatchListRecommendation setTopSpendingAccount(java.util.List topSpendingAccount) { + this.topSpendingAccount = topSpendingAccount; + return this; + } + + /** + * Output only. The user list ID. + * @return value or {@code null} for none + */ + public java.lang.Long getUserListId() { + return userListId; + } + + /** + * Output only. The user list ID. + * @param userListId userListId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationRefreshCustomerMatchListRecommendation setUserListId(java.lang.Long userListId) { + this.userListId = userListId; + return this; + } + + /** + * Output only. The name of the list. + * @return value or {@code null} for none + */ + public java.lang.String getUserListName() { + return userListName; + } + + /** + * Output only. The name of the list. + * @param userListName userListName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationRefreshCustomerMatchListRecommendation setUserListName(java.lang.String userListName) { + this.userListName = userListName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationRefreshCustomerMatchListRecommendation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesRecommendationRefreshCustomerMatchListRecommendation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationRefreshCustomerMatchListRecommendation clone() { + return (GoogleAdsSearchads360V23ResourcesRecommendationRefreshCustomerMatchListRecommendation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationResponsiveSearchAdAssetRecommendation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationResponsiveSearchAdAssetRecommendation.java new file mode 100644 index 00000000000..5bf76cfa345 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationResponsiveSearchAdAssetRecommendation.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The add responsive search ad asset recommendation. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesRecommendationResponsiveSearchAdAssetRecommendation extends com.google.api.client.json.GenericJson { + + /** + * Output only. The current ad to be updated. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAd currentAd; + + /** + * Output only. The recommended assets. This is populated only with the new headlines and/or + * descriptions, and is otherwise empty. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAd recommendedAssets; + + /** + * Output only. The current ad to be updated. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAd getCurrentAd() { + return currentAd; + } + + /** + * Output only. The current ad to be updated. + * @param currentAd currentAd or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationResponsiveSearchAdAssetRecommendation setCurrentAd(GoogleAdsSearchads360V23ResourcesAd currentAd) { + this.currentAd = currentAd; + return this; + } + + /** + * Output only. The recommended assets. This is populated only with the new headlines and/or + * descriptions, and is otherwise empty. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAd getRecommendedAssets() { + return recommendedAssets; + } + + /** + * Output only. The recommended assets. This is populated only with the new headlines and/or + * descriptions, and is otherwise empty. + * @param recommendedAssets recommendedAssets or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationResponsiveSearchAdAssetRecommendation setRecommendedAssets(GoogleAdsSearchads360V23ResourcesAd recommendedAssets) { + this.recommendedAssets = recommendedAssets; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationResponsiveSearchAdAssetRecommendation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesRecommendationResponsiveSearchAdAssetRecommendation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationResponsiveSearchAdAssetRecommendation clone() { + return (GoogleAdsSearchads360V23ResourcesRecommendationResponsiveSearchAdAssetRecommendation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationResponsiveSearchAdImproveAdStrengthRecommendation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationResponsiveSearchAdImproveAdStrengthRecommendation.java new file mode 100644 index 00000000000..3b84c82d7a4 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationResponsiveSearchAdImproveAdStrengthRecommendation.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The responsive search ad improve ad strength recommendation. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesRecommendationResponsiveSearchAdImproveAdStrengthRecommendation extends com.google.api.client.json.GenericJson { + + /** + * Output only. The current ad to be updated. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAd currentAd; + + /** + * Output only. The updated ad. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAd recommendedAd; + + /** + * Output only. The current ad to be updated. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAd getCurrentAd() { + return currentAd; + } + + /** + * Output only. The current ad to be updated. + * @param currentAd currentAd or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationResponsiveSearchAdImproveAdStrengthRecommendation setCurrentAd(GoogleAdsSearchads360V23ResourcesAd currentAd) { + this.currentAd = currentAd; + return this; + } + + /** + * Output only. The updated ad. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAd getRecommendedAd() { + return recommendedAd; + } + + /** + * Output only. The updated ad. + * @param recommendedAd recommendedAd or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationResponsiveSearchAdImproveAdStrengthRecommendation setRecommendedAd(GoogleAdsSearchads360V23ResourcesAd recommendedAd) { + this.recommendedAd = recommendedAd; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationResponsiveSearchAdImproveAdStrengthRecommendation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesRecommendationResponsiveSearchAdImproveAdStrengthRecommendation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationResponsiveSearchAdImproveAdStrengthRecommendation clone() { + return (GoogleAdsSearchads360V23ResourcesRecommendationResponsiveSearchAdImproveAdStrengthRecommendation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationResponsiveSearchAdRecommendation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationResponsiveSearchAdRecommendation.java new file mode 100644 index 00000000000..f56f6a0e80d --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationResponsiveSearchAdRecommendation.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The add responsive search ad recommendation. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesRecommendationResponsiveSearchAdRecommendation extends com.google.api.client.json.GenericJson { + + /** + * Output only. Recommended ad. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAd ad; + + /** + * Output only. Recommended ad. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAd getAd() { + return ad; + } + + /** + * Output only. Recommended ad. + * @param ad ad or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationResponsiveSearchAdRecommendation setAd(GoogleAdsSearchads360V23ResourcesAd ad) { + this.ad = ad; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationResponsiveSearchAdRecommendation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesRecommendationResponsiveSearchAdRecommendation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationResponsiveSearchAdRecommendation clone() { + return (GoogleAdsSearchads360V23ResourcesRecommendationResponsiveSearchAdRecommendation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationSearchPartnersOptInRecommendation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationSearchPartnersOptInRecommendation.java new file mode 100644 index 00000000000..7e20a88d567 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationSearchPartnersOptInRecommendation.java @@ -0,0 +1,43 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The Search Partners Opt-In recommendation. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesRecommendationSearchPartnersOptInRecommendation extends com.google.api.client.json.GenericJson { + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationSearchPartnersOptInRecommendation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesRecommendationSearchPartnersOptInRecommendation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationSearchPartnersOptInRecommendation clone() { + return (GoogleAdsSearchads360V23ResourcesRecommendationSearchPartnersOptInRecommendation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationShoppingAddProductsToCampaignRecommendation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationShoppingAddProductsToCampaignRecommendation.java new file mode 100644 index 00000000000..64005d831c3 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationShoppingAddProductsToCampaignRecommendation.java @@ -0,0 +1,115 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The shopping recommendation to add products to a Shopping Campaign Inventory. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesRecommendationShoppingAddProductsToCampaignRecommendation extends com.google.api.client.json.GenericJson { + + /** + * Output only. The feed label for the campaign. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String feedLabel; + + /** + * Output only. The details of the Merchant Center account. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesRecommendationMerchantInfo merchant; + + /** + * Output only. The reason why no products are attached to the campaign. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String reason; + + /** + * Output only. The feed label for the campaign. + * @return value or {@code null} for none + */ + public java.lang.String getFeedLabel() { + return feedLabel; + } + + /** + * Output only. The feed label for the campaign. + * @param feedLabel feedLabel or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationShoppingAddProductsToCampaignRecommendation setFeedLabel(java.lang.String feedLabel) { + this.feedLabel = feedLabel; + return this; + } + + /** + * Output only. The details of the Merchant Center account. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationMerchantInfo getMerchant() { + return merchant; + } + + /** + * Output only. The details of the Merchant Center account. + * @param merchant merchant or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationShoppingAddProductsToCampaignRecommendation setMerchant(GoogleAdsSearchads360V23ResourcesRecommendationMerchantInfo merchant) { + this.merchant = merchant; + return this; + } + + /** + * Output only. The reason why no products are attached to the campaign. + * @return value or {@code null} for none + */ + public java.lang.String getReason() { + return reason; + } + + /** + * Output only. The reason why no products are attached to the campaign. + * @param reason reason or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationShoppingAddProductsToCampaignRecommendation setReason(java.lang.String reason) { + this.reason = reason; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationShoppingAddProductsToCampaignRecommendation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesRecommendationShoppingAddProductsToCampaignRecommendation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationShoppingAddProductsToCampaignRecommendation clone() { + return (GoogleAdsSearchads360V23ResourcesRecommendationShoppingAddProductsToCampaignRecommendation) super.clone(); + } + +} From 8ec45d93c629cc3883c55e4c588d246bd54a54b0 Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Wed, 3 Jun 2026 18:43:31 -0700 Subject: [PATCH 08/14] chore: regenerate searchads360 client --- ...gFixDisapprovedProductsRecommendation.java | 139 +++ ...CenterAccountSuspensionRecommendation.java | 91 ++ ...nOffersToPerformanceMaxRecommendation.java | 92 ++ ...nShoppingOfferAttributeRecommendation.java | 142 +++ ...ShoppingTargetAllOffersRecommendation.java | 115 +++ ...mmendationSitelinkAssetRecommendation.java | 91 ++ ...23ResourcesRecommendationSubscription.java | 175 ++++ ...cesRecommendationTargetAdjustmentInfo.java | 121 +++ ...mendationTargetCpaOptInRecommendation.java | 100 ++ ...ionTargetCpaOptInRecommendationOption.java | 145 +++ ...endationTargetRoasOptInRecommendation.java | 100 ++ ...cesRecommendationTextAdRecommendation.java | 118 +++ ...ampaignToPerformanceMaxRecommendation.java | 43 + ...ampaignToPerformanceMaxRecommendation.java | 91 ++ ...ionUseBroadMatchKeywordRecommendation.java | 172 +++ ...chads360V23ResourcesRemarketingAction.java | 153 +++ ...hads360V23ResourcesRemarketingSetting.java | 67 ++ ...eAdsSearchads360V23ResourcesResidency.java | 93 ++ ...ds360V23ResourcesSearchAds360Campaign.java | 94 ++ ...chads360V23ResourcesSearchAds360Field.java | 409 ++++++++ ...earchads360V23ResourcesSearchTermView.java | 150 +++ ...archads360V23ResourcesSharedCriterion.java | 382 +++++++ ...eAdsSearchads360V23ResourcesSharedSet.java | 253 +++++ ...60V23ResourcesShoppingPerformanceView.java | 80 ++ ...archads360V23ResourcesShoppingProduct.java | 977 ++++++++++++++++++ ...3ResourcesShoppingProductProductIssue.java | 214 ++++ ...3ResourcesSmartCampaignSearchTermView.java | 121 +++ ...ds360V23ResourcesSmartCampaignSetting.java | 256 +++++ ...tingAdOptimizedBusinessProfileSetting.java | 70 ++ ...ourcesSmartCampaignSettingPhoneNumber.java | 91 ++ ...360V23ResourcesTargetingExpansionView.java | 74 ++ ...23ResourcesThirdPartyAppAnalyticsLink.java | 104 ++ ...sThirdPartyAppAnalyticsLinkIdentifier.java | 142 +++ ...Searchads360V23ResourcesTopicConstant.java | 152 +++ ...eAdsSearchads360V23ResourcesTopicView.java | 70 ++ ...60V23ResourcesTravelActivityGroupView.java | 73 ++ ...esourcesTravelActivityPerformanceView.java | 73 ++ ...rchads360V23ResourcesUniversityDegree.java | 115 +++ ...sSearchads360V23ResourcesUserInterest.java | 220 ++++ ...leAdsSearchads360V23ResourcesUserList.java | 718 +++++++++++++ ...ds360V23ResourcesUserListCustomerType.java | 121 +++ ...rchads360V23ResourcesUserLocationView.java | 124 +++ ...oogleAdsSearchads360V23ResourcesVideo.java | 166 +++ ...Searchads360V23ResourcesVideoCustomer.java | 67 ++ ...oogleAdsSearchads360V23ResourcesVisit.java | 403 ++++++++ ...dsSearchads360V23ResourcesWebpageView.java | 70 ++ ...360V23ResourcesYoutubeVideoIdentifier.java | 91 ++ ...ervicesAccountBudgetProposalOperation.java | 137 +++ ...ads360V23ServicesAccountLinkOperation.java | 118 +++ ...360V23ServicesAdGroupAdLabelOperation.java | 94 ++ ...chads360V23ServicesAdGroupAdOperation.java | 166 +++ ...ds360V23ServicesAdGroupAssetOperation.java | 142 +++ ...60V23ServicesAdGroupAssetSetOperation.java | 94 ++ ...23ServicesAdGroupBidModifierOperation.java | 142 +++ ...esAdGroupCriterionCustomizerOperation.java | 97 ++ ...ervicesAdGroupCriterionLabelOperation.java | 97 ++ ...0V23ServicesAdGroupCriterionOperation.java | 184 ++++ ...V23ServicesAdGroupCustomizerOperation.java | 94 ++ ...60V23ServicesAdGroupKeywordSuggestion.java | 169 +++ ...ds360V23ServicesAdGroupLabelOperation.java | 94 ++ ...archads360V23ServicesAdGroupOperation.java | 142 +++ ...AdsSearchads360V23ServicesAdOperation.java | 118 +++ ...ads360V23ServicesAdParameterOperation.java | 142 +++ ...3ServicesAddBatchJobOperationsRequest.java | 112 ++ ...ServicesAddBatchJobOperationsResponse.java | 97 ++ ...ddOfflineUserDataJobOperationsRequest.java | 145 +++ ...dOfflineUserDataJobOperationsResponse.java | 100 ++ ...60V23ServicesAdvancedProductTargeting.java | 121 +++ ...ServicesAppendLeadConversationRequest.java | 67 ++ ...ervicesAppendLeadConversationResponse.java | 67 ++ ...ds360V23ServicesApplyIncentiveRequest.java | 79 ++ ...s360V23ServicesApplyIncentiveResponse.java | 97 ++ ...3ServicesApplyRecommendationOperation.java | 649 ++++++++++++ ...dationOperationAdAssetApplyParameters.java | 136 +++ ...mendationOperationCallAssetParameters.java | 67 ++ ...ationOperationCallExtensionParameters.java | 73 ++ ...dationOperationCalloutAssetParameters.java | 67 ++ ...onOperationCalloutExtensionParameters.java | 73 ++ ...tionOperationCampaignBudgetParameters.java | 67 ++ ...tionForecastingSetTargetCpaParameters.java | 91 ++ ...ionForecastingSetTargetRoasParameters.java | 94 ++ ...ommendationOperationKeywordParameters.java | 118 +++ ...ationOperationLeadFormAssetParameters.java | 97 ++ ...ionOperationLowerTargetRoasParameters.java | 67 ++ ...onOperationMoveUnusedBudgetParameters.java | 67 ++ ...tionRaiseTargetCpaBidTooLowParameters.java | 72 ++ ...tionOperationRaiseTargetCpaParameters.java | 67 ++ ...tionResponsiveSearchAdAssetParameters.java | 67 ++ ...veSearchAdImproveAdStrengthParameters.java | 67 ++ ...OperationResponsiveSearchAdParameters.java | 67 ++ ...ationOperationSitelinkAssetParameters.java | 67 ++ ...nOperationSitelinkExtensionParameters.java | 73 ++ ...tionOperationTargetCpaOptInParameters.java | 91 ++ ...ionOperationTargetRoasOptInParameters.java | 97 ++ ...commendationOperationTextAdParameters.java | 70 ++ ...erationUseBroadMatchKeywordParameters.java | 67 ++ ...V23ServicesApplyRecommendationRequest.java | 106 ++ ...23ServicesApplyRecommendationResponse.java | 97 ++ ...0V23ServicesApplyRecommendationResult.java | 67 ++ ...60V23ServicesAssetGroupAssetOperation.java | 142 +++ 100 files changed, 13726 insertions(+) create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationShoppingFixDisapprovedProductsRecommendation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationShoppingMerchantCenterAccountSuspensionRecommendation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationShoppingMigrateRegularShoppingCampaignOffersToPerformanceMaxRecommendation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationShoppingOfferAttributeRecommendation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationShoppingTargetAllOffersRecommendation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationSitelinkAssetRecommendation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationSubscription.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationTargetAdjustmentInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationTargetCpaOptInRecommendation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationTargetCpaOptInRecommendationTargetCpaOptInRecommendationOption.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationTargetRoasOptInRecommendation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationTextAdRecommendation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationUpgradeLocalCampaignToPerformanceMaxRecommendation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationUpgradeSmartShoppingCampaignToPerformanceMaxRecommendation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationUseBroadMatchKeywordRecommendation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRemarketingAction.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRemarketingSetting.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesResidency.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesSearchAds360Campaign.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesSearchAds360Field.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesSearchTermView.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesSharedCriterion.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesSharedSet.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesShoppingPerformanceView.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesShoppingProduct.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesShoppingProductProductIssue.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesSmartCampaignSearchTermView.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesSmartCampaignSetting.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesSmartCampaignSettingAdOptimizedBusinessProfileSetting.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesSmartCampaignSettingPhoneNumber.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesTargetingExpansionView.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesThirdPartyAppAnalyticsLink.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesThirdPartyAppAnalyticsLinkIdentifier.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesTopicConstant.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesTopicView.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesTravelActivityGroupView.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesTravelActivityPerformanceView.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesUniversityDegree.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesUserInterest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesUserList.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesUserListCustomerType.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesUserLocationView.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesVideo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesVideoCustomer.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesVisit.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesWebpageView.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesYoutubeVideoIdentifier.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAccountBudgetProposalOperation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAccountLinkOperation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAdGroupAdLabelOperation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAdGroupAdOperation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAdGroupAssetOperation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAdGroupAssetSetOperation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAdGroupBidModifierOperation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAdGroupCriterionCustomizerOperation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAdGroupCriterionLabelOperation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAdGroupCriterionOperation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAdGroupCustomizerOperation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAdGroupKeywordSuggestion.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAdGroupLabelOperation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAdGroupOperation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAdOperation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAdParameterOperation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAddBatchJobOperationsRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAddBatchJobOperationsResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAddOfflineUserDataJobOperationsRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAddOfflineUserDataJobOperationsResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAdvancedProductTargeting.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAppendLeadConversationRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAppendLeadConversationResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyIncentiveRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyIncentiveResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationOperation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationOperationAdAssetApplyParameters.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationOperationCallAssetParameters.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationOperationCallExtensionParameters.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationOperationCalloutAssetParameters.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationOperationCalloutExtensionParameters.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationOperationCampaignBudgetParameters.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationOperationForecastingSetTargetCpaParameters.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationOperationForecastingSetTargetRoasParameters.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationOperationKeywordParameters.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationOperationLeadFormAssetParameters.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationOperationLowerTargetRoasParameters.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationOperationMoveUnusedBudgetParameters.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationOperationRaiseTargetCpaBidTooLowParameters.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationOperationRaiseTargetCpaParameters.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationOperationResponsiveSearchAdAssetParameters.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationOperationResponsiveSearchAdImproveAdStrengthParameters.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationOperationResponsiveSearchAdParameters.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationOperationSitelinkAssetParameters.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationOperationSitelinkExtensionParameters.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationOperationTargetCpaOptInParameters.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationOperationTargetRoasOptInParameters.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationOperationTextAdParameters.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationOperationUseBroadMatchKeywordParameters.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationResult.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAssetGroupAssetOperation.java diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationShoppingFixDisapprovedProductsRecommendation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationShoppingFixDisapprovedProductsRecommendation.java new file mode 100644 index 00000000000..3c53bf4ef1c --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationShoppingFixDisapprovedProductsRecommendation.java @@ -0,0 +1,139 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The shopping recommendation to fix disapproved products in a Shopping Campaign Inventory. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesRecommendationShoppingFixDisapprovedProductsRecommendation extends com.google.api.client.json.GenericJson { + + /** + * Output only. The numbers of products of the campaign that are disapproved. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long disapprovedProductsCount; + + /** + * Output only. The feed label for the campaign. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String feedLabel; + + /** + * Output only. The details of the Merchant Center account. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesRecommendationMerchantInfo merchant; + + /** + * Output only. The number of products of the campaign. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long productsCount; + + /** + * Output only. The numbers of products of the campaign that are disapproved. + * @return value or {@code null} for none + */ + public java.lang.Long getDisapprovedProductsCount() { + return disapprovedProductsCount; + } + + /** + * Output only. The numbers of products of the campaign that are disapproved. + * @param disapprovedProductsCount disapprovedProductsCount or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationShoppingFixDisapprovedProductsRecommendation setDisapprovedProductsCount(java.lang.Long disapprovedProductsCount) { + this.disapprovedProductsCount = disapprovedProductsCount; + return this; + } + + /** + * Output only. The feed label for the campaign. + * @return value or {@code null} for none + */ + public java.lang.String getFeedLabel() { + return feedLabel; + } + + /** + * Output only. The feed label for the campaign. + * @param feedLabel feedLabel or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationShoppingFixDisapprovedProductsRecommendation setFeedLabel(java.lang.String feedLabel) { + this.feedLabel = feedLabel; + return this; + } + + /** + * Output only. The details of the Merchant Center account. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationMerchantInfo getMerchant() { + return merchant; + } + + /** + * Output only. The details of the Merchant Center account. + * @param merchant merchant or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationShoppingFixDisapprovedProductsRecommendation setMerchant(GoogleAdsSearchads360V23ResourcesRecommendationMerchantInfo merchant) { + this.merchant = merchant; + return this; + } + + /** + * Output only. The number of products of the campaign. + * @return value or {@code null} for none + */ + public java.lang.Long getProductsCount() { + return productsCount; + } + + /** + * Output only. The number of products of the campaign. + * @param productsCount productsCount or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationShoppingFixDisapprovedProductsRecommendation setProductsCount(java.lang.Long productsCount) { + this.productsCount = productsCount; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationShoppingFixDisapprovedProductsRecommendation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesRecommendationShoppingFixDisapprovedProductsRecommendation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationShoppingFixDisapprovedProductsRecommendation clone() { + return (GoogleAdsSearchads360V23ResourcesRecommendationShoppingFixDisapprovedProductsRecommendation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationShoppingMerchantCenterAccountSuspensionRecommendation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationShoppingMerchantCenterAccountSuspensionRecommendation.java new file mode 100644 index 00000000000..ba3d68f6452 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationShoppingMerchantCenterAccountSuspensionRecommendation.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The shopping recommendation to fix Merchant Center account suspension issues. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesRecommendationShoppingMerchantCenterAccountSuspensionRecommendation extends com.google.api.client.json.GenericJson { + + /** + * Output only. The feed label of the campaign for which the suspension happened. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String feedLabel; + + /** + * Output only. The details of the Merchant Center account. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesRecommendationMerchantInfo merchant; + + /** + * Output only. The feed label of the campaign for which the suspension happened. + * @return value or {@code null} for none + */ + public java.lang.String getFeedLabel() { + return feedLabel; + } + + /** + * Output only. The feed label of the campaign for which the suspension happened. + * @param feedLabel feedLabel or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationShoppingMerchantCenterAccountSuspensionRecommendation setFeedLabel(java.lang.String feedLabel) { + this.feedLabel = feedLabel; + return this; + } + + /** + * Output only. The details of the Merchant Center account. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationMerchantInfo getMerchant() { + return merchant; + } + + /** + * Output only. The details of the Merchant Center account. + * @param merchant merchant or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationShoppingMerchantCenterAccountSuspensionRecommendation setMerchant(GoogleAdsSearchads360V23ResourcesRecommendationMerchantInfo merchant) { + this.merchant = merchant; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationShoppingMerchantCenterAccountSuspensionRecommendation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesRecommendationShoppingMerchantCenterAccountSuspensionRecommendation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationShoppingMerchantCenterAccountSuspensionRecommendation clone() { + return (GoogleAdsSearchads360V23ResourcesRecommendationShoppingMerchantCenterAccountSuspensionRecommendation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationShoppingMigrateRegularShoppingCampaignOffersToPerformanceMaxRecommendation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationShoppingMigrateRegularShoppingCampaignOffersToPerformanceMaxRecommendation.java new file mode 100644 index 00000000000..6b368b671cb --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationShoppingMigrateRegularShoppingCampaignOffersToPerformanceMaxRecommendation.java @@ -0,0 +1,92 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The shopping recommendation to migrate Regular Shopping Campaign targeted offers to Performance + * Max campaigns. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesRecommendationShoppingMigrateRegularShoppingCampaignOffersToPerformanceMaxRecommendation extends com.google.api.client.json.GenericJson { + + /** + * Output only. The feed label of the offers targeted by the campaigns sharing this suggestion. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String feedLabel; + + /** + * Output only. The details of the Merchant Center account. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesRecommendationMerchantInfo merchant; + + /** + * Output only. The feed label of the offers targeted by the campaigns sharing this suggestion. + * @return value or {@code null} for none + */ + public java.lang.String getFeedLabel() { + return feedLabel; + } + + /** + * Output only. The feed label of the offers targeted by the campaigns sharing this suggestion. + * @param feedLabel feedLabel or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationShoppingMigrateRegularShoppingCampaignOffersToPerformanceMaxRecommendation setFeedLabel(java.lang.String feedLabel) { + this.feedLabel = feedLabel; + return this; + } + + /** + * Output only. The details of the Merchant Center account. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationMerchantInfo getMerchant() { + return merchant; + } + + /** + * Output only. The details of the Merchant Center account. + * @param merchant merchant or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationShoppingMigrateRegularShoppingCampaignOffersToPerformanceMaxRecommendation setMerchant(GoogleAdsSearchads360V23ResourcesRecommendationMerchantInfo merchant) { + this.merchant = merchant; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationShoppingMigrateRegularShoppingCampaignOffersToPerformanceMaxRecommendation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesRecommendationShoppingMigrateRegularShoppingCampaignOffersToPerformanceMaxRecommendation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationShoppingMigrateRegularShoppingCampaignOffersToPerformanceMaxRecommendation clone() { + return (GoogleAdsSearchads360V23ResourcesRecommendationShoppingMigrateRegularShoppingCampaignOffersToPerformanceMaxRecommendation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationShoppingOfferAttributeRecommendation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationShoppingOfferAttributeRecommendation.java new file mode 100644 index 00000000000..66a126e8c99 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationShoppingOfferAttributeRecommendation.java @@ -0,0 +1,142 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The shopping recommendation to add an attribute to offers that are demoted because it is missing. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesRecommendationShoppingOfferAttributeRecommendation extends com.google.api.client.json.GenericJson { + + /** + * Output only. The number of online, servable offers that are demoted for missing attributes. + * Visit the Merchant Center for more details. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long demotedOffersCount; + + /** + * Output only. The campaign feed label. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String feedLabel; + + /** + * Output only. The details of the Merchant Center account. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesRecommendationMerchantInfo merchant; + + /** + * Output only. The number of online, servable offers. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long offersCount; + + /** + * Output only. The number of online, servable offers that are demoted for missing attributes. + * Visit the Merchant Center for more details. + * @return value or {@code null} for none + */ + public java.lang.Long getDemotedOffersCount() { + return demotedOffersCount; + } + + /** + * Output only. The number of online, servable offers that are demoted for missing attributes. + * Visit the Merchant Center for more details. + * @param demotedOffersCount demotedOffersCount or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationShoppingOfferAttributeRecommendation setDemotedOffersCount(java.lang.Long demotedOffersCount) { + this.demotedOffersCount = demotedOffersCount; + return this; + } + + /** + * Output only. The campaign feed label. + * @return value or {@code null} for none + */ + public java.lang.String getFeedLabel() { + return feedLabel; + } + + /** + * Output only. The campaign feed label. + * @param feedLabel feedLabel or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationShoppingOfferAttributeRecommendation setFeedLabel(java.lang.String feedLabel) { + this.feedLabel = feedLabel; + return this; + } + + /** + * Output only. The details of the Merchant Center account. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationMerchantInfo getMerchant() { + return merchant; + } + + /** + * Output only. The details of the Merchant Center account. + * @param merchant merchant or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationShoppingOfferAttributeRecommendation setMerchant(GoogleAdsSearchads360V23ResourcesRecommendationMerchantInfo merchant) { + this.merchant = merchant; + return this; + } + + /** + * Output only. The number of online, servable offers. + * @return value or {@code null} for none + */ + public java.lang.Long getOffersCount() { + return offersCount; + } + + /** + * Output only. The number of online, servable offers. + * @param offersCount offersCount or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationShoppingOfferAttributeRecommendation setOffersCount(java.lang.Long offersCount) { + this.offersCount = offersCount; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationShoppingOfferAttributeRecommendation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesRecommendationShoppingOfferAttributeRecommendation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationShoppingOfferAttributeRecommendation clone() { + return (GoogleAdsSearchads360V23ResourcesRecommendationShoppingOfferAttributeRecommendation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationShoppingTargetAllOffersRecommendation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationShoppingTargetAllOffersRecommendation.java new file mode 100644 index 00000000000..9f16e05dc8b --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationShoppingTargetAllOffersRecommendation.java @@ -0,0 +1,115 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The shopping recommendation to create a catch-all campaign that targets all offers. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesRecommendationShoppingTargetAllOffersRecommendation extends com.google.api.client.json.GenericJson { + + /** + * Output only. The offer feed label. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String feedLabel; + + /** + * Output only. The details of the Merchant Center account. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesRecommendationMerchantInfo merchant; + + /** + * Output only. The number of untargeted offers. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long untargetedOffersCount; + + /** + * Output only. The offer feed label. + * @return value or {@code null} for none + */ + public java.lang.String getFeedLabel() { + return feedLabel; + } + + /** + * Output only. The offer feed label. + * @param feedLabel feedLabel or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationShoppingTargetAllOffersRecommendation setFeedLabel(java.lang.String feedLabel) { + this.feedLabel = feedLabel; + return this; + } + + /** + * Output only. The details of the Merchant Center account. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationMerchantInfo getMerchant() { + return merchant; + } + + /** + * Output only. The details of the Merchant Center account. + * @param merchant merchant or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationShoppingTargetAllOffersRecommendation setMerchant(GoogleAdsSearchads360V23ResourcesRecommendationMerchantInfo merchant) { + this.merchant = merchant; + return this; + } + + /** + * Output only. The number of untargeted offers. + * @return value or {@code null} for none + */ + public java.lang.Long getUntargetedOffersCount() { + return untargetedOffersCount; + } + + /** + * Output only. The number of untargeted offers. + * @param untargetedOffersCount untargetedOffersCount or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationShoppingTargetAllOffersRecommendation setUntargetedOffersCount(java.lang.Long untargetedOffersCount) { + this.untargetedOffersCount = untargetedOffersCount; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationShoppingTargetAllOffersRecommendation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesRecommendationShoppingTargetAllOffersRecommendation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationShoppingTargetAllOffersRecommendation clone() { + return (GoogleAdsSearchads360V23ResourcesRecommendationShoppingTargetAllOffersRecommendation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationSitelinkAssetRecommendation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationSitelinkAssetRecommendation.java new file mode 100644 index 00000000000..f493ec3bf16 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationSitelinkAssetRecommendation.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The sitelink asset recommendation. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesRecommendationSitelinkAssetRecommendation extends com.google.api.client.json.GenericJson { + + /** + * Output only. New sitelink assets recommended at the campaign level. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List recommendedCampaignSitelinkAssets; + + /** + * Output only. New sitelink assets recommended at the customer level. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List recommendedCustomerSitelinkAssets; + + /** + * Output only. New sitelink assets recommended at the campaign level. + * @return value or {@code null} for none + */ + public java.util.List getRecommendedCampaignSitelinkAssets() { + return recommendedCampaignSitelinkAssets; + } + + /** + * Output only. New sitelink assets recommended at the campaign level. + * @param recommendedCampaignSitelinkAssets recommendedCampaignSitelinkAssets or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationSitelinkAssetRecommendation setRecommendedCampaignSitelinkAssets(java.util.List recommendedCampaignSitelinkAssets) { + this.recommendedCampaignSitelinkAssets = recommendedCampaignSitelinkAssets; + return this; + } + + /** + * Output only. New sitelink assets recommended at the customer level. + * @return value or {@code null} for none + */ + public java.util.List getRecommendedCustomerSitelinkAssets() { + return recommendedCustomerSitelinkAssets; + } + + /** + * Output only. New sitelink assets recommended at the customer level. + * @param recommendedCustomerSitelinkAssets recommendedCustomerSitelinkAssets or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationSitelinkAssetRecommendation setRecommendedCustomerSitelinkAssets(java.util.List recommendedCustomerSitelinkAssets) { + this.recommendedCustomerSitelinkAssets = recommendedCustomerSitelinkAssets; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationSitelinkAssetRecommendation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesRecommendationSitelinkAssetRecommendation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationSitelinkAssetRecommendation clone() { + return (GoogleAdsSearchads360V23ResourcesRecommendationSitelinkAssetRecommendation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationSubscription.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationSubscription.java new file mode 100644 index 00000000000..f1384f8dacc --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationSubscription.java @@ -0,0 +1,175 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Recommendation Subscription resource + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesRecommendationSubscription extends com.google.api.client.json.GenericJson { + + /** + * Output only. Time in seconds when the subscription was first created. The datetime is in the + * customer's time zone and in "yyyy-MM-dd HH:mm:ss" format. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String createDateTime; + + /** + * Output only. Contains the time in microseconds, when the Recommendation Subscription was last + * updated. The datetime is in the customer's time zone and in "yyyy-MM-dd HH:mm:ss.ssssss" + * format. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String modifyDateTime; + + /** + * Immutable. The resource name of the recommendation subscription. + * `customers/{customer_id}/recommendationSubscriptions/{recommendation_type}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Required. Status of the subscription, either enabled or paused. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String status; + + /** + * Required. Immutable. The type of recommendation subscribed to. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String type; + + /** + * Output only. Time in seconds when the subscription was first created. The datetime is in the + * customer's time zone and in "yyyy-MM-dd HH:mm:ss" format. + * @return value or {@code null} for none + */ + public java.lang.String getCreateDateTime() { + return createDateTime; + } + + /** + * Output only. Time in seconds when the subscription was first created. The datetime is in the + * customer's time zone and in "yyyy-MM-dd HH:mm:ss" format. + * @param createDateTime createDateTime or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationSubscription setCreateDateTime(java.lang.String createDateTime) { + this.createDateTime = createDateTime; + return this; + } + + /** + * Output only. Contains the time in microseconds, when the Recommendation Subscription was last + * updated. The datetime is in the customer's time zone and in "yyyy-MM-dd HH:mm:ss.ssssss" + * format. + * @return value or {@code null} for none + */ + public java.lang.String getModifyDateTime() { + return modifyDateTime; + } + + /** + * Output only. Contains the time in microseconds, when the Recommendation Subscription was last + * updated. The datetime is in the customer's time zone and in "yyyy-MM-dd HH:mm:ss.ssssss" + * format. + * @param modifyDateTime modifyDateTime or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationSubscription setModifyDateTime(java.lang.String modifyDateTime) { + this.modifyDateTime = modifyDateTime; + return this; + } + + /** + * Immutable. The resource name of the recommendation subscription. + * `customers/{customer_id}/recommendationSubscriptions/{recommendation_type}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Immutable. The resource name of the recommendation subscription. + * `customers/{customer_id}/recommendationSubscriptions/{recommendation_type}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationSubscription setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Required. Status of the subscription, either enabled or paused. + * @return value or {@code null} for none + */ + public java.lang.String getStatus() { + return status; + } + + /** + * Required. Status of the subscription, either enabled or paused. + * @param status status or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationSubscription setStatus(java.lang.String status) { + this.status = status; + return this; + } + + /** + * Required. Immutable. The type of recommendation subscribed to. + * @return value or {@code null} for none + */ + public java.lang.String getType() { + return type; + } + + /** + * Required. Immutable. The type of recommendation subscribed to. + * @param type type or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationSubscription setType(java.lang.String type) { + this.type = type; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationSubscription set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesRecommendationSubscription) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationSubscription clone() { + return (GoogleAdsSearchads360V23ResourcesRecommendationSubscription) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationTargetAdjustmentInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationTargetAdjustmentInfo.java new file mode 100644 index 00000000000..adfa7eab4b4 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationTargetAdjustmentInfo.java @@ -0,0 +1,121 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Information of a target adjustment recommendation. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesRecommendationTargetAdjustmentInfo extends com.google.api.client.json.GenericJson { + + /** + * Output only. The current average target of the campaign or portfolio targeted by this + * recommendation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long currentAverageTargetMicros; + + /** + * Output only. The factor by which we recommend the target to be adjusted by. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double recommendedTargetMultiplier; + + /** + * Output only. The shared set resource name of the portfolio bidding strategy where the target is + * defined. Only populated if the recommendation is portfolio level. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String sharedSet; + + /** + * Output only. The current average target of the campaign or portfolio targeted by this + * recommendation. + * @return value or {@code null} for none + */ + public java.lang.Long getCurrentAverageTargetMicros() { + return currentAverageTargetMicros; + } + + /** + * Output only. The current average target of the campaign or portfolio targeted by this + * recommendation. + * @param currentAverageTargetMicros currentAverageTargetMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationTargetAdjustmentInfo setCurrentAverageTargetMicros(java.lang.Long currentAverageTargetMicros) { + this.currentAverageTargetMicros = currentAverageTargetMicros; + return this; + } + + /** + * Output only. The factor by which we recommend the target to be adjusted by. + * @return value or {@code null} for none + */ + public java.lang.Double getRecommendedTargetMultiplier() { + return recommendedTargetMultiplier; + } + + /** + * Output only. The factor by which we recommend the target to be adjusted by. + * @param recommendedTargetMultiplier recommendedTargetMultiplier or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationTargetAdjustmentInfo setRecommendedTargetMultiplier(java.lang.Double recommendedTargetMultiplier) { + this.recommendedTargetMultiplier = recommendedTargetMultiplier; + return this; + } + + /** + * Output only. The shared set resource name of the portfolio bidding strategy where the target is + * defined. Only populated if the recommendation is portfolio level. + * @return value or {@code null} for none + */ + public java.lang.String getSharedSet() { + return sharedSet; + } + + /** + * Output only. The shared set resource name of the portfolio bidding strategy where the target is + * defined. Only populated if the recommendation is portfolio level. + * @param sharedSet sharedSet or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationTargetAdjustmentInfo setSharedSet(java.lang.String sharedSet) { + this.sharedSet = sharedSet; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationTargetAdjustmentInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesRecommendationTargetAdjustmentInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationTargetAdjustmentInfo clone() { + return (GoogleAdsSearchads360V23ResourcesRecommendationTargetAdjustmentInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationTargetCpaOptInRecommendation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationTargetCpaOptInRecommendation.java new file mode 100644 index 00000000000..628344e2e5f --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationTargetCpaOptInRecommendation.java @@ -0,0 +1,100 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The Target CPA opt-in recommendation. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesRecommendationTargetCpaOptInRecommendation extends com.google.api.client.json.GenericJson { + + /** + * Output only. The available goals and corresponding options for Target CPA strategy. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List options; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ResourcesRecommendationTargetCpaOptInRecommendationTargetCpaOptInRecommendationOption used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ResourcesRecommendationTargetCpaOptInRecommendationTargetCpaOptInRecommendationOption.class); + } + + /** + * Output only. The recommended average CPA target. See required budget amount and impact of using + * this recommendation in options list. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long recommendedTargetCpaMicros; + + /** + * Output only. The available goals and corresponding options for Target CPA strategy. + * @return value or {@code null} for none + */ + public java.util.List getOptions() { + return options; + } + + /** + * Output only. The available goals and corresponding options for Target CPA strategy. + * @param options options or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationTargetCpaOptInRecommendation setOptions(java.util.List options) { + this.options = options; + return this; + } + + /** + * Output only. The recommended average CPA target. See required budget amount and impact of using + * this recommendation in options list. + * @return value or {@code null} for none + */ + public java.lang.Long getRecommendedTargetCpaMicros() { + return recommendedTargetCpaMicros; + } + + /** + * Output only. The recommended average CPA target. See required budget amount and impact of using + * this recommendation in options list. + * @param recommendedTargetCpaMicros recommendedTargetCpaMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationTargetCpaOptInRecommendation setRecommendedTargetCpaMicros(java.lang.Long recommendedTargetCpaMicros) { + this.recommendedTargetCpaMicros = recommendedTargetCpaMicros; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationTargetCpaOptInRecommendation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesRecommendationTargetCpaOptInRecommendation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationTargetCpaOptInRecommendation clone() { + return (GoogleAdsSearchads360V23ResourcesRecommendationTargetCpaOptInRecommendation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationTargetCpaOptInRecommendationTargetCpaOptInRecommendationOption.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationTargetCpaOptInRecommendationTargetCpaOptInRecommendationOption.java new file mode 100644 index 00000000000..3a3d592e3c6 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationTargetCpaOptInRecommendationTargetCpaOptInRecommendationOption.java @@ -0,0 +1,145 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The Target CPA opt-in option with impact estimate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesRecommendationTargetCpaOptInRecommendationTargetCpaOptInRecommendationOption extends com.google.api.client.json.GenericJson { + + /** + * Output only. The goal achieved by this option. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String goal; + + /** + * Output only. The impact estimate if this option is selected. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesRecommendationRecommendationImpact impact; + + /** + * Output only. The minimum campaign budget, in local currency for the account, required to + * achieve the target CPA. Amount is specified in micros, where one million is equivalent to one + * currency unit. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long requiredCampaignBudgetAmountMicros; + + /** + * Output only. Average CPA target. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long targetCpaMicros; + + /** + * Output only. The goal achieved by this option. + * @return value or {@code null} for none + */ + public java.lang.String getGoal() { + return goal; + } + + /** + * Output only. The goal achieved by this option. + * @param goal goal or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationTargetCpaOptInRecommendationTargetCpaOptInRecommendationOption setGoal(java.lang.String goal) { + this.goal = goal; + return this; + } + + /** + * Output only. The impact estimate if this option is selected. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationRecommendationImpact getImpact() { + return impact; + } + + /** + * Output only. The impact estimate if this option is selected. + * @param impact impact or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationTargetCpaOptInRecommendationTargetCpaOptInRecommendationOption setImpact(GoogleAdsSearchads360V23ResourcesRecommendationRecommendationImpact impact) { + this.impact = impact; + return this; + } + + /** + * Output only. The minimum campaign budget, in local currency for the account, required to + * achieve the target CPA. Amount is specified in micros, where one million is equivalent to one + * currency unit. + * @return value or {@code null} for none + */ + public java.lang.Long getRequiredCampaignBudgetAmountMicros() { + return requiredCampaignBudgetAmountMicros; + } + + /** + * Output only. The minimum campaign budget, in local currency for the account, required to + * achieve the target CPA. Amount is specified in micros, where one million is equivalent to one + * currency unit. + * @param requiredCampaignBudgetAmountMicros requiredCampaignBudgetAmountMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationTargetCpaOptInRecommendationTargetCpaOptInRecommendationOption setRequiredCampaignBudgetAmountMicros(java.lang.Long requiredCampaignBudgetAmountMicros) { + this.requiredCampaignBudgetAmountMicros = requiredCampaignBudgetAmountMicros; + return this; + } + + /** + * Output only. Average CPA target. + * @return value or {@code null} for none + */ + public java.lang.Long getTargetCpaMicros() { + return targetCpaMicros; + } + + /** + * Output only. Average CPA target. + * @param targetCpaMicros targetCpaMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationTargetCpaOptInRecommendationTargetCpaOptInRecommendationOption setTargetCpaMicros(java.lang.Long targetCpaMicros) { + this.targetCpaMicros = targetCpaMicros; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationTargetCpaOptInRecommendationTargetCpaOptInRecommendationOption set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesRecommendationTargetCpaOptInRecommendationTargetCpaOptInRecommendationOption) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationTargetCpaOptInRecommendationTargetCpaOptInRecommendationOption clone() { + return (GoogleAdsSearchads360V23ResourcesRecommendationTargetCpaOptInRecommendationTargetCpaOptInRecommendationOption) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationTargetRoasOptInRecommendation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationTargetRoasOptInRecommendation.java new file mode 100644 index 00000000000..2e70d4ee02b --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationTargetRoasOptInRecommendation.java @@ -0,0 +1,100 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The Target ROAS opt-in recommendation. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesRecommendationTargetRoasOptInRecommendation extends com.google.api.client.json.GenericJson { + + /** + * Output only. The recommended target ROAS (revenue per unit of spend). The value is between 0.01 + * and 1000.0, inclusive. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double recommendedTargetRoas; + + /** + * Output only. The minimum campaign budget, in local currency for the account, required to + * achieve the target ROAS. Amount is specified in micros, where one million is equivalent to one + * currency unit. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long requiredCampaignBudgetAmountMicros; + + /** + * Output only. The recommended target ROAS (revenue per unit of spend). The value is between 0.01 + * and 1000.0, inclusive. + * @return value or {@code null} for none + */ + public java.lang.Double getRecommendedTargetRoas() { + return recommendedTargetRoas; + } + + /** + * Output only. The recommended target ROAS (revenue per unit of spend). The value is between 0.01 + * and 1000.0, inclusive. + * @param recommendedTargetRoas recommendedTargetRoas or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationTargetRoasOptInRecommendation setRecommendedTargetRoas(java.lang.Double recommendedTargetRoas) { + this.recommendedTargetRoas = recommendedTargetRoas; + return this; + } + + /** + * Output only. The minimum campaign budget, in local currency for the account, required to + * achieve the target ROAS. Amount is specified in micros, where one million is equivalent to one + * currency unit. + * @return value or {@code null} for none + */ + public java.lang.Long getRequiredCampaignBudgetAmountMicros() { + return requiredCampaignBudgetAmountMicros; + } + + /** + * Output only. The minimum campaign budget, in local currency for the account, required to + * achieve the target ROAS. Amount is specified in micros, where one million is equivalent to one + * currency unit. + * @param requiredCampaignBudgetAmountMicros requiredCampaignBudgetAmountMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationTargetRoasOptInRecommendation setRequiredCampaignBudgetAmountMicros(java.lang.Long requiredCampaignBudgetAmountMicros) { + this.requiredCampaignBudgetAmountMicros = requiredCampaignBudgetAmountMicros; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationTargetRoasOptInRecommendation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesRecommendationTargetRoasOptInRecommendation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationTargetRoasOptInRecommendation clone() { + return (GoogleAdsSearchads360V23ResourcesRecommendationTargetRoasOptInRecommendation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationTextAdRecommendation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationTextAdRecommendation.java new file mode 100644 index 00000000000..7d8552e6adc --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationTextAdRecommendation.java @@ -0,0 +1,118 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The text ad recommendation. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesRecommendationTextAdRecommendation extends com.google.api.client.json.GenericJson { + + /** + * Output only. Recommended ad. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAd ad; + + /** + * Output only. Date, if present, is the earliest when the recommendation will be auto applied. + * YYYY-MM-DD format, for example, 2018-04-17. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String autoApplyDate; + + /** + * Output only. Creation date of the recommended ad. YYYY-MM-DD format, for example, 2018-04-17. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String creationDate; + + /** + * Output only. Recommended ad. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAd getAd() { + return ad; + } + + /** + * Output only. Recommended ad. + * @param ad ad or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationTextAdRecommendation setAd(GoogleAdsSearchads360V23ResourcesAd ad) { + this.ad = ad; + return this; + } + + /** + * Output only. Date, if present, is the earliest when the recommendation will be auto applied. + * YYYY-MM-DD format, for example, 2018-04-17. + * @return value or {@code null} for none + */ + public java.lang.String getAutoApplyDate() { + return autoApplyDate; + } + + /** + * Output only. Date, if present, is the earliest when the recommendation will be auto applied. + * YYYY-MM-DD format, for example, 2018-04-17. + * @param autoApplyDate autoApplyDate or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationTextAdRecommendation setAutoApplyDate(java.lang.String autoApplyDate) { + this.autoApplyDate = autoApplyDate; + return this; + } + + /** + * Output only. Creation date of the recommended ad. YYYY-MM-DD format, for example, 2018-04-17. + * @return value or {@code null} for none + */ + public java.lang.String getCreationDate() { + return creationDate; + } + + /** + * Output only. Creation date of the recommended ad. YYYY-MM-DD format, for example, 2018-04-17. + * @param creationDate creationDate or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationTextAdRecommendation setCreationDate(java.lang.String creationDate) { + this.creationDate = creationDate; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationTextAdRecommendation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesRecommendationTextAdRecommendation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationTextAdRecommendation clone() { + return (GoogleAdsSearchads360V23ResourcesRecommendationTextAdRecommendation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationUpgradeLocalCampaignToPerformanceMaxRecommendation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationUpgradeLocalCampaignToPerformanceMaxRecommendation.java new file mode 100644 index 00000000000..7126212f262 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationUpgradeLocalCampaignToPerformanceMaxRecommendation.java @@ -0,0 +1,43 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The Upgrade Local campaign to Performance Max campaign recommendation. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesRecommendationUpgradeLocalCampaignToPerformanceMaxRecommendation extends com.google.api.client.json.GenericJson { + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationUpgradeLocalCampaignToPerformanceMaxRecommendation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesRecommendationUpgradeLocalCampaignToPerformanceMaxRecommendation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationUpgradeLocalCampaignToPerformanceMaxRecommendation clone() { + return (GoogleAdsSearchads360V23ResourcesRecommendationUpgradeLocalCampaignToPerformanceMaxRecommendation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationUpgradeSmartShoppingCampaignToPerformanceMaxRecommendation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationUpgradeSmartShoppingCampaignToPerformanceMaxRecommendation.java new file mode 100644 index 00000000000..26e7a7b0e34 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationUpgradeSmartShoppingCampaignToPerformanceMaxRecommendation.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The upgrade a Smart Shopping campaign to a Performance Max campaign recommendation. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesRecommendationUpgradeSmartShoppingCampaignToPerformanceMaxRecommendation extends com.google.api.client.json.GenericJson { + + /** + * Output only. ID of Merchant Center account. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long merchantId; + + /** + * Output only. Country whose products from merchant's inventory should be included. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String salesCountryCode; + + /** + * Output only. ID of Merchant Center account. + * @return value or {@code null} for none + */ + public java.lang.Long getMerchantId() { + return merchantId; + } + + /** + * Output only. ID of Merchant Center account. + * @param merchantId merchantId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationUpgradeSmartShoppingCampaignToPerformanceMaxRecommendation setMerchantId(java.lang.Long merchantId) { + this.merchantId = merchantId; + return this; + } + + /** + * Output only. Country whose products from merchant's inventory should be included. + * @return value or {@code null} for none + */ + public java.lang.String getSalesCountryCode() { + return salesCountryCode; + } + + /** + * Output only. Country whose products from merchant's inventory should be included. + * @param salesCountryCode salesCountryCode or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationUpgradeSmartShoppingCampaignToPerformanceMaxRecommendation setSalesCountryCode(java.lang.String salesCountryCode) { + this.salesCountryCode = salesCountryCode; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationUpgradeSmartShoppingCampaignToPerformanceMaxRecommendation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesRecommendationUpgradeSmartShoppingCampaignToPerformanceMaxRecommendation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationUpgradeSmartShoppingCampaignToPerformanceMaxRecommendation clone() { + return (GoogleAdsSearchads360V23ResourcesRecommendationUpgradeSmartShoppingCampaignToPerformanceMaxRecommendation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationUseBroadMatchKeywordRecommendation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationUseBroadMatchKeywordRecommendation.java new file mode 100644 index 00000000000..394d92ec171 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRecommendationUseBroadMatchKeywordRecommendation.java @@ -0,0 +1,172 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The use broad match keyword recommendation. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesRecommendationUseBroadMatchKeywordRecommendation extends com.google.api.client.json.GenericJson { + + /** + * Output only. Total number of keywords in the campaign. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long campaignKeywordsCount; + + /** + * Output only. Whether the associated campaign uses a shared budget. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean campaignUsesSharedBudget; + + /** + * Output only. Sample of keywords to be expanded to Broad Match. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List keyword; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonKeywordInfo used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonKeywordInfo.class); + } + + /** + * Output only. The budget recommended to avoid becoming budget constrained after applying the + * recommendation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long requiredCampaignBudgetAmountMicros; + + /** + * Output only. Total number of keywords to be expanded to Broad Match in the campaign. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long suggestedKeywordsCount; + + /** + * Output only. Total number of keywords in the campaign. + * @return value or {@code null} for none + */ + public java.lang.Long getCampaignKeywordsCount() { + return campaignKeywordsCount; + } + + /** + * Output only. Total number of keywords in the campaign. + * @param campaignKeywordsCount campaignKeywordsCount or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationUseBroadMatchKeywordRecommendation setCampaignKeywordsCount(java.lang.Long campaignKeywordsCount) { + this.campaignKeywordsCount = campaignKeywordsCount; + return this; + } + + /** + * Output only. Whether the associated campaign uses a shared budget. + * @return value or {@code null} for none + */ + public java.lang.Boolean getCampaignUsesSharedBudget() { + return campaignUsesSharedBudget; + } + + /** + * Output only. Whether the associated campaign uses a shared budget. + * @param campaignUsesSharedBudget campaignUsesSharedBudget or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationUseBroadMatchKeywordRecommendation setCampaignUsesSharedBudget(java.lang.Boolean campaignUsesSharedBudget) { + this.campaignUsesSharedBudget = campaignUsesSharedBudget; + return this; + } + + /** + * Output only. Sample of keywords to be expanded to Broad Match. + * @return value or {@code null} for none + */ + public java.util.List getKeyword() { + return keyword; + } + + /** + * Output only. Sample of keywords to be expanded to Broad Match. + * @param keyword keyword or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationUseBroadMatchKeywordRecommendation setKeyword(java.util.List keyword) { + this.keyword = keyword; + return this; + } + + /** + * Output only. The budget recommended to avoid becoming budget constrained after applying the + * recommendation. + * @return value or {@code null} for none + */ + public java.lang.Long getRequiredCampaignBudgetAmountMicros() { + return requiredCampaignBudgetAmountMicros; + } + + /** + * Output only. The budget recommended to avoid becoming budget constrained after applying the + * recommendation. + * @param requiredCampaignBudgetAmountMicros requiredCampaignBudgetAmountMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationUseBroadMatchKeywordRecommendation setRequiredCampaignBudgetAmountMicros(java.lang.Long requiredCampaignBudgetAmountMicros) { + this.requiredCampaignBudgetAmountMicros = requiredCampaignBudgetAmountMicros; + return this; + } + + /** + * Output only. Total number of keywords to be expanded to Broad Match in the campaign. + * @return value or {@code null} for none + */ + public java.lang.Long getSuggestedKeywordsCount() { + return suggestedKeywordsCount; + } + + /** + * Output only. Total number of keywords to be expanded to Broad Match in the campaign. + * @param suggestedKeywordsCount suggestedKeywordsCount or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationUseBroadMatchKeywordRecommendation setSuggestedKeywordsCount(java.lang.Long suggestedKeywordsCount) { + this.suggestedKeywordsCount = suggestedKeywordsCount; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationUseBroadMatchKeywordRecommendation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesRecommendationUseBroadMatchKeywordRecommendation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesRecommendationUseBroadMatchKeywordRecommendation clone() { + return (GoogleAdsSearchads360V23ResourcesRecommendationUseBroadMatchKeywordRecommendation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRemarketingAction.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRemarketingAction.java new file mode 100644 index 00000000000..e3c6ec84300 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRemarketingAction.java @@ -0,0 +1,153 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A remarketing action. A snippet of JavaScript code that will collect the product id and the type + * of page people visited (product page, shopping cart page, purchase page, general site visit) on + * an advertiser's website. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesRemarketingAction extends com.google.api.client.json.GenericJson { + + /** + * Output only. Id of the remarketing action. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long id; + + /** + * The name of the remarketing action. This field is required and should not be empty when + * creating new remarketing actions. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * Immutable. The resource name of the remarketing action. Remarketing action resource names have + * the form: `customers/{customer_id}/remarketingActions/{remarketing_action_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. The snippets used for tracking remarketing actions. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List tagSnippets; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonTagSnippet used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonTagSnippet.class); + } + + /** + * Output only. Id of the remarketing action. + * @return value or {@code null} for none + */ + public java.lang.Long getId() { + return id; + } + + /** + * Output only. Id of the remarketing action. + * @param id id or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRemarketingAction setId(java.lang.Long id) { + this.id = id; + return this; + } + + /** + * The name of the remarketing action. This field is required and should not be empty when + * creating new remarketing actions. + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * The name of the remarketing action. This field is required and should not be empty when + * creating new remarketing actions. + * @param name name or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRemarketingAction setName(java.lang.String name) { + this.name = name; + return this; + } + + /** + * Immutable. The resource name of the remarketing action. Remarketing action resource names have + * the form: `customers/{customer_id}/remarketingActions/{remarketing_action_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Immutable. The resource name of the remarketing action. Remarketing action resource names have + * the form: `customers/{customer_id}/remarketingActions/{remarketing_action_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRemarketingAction setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Output only. The snippets used for tracking remarketing actions. + * @return value or {@code null} for none + */ + public java.util.List getTagSnippets() { + return tagSnippets; + } + + /** + * Output only. The snippets used for tracking remarketing actions. + * @param tagSnippets tagSnippets or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRemarketingAction setTagSnippets(java.util.List tagSnippets) { + this.tagSnippets = tagSnippets; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesRemarketingAction set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesRemarketingAction) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesRemarketingAction clone() { + return (GoogleAdsSearchads360V23ResourcesRemarketingAction) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRemarketingSetting.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRemarketingSetting.java new file mode 100644 index 00000000000..4599d33a421 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesRemarketingSetting.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Remarketing setting for a customer. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesRemarketingSetting extends com.google.api.client.json.GenericJson { + + /** + * Output only. The Google tag. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String googleGlobalSiteTag; + + /** + * Output only. The Google tag. + * @return value or {@code null} for none + */ + public java.lang.String getGoogleGlobalSiteTag() { + return googleGlobalSiteTag; + } + + /** + * Output only. The Google tag. + * @param googleGlobalSiteTag googleGlobalSiteTag or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRemarketingSetting setGoogleGlobalSiteTag(java.lang.String googleGlobalSiteTag) { + this.googleGlobalSiteTag = googleGlobalSiteTag; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesRemarketingSetting set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesRemarketingSetting) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesRemarketingSetting clone() { + return (GoogleAdsSearchads360V23ResourcesRemarketingSetting) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesResidency.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesResidency.java new file mode 100644 index 00000000000..78e2b02a808 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesResidency.java @@ -0,0 +1,93 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Details about the employee's medical residency. Residency is a stage of graduate medical + * education in which a qualified medical professional practices under the supervision of a senior + * clinician. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesResidency extends com.google.api.client.json.GenericJson { + + /** + * Output only. Year of completion. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer completionYear; + + /** + * Output only. Name of the institution at which the residency was completed. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String institutionName; + + /** + * Output only. Year of completion. + * @return value or {@code null} for none + */ + public java.lang.Integer getCompletionYear() { + return completionYear; + } + + /** + * Output only. Year of completion. + * @param completionYear completionYear or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesResidency setCompletionYear(java.lang.Integer completionYear) { + this.completionYear = completionYear; + return this; + } + + /** + * Output only. Name of the institution at which the residency was completed. + * @return value or {@code null} for none + */ + public java.lang.String getInstitutionName() { + return institutionName; + } + + /** + * Output only. Name of the institution at which the residency was completed. + * @param institutionName institutionName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesResidency setInstitutionName(java.lang.String institutionName) { + this.institutionName = institutionName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesResidency set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesResidency) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesResidency clone() { + return (GoogleAdsSearchads360V23ResourcesResidency) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesSearchAds360Campaign.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesSearchAds360Campaign.java new file mode 100644 index 00000000000..a679bd0f494 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesSearchAds360Campaign.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A Search Ads 360 campaign. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesSearchAds360Campaign extends com.google.api.client.json.GenericJson { + + /** + * The type of product attribution filtering to apply to this campaign. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String productAttributionFilterType; + + /** + * Immutable. The resource name of the Search Ads 360 campaign. Search Ads 360 campaign resource + * names have the form: `customers/{customer_id}/searchAds360Campaigns/{campaign_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * The type of product attribution filtering to apply to this campaign. + * @return value or {@code null} for none + */ + public java.lang.String getProductAttributionFilterType() { + return productAttributionFilterType; + } + + /** + * The type of product attribution filtering to apply to this campaign. + * @param productAttributionFilterType productAttributionFilterType or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesSearchAds360Campaign setProductAttributionFilterType(java.lang.String productAttributionFilterType) { + this.productAttributionFilterType = productAttributionFilterType; + return this; + } + + /** + * Immutable. The resource name of the Search Ads 360 campaign. Search Ads 360 campaign resource + * names have the form: `customers/{customer_id}/searchAds360Campaigns/{campaign_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Immutable. The resource name of the Search Ads 360 campaign. Search Ads 360 campaign resource + * names have the form: `customers/{customer_id}/searchAds360Campaigns/{campaign_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesSearchAds360Campaign setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesSearchAds360Campaign set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesSearchAds360Campaign) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesSearchAds360Campaign clone() { + return (GoogleAdsSearchads360V23ResourcesSearchAds360Campaign) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesSearchAds360Field.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesSearchAds360Field.java new file mode 100644 index 00000000000..beea6221c30 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesSearchAds360Field.java @@ -0,0 +1,409 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A field or resource (artifact) used by SearchAds360Service. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesSearchAds360Field extends com.google.api.client.json.GenericJson { + + /** + * Output only. The names of all resources that are selectable with the described artifact. Fields + * from these resources do not segment metrics when included in search queries. This field is only + * set for artifacts whose category is RESOURCE. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List attributeResources; + + /** + * Output only. The category of the artifact. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String category; + + /** + * Output only. This field determines the operators that can be used with the artifact in WHERE + * clauses. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String dataType; + + /** + * Output only. Values the artifact can assume if it is a field of type ENUM. This field is only + * set for artifacts of category SEGMENT or ATTRIBUTE. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List enumValues; + + /** + * Output only. Whether the artifact can be used in a WHERE clause in search queries. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean filterable; + + /** + * Output only. Whether the field artifact is repeated. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean isRepeated; + + /** + * Output only. This field lists the names of all metrics that are selectable with the described + * artifact when it is used in the FROM clause. It is only set for artifacts whose category is + * RESOURCE. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List metrics; + + /** + * Output only. The name of the artifact. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * Output only. The resource name of the artifact. Artifact resource names have the form: + * `SearchAds360Fields/{name}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. This field lists the names of all artifacts, whether a segment or another + * resource, that segment metrics when included in search queries and when the described artifact + * is used in the FROM clause. It is only set for artifacts whose category is RESOURCE. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List segments; + + /** + * Output only. Whether the artifact can be used in a SELECT clause in search queries. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean selectable; + + /** + * Output only. The names of all resources, segments, and metrics that are selectable with the + * described artifact. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List selectableWith; + + /** + * Output only. Whether the artifact can be used in a ORDER BY clause in search queries. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean sortable; + + /** + * Output only. The URL of proto describing the artifact's data type. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String typeUrl; + + /** + * Output only. The names of all resources that are selectable with the described artifact. Fields + * from these resources do not segment metrics when included in search queries. This field is only + * set for artifacts whose category is RESOURCE. + * @return value or {@code null} for none + */ + public java.util.List getAttributeResources() { + return attributeResources; + } + + /** + * Output only. The names of all resources that are selectable with the described artifact. Fields + * from these resources do not segment metrics when included in search queries. This field is only + * set for artifacts whose category is RESOURCE. + * @param attributeResources attributeResources or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesSearchAds360Field setAttributeResources(java.util.List attributeResources) { + this.attributeResources = attributeResources; + return this; + } + + /** + * Output only. The category of the artifact. + * @return value or {@code null} for none + */ + public java.lang.String getCategory() { + return category; + } + + /** + * Output only. The category of the artifact. + * @param category category or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesSearchAds360Field setCategory(java.lang.String category) { + this.category = category; + return this; + } + + /** + * Output only. This field determines the operators that can be used with the artifact in WHERE + * clauses. + * @return value or {@code null} for none + */ + public java.lang.String getDataType() { + return dataType; + } + + /** + * Output only. This field determines the operators that can be used with the artifact in WHERE + * clauses. + * @param dataType dataType or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesSearchAds360Field setDataType(java.lang.String dataType) { + this.dataType = dataType; + return this; + } + + /** + * Output only. Values the artifact can assume if it is a field of type ENUM. This field is only + * set for artifacts of category SEGMENT or ATTRIBUTE. + * @return value or {@code null} for none + */ + public java.util.List getEnumValues() { + return enumValues; + } + + /** + * Output only. Values the artifact can assume if it is a field of type ENUM. This field is only + * set for artifacts of category SEGMENT or ATTRIBUTE. + * @param enumValues enumValues or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesSearchAds360Field setEnumValues(java.util.List enumValues) { + this.enumValues = enumValues; + return this; + } + + /** + * Output only. Whether the artifact can be used in a WHERE clause in search queries. + * @return value or {@code null} for none + */ + public java.lang.Boolean getFilterable() { + return filterable; + } + + /** + * Output only. Whether the artifact can be used in a WHERE clause in search queries. + * @param filterable filterable or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesSearchAds360Field setFilterable(java.lang.Boolean filterable) { + this.filterable = filterable; + return this; + } + + /** + * Output only. Whether the field artifact is repeated. + * @return value or {@code null} for none + */ + public java.lang.Boolean getIsRepeated() { + return isRepeated; + } + + /** + * Output only. Whether the field artifact is repeated. + * @param isRepeated isRepeated or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesSearchAds360Field setIsRepeated(java.lang.Boolean isRepeated) { + this.isRepeated = isRepeated; + return this; + } + + /** + * Output only. This field lists the names of all metrics that are selectable with the described + * artifact when it is used in the FROM clause. It is only set for artifacts whose category is + * RESOURCE. + * @return value or {@code null} for none + */ + public java.util.List getMetrics() { + return metrics; + } + + /** + * Output only. This field lists the names of all metrics that are selectable with the described + * artifact when it is used in the FROM clause. It is only set for artifacts whose category is + * RESOURCE. + * @param metrics metrics or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesSearchAds360Field setMetrics(java.util.List metrics) { + this.metrics = metrics; + return this; + } + + /** + * Output only. The name of the artifact. + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * Output only. The name of the artifact. + * @param name name or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesSearchAds360Field setName(java.lang.String name) { + this.name = name; + return this; + } + + /** + * Output only. The resource name of the artifact. Artifact resource names have the form: + * `SearchAds360Fields/{name}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Output only. The resource name of the artifact. Artifact resource names have the form: + * `SearchAds360Fields/{name}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesSearchAds360Field setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Output only. This field lists the names of all artifacts, whether a segment or another + * resource, that segment metrics when included in search queries and when the described artifact + * is used in the FROM clause. It is only set for artifacts whose category is RESOURCE. + * @return value or {@code null} for none + */ + public java.util.List getSegments() { + return segments; + } + + /** + * Output only. This field lists the names of all artifacts, whether a segment or another + * resource, that segment metrics when included in search queries and when the described artifact + * is used in the FROM clause. It is only set for artifacts whose category is RESOURCE. + * @param segments segments or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesSearchAds360Field setSegments(java.util.List segments) { + this.segments = segments; + return this; + } + + /** + * Output only. Whether the artifact can be used in a SELECT clause in search queries. + * @return value or {@code null} for none + */ + public java.lang.Boolean getSelectable() { + return selectable; + } + + /** + * Output only. Whether the artifact can be used in a SELECT clause in search queries. + * @param selectable selectable or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesSearchAds360Field setSelectable(java.lang.Boolean selectable) { + this.selectable = selectable; + return this; + } + + /** + * Output only. The names of all resources, segments, and metrics that are selectable with the + * described artifact. + * @return value or {@code null} for none + */ + public java.util.List getSelectableWith() { + return selectableWith; + } + + /** + * Output only. The names of all resources, segments, and metrics that are selectable with the + * described artifact. + * @param selectableWith selectableWith or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesSearchAds360Field setSelectableWith(java.util.List selectableWith) { + this.selectableWith = selectableWith; + return this; + } + + /** + * Output only. Whether the artifact can be used in a ORDER BY clause in search queries. + * @return value or {@code null} for none + */ + public java.lang.Boolean getSortable() { + return sortable; + } + + /** + * Output only. Whether the artifact can be used in a ORDER BY clause in search queries. + * @param sortable sortable or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesSearchAds360Field setSortable(java.lang.Boolean sortable) { + this.sortable = sortable; + return this; + } + + /** + * Output only. The URL of proto describing the artifact's data type. + * @return value or {@code null} for none + */ + public java.lang.String getTypeUrl() { + return typeUrl; + } + + /** + * Output only. The URL of proto describing the artifact's data type. + * @param typeUrl typeUrl or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesSearchAds360Field setTypeUrl(java.lang.String typeUrl) { + this.typeUrl = typeUrl; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesSearchAds360Field set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesSearchAds360Field) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesSearchAds360Field clone() { + return (GoogleAdsSearchads360V23ResourcesSearchAds360Field) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesSearchTermView.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesSearchTermView.java new file mode 100644 index 00000000000..47bfa86e6bf --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesSearchTermView.java @@ -0,0 +1,150 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A search term view with metrics aggregated by search term at the ad group level. This view does + * not include Performance Max data. If you are looking for Performance Max search term data, use + * the CampaignSearchTermView instead. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesSearchTermView extends com.google.api.client.json.GenericJson { + + /** + * Output only. The ad group the search term served in. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String adGroup; + + /** + * Output only. The resource name of the search term view. Search term view resource names have + * the form: `customers/{customer_id}/searchTermViews/{campaign_id}~{ad_group_id}~{URL- + * base64_search_term}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. The search term. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String searchTerm; + + /** + * Output only. Indicates whether the search term is currently one of your targeted or excluded + * keywords. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String status; + + /** + * Output only. The ad group the search term served in. + * @return value or {@code null} for none + */ + public java.lang.String getAdGroup() { + return adGroup; + } + + /** + * Output only. The ad group the search term served in. + * @param adGroup adGroup or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesSearchTermView setAdGroup(java.lang.String adGroup) { + this.adGroup = adGroup; + return this; + } + + /** + * Output only. The resource name of the search term view. Search term view resource names have + * the form: `customers/{customer_id}/searchTermViews/{campaign_id}~{ad_group_id}~{URL- + * base64_search_term}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Output only. The resource name of the search term view. Search term view resource names have + * the form: `customers/{customer_id}/searchTermViews/{campaign_id}~{ad_group_id}~{URL- + * base64_search_term}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesSearchTermView setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Output only. The search term. + * @return value or {@code null} for none + */ + public java.lang.String getSearchTerm() { + return searchTerm; + } + + /** + * Output only. The search term. + * @param searchTerm searchTerm or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesSearchTermView setSearchTerm(java.lang.String searchTerm) { + this.searchTerm = searchTerm; + return this; + } + + /** + * Output only. Indicates whether the search term is currently one of your targeted or excluded + * keywords. + * @return value or {@code null} for none + */ + public java.lang.String getStatus() { + return status; + } + + /** + * Output only. Indicates whether the search term is currently one of your targeted or excluded + * keywords. + * @param status status or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesSearchTermView setStatus(java.lang.String status) { + this.status = status; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesSearchTermView set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesSearchTermView) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesSearchTermView clone() { + return (GoogleAdsSearchads360V23ResourcesSearchTermView) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesSharedCriterion.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesSharedCriterion.java new file mode 100644 index 00000000000..b86f221bf48 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesSharedCriterion.java @@ -0,0 +1,382 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A criterion belonging to a shared set. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesSharedCriterion extends com.google.api.client.json.GenericJson { + + /** + * Immutable. Brand. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonBrandInfo brand; + + /** + * Output only. The ID of the criterion. This field is ignored for mutates. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long criterionId; + + /** + * Immutable. Keyword. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonKeywordInfo keyword; + + /** + * Immutable. Mobile App Category. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonMobileAppCategoryInfo mobileAppCategory; + + /** + * Immutable. Mobile application. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonMobileApplicationInfo mobileApplication; + + /** + * Immutable. If true, the criterion is excluded. If false, the criterion is targeted. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean negative; + + /** + * Immutable. Placement. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonPlacementInfo placement; + + /** + * Immutable. The resource name of the shared criterion. Shared set resource names have the form: + * `customers/{customer_id}/sharedCriteria/{shared_set_id}~{criterion_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Immutable. The shared set to which the shared criterion belongs. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String sharedSet; + + /** + * Output only. The type of the criterion. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String type; + + /** + * Immutable. Vertical ads item group rule. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonVerticalAdsItemGroupRuleInfo verticalAdsItemGroupRule; + + /** + * Immutable. Webpage. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonWebpageInfo webpage; + + /** + * Immutable. YouTube Channel. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonYouTubeChannelInfo youtubeChannel; + + /** + * Immutable. YouTube Video. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonYouTubeVideoInfo youtubeVideo; + + /** + * Immutable. Brand. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonBrandInfo getBrand() { + return brand; + } + + /** + * Immutable. Brand. + * @param brand brand or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesSharedCriterion setBrand(GoogleAdsSearchads360V23CommonBrandInfo brand) { + this.brand = brand; + return this; + } + + /** + * Output only. The ID of the criterion. This field is ignored for mutates. + * @return value or {@code null} for none + */ + public java.lang.Long getCriterionId() { + return criterionId; + } + + /** + * Output only. The ID of the criterion. This field is ignored for mutates. + * @param criterionId criterionId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesSharedCriterion setCriterionId(java.lang.Long criterionId) { + this.criterionId = criterionId; + return this; + } + + /** + * Immutable. Keyword. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonKeywordInfo getKeyword() { + return keyword; + } + + /** + * Immutable. Keyword. + * @param keyword keyword or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesSharedCriterion setKeyword(GoogleAdsSearchads360V23CommonKeywordInfo keyword) { + this.keyword = keyword; + return this; + } + + /** + * Immutable. Mobile App Category. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMobileAppCategoryInfo getMobileAppCategory() { + return mobileAppCategory; + } + + /** + * Immutable. Mobile App Category. + * @param mobileAppCategory mobileAppCategory or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesSharedCriterion setMobileAppCategory(GoogleAdsSearchads360V23CommonMobileAppCategoryInfo mobileAppCategory) { + this.mobileAppCategory = mobileAppCategory; + return this; + } + + /** + * Immutable. Mobile application. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMobileApplicationInfo getMobileApplication() { + return mobileApplication; + } + + /** + * Immutable. Mobile application. + * @param mobileApplication mobileApplication or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesSharedCriterion setMobileApplication(GoogleAdsSearchads360V23CommonMobileApplicationInfo mobileApplication) { + this.mobileApplication = mobileApplication; + return this; + } + + /** + * Immutable. If true, the criterion is excluded. If false, the criterion is targeted. + * @return value or {@code null} for none + */ + public java.lang.Boolean getNegative() { + return negative; + } + + /** + * Immutable. If true, the criterion is excluded. If false, the criterion is targeted. + * @param negative negative or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesSharedCriterion setNegative(java.lang.Boolean negative) { + this.negative = negative; + return this; + } + + /** + * Immutable. Placement. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPlacementInfo getPlacement() { + return placement; + } + + /** + * Immutable. Placement. + * @param placement placement or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesSharedCriterion setPlacement(GoogleAdsSearchads360V23CommonPlacementInfo placement) { + this.placement = placement; + return this; + } + + /** + * Immutable. The resource name of the shared criterion. Shared set resource names have the form: + * `customers/{customer_id}/sharedCriteria/{shared_set_id}~{criterion_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Immutable. The resource name of the shared criterion. Shared set resource names have the form: + * `customers/{customer_id}/sharedCriteria/{shared_set_id}~{criterion_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesSharedCriterion setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Immutable. The shared set to which the shared criterion belongs. + * @return value or {@code null} for none + */ + public java.lang.String getSharedSet() { + return sharedSet; + } + + /** + * Immutable. The shared set to which the shared criterion belongs. + * @param sharedSet sharedSet or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesSharedCriterion setSharedSet(java.lang.String sharedSet) { + this.sharedSet = sharedSet; + return this; + } + + /** + * Output only. The type of the criterion. + * @return value or {@code null} for none + */ + public java.lang.String getType() { + return type; + } + + /** + * Output only. The type of the criterion. + * @param type type or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesSharedCriterion setType(java.lang.String type) { + this.type = type; + return this; + } + + /** + * Immutable. Vertical ads item group rule. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonVerticalAdsItemGroupRuleInfo getVerticalAdsItemGroupRule() { + return verticalAdsItemGroupRule; + } + + /** + * Immutable. Vertical ads item group rule. + * @param verticalAdsItemGroupRule verticalAdsItemGroupRule or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesSharedCriterion setVerticalAdsItemGroupRule(GoogleAdsSearchads360V23CommonVerticalAdsItemGroupRuleInfo verticalAdsItemGroupRule) { + this.verticalAdsItemGroupRule = verticalAdsItemGroupRule; + return this; + } + + /** + * Immutable. Webpage. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonWebpageInfo getWebpage() { + return webpage; + } + + /** + * Immutable. Webpage. + * @param webpage webpage or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesSharedCriterion setWebpage(GoogleAdsSearchads360V23CommonWebpageInfo webpage) { + this.webpage = webpage; + return this; + } + + /** + * Immutable. YouTube Channel. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonYouTubeChannelInfo getYoutubeChannel() { + return youtubeChannel; + } + + /** + * Immutable. YouTube Channel. + * @param youtubeChannel youtubeChannel or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesSharedCriterion setYoutubeChannel(GoogleAdsSearchads360V23CommonYouTubeChannelInfo youtubeChannel) { + this.youtubeChannel = youtubeChannel; + return this; + } + + /** + * Immutable. YouTube Video. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonYouTubeVideoInfo getYoutubeVideo() { + return youtubeVideo; + } + + /** + * Immutable. YouTube Video. + * @param youtubeVideo youtubeVideo or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesSharedCriterion setYoutubeVideo(GoogleAdsSearchads360V23CommonYouTubeVideoInfo youtubeVideo) { + this.youtubeVideo = youtubeVideo; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesSharedCriterion set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesSharedCriterion) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesSharedCriterion clone() { + return (GoogleAdsSearchads360V23ResourcesSharedCriterion) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesSharedSet.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesSharedSet.java new file mode 100644 index 00000000000..dfc7df51056 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesSharedSet.java @@ -0,0 +1,253 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * SharedSets are used for sharing criterion exclusions across multiple campaigns. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesSharedSet extends com.google.api.client.json.GenericJson { + + /** + * Output only. The ID of this shared set. Read only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long id; + + /** + * Output only. The number of shared criteria within this shared set. Read only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long memberCount; + + /** + * The name of this shared set. Required. Shared Sets must have names that are unique among active + * shared sets of the same type. The length of this string should be between 1 and 255 UTF-8 + * bytes, inclusive. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * Output only. The number of campaigns associated with this shared set. Read only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long referenceCount; + + /** + * Immutable. The resource name of the shared set. Shared set resource names have the form: + * `customers/{customer_id}/sharedSets/{shared_set_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. The status of this shared set. Read only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String status; + + /** + * Immutable. The type of this shared set: each shared set holds only a single kind of resource. + * Required. Immutable. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String type; + + /** + * Immutable. Shared sets of type VERTICAL_ADS_ITEM_GROUP_RULE_LIST are associated with a + * particular vertical (e.g. hotels, things to do, flights, etc.). This field is required for + * shared sets of type VERTICAL_ADS_ITEM_GROUP_RULE_LIST. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String verticalAdsItemVerticalType; + + /** + * Output only. The ID of this shared set. Read only. + * @return value or {@code null} for none + */ + public java.lang.Long getId() { + return id; + } + + /** + * Output only. The ID of this shared set. Read only. + * @param id id or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesSharedSet setId(java.lang.Long id) { + this.id = id; + return this; + } + + /** + * Output only. The number of shared criteria within this shared set. Read only. + * @return value or {@code null} for none + */ + public java.lang.Long getMemberCount() { + return memberCount; + } + + /** + * Output only. The number of shared criteria within this shared set. Read only. + * @param memberCount memberCount or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesSharedSet setMemberCount(java.lang.Long memberCount) { + this.memberCount = memberCount; + return this; + } + + /** + * The name of this shared set. Required. Shared Sets must have names that are unique among active + * shared sets of the same type. The length of this string should be between 1 and 255 UTF-8 + * bytes, inclusive. + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * The name of this shared set. Required. Shared Sets must have names that are unique among active + * shared sets of the same type. The length of this string should be between 1 and 255 UTF-8 + * bytes, inclusive. + * @param name name or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesSharedSet setName(java.lang.String name) { + this.name = name; + return this; + } + + /** + * Output only. The number of campaigns associated with this shared set. Read only. + * @return value or {@code null} for none + */ + public java.lang.Long getReferenceCount() { + return referenceCount; + } + + /** + * Output only. The number of campaigns associated with this shared set. Read only. + * @param referenceCount referenceCount or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesSharedSet setReferenceCount(java.lang.Long referenceCount) { + this.referenceCount = referenceCount; + return this; + } + + /** + * Immutable. The resource name of the shared set. Shared set resource names have the form: + * `customers/{customer_id}/sharedSets/{shared_set_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Immutable. The resource name of the shared set. Shared set resource names have the form: + * `customers/{customer_id}/sharedSets/{shared_set_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesSharedSet setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Output only. The status of this shared set. Read only. + * @return value or {@code null} for none + */ + public java.lang.String getStatus() { + return status; + } + + /** + * Output only. The status of this shared set. Read only. + * @param status status or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesSharedSet setStatus(java.lang.String status) { + this.status = status; + return this; + } + + /** + * Immutable. The type of this shared set: each shared set holds only a single kind of resource. + * Required. Immutable. + * @return value or {@code null} for none + */ + public java.lang.String getType() { + return type; + } + + /** + * Immutable. The type of this shared set: each shared set holds only a single kind of resource. + * Required. Immutable. + * @param type type or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesSharedSet setType(java.lang.String type) { + this.type = type; + return this; + } + + /** + * Immutable. Shared sets of type VERTICAL_ADS_ITEM_GROUP_RULE_LIST are associated with a + * particular vertical (e.g. hotels, things to do, flights, etc.). This field is required for + * shared sets of type VERTICAL_ADS_ITEM_GROUP_RULE_LIST. + * @return value or {@code null} for none + */ + public java.lang.String getVerticalAdsItemVerticalType() { + return verticalAdsItemVerticalType; + } + + /** + * Immutable. Shared sets of type VERTICAL_ADS_ITEM_GROUP_RULE_LIST are associated with a + * particular vertical (e.g. hotels, things to do, flights, etc.). This field is required for + * shared sets of type VERTICAL_ADS_ITEM_GROUP_RULE_LIST. + * @param verticalAdsItemVerticalType verticalAdsItemVerticalType or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesSharedSet setVerticalAdsItemVerticalType(java.lang.String verticalAdsItemVerticalType) { + this.verticalAdsItemVerticalType = verticalAdsItemVerticalType; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesSharedSet set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesSharedSet) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesSharedSet clone() { + return (GoogleAdsSearchads360V23ResourcesSharedSet) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesShoppingPerformanceView.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesShoppingPerformanceView.java new file mode 100644 index 00000000000..695326802e6 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesShoppingPerformanceView.java @@ -0,0 +1,80 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Shopping performance view. Provides Shopping campaign and Performance Max campaign statistics + * aggregated at several product dimension levels. Product dimension values from Merchant Center + * such as brand, category, custom attributes, product condition, and product type will reflect the + * state of each dimension as of the date and time when the corresponding event was recorded. The + * number of impressions and clicks that `shopping_performance_view` returns stats for may be + * different from campaign reports. `shopping_performance_view` shows impressions and clicks on + * products appearing in ads, while campaign reports show impressions and clicks on the ads + * themselves. Depending on the format, an ad can show from zero to several products, so the numbers + * may not match. In Search Ads 360 UI, you can query impressions and clicks of products appearing + * in ads by selecting a column from "Product attributes" in the report editor. For example, + * selecting the "Brand" column is equivalent to selecting `segments.product_brand`. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesShoppingPerformanceView extends com.google.api.client.json.GenericJson { + + /** + * Output only. The resource name of the Shopping performance view. Shopping performance view + * resource names have the form: `customers/{customer_id}/shoppingPerformanceView` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. The resource name of the Shopping performance view. Shopping performance view + * resource names have the form: `customers/{customer_id}/shoppingPerformanceView` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Output only. The resource name of the Shopping performance view. Shopping performance view + * resource names have the form: `customers/{customer_id}/shoppingPerformanceView` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesShoppingPerformanceView setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesShoppingPerformanceView set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesShoppingPerformanceView) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesShoppingPerformanceView clone() { + return (GoogleAdsSearchads360V23ResourcesShoppingPerformanceView) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesShoppingProduct.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesShoppingProduct.java new file mode 100644 index 00000000000..a6cfda27b09 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesShoppingProduct.java @@ -0,0 +1,977 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A shopping product from Google Merchant Center that can be advertised by campaigns. The resource + * returns currently existing products from Google Merchant Center accounts linked with the + * customer. A campaign includes a product by specifying its merchant id (or, if available, the + * Multi Client Account id of the merchant) in the `ShoppingSetting`, and can limit the inclusion to + * products having a specified feed label. Standard Shopping campaigns can also limit the inclusion + * through a `campaign_criterion.listing_scope`. Queries to this resource specify a scope: * + * Account: - Filters on campaigns or ad groups are not specified. - All products from the linked + * Google Merchant Center accounts are returned. - Metrics and some fields (see the per-field + * documentation) are aggregated across all Shopping and Performance Max campaigns that include a + * product. * Campaign: - An equality filter on `campaign` is specified. Supported campaign types + * are Shopping, Performance Max, Demand Gen, Video, App. - Only products that are included by the + * specified campaign are returned. - Metrics and some fields (see the per-field documentation) are + * restricted to the specified campaign. - Only the following metrics are supported for Demand Gen, + * Video, App campaigns: impressions, clicks, ctr. * Ad group: - An equality filter on `ad_group` + * and `campaign` is specified. Supported campaign types are Shopping, Demand Gen, Video, App. - + * Only products that are included by the specified campaign are returned. - Metrics and some fields + * (see the per-field documentation) are restricted to the specified ad group. - Only the following + * metrics are supported for Demand Gen, Video, App campaigns: impressions, clicks, ctr. Note that + * segmentation by date segments is not permitted and will return UNSUPPORTED_DATE_SEGMENTATION + * error. On the other hand, filtering on date segments is allowed. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesShoppingProduct extends com.google.api.client.json.GenericJson { + + /** + * Output only. An ad group of a campaign that includes the product. This field is selectable only + * in the ad group scope, which requires an equality filter on `campaign` and `ad_group`. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String adGroup; + + /** + * Output only. The availability of the product as provided by the merchant. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String availability; + + /** + * Output only. The brand of the product as provided by the merchant. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String brand; + + /** + * Output only. A campaign that includes the product. This field is selectable only in the + * campaign scope, which requires an equality filter on `campaign`. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String campaign; + + /** + * Output only. The category level 1 of the product. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String categoryLevel1; + + /** + * Output only. The category level 2 of the product. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String categoryLevel2; + + /** + * Output only. The category level 3 of the product. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String categoryLevel3; + + /** + * Output only. The category level 4 of the product. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String categoryLevel4; + + /** + * Output only. The category level 5 of the product. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String categoryLevel5; + + /** + * Output only. The product channel describing the locality of the product. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String channel; + + /** + * Output only. The channel exclusivity of the product as provided by the merchant. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String channelExclusivity; + + /** + * Output only. The condition of the product as provided by the merchant. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String condition; + + /** + * Output only. The currency code as provided by the merchant, in ISO 4217 format. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String currencyCode; + + /** + * Output only. The custom attribute 0 of the product as provided by the merchant. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String customAttribute0; + + /** + * Output only. The custom attribute 1 of the product as provided by the merchant. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String customAttribute1; + + /** + * Output only. The custom attribute 2 of the product as provided by the merchant. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String customAttribute2; + + /** + * Output only. The custom attribute 3 of the product as provided by the merchant. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String customAttribute3; + + /** + * Output only. The custom attribute 4 of the product as provided by the merchant. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String customAttribute4; + + /** + * Output only. The effective maximum cost-per-click (effective max. CPC) of the product. This + * field is available only if the query specifies the campaign or ad group scope, and if the + * campaign uses manual bidding. The value is the highest bid set for the product in product + * groups across all enabled ad groups. It represents the most you're willing to pay for a click + * on the product. This field can take up to 24 hours to update. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long effectiveMaxCpcMicros; + + /** + * Output only. The product feed label as provided by the merchant. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String feedLabel; + + /** + * Output only. The list of issues affecting whether the product can show in ads. The value of + * this field is restricted to the scope specified in the query, see the documentation of the + * resource. This field can take up to 24 hours to update. This field is not supported for App + * campaigns. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List issues; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ResourcesShoppingProductProductIssue used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ResourcesShoppingProductProductIssue.class); + } + + /** + * Output only. The item id of the product as provided by the merchant. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String itemId; + + /** + * Output only. The language code as provided by the merchant, in BCP 47 format. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String languageCode; + + /** + * Output only. The id of the merchant that owns the product. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long merchantCenterId; + + /** + * Output only. The id of the Multi Client Account of the merchant, if present. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long multiClientAccountId; + + /** + * Output only. The price of the product in micros as provided by the merchant, in the currency + * specified in `currency_code` (e.g. $2.97 is reported as 2970000). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long priceMicros; + + /** + * Output only. The URI of the product image as provided by the merchant. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String productImageUri; + + /** + * Output only. The product type level 1 as provided by the merchant. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String productTypeLevel1; + + /** + * Output only. The product type level 2 as provided by the merchant. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String productTypeLevel2; + + /** + * Output only. The product type level 3 as provided by the merchant. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String productTypeLevel3; + + /** + * Output only. The product type level 4 as provided by the merchant. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String productTypeLevel4; + + /** + * Output only. The product type level 5 as provided by the merchant. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String productTypeLevel5; + + /** + * Output only. The resource name of the shopping product. Shopping product resource names have + * the form: `customers/{customer_id}/shoppingProducts/{merchant_center_id}~{channel}~{language_co + * de}~{feed_label}~{item_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. The status that indicates whether the product can show in ads. The value of this + * field is restricted to the scope specified in the query, see the documentation of the resource. + * This field can take up to 24 hours to update. This field is not supported for App campaigns. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String status; + + /** + * Output only. Upper-case two-letter ISO 3166-1 code of the regions where the product is intended + * to be shown in ads. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List targetCountries; + + /** + * Output only. The title of the product as provided by the merchant. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String title; + + /** + * Output only. An ad group of a campaign that includes the product. This field is selectable only + * in the ad group scope, which requires an equality filter on `campaign` and `ad_group`. + * @return value or {@code null} for none + */ + public java.lang.String getAdGroup() { + return adGroup; + } + + /** + * Output only. An ad group of a campaign that includes the product. This field is selectable only + * in the ad group scope, which requires an equality filter on `campaign` and `ad_group`. + * @param adGroup adGroup or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesShoppingProduct setAdGroup(java.lang.String adGroup) { + this.adGroup = adGroup; + return this; + } + + /** + * Output only. The availability of the product as provided by the merchant. + * @return value or {@code null} for none + */ + public java.lang.String getAvailability() { + return availability; + } + + /** + * Output only. The availability of the product as provided by the merchant. + * @param availability availability or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesShoppingProduct setAvailability(java.lang.String availability) { + this.availability = availability; + return this; + } + + /** + * Output only. The brand of the product as provided by the merchant. + * @return value or {@code null} for none + */ + public java.lang.String getBrand() { + return brand; + } + + /** + * Output only. The brand of the product as provided by the merchant. + * @param brand brand or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesShoppingProduct setBrand(java.lang.String brand) { + this.brand = brand; + return this; + } + + /** + * Output only. A campaign that includes the product. This field is selectable only in the + * campaign scope, which requires an equality filter on `campaign`. + * @return value or {@code null} for none + */ + public java.lang.String getCampaign() { + return campaign; + } + + /** + * Output only. A campaign that includes the product. This field is selectable only in the + * campaign scope, which requires an equality filter on `campaign`. + * @param campaign campaign or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesShoppingProduct setCampaign(java.lang.String campaign) { + this.campaign = campaign; + return this; + } + + /** + * Output only. The category level 1 of the product. + * @return value or {@code null} for none + */ + public java.lang.String getCategoryLevel1() { + return categoryLevel1; + } + + /** + * Output only. The category level 1 of the product. + * @param categoryLevel1 categoryLevel1 or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesShoppingProduct setCategoryLevel1(java.lang.String categoryLevel1) { + this.categoryLevel1 = categoryLevel1; + return this; + } + + /** + * Output only. The category level 2 of the product. + * @return value or {@code null} for none + */ + public java.lang.String getCategoryLevel2() { + return categoryLevel2; + } + + /** + * Output only. The category level 2 of the product. + * @param categoryLevel2 categoryLevel2 or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesShoppingProduct setCategoryLevel2(java.lang.String categoryLevel2) { + this.categoryLevel2 = categoryLevel2; + return this; + } + + /** + * Output only. The category level 3 of the product. + * @return value or {@code null} for none + */ + public java.lang.String getCategoryLevel3() { + return categoryLevel3; + } + + /** + * Output only. The category level 3 of the product. + * @param categoryLevel3 categoryLevel3 or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesShoppingProduct setCategoryLevel3(java.lang.String categoryLevel3) { + this.categoryLevel3 = categoryLevel3; + return this; + } + + /** + * Output only. The category level 4 of the product. + * @return value or {@code null} for none + */ + public java.lang.String getCategoryLevel4() { + return categoryLevel4; + } + + /** + * Output only. The category level 4 of the product. + * @param categoryLevel4 categoryLevel4 or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesShoppingProduct setCategoryLevel4(java.lang.String categoryLevel4) { + this.categoryLevel4 = categoryLevel4; + return this; + } + + /** + * Output only. The category level 5 of the product. + * @return value or {@code null} for none + */ + public java.lang.String getCategoryLevel5() { + return categoryLevel5; + } + + /** + * Output only. The category level 5 of the product. + * @param categoryLevel5 categoryLevel5 or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesShoppingProduct setCategoryLevel5(java.lang.String categoryLevel5) { + this.categoryLevel5 = categoryLevel5; + return this; + } + + /** + * Output only. The product channel describing the locality of the product. + * @return value or {@code null} for none + */ + public java.lang.String getChannel() { + return channel; + } + + /** + * Output only. The product channel describing the locality of the product. + * @param channel channel or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesShoppingProduct setChannel(java.lang.String channel) { + this.channel = channel; + return this; + } + + /** + * Output only. The channel exclusivity of the product as provided by the merchant. + * @return value or {@code null} for none + */ + public java.lang.String getChannelExclusivity() { + return channelExclusivity; + } + + /** + * Output only. The channel exclusivity of the product as provided by the merchant. + * @param channelExclusivity channelExclusivity or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesShoppingProduct setChannelExclusivity(java.lang.String channelExclusivity) { + this.channelExclusivity = channelExclusivity; + return this; + } + + /** + * Output only. The condition of the product as provided by the merchant. + * @return value or {@code null} for none + */ + public java.lang.String getCondition() { + return condition; + } + + /** + * Output only. The condition of the product as provided by the merchant. + * @param condition condition or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesShoppingProduct setCondition(java.lang.String condition) { + this.condition = condition; + return this; + } + + /** + * Output only. The currency code as provided by the merchant, in ISO 4217 format. + * @return value or {@code null} for none + */ + public java.lang.String getCurrencyCode() { + return currencyCode; + } + + /** + * Output only. The currency code as provided by the merchant, in ISO 4217 format. + * @param currencyCode currencyCode or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesShoppingProduct setCurrencyCode(java.lang.String currencyCode) { + this.currencyCode = currencyCode; + return this; + } + + /** + * Output only. The custom attribute 0 of the product as provided by the merchant. + * @return value or {@code null} for none + */ + public java.lang.String getCustomAttribute0() { + return customAttribute0; + } + + /** + * Output only. The custom attribute 0 of the product as provided by the merchant. + * @param customAttribute0 customAttribute0 or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesShoppingProduct setCustomAttribute0(java.lang.String customAttribute0) { + this.customAttribute0 = customAttribute0; + return this; + } + + /** + * Output only. The custom attribute 1 of the product as provided by the merchant. + * @return value or {@code null} for none + */ + public java.lang.String getCustomAttribute1() { + return customAttribute1; + } + + /** + * Output only. The custom attribute 1 of the product as provided by the merchant. + * @param customAttribute1 customAttribute1 or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesShoppingProduct setCustomAttribute1(java.lang.String customAttribute1) { + this.customAttribute1 = customAttribute1; + return this; + } + + /** + * Output only. The custom attribute 2 of the product as provided by the merchant. + * @return value or {@code null} for none + */ + public java.lang.String getCustomAttribute2() { + return customAttribute2; + } + + /** + * Output only. The custom attribute 2 of the product as provided by the merchant. + * @param customAttribute2 customAttribute2 or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesShoppingProduct setCustomAttribute2(java.lang.String customAttribute2) { + this.customAttribute2 = customAttribute2; + return this; + } + + /** + * Output only. The custom attribute 3 of the product as provided by the merchant. + * @return value or {@code null} for none + */ + public java.lang.String getCustomAttribute3() { + return customAttribute3; + } + + /** + * Output only. The custom attribute 3 of the product as provided by the merchant. + * @param customAttribute3 customAttribute3 or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesShoppingProduct setCustomAttribute3(java.lang.String customAttribute3) { + this.customAttribute3 = customAttribute3; + return this; + } + + /** + * Output only. The custom attribute 4 of the product as provided by the merchant. + * @return value or {@code null} for none + */ + public java.lang.String getCustomAttribute4() { + return customAttribute4; + } + + /** + * Output only. The custom attribute 4 of the product as provided by the merchant. + * @param customAttribute4 customAttribute4 or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesShoppingProduct setCustomAttribute4(java.lang.String customAttribute4) { + this.customAttribute4 = customAttribute4; + return this; + } + + /** + * Output only. The effective maximum cost-per-click (effective max. CPC) of the product. This + * field is available only if the query specifies the campaign or ad group scope, and if the + * campaign uses manual bidding. The value is the highest bid set for the product in product + * groups across all enabled ad groups. It represents the most you're willing to pay for a click + * on the product. This field can take up to 24 hours to update. + * @return value or {@code null} for none + */ + public java.lang.Long getEffectiveMaxCpcMicros() { + return effectiveMaxCpcMicros; + } + + /** + * Output only. The effective maximum cost-per-click (effective max. CPC) of the product. This + * field is available only if the query specifies the campaign or ad group scope, and if the + * campaign uses manual bidding. The value is the highest bid set for the product in product + * groups across all enabled ad groups. It represents the most you're willing to pay for a click + * on the product. This field can take up to 24 hours to update. + * @param effectiveMaxCpcMicros effectiveMaxCpcMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesShoppingProduct setEffectiveMaxCpcMicros(java.lang.Long effectiveMaxCpcMicros) { + this.effectiveMaxCpcMicros = effectiveMaxCpcMicros; + return this; + } + + /** + * Output only. The product feed label as provided by the merchant. + * @return value or {@code null} for none + */ + public java.lang.String getFeedLabel() { + return feedLabel; + } + + /** + * Output only. The product feed label as provided by the merchant. + * @param feedLabel feedLabel or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesShoppingProduct setFeedLabel(java.lang.String feedLabel) { + this.feedLabel = feedLabel; + return this; + } + + /** + * Output only. The list of issues affecting whether the product can show in ads. The value of + * this field is restricted to the scope specified in the query, see the documentation of the + * resource. This field can take up to 24 hours to update. This field is not supported for App + * campaigns. + * @return value or {@code null} for none + */ + public java.util.List getIssues() { + return issues; + } + + /** + * Output only. The list of issues affecting whether the product can show in ads. The value of + * this field is restricted to the scope specified in the query, see the documentation of the + * resource. This field can take up to 24 hours to update. This field is not supported for App + * campaigns. + * @param issues issues or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesShoppingProduct setIssues(java.util.List issues) { + this.issues = issues; + return this; + } + + /** + * Output only. The item id of the product as provided by the merchant. + * @return value or {@code null} for none + */ + public java.lang.String getItemId() { + return itemId; + } + + /** + * Output only. The item id of the product as provided by the merchant. + * @param itemId itemId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesShoppingProduct setItemId(java.lang.String itemId) { + this.itemId = itemId; + return this; + } + + /** + * Output only. The language code as provided by the merchant, in BCP 47 format. + * @return value or {@code null} for none + */ + public java.lang.String getLanguageCode() { + return languageCode; + } + + /** + * Output only. The language code as provided by the merchant, in BCP 47 format. + * @param languageCode languageCode or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesShoppingProduct setLanguageCode(java.lang.String languageCode) { + this.languageCode = languageCode; + return this; + } + + /** + * Output only. The id of the merchant that owns the product. + * @return value or {@code null} for none + */ + public java.lang.Long getMerchantCenterId() { + return merchantCenterId; + } + + /** + * Output only. The id of the merchant that owns the product. + * @param merchantCenterId merchantCenterId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesShoppingProduct setMerchantCenterId(java.lang.Long merchantCenterId) { + this.merchantCenterId = merchantCenterId; + return this; + } + + /** + * Output only. The id of the Multi Client Account of the merchant, if present. + * @return value or {@code null} for none + */ + public java.lang.Long getMultiClientAccountId() { + return multiClientAccountId; + } + + /** + * Output only. The id of the Multi Client Account of the merchant, if present. + * @param multiClientAccountId multiClientAccountId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesShoppingProduct setMultiClientAccountId(java.lang.Long multiClientAccountId) { + this.multiClientAccountId = multiClientAccountId; + return this; + } + + /** + * Output only. The price of the product in micros as provided by the merchant, in the currency + * specified in `currency_code` (e.g. $2.97 is reported as 2970000). + * @return value or {@code null} for none + */ + public java.lang.Long getPriceMicros() { + return priceMicros; + } + + /** + * Output only. The price of the product in micros as provided by the merchant, in the currency + * specified in `currency_code` (e.g. $2.97 is reported as 2970000). + * @param priceMicros priceMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesShoppingProduct setPriceMicros(java.lang.Long priceMicros) { + this.priceMicros = priceMicros; + return this; + } + + /** + * Output only. The URI of the product image as provided by the merchant. + * @return value or {@code null} for none + */ + public java.lang.String getProductImageUri() { + return productImageUri; + } + + /** + * Output only. The URI of the product image as provided by the merchant. + * @param productImageUri productImageUri or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesShoppingProduct setProductImageUri(java.lang.String productImageUri) { + this.productImageUri = productImageUri; + return this; + } + + /** + * Output only. The product type level 1 as provided by the merchant. + * @return value or {@code null} for none + */ + public java.lang.String getProductTypeLevel1() { + return productTypeLevel1; + } + + /** + * Output only. The product type level 1 as provided by the merchant. + * @param productTypeLevel1 productTypeLevel1 or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesShoppingProduct setProductTypeLevel1(java.lang.String productTypeLevel1) { + this.productTypeLevel1 = productTypeLevel1; + return this; + } + + /** + * Output only. The product type level 2 as provided by the merchant. + * @return value or {@code null} for none + */ + public java.lang.String getProductTypeLevel2() { + return productTypeLevel2; + } + + /** + * Output only. The product type level 2 as provided by the merchant. + * @param productTypeLevel2 productTypeLevel2 or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesShoppingProduct setProductTypeLevel2(java.lang.String productTypeLevel2) { + this.productTypeLevel2 = productTypeLevel2; + return this; + } + + /** + * Output only. The product type level 3 as provided by the merchant. + * @return value or {@code null} for none + */ + public java.lang.String getProductTypeLevel3() { + return productTypeLevel3; + } + + /** + * Output only. The product type level 3 as provided by the merchant. + * @param productTypeLevel3 productTypeLevel3 or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesShoppingProduct setProductTypeLevel3(java.lang.String productTypeLevel3) { + this.productTypeLevel3 = productTypeLevel3; + return this; + } + + /** + * Output only. The product type level 4 as provided by the merchant. + * @return value or {@code null} for none + */ + public java.lang.String getProductTypeLevel4() { + return productTypeLevel4; + } + + /** + * Output only. The product type level 4 as provided by the merchant. + * @param productTypeLevel4 productTypeLevel4 or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesShoppingProduct setProductTypeLevel4(java.lang.String productTypeLevel4) { + this.productTypeLevel4 = productTypeLevel4; + return this; + } + + /** + * Output only. The product type level 5 as provided by the merchant. + * @return value or {@code null} for none + */ + public java.lang.String getProductTypeLevel5() { + return productTypeLevel5; + } + + /** + * Output only. The product type level 5 as provided by the merchant. + * @param productTypeLevel5 productTypeLevel5 or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesShoppingProduct setProductTypeLevel5(java.lang.String productTypeLevel5) { + this.productTypeLevel5 = productTypeLevel5; + return this; + } + + /** + * Output only. The resource name of the shopping product. Shopping product resource names have + * the form: `customers/{customer_id}/shoppingProducts/{merchant_center_id}~{channel}~{language_co + * de}~{feed_label}~{item_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Output only. The resource name of the shopping product. Shopping product resource names have + * the form: `customers/{customer_id}/shoppingProducts/{merchant_center_id}~{channel}~{language_co + * de}~{feed_label}~{item_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesShoppingProduct setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Output only. The status that indicates whether the product can show in ads. The value of this + * field is restricted to the scope specified in the query, see the documentation of the resource. + * This field can take up to 24 hours to update. This field is not supported for App campaigns. + * @return value or {@code null} for none + */ + public java.lang.String getStatus() { + return status; + } + + /** + * Output only. The status that indicates whether the product can show in ads. The value of this + * field is restricted to the scope specified in the query, see the documentation of the resource. + * This field can take up to 24 hours to update. This field is not supported for App campaigns. + * @param status status or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesShoppingProduct setStatus(java.lang.String status) { + this.status = status; + return this; + } + + /** + * Output only. Upper-case two-letter ISO 3166-1 code of the regions where the product is intended + * to be shown in ads. + * @return value or {@code null} for none + */ + public java.util.List getTargetCountries() { + return targetCountries; + } + + /** + * Output only. Upper-case two-letter ISO 3166-1 code of the regions where the product is intended + * to be shown in ads. + * @param targetCountries targetCountries or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesShoppingProduct setTargetCountries(java.util.List targetCountries) { + this.targetCountries = targetCountries; + return this; + } + + /** + * Output only. The title of the product as provided by the merchant. + * @return value or {@code null} for none + */ + public java.lang.String getTitle() { + return title; + } + + /** + * Output only. The title of the product as provided by the merchant. + * @param title title or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesShoppingProduct setTitle(java.lang.String title) { + this.title = title; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesShoppingProduct set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesShoppingProduct) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesShoppingProduct clone() { + return (GoogleAdsSearchads360V23ResourcesShoppingProduct) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesShoppingProductProductIssue.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesShoppingProductProductIssue.java new file mode 100644 index 00000000000..cefbb7d7705 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesShoppingProductProductIssue.java @@ -0,0 +1,214 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * An issue affecting whether a product can show in ads. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesShoppingProductProductIssue extends com.google.api.client.json.GenericJson { + + /** + * Output only. The severity of the issue in Google Ads. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String adsSeverity; + + /** + * Output only. List of upper-case two-letter ISO 3166-1 codes of the regions affected by the + * issue. If empty, all regions are affected. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List affectedRegions; + + /** + * Output only. The name of the product's attribute, if any, that triggered the issue. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String attributeName; + + /** + * Output only. The short description of the issue in English. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String description; + + /** + * Output only. The detailed description of the issue in English. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String detail; + + /** + * Output only. The URL of the Help Center article for the issue. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String documentation; + + /** + * Output only. The error code that identifies the issue. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String errorCode; + + /** + * Output only. The severity of the issue in Google Ads. + * @return value or {@code null} for none + */ + public java.lang.String getAdsSeverity() { + return adsSeverity; + } + + /** + * Output only. The severity of the issue in Google Ads. + * @param adsSeverity adsSeverity or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesShoppingProductProductIssue setAdsSeverity(java.lang.String adsSeverity) { + this.adsSeverity = adsSeverity; + return this; + } + + /** + * Output only. List of upper-case two-letter ISO 3166-1 codes of the regions affected by the + * issue. If empty, all regions are affected. + * @return value or {@code null} for none + */ + public java.util.List getAffectedRegions() { + return affectedRegions; + } + + /** + * Output only. List of upper-case two-letter ISO 3166-1 codes of the regions affected by the + * issue. If empty, all regions are affected. + * @param affectedRegions affectedRegions or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesShoppingProductProductIssue setAffectedRegions(java.util.List affectedRegions) { + this.affectedRegions = affectedRegions; + return this; + } + + /** + * Output only. The name of the product's attribute, if any, that triggered the issue. + * @return value or {@code null} for none + */ + public java.lang.String getAttributeName() { + return attributeName; + } + + /** + * Output only. The name of the product's attribute, if any, that triggered the issue. + * @param attributeName attributeName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesShoppingProductProductIssue setAttributeName(java.lang.String attributeName) { + this.attributeName = attributeName; + return this; + } + + /** + * Output only. The short description of the issue in English. + * @return value or {@code null} for none + */ + public java.lang.String getDescription() { + return description; + } + + /** + * Output only. The short description of the issue in English. + * @param description description or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesShoppingProductProductIssue setDescription(java.lang.String description) { + this.description = description; + return this; + } + + /** + * Output only. The detailed description of the issue in English. + * @return value or {@code null} for none + */ + public java.lang.String getDetail() { + return detail; + } + + /** + * Output only. The detailed description of the issue in English. + * @param detail detail or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesShoppingProductProductIssue setDetail(java.lang.String detail) { + this.detail = detail; + return this; + } + + /** + * Output only. The URL of the Help Center article for the issue. + * @return value or {@code null} for none + */ + public java.lang.String getDocumentation() { + return documentation; + } + + /** + * Output only. The URL of the Help Center article for the issue. + * @param documentation documentation or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesShoppingProductProductIssue setDocumentation(java.lang.String documentation) { + this.documentation = documentation; + return this; + } + + /** + * Output only. The error code that identifies the issue. + * @return value or {@code null} for none + */ + public java.lang.String getErrorCode() { + return errorCode; + } + + /** + * Output only. The error code that identifies the issue. + * @param errorCode errorCode or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesShoppingProductProductIssue setErrorCode(java.lang.String errorCode) { + this.errorCode = errorCode; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesShoppingProductProductIssue set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesShoppingProductProductIssue) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesShoppingProductProductIssue clone() { + return (GoogleAdsSearchads360V23ResourcesShoppingProductProductIssue) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesSmartCampaignSearchTermView.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesSmartCampaignSearchTermView.java new file mode 100644 index 00000000000..84d02dbbc5c --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesSmartCampaignSearchTermView.java @@ -0,0 +1,121 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A Smart campaign search term view. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesSmartCampaignSearchTermView extends com.google.api.client.json.GenericJson { + + /** + * Output only. The Smart campaign the search term served in. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String campaign; + + /** + * Output only. The resource name of the Smart campaign search term view. Smart campaign search + * term view resource names have the form: + * `customers/{customer_id}/smartCampaignSearchTermViews/{campaign_id}~{URL-base64_search_term}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. The search term. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String searchTerm; + + /** + * Output only. The Smart campaign the search term served in. + * @return value or {@code null} for none + */ + public java.lang.String getCampaign() { + return campaign; + } + + /** + * Output only. The Smart campaign the search term served in. + * @param campaign campaign or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesSmartCampaignSearchTermView setCampaign(java.lang.String campaign) { + this.campaign = campaign; + return this; + } + + /** + * Output only. The resource name of the Smart campaign search term view. Smart campaign search + * term view resource names have the form: + * `customers/{customer_id}/smartCampaignSearchTermViews/{campaign_id}~{URL-base64_search_term}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Output only. The resource name of the Smart campaign search term view. Smart campaign search + * term view resource names have the form: + * `customers/{customer_id}/smartCampaignSearchTermViews/{campaign_id}~{URL-base64_search_term}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesSmartCampaignSearchTermView setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Output only. The search term. + * @return value or {@code null} for none + */ + public java.lang.String getSearchTerm() { + return searchTerm; + } + + /** + * Output only. The search term. + * @param searchTerm searchTerm or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesSmartCampaignSearchTermView setSearchTerm(java.lang.String searchTerm) { + this.searchTerm = searchTerm; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesSmartCampaignSearchTermView set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesSmartCampaignSearchTermView) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesSmartCampaignSearchTermView clone() { + return (GoogleAdsSearchads360V23ResourcesSmartCampaignSearchTermView) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesSmartCampaignSetting.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesSmartCampaignSetting.java new file mode 100644 index 00000000000..deda69d8992 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesSmartCampaignSetting.java @@ -0,0 +1,256 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Settings for configuring Smart campaigns. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesSmartCampaignSetting extends com.google.api.client.json.GenericJson { + + /** + * Settings for configuring a business profile optimized for ads as this campaign's landing page. + * This campaign must be linked to a business profile to use this option. For more information on + * this feature, consult https://support.google.com/google-ads/answer/9827068. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesSmartCampaignSettingAdOptimizedBusinessProfileSetting adOptimizedBusinessProfileSetting; + + /** + * The language code to advertise in from the set of [supported language codes] + * (https://developers.google.com/google-ads/api/reference/data/codes-formats#languages). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String advertisingLanguageCode; + + /** + * The name of the business. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String businessName; + + /** + * The resource name of a Business Profile location. Business Profile location resource names can + * be fetched through the Business Profile API and adhere to the following format: + * `locations/{locationId}`. See the [Business Profile API] (https://developers.google.com/my- + * business/reference/businessinformation/rest/v1/accounts.locations) for additional details. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String businessProfileLocation; + + /** + * Output only. The campaign to which these settings apply. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String campaign; + + /** + * The user-provided landing page URL for this Campaign. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String finalUrl; + + /** + * Phone number and country code. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesSmartCampaignSettingPhoneNumber phoneNumber; + + /** + * Immutable. The resource name of the Smart campaign setting. Smart campaign setting resource + * names have the form: `customers/{customer_id}/smartCampaignSettings/{campaign_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Settings for configuring a business profile optimized for ads as this campaign's landing page. + * This campaign must be linked to a business profile to use this option. For more information on + * this feature, consult https://support.google.com/google-ads/answer/9827068. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesSmartCampaignSettingAdOptimizedBusinessProfileSetting getAdOptimizedBusinessProfileSetting() { + return adOptimizedBusinessProfileSetting; + } + + /** + * Settings for configuring a business profile optimized for ads as this campaign's landing page. + * This campaign must be linked to a business profile to use this option. For more information on + * this feature, consult https://support.google.com/google-ads/answer/9827068. + * @param adOptimizedBusinessProfileSetting adOptimizedBusinessProfileSetting or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesSmartCampaignSetting setAdOptimizedBusinessProfileSetting(GoogleAdsSearchads360V23ResourcesSmartCampaignSettingAdOptimizedBusinessProfileSetting adOptimizedBusinessProfileSetting) { + this.adOptimizedBusinessProfileSetting = adOptimizedBusinessProfileSetting; + return this; + } + + /** + * The language code to advertise in from the set of [supported language codes] + * (https://developers.google.com/google-ads/api/reference/data/codes-formats#languages). + * @return value or {@code null} for none + */ + public java.lang.String getAdvertisingLanguageCode() { + return advertisingLanguageCode; + } + + /** + * The language code to advertise in from the set of [supported language codes] + * (https://developers.google.com/google-ads/api/reference/data/codes-formats#languages). + * @param advertisingLanguageCode advertisingLanguageCode or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesSmartCampaignSetting setAdvertisingLanguageCode(java.lang.String advertisingLanguageCode) { + this.advertisingLanguageCode = advertisingLanguageCode; + return this; + } + + /** + * The name of the business. + * @return value or {@code null} for none + */ + public java.lang.String getBusinessName() { + return businessName; + } + + /** + * The name of the business. + * @param businessName businessName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesSmartCampaignSetting setBusinessName(java.lang.String businessName) { + this.businessName = businessName; + return this; + } + + /** + * The resource name of a Business Profile location. Business Profile location resource names can + * be fetched through the Business Profile API and adhere to the following format: + * `locations/{locationId}`. See the [Business Profile API] (https://developers.google.com/my- + * business/reference/businessinformation/rest/v1/accounts.locations) for additional details. + * @return value or {@code null} for none + */ + public java.lang.String getBusinessProfileLocation() { + return businessProfileLocation; + } + + /** + * The resource name of a Business Profile location. Business Profile location resource names can + * be fetched through the Business Profile API and adhere to the following format: + * `locations/{locationId}`. See the [Business Profile API] (https://developers.google.com/my- + * business/reference/businessinformation/rest/v1/accounts.locations) for additional details. + * @param businessProfileLocation businessProfileLocation or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesSmartCampaignSetting setBusinessProfileLocation(java.lang.String businessProfileLocation) { + this.businessProfileLocation = businessProfileLocation; + return this; + } + + /** + * Output only. The campaign to which these settings apply. + * @return value or {@code null} for none + */ + public java.lang.String getCampaign() { + return campaign; + } + + /** + * Output only. The campaign to which these settings apply. + * @param campaign campaign or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesSmartCampaignSetting setCampaign(java.lang.String campaign) { + this.campaign = campaign; + return this; + } + + /** + * The user-provided landing page URL for this Campaign. + * @return value or {@code null} for none + */ + public java.lang.String getFinalUrl() { + return finalUrl; + } + + /** + * The user-provided landing page URL for this Campaign. + * @param finalUrl finalUrl or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesSmartCampaignSetting setFinalUrl(java.lang.String finalUrl) { + this.finalUrl = finalUrl; + return this; + } + + /** + * Phone number and country code. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesSmartCampaignSettingPhoneNumber getPhoneNumber() { + return phoneNumber; + } + + /** + * Phone number and country code. + * @param phoneNumber phoneNumber or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesSmartCampaignSetting setPhoneNumber(GoogleAdsSearchads360V23ResourcesSmartCampaignSettingPhoneNumber phoneNumber) { + this.phoneNumber = phoneNumber; + return this; + } + + /** + * Immutable. The resource name of the Smart campaign setting. Smart campaign setting resource + * names have the form: `customers/{customer_id}/smartCampaignSettings/{campaign_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Immutable. The resource name of the Smart campaign setting. Smart campaign setting resource + * names have the form: `customers/{customer_id}/smartCampaignSettings/{campaign_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesSmartCampaignSetting setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesSmartCampaignSetting set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesSmartCampaignSetting) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesSmartCampaignSetting clone() { + return (GoogleAdsSearchads360V23ResourcesSmartCampaignSetting) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesSmartCampaignSettingAdOptimizedBusinessProfileSetting.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesSmartCampaignSettingAdOptimizedBusinessProfileSetting.java new file mode 100644 index 00000000000..e152ff68ab2 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesSmartCampaignSettingAdOptimizedBusinessProfileSetting.java @@ -0,0 +1,70 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Settings for configuring a business profile optimized for ads as this campaign's landing page. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesSmartCampaignSettingAdOptimizedBusinessProfileSetting extends com.google.api.client.json.GenericJson { + + /** + * Enabling a lead form on your business profile enables prospective customers to contact your + * business by filling out a simple form, and you'll receive their information through email. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean includeLeadForm; + + /** + * Enabling a lead form on your business profile enables prospective customers to contact your + * business by filling out a simple form, and you'll receive their information through email. + * @return value or {@code null} for none + */ + public java.lang.Boolean getIncludeLeadForm() { + return includeLeadForm; + } + + /** + * Enabling a lead form on your business profile enables prospective customers to contact your + * business by filling out a simple form, and you'll receive their information through email. + * @param includeLeadForm includeLeadForm or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesSmartCampaignSettingAdOptimizedBusinessProfileSetting setIncludeLeadForm(java.lang.Boolean includeLeadForm) { + this.includeLeadForm = includeLeadForm; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesSmartCampaignSettingAdOptimizedBusinessProfileSetting set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesSmartCampaignSettingAdOptimizedBusinessProfileSetting) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesSmartCampaignSettingAdOptimizedBusinessProfileSetting clone() { + return (GoogleAdsSearchads360V23ResourcesSmartCampaignSettingAdOptimizedBusinessProfileSetting) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesSmartCampaignSettingPhoneNumber.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesSmartCampaignSettingPhoneNumber.java new file mode 100644 index 00000000000..c826b1efc79 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesSmartCampaignSettingPhoneNumber.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Phone number and country code in smart campaign settings. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesSmartCampaignSettingPhoneNumber extends com.google.api.client.json.GenericJson { + + /** + * Upper-case, two-letter country code as defined by ISO-3166. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String countryCode; + + /** + * Phone number of the smart campaign. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String phoneNumber; + + /** + * Upper-case, two-letter country code as defined by ISO-3166. + * @return value or {@code null} for none + */ + public java.lang.String getCountryCode() { + return countryCode; + } + + /** + * Upper-case, two-letter country code as defined by ISO-3166. + * @param countryCode countryCode or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesSmartCampaignSettingPhoneNumber setCountryCode(java.lang.String countryCode) { + this.countryCode = countryCode; + return this; + } + + /** + * Phone number of the smart campaign. + * @return value or {@code null} for none + */ + public java.lang.String getPhoneNumber() { + return phoneNumber; + } + + /** + * Phone number of the smart campaign. + * @param phoneNumber phoneNumber or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesSmartCampaignSettingPhoneNumber setPhoneNumber(java.lang.String phoneNumber) { + this.phoneNumber = phoneNumber; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesSmartCampaignSettingPhoneNumber set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesSmartCampaignSettingPhoneNumber) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesSmartCampaignSettingPhoneNumber clone() { + return (GoogleAdsSearchads360V23ResourcesSmartCampaignSettingPhoneNumber) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesTargetingExpansionView.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesTargetingExpansionView.java new file mode 100644 index 00000000000..1f975b7303f --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesTargetingExpansionView.java @@ -0,0 +1,74 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A targeting expansion view with metrics. Returns metrics for automated expansion over manual + * targeting. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesTargetingExpansionView extends com.google.api.client.json.GenericJson { + + /** + * Output only. The resource name of the targeting expansion view. Targeting expansion view + * resource names have the form: + * `customers/{customer_id}/targetingExpansionViews/{campaign_id}~{targeting_expansion_type}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. The resource name of the targeting expansion view. Targeting expansion view + * resource names have the form: + * `customers/{customer_id}/targetingExpansionViews/{campaign_id}~{targeting_expansion_type}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Output only. The resource name of the targeting expansion view. Targeting expansion view + * resource names have the form: + * `customers/{customer_id}/targetingExpansionViews/{campaign_id}~{targeting_expansion_type}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesTargetingExpansionView setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesTargetingExpansionView set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesTargetingExpansionView) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesTargetingExpansionView clone() { + return (GoogleAdsSearchads360V23ResourcesTargetingExpansionView) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesThirdPartyAppAnalyticsLink.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesThirdPartyAppAnalyticsLink.java new file mode 100644 index 00000000000..9a3250c4e49 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesThirdPartyAppAnalyticsLink.java @@ -0,0 +1,104 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A data sharing connection, allowing the import of third party app analytics into a Google Ads + * Customer. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesThirdPartyAppAnalyticsLink extends com.google.api.client.json.GenericJson { + + /** + * Immutable. The resource name of the third party app analytics link. Third party app analytics + * link resource names have the form: + * `customers/{customer_id}/thirdPartyAppAnalyticsLinks/{account_link_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. The shareable link ID that should be provided to the third party when setting up + * app analytics. This is able to be regenerated using regenerate method in the + * ThirdPartyAppAnalyticsLinkService. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String shareableLinkId; + + /** + * Immutable. The resource name of the third party app analytics link. Third party app analytics + * link resource names have the form: + * `customers/{customer_id}/thirdPartyAppAnalyticsLinks/{account_link_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Immutable. The resource name of the third party app analytics link. Third party app analytics + * link resource names have the form: + * `customers/{customer_id}/thirdPartyAppAnalyticsLinks/{account_link_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesThirdPartyAppAnalyticsLink setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Output only. The shareable link ID that should be provided to the third party when setting up + * app analytics. This is able to be regenerated using regenerate method in the + * ThirdPartyAppAnalyticsLinkService. + * @return value or {@code null} for none + */ + public java.lang.String getShareableLinkId() { + return shareableLinkId; + } + + /** + * Output only. The shareable link ID that should be provided to the third party when setting up + * app analytics. This is able to be regenerated using regenerate method in the + * ThirdPartyAppAnalyticsLinkService. + * @param shareableLinkId shareableLinkId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesThirdPartyAppAnalyticsLink setShareableLinkId(java.lang.String shareableLinkId) { + this.shareableLinkId = shareableLinkId; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesThirdPartyAppAnalyticsLink set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesThirdPartyAppAnalyticsLink) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesThirdPartyAppAnalyticsLink clone() { + return (GoogleAdsSearchads360V23ResourcesThirdPartyAppAnalyticsLink) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesThirdPartyAppAnalyticsLinkIdentifier.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesThirdPartyAppAnalyticsLinkIdentifier.java new file mode 100644 index 00000000000..57c31e390c0 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesThirdPartyAppAnalyticsLinkIdentifier.java @@ -0,0 +1,142 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The identifiers of a Third Party App Analytics Link. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesThirdPartyAppAnalyticsLinkIdentifier extends com.google.api.client.json.GenericJson { + + /** + * Immutable. The ID of the app analytics provider. This field should not be empty when creating a + * new third party app analytics link. It is unable to be modified after the creation of the link. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long appAnalyticsProviderId; + + /** + * Immutable. A string that uniquely identifies a mobile application from which the data was + * collected to the Google Ads API. For iOS, the ID string is the 9 digit string that appears at + * the end of an App Store URL (for example, "422689480" for "Gmail" whose App Store link is + * https://apps.apple.com/us/app/gmail-email-by-google/id422689480). For Android, the ID string is + * the application's package name (for example, "com.google.android.gm" for "Gmail" given Google + * Play link https://play.google.com/store/apps/details?id=com.google.android.gm) This field + * should not be empty when creating a new third party app analytics link. It is unable to be + * modified after the creation of the link. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String appId; + + /** + * Immutable. The vendor of the app. This field should not be empty when creating a new third + * party app analytics link. It is unable to be modified after the creation of the link. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String appVendor; + + /** + * Immutable. The ID of the app analytics provider. This field should not be empty when creating a + * new third party app analytics link. It is unable to be modified after the creation of the link. + * @return value or {@code null} for none + */ + public java.lang.Long getAppAnalyticsProviderId() { + return appAnalyticsProviderId; + } + + /** + * Immutable. The ID of the app analytics provider. This field should not be empty when creating a + * new third party app analytics link. It is unable to be modified after the creation of the link. + * @param appAnalyticsProviderId appAnalyticsProviderId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesThirdPartyAppAnalyticsLinkIdentifier setAppAnalyticsProviderId(java.lang.Long appAnalyticsProviderId) { + this.appAnalyticsProviderId = appAnalyticsProviderId; + return this; + } + + /** + * Immutable. A string that uniquely identifies a mobile application from which the data was + * collected to the Google Ads API. For iOS, the ID string is the 9 digit string that appears at + * the end of an App Store URL (for example, "422689480" for "Gmail" whose App Store link is + * https://apps.apple.com/us/app/gmail-email-by-google/id422689480). For Android, the ID string is + * the application's package name (for example, "com.google.android.gm" for "Gmail" given Google + * Play link https://play.google.com/store/apps/details?id=com.google.android.gm) This field + * should not be empty when creating a new third party app analytics link. It is unable to be + * modified after the creation of the link. + * @return value or {@code null} for none + */ + public java.lang.String getAppId() { + return appId; + } + + /** + * Immutable. A string that uniquely identifies a mobile application from which the data was + * collected to the Google Ads API. For iOS, the ID string is the 9 digit string that appears at + * the end of an App Store URL (for example, "422689480" for "Gmail" whose App Store link is + * https://apps.apple.com/us/app/gmail-email-by-google/id422689480). For Android, the ID string is + * the application's package name (for example, "com.google.android.gm" for "Gmail" given Google + * Play link https://play.google.com/store/apps/details?id=com.google.android.gm) This field + * should not be empty when creating a new third party app analytics link. It is unable to be + * modified after the creation of the link. + * @param appId appId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesThirdPartyAppAnalyticsLinkIdentifier setAppId(java.lang.String appId) { + this.appId = appId; + return this; + } + + /** + * Immutable. The vendor of the app. This field should not be empty when creating a new third + * party app analytics link. It is unable to be modified after the creation of the link. + * @return value or {@code null} for none + */ + public java.lang.String getAppVendor() { + return appVendor; + } + + /** + * Immutable. The vendor of the app. This field should not be empty when creating a new third + * party app analytics link. It is unable to be modified after the creation of the link. + * @param appVendor appVendor or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesThirdPartyAppAnalyticsLinkIdentifier setAppVendor(java.lang.String appVendor) { + this.appVendor = appVendor; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesThirdPartyAppAnalyticsLinkIdentifier set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesThirdPartyAppAnalyticsLinkIdentifier) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesThirdPartyAppAnalyticsLinkIdentifier clone() { + return (GoogleAdsSearchads360V23ResourcesThirdPartyAppAnalyticsLinkIdentifier) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesTopicConstant.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesTopicConstant.java new file mode 100644 index 00000000000..25d88ede84f --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesTopicConstant.java @@ -0,0 +1,152 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Use topics to target or exclude placements in the Google Display Network based on the category + * into which the placement falls (for example, "Pets & Animals/Pets/Dogs"). + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesTopicConstant extends com.google.api.client.json.GenericJson { + + /** + * Output only. The ID of the topic. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long id; + + /** + * Output only. The category to target or exclude. Each subsequent element in the array describes + * a more specific sub-category. For example, {"Pets & Animals", "Pets", "Dogs"} represents the + * "Pets & Animals/Pets/Dogs" category. List of available topic categories at + * https://developers.google.com/google-ads/api/reference/data/verticals + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List path; + + /** + * Output only. The resource name of the topic constant. topic constant resource names have the + * form: `topicConstants/{topic_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. Resource name of parent of the topic constant. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String topicConstantParent; + + /** + * Output only. The ID of the topic. + * @return value or {@code null} for none + */ + public java.lang.Long getId() { + return id; + } + + /** + * Output only. The ID of the topic. + * @param id id or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesTopicConstant setId(java.lang.Long id) { + this.id = id; + return this; + } + + /** + * Output only. The category to target or exclude. Each subsequent element in the array describes + * a more specific sub-category. For example, {"Pets & Animals", "Pets", "Dogs"} represents the + * "Pets & Animals/Pets/Dogs" category. List of available topic categories at + * https://developers.google.com/google-ads/api/reference/data/verticals + * @return value or {@code null} for none + */ + public java.util.List getPath() { + return path; + } + + /** + * Output only. The category to target or exclude. Each subsequent element in the array describes + * a more specific sub-category. For example, {"Pets & Animals", "Pets", "Dogs"} represents the + * "Pets & Animals/Pets/Dogs" category. List of available topic categories at + * https://developers.google.com/google-ads/api/reference/data/verticals + * @param path path or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesTopicConstant setPath(java.util.List path) { + this.path = path; + return this; + } + + /** + * Output only. The resource name of the topic constant. topic constant resource names have the + * form: `topicConstants/{topic_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Output only. The resource name of the topic constant. topic constant resource names have the + * form: `topicConstants/{topic_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesTopicConstant setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Output only. Resource name of parent of the topic constant. + * @return value or {@code null} for none + */ + public java.lang.String getTopicConstantParent() { + return topicConstantParent; + } + + /** + * Output only. Resource name of parent of the topic constant. + * @param topicConstantParent topicConstantParent or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesTopicConstant setTopicConstantParent(java.lang.String topicConstantParent) { + this.topicConstantParent = topicConstantParent; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesTopicConstant set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesTopicConstant) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesTopicConstant clone() { + return (GoogleAdsSearchads360V23ResourcesTopicConstant) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesTopicView.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesTopicView.java new file mode 100644 index 00000000000..850c795d93f --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesTopicView.java @@ -0,0 +1,70 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A topic view. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesTopicView extends com.google.api.client.json.GenericJson { + + /** + * Output only. The resource name of the topic view. Topic view resource names have the form: + * `customers/{customer_id}/topicViews/{ad_group_id}~{criterion_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. The resource name of the topic view. Topic view resource names have the form: + * `customers/{customer_id}/topicViews/{ad_group_id}~{criterion_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Output only. The resource name of the topic view. Topic view resource names have the form: + * `customers/{customer_id}/topicViews/{ad_group_id}~{criterion_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesTopicView setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesTopicView set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesTopicView) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesTopicView clone() { + return (GoogleAdsSearchads360V23ResourcesTopicView) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesTravelActivityGroupView.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesTravelActivityGroupView.java new file mode 100644 index 00000000000..f1052637449 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesTravelActivityGroupView.java @@ -0,0 +1,73 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A travel activity group view. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesTravelActivityGroupView extends com.google.api.client.json.GenericJson { + + /** + * Output only. The resource name of the travel activity group view. Travel Activity Group view + * resource names have the form: + * `customers/{customer_id}/travelActivityGroupViews/{ad_group_id}~{criterion_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. The resource name of the travel activity group view. Travel Activity Group view + * resource names have the form: + * `customers/{customer_id}/travelActivityGroupViews/{ad_group_id}~{criterion_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Output only. The resource name of the travel activity group view. Travel Activity Group view + * resource names have the form: + * `customers/{customer_id}/travelActivityGroupViews/{ad_group_id}~{criterion_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesTravelActivityGroupView setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesTravelActivityGroupView set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesTravelActivityGroupView) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesTravelActivityGroupView clone() { + return (GoogleAdsSearchads360V23ResourcesTravelActivityGroupView) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesTravelActivityPerformanceView.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesTravelActivityPerformanceView.java new file mode 100644 index 00000000000..2ea2901388f --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesTravelActivityPerformanceView.java @@ -0,0 +1,73 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A travel activity performance view. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesTravelActivityPerformanceView extends com.google.api.client.json.GenericJson { + + /** + * Output only. The resource name of the travel activity performance view. Travel Activity + * performance view resource names have the form: + * `customers/{customer_id}/travelActivityPerformanceView` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. The resource name of the travel activity performance view. Travel Activity + * performance view resource names have the form: + * `customers/{customer_id}/travelActivityPerformanceView` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Output only. The resource name of the travel activity performance view. Travel Activity + * performance view resource names have the form: + * `customers/{customer_id}/travelActivityPerformanceView` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesTravelActivityPerformanceView setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesTravelActivityPerformanceView set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesTravelActivityPerformanceView) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesTravelActivityPerformanceView clone() { + return (GoogleAdsSearchads360V23ResourcesTravelActivityPerformanceView) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesUniversityDegree.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesUniversityDegree.java new file mode 100644 index 00000000000..4d9c19b3689 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesUniversityDegree.java @@ -0,0 +1,115 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A list of degrees this employee has obtained, and wants to feature. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesUniversityDegree extends com.google.api.client.json.GenericJson { + + /** + * Output only. Name of the degree obtained. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String degree; + + /** + * Output only. Year of graduation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer graduationYear; + + /** + * Output only. Name of the university at which the degree was obtained. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String institutionName; + + /** + * Output only. Name of the degree obtained. + * @return value or {@code null} for none + */ + public java.lang.String getDegree() { + return degree; + } + + /** + * Output only. Name of the degree obtained. + * @param degree degree or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesUniversityDegree setDegree(java.lang.String degree) { + this.degree = degree; + return this; + } + + /** + * Output only. Year of graduation. + * @return value or {@code null} for none + */ + public java.lang.Integer getGraduationYear() { + return graduationYear; + } + + /** + * Output only. Year of graduation. + * @param graduationYear graduationYear or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesUniversityDegree setGraduationYear(java.lang.Integer graduationYear) { + this.graduationYear = graduationYear; + return this; + } + + /** + * Output only. Name of the university at which the degree was obtained. + * @return value or {@code null} for none + */ + public java.lang.String getInstitutionName() { + return institutionName; + } + + /** + * Output only. Name of the university at which the degree was obtained. + * @param institutionName institutionName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesUniversityDegree setInstitutionName(java.lang.String institutionName) { + this.institutionName = institutionName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesUniversityDegree set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesUniversityDegree) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesUniversityDegree clone() { + return (GoogleAdsSearchads360V23ResourcesUniversityDegree) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesUserInterest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesUserInterest.java new file mode 100644 index 00000000000..a9ac794a8dc --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesUserInterest.java @@ -0,0 +1,220 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A user interest: a particular interest-based vertical to be targeted. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesUserInterest extends com.google.api.client.json.GenericJson { + + /** + * Output only. Availability information of the user interest. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List availabilities; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonCriterionCategoryAvailability used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonCriterionCategoryAvailability.class); + } + + /** + * Output only. True if the user interest is launched to all channels and locales. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean launchedToAll; + + /** + * Output only. The name of the user interest. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * Output only. The resource name of the user interest. User interest resource names have the + * form: `customers/{customer_id}/userInterests/{user_interest_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. Taxonomy type of the user interest. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String taxonomyType; + + /** + * Output only. The ID of the user interest. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long userInterestId; + + /** + * Output only. The parent of the user interest. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String userInterestParent; + + /** + * Output only. Availability information of the user interest. + * @return value or {@code null} for none + */ + public java.util.List getAvailabilities() { + return availabilities; + } + + /** + * Output only. Availability information of the user interest. + * @param availabilities availabilities or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesUserInterest setAvailabilities(java.util.List availabilities) { + this.availabilities = availabilities; + return this; + } + + /** + * Output only. True if the user interest is launched to all channels and locales. + * @return value or {@code null} for none + */ + public java.lang.Boolean getLaunchedToAll() { + return launchedToAll; + } + + /** + * Output only. True if the user interest is launched to all channels and locales. + * @param launchedToAll launchedToAll or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesUserInterest setLaunchedToAll(java.lang.Boolean launchedToAll) { + this.launchedToAll = launchedToAll; + return this; + } + + /** + * Output only. The name of the user interest. + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * Output only. The name of the user interest. + * @param name name or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesUserInterest setName(java.lang.String name) { + this.name = name; + return this; + } + + /** + * Output only. The resource name of the user interest. User interest resource names have the + * form: `customers/{customer_id}/userInterests/{user_interest_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Output only. The resource name of the user interest. User interest resource names have the + * form: `customers/{customer_id}/userInterests/{user_interest_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesUserInterest setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Output only. Taxonomy type of the user interest. + * @return value or {@code null} for none + */ + public java.lang.String getTaxonomyType() { + return taxonomyType; + } + + /** + * Output only. Taxonomy type of the user interest. + * @param taxonomyType taxonomyType or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesUserInterest setTaxonomyType(java.lang.String taxonomyType) { + this.taxonomyType = taxonomyType; + return this; + } + + /** + * Output only. The ID of the user interest. + * @return value or {@code null} for none + */ + public java.lang.Long getUserInterestId() { + return userInterestId; + } + + /** + * Output only. The ID of the user interest. + * @param userInterestId userInterestId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesUserInterest setUserInterestId(java.lang.Long userInterestId) { + this.userInterestId = userInterestId; + return this; + } + + /** + * Output only. The parent of the user interest. + * @return value or {@code null} for none + */ + public java.lang.String getUserInterestParent() { + return userInterestParent; + } + + /** + * Output only. The parent of the user interest. + * @param userInterestParent userInterestParent or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesUserInterest setUserInterestParent(java.lang.String userInterestParent) { + this.userInterestParent = userInterestParent; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesUserInterest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesUserInterest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesUserInterest clone() { + return (GoogleAdsSearchads360V23ResourcesUserInterest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesUserList.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesUserList.java new file mode 100644 index 00000000000..d8d7520a9fa --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesUserList.java @@ -0,0 +1,718 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A user list. This is a list of users a customer may target. The unique key of a user list + * consists of the following fields: `id`. Note that the `name` must also be unique for user lists + * owned by a given customer, except in some cases where `access_reason` is set to `SHARED`. + * Violating the unique name constraint produces error: `UserListError.INVALID_NAME`. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesUserList extends com.google.api.client.json.GenericJson { + + /** + * Output only. Indicates the reason this account has been granted access to the list. The reason + * can be SHARED, OWNED, LICENSED or SUBSCRIBED. This field is read-only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String accessReason; + + /** + * Indicates if this share is still enabled. When a UserList is shared with the user this field is + * set to ENABLED. Later the userList owner can decide to revoke the share and make it DISABLED. + * The default value of this field is set to ENABLED. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String accountUserListStatus; + + /** + * User list targeting as a collection of conversion or remarketing actions. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonBasicUserListInfo basicUserList; + + /** + * Indicating the reason why this user list membership status is closed. It is only populated on + * lists that were automatically closed due to inactivity, and will be cleared once the list + * membership status becomes open. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String closingReason; + + /** + * User list of CRM users provided by the advertiser. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonCrmBasedUserListInfo crmBasedUserList; + + /** + * Description of this user list. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String description; + + /** + * Output only. Indicates this user list is eligible for Google Display Network. This field is + * read-only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean eligibleForDisplay; + + /** + * Indicates if this user list is eligible for Google Search Network. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean eligibleForSearch; + + /** + * Output only. Id of the user list. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long id; + + /** + * An ID from external system. It is used by user list sellers to correlate IDs on their systems. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String integrationCode; + + /** + * User list that is a custom combination of user lists. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonLogicalUserListInfo logicalUserList; + + /** + * Immutable. Lookalike User List. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonLookalikeUserListInfo lookalikeUserList; + + /** + * Output only. Indicates match rate for Customer Match lists. The range of this field is [0-100]. + * This will be null for other list types or when it's not possible to calculate the match rate. + * This field is read-only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer matchRatePercentage; + + /** + * Number of days a user's cookie stays on your list since its most recent addition to the list. + * This field must be between 0 and 540 inclusive. However, for CRM based userlists, this field + * can be set to 10000 which means no expiration. Beginning on April 7, 2025, using a value of + * 10000 to indicate no expiration will no longer be supported. This field is ignored for + * logical_user_list and rule_based_user_list types. Membership to lists of these types depends on + * the rules defined by the lists. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long membershipLifeSpan; + + /** + * Membership status of this user list. Indicates whether a user list is open or active. Only open + * user lists can accumulate more users and can be targeted to. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String membershipStatus; + + /** + * Name of this user list. Unique per user list, except in some cases where a user list of the + * same name has `access_reason` set to `SHARED`. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * Output only. An option that indicates if a user may edit a list. Depends on the list ownership + * and list type. For example, external remarketing user lists are not editable. This field is + * -only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean readOnly; + + /** + * Immutable. The resource name of the user list. User list resource names have the form: + * `customers/{customer_id}/userLists/{user_list_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * User list generated by a rule. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonRuleBasedUserListInfo ruleBasedUserList; + + /** + * Output only. User list which are similar to users from another UserList. These lists are + * readonly and automatically created by google. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonSimilarUserListInfo similarUserList; + + /** + * Output only. Estimated number of users in this user list, on the Google Display Network. This + * value is if the number of users has not yet been determined. This field is -only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long sizeForDisplay; + + /** + * Output only. Estimated number of users in this user list in the google.com domain. These are + * the users available for targeting in Search campaigns. This value is null if the number of + * users has not yet been determined. This field is read-only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long sizeForSearch; + + /** + * Output only. Size range in terms of number of users of the UserList, on the Google Display + * Network. This field is read-only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String sizeRangeForDisplay; + + /** + * Output only. Size range in terms of number of users of the UserList, for Search ads. This field + * is read-only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String sizeRangeForSearch; + + /** + * Output only. Type of this list. This field is read-only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String type; + + /** + * Output only. Indicates the reason this account has been granted access to the list. The reason + * can be SHARED, OWNED, LICENSED or SUBSCRIBED. This field is read-only. + * @return value or {@code null} for none + */ + public java.lang.String getAccessReason() { + return accessReason; + } + + /** + * Output only. Indicates the reason this account has been granted access to the list. The reason + * can be SHARED, OWNED, LICENSED or SUBSCRIBED. This field is read-only. + * @param accessReason accessReason or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesUserList setAccessReason(java.lang.String accessReason) { + this.accessReason = accessReason; + return this; + } + + /** + * Indicates if this share is still enabled. When a UserList is shared with the user this field is + * set to ENABLED. Later the userList owner can decide to revoke the share and make it DISABLED. + * The default value of this field is set to ENABLED. + * @return value or {@code null} for none + */ + public java.lang.String getAccountUserListStatus() { + return accountUserListStatus; + } + + /** + * Indicates if this share is still enabled. When a UserList is shared with the user this field is + * set to ENABLED. Later the userList owner can decide to revoke the share and make it DISABLED. + * The default value of this field is set to ENABLED. + * @param accountUserListStatus accountUserListStatus or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesUserList setAccountUserListStatus(java.lang.String accountUserListStatus) { + this.accountUserListStatus = accountUserListStatus; + return this; + } + + /** + * User list targeting as a collection of conversion or remarketing actions. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonBasicUserListInfo getBasicUserList() { + return basicUserList; + } + + /** + * User list targeting as a collection of conversion or remarketing actions. + * @param basicUserList basicUserList or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesUserList setBasicUserList(GoogleAdsSearchads360V23CommonBasicUserListInfo basicUserList) { + this.basicUserList = basicUserList; + return this; + } + + /** + * Indicating the reason why this user list membership status is closed. It is only populated on + * lists that were automatically closed due to inactivity, and will be cleared once the list + * membership status becomes open. + * @return value or {@code null} for none + */ + public java.lang.String getClosingReason() { + return closingReason; + } + + /** + * Indicating the reason why this user list membership status is closed. It is only populated on + * lists that were automatically closed due to inactivity, and will be cleared once the list + * membership status becomes open. + * @param closingReason closingReason or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesUserList setClosingReason(java.lang.String closingReason) { + this.closingReason = closingReason; + return this; + } + + /** + * User list of CRM users provided by the advertiser. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCrmBasedUserListInfo getCrmBasedUserList() { + return crmBasedUserList; + } + + /** + * User list of CRM users provided by the advertiser. + * @param crmBasedUserList crmBasedUserList or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesUserList setCrmBasedUserList(GoogleAdsSearchads360V23CommonCrmBasedUserListInfo crmBasedUserList) { + this.crmBasedUserList = crmBasedUserList; + return this; + } + + /** + * Description of this user list. + * @return value or {@code null} for none + */ + public java.lang.String getDescription() { + return description; + } + + /** + * Description of this user list. + * @param description description or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesUserList setDescription(java.lang.String description) { + this.description = description; + return this; + } + + /** + * Output only. Indicates this user list is eligible for Google Display Network. This field is + * read-only. + * @return value or {@code null} for none + */ + public java.lang.Boolean getEligibleForDisplay() { + return eligibleForDisplay; + } + + /** + * Output only. Indicates this user list is eligible for Google Display Network. This field is + * read-only. + * @param eligibleForDisplay eligibleForDisplay or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesUserList setEligibleForDisplay(java.lang.Boolean eligibleForDisplay) { + this.eligibleForDisplay = eligibleForDisplay; + return this; + } + + /** + * Indicates if this user list is eligible for Google Search Network. + * @return value or {@code null} for none + */ + public java.lang.Boolean getEligibleForSearch() { + return eligibleForSearch; + } + + /** + * Indicates if this user list is eligible for Google Search Network. + * @param eligibleForSearch eligibleForSearch or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesUserList setEligibleForSearch(java.lang.Boolean eligibleForSearch) { + this.eligibleForSearch = eligibleForSearch; + return this; + } + + /** + * Output only. Id of the user list. + * @return value or {@code null} for none + */ + public java.lang.Long getId() { + return id; + } + + /** + * Output only. Id of the user list. + * @param id id or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesUserList setId(java.lang.Long id) { + this.id = id; + return this; + } + + /** + * An ID from external system. It is used by user list sellers to correlate IDs on their systems. + * @return value or {@code null} for none + */ + public java.lang.String getIntegrationCode() { + return integrationCode; + } + + /** + * An ID from external system. It is used by user list sellers to correlate IDs on their systems. + * @param integrationCode integrationCode or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesUserList setIntegrationCode(java.lang.String integrationCode) { + this.integrationCode = integrationCode; + return this; + } + + /** + * User list that is a custom combination of user lists. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLogicalUserListInfo getLogicalUserList() { + return logicalUserList; + } + + /** + * User list that is a custom combination of user lists. + * @param logicalUserList logicalUserList or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesUserList setLogicalUserList(GoogleAdsSearchads360V23CommonLogicalUserListInfo logicalUserList) { + this.logicalUserList = logicalUserList; + return this; + } + + /** + * Immutable. Lookalike User List. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLookalikeUserListInfo getLookalikeUserList() { + return lookalikeUserList; + } + + /** + * Immutable. Lookalike User List. + * @param lookalikeUserList lookalikeUserList or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesUserList setLookalikeUserList(GoogleAdsSearchads360V23CommonLookalikeUserListInfo lookalikeUserList) { + this.lookalikeUserList = lookalikeUserList; + return this; + } + + /** + * Output only. Indicates match rate for Customer Match lists. The range of this field is [0-100]. + * This will be null for other list types or when it's not possible to calculate the match rate. + * This field is read-only. + * @return value or {@code null} for none + */ + public java.lang.Integer getMatchRatePercentage() { + return matchRatePercentage; + } + + /** + * Output only. Indicates match rate for Customer Match lists. The range of this field is [0-100]. + * This will be null for other list types or when it's not possible to calculate the match rate. + * This field is read-only. + * @param matchRatePercentage matchRatePercentage or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesUserList setMatchRatePercentage(java.lang.Integer matchRatePercentage) { + this.matchRatePercentage = matchRatePercentage; + return this; + } + + /** + * Number of days a user's cookie stays on your list since its most recent addition to the list. + * This field must be between 0 and 540 inclusive. However, for CRM based userlists, this field + * can be set to 10000 which means no expiration. Beginning on April 7, 2025, using a value of + * 10000 to indicate no expiration will no longer be supported. This field is ignored for + * logical_user_list and rule_based_user_list types. Membership to lists of these types depends on + * the rules defined by the lists. + * @return value or {@code null} for none + */ + public java.lang.Long getMembershipLifeSpan() { + return membershipLifeSpan; + } + + /** + * Number of days a user's cookie stays on your list since its most recent addition to the list. + * This field must be between 0 and 540 inclusive. However, for CRM based userlists, this field + * can be set to 10000 which means no expiration. Beginning on April 7, 2025, using a value of + * 10000 to indicate no expiration will no longer be supported. This field is ignored for + * logical_user_list and rule_based_user_list types. Membership to lists of these types depends on + * the rules defined by the lists. + * @param membershipLifeSpan membershipLifeSpan or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesUserList setMembershipLifeSpan(java.lang.Long membershipLifeSpan) { + this.membershipLifeSpan = membershipLifeSpan; + return this; + } + + /** + * Membership status of this user list. Indicates whether a user list is open or active. Only open + * user lists can accumulate more users and can be targeted to. + * @return value or {@code null} for none + */ + public java.lang.String getMembershipStatus() { + return membershipStatus; + } + + /** + * Membership status of this user list. Indicates whether a user list is open or active. Only open + * user lists can accumulate more users and can be targeted to. + * @param membershipStatus membershipStatus or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesUserList setMembershipStatus(java.lang.String membershipStatus) { + this.membershipStatus = membershipStatus; + return this; + } + + /** + * Name of this user list. Unique per user list, except in some cases where a user list of the + * same name has `access_reason` set to `SHARED`. + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * Name of this user list. Unique per user list, except in some cases where a user list of the + * same name has `access_reason` set to `SHARED`. + * @param name name or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesUserList setName(java.lang.String name) { + this.name = name; + return this; + } + + /** + * Output only. An option that indicates if a user may edit a list. Depends on the list ownership + * and list type. For example, external remarketing user lists are not editable. This field is + * -only. + * @return value or {@code null} for none + */ + public java.lang.Boolean getReadOnly() { + return readOnly; + } + + /** + * Output only. An option that indicates if a user may edit a list. Depends on the list ownership + * and list type. For example, external remarketing user lists are not editable. This field is + * -only. + * @param readOnly readOnly or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesUserList setReadOnly(java.lang.Boolean readOnly) { + this.readOnly = readOnly; + return this; + } + + /** + * Immutable. The resource name of the user list. User list resource names have the form: + * `customers/{customer_id}/userLists/{user_list_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Immutable. The resource name of the user list. User list resource names have the form: + * `customers/{customer_id}/userLists/{user_list_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesUserList setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * User list generated by a rule. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonRuleBasedUserListInfo getRuleBasedUserList() { + return ruleBasedUserList; + } + + /** + * User list generated by a rule. + * @param ruleBasedUserList ruleBasedUserList or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesUserList setRuleBasedUserList(GoogleAdsSearchads360V23CommonRuleBasedUserListInfo ruleBasedUserList) { + this.ruleBasedUserList = ruleBasedUserList; + return this; + } + + /** + * Output only. User list which are similar to users from another UserList. These lists are + * readonly and automatically created by google. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSimilarUserListInfo getSimilarUserList() { + return similarUserList; + } + + /** + * Output only. User list which are similar to users from another UserList. These lists are + * readonly and automatically created by google. + * @param similarUserList similarUserList or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesUserList setSimilarUserList(GoogleAdsSearchads360V23CommonSimilarUserListInfo similarUserList) { + this.similarUserList = similarUserList; + return this; + } + + /** + * Output only. Estimated number of users in this user list, on the Google Display Network. This + * value is if the number of users has not yet been determined. This field is -only. + * @return value or {@code null} for none + */ + public java.lang.Long getSizeForDisplay() { + return sizeForDisplay; + } + + /** + * Output only. Estimated number of users in this user list, on the Google Display Network. This + * value is if the number of users has not yet been determined. This field is -only. + * @param sizeForDisplay sizeForDisplay or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesUserList setSizeForDisplay(java.lang.Long sizeForDisplay) { + this.sizeForDisplay = sizeForDisplay; + return this; + } + + /** + * Output only. Estimated number of users in this user list in the google.com domain. These are + * the users available for targeting in Search campaigns. This value is null if the number of + * users has not yet been determined. This field is read-only. + * @return value or {@code null} for none + */ + public java.lang.Long getSizeForSearch() { + return sizeForSearch; + } + + /** + * Output only. Estimated number of users in this user list in the google.com domain. These are + * the users available for targeting in Search campaigns. This value is null if the number of + * users has not yet been determined. This field is read-only. + * @param sizeForSearch sizeForSearch or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesUserList setSizeForSearch(java.lang.Long sizeForSearch) { + this.sizeForSearch = sizeForSearch; + return this; + } + + /** + * Output only. Size range in terms of number of users of the UserList, on the Google Display + * Network. This field is read-only. + * @return value or {@code null} for none + */ + public java.lang.String getSizeRangeForDisplay() { + return sizeRangeForDisplay; + } + + /** + * Output only. Size range in terms of number of users of the UserList, on the Google Display + * Network. This field is read-only. + * @param sizeRangeForDisplay sizeRangeForDisplay or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesUserList setSizeRangeForDisplay(java.lang.String sizeRangeForDisplay) { + this.sizeRangeForDisplay = sizeRangeForDisplay; + return this; + } + + /** + * Output only. Size range in terms of number of users of the UserList, for Search ads. This field + * is read-only. + * @return value or {@code null} for none + */ + public java.lang.String getSizeRangeForSearch() { + return sizeRangeForSearch; + } + + /** + * Output only. Size range in terms of number of users of the UserList, for Search ads. This field + * is read-only. + * @param sizeRangeForSearch sizeRangeForSearch or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesUserList setSizeRangeForSearch(java.lang.String sizeRangeForSearch) { + this.sizeRangeForSearch = sizeRangeForSearch; + return this; + } + + /** + * Output only. Type of this list. This field is read-only. + * @return value or {@code null} for none + */ + public java.lang.String getType() { + return type; + } + + /** + * Output only. Type of this list. This field is read-only. + * @param type type or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesUserList setType(java.lang.String type) { + this.type = type; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesUserList set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesUserList) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesUserList clone() { + return (GoogleAdsSearchads360V23ResourcesUserList) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesUserListCustomerType.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesUserListCustomerType.java new file mode 100644 index 00000000000..df7095bf5dc --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesUserListCustomerType.java @@ -0,0 +1,121 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A user list customer type + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesUserListCustomerType extends com.google.api.client.json.GenericJson { + + /** + * Immutable. The user list customer type category + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String customerTypeCategory; + + /** + * Immutable. The resource name of the user list customer type User list customer type resource + * names have the form: + * `customers/{customer_id}/userListCustomerTypes/{user_list_id}~{customer_type_category}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Immutable. The resource name for the user list this user list customer type is associated with + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String userList; + + /** + * Immutable. The user list customer type category + * @return value or {@code null} for none + */ + public java.lang.String getCustomerTypeCategory() { + return customerTypeCategory; + } + + /** + * Immutable. The user list customer type category + * @param customerTypeCategory customerTypeCategory or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesUserListCustomerType setCustomerTypeCategory(java.lang.String customerTypeCategory) { + this.customerTypeCategory = customerTypeCategory; + return this; + } + + /** + * Immutable. The resource name of the user list customer type User list customer type resource + * names have the form: + * `customers/{customer_id}/userListCustomerTypes/{user_list_id}~{customer_type_category}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Immutable. The resource name of the user list customer type User list customer type resource + * names have the form: + * `customers/{customer_id}/userListCustomerTypes/{user_list_id}~{customer_type_category}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesUserListCustomerType setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Immutable. The resource name for the user list this user list customer type is associated with + * @return value or {@code null} for none + */ + public java.lang.String getUserList() { + return userList; + } + + /** + * Immutable. The resource name for the user list this user list customer type is associated with + * @param userList userList or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesUserListCustomerType setUserList(java.lang.String userList) { + this.userList = userList; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesUserListCustomerType set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesUserListCustomerType) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesUserListCustomerType clone() { + return (GoogleAdsSearchads360V23ResourcesUserListCustomerType) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesUserLocationView.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesUserLocationView.java new file mode 100644 index 00000000000..1a8fdd730c9 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesUserLocationView.java @@ -0,0 +1,124 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A user location view. User Location View includes all metrics aggregated at the country level, + * one row per country. It reports metrics at the actual physical location of the user by targeted + * or not targeted location. If other segment fields are used, you may get more than one row per + * country. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesUserLocationView extends com.google.api.client.json.GenericJson { + + /** + * Output only. Criterion Id for the country. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long countryCriterionId; + + /** + * Output only. The resource name of the user location view. UserLocation view resource names have + * the form: + * `customers/{customer_id}/userLocationViews/{country_criterion_id}~{targeting_location}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. Indicates whether location was targeted or not. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean targetingLocation; + + /** + * Output only. Criterion Id for the country. + * @return value or {@code null} for none + */ + public java.lang.Long getCountryCriterionId() { + return countryCriterionId; + } + + /** + * Output only. Criterion Id for the country. + * @param countryCriterionId countryCriterionId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesUserLocationView setCountryCriterionId(java.lang.Long countryCriterionId) { + this.countryCriterionId = countryCriterionId; + return this; + } + + /** + * Output only. The resource name of the user location view. UserLocation view resource names have + * the form: + * `customers/{customer_id}/userLocationViews/{country_criterion_id}~{targeting_location}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Output only. The resource name of the user location view. UserLocation view resource names have + * the form: + * `customers/{customer_id}/userLocationViews/{country_criterion_id}~{targeting_location}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesUserLocationView setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Output only. Indicates whether location was targeted or not. + * @return value or {@code null} for none + */ + public java.lang.Boolean getTargetingLocation() { + return targetingLocation; + } + + /** + * Output only. Indicates whether location was targeted or not. + * @param targetingLocation targetingLocation or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesUserLocationView setTargetingLocation(java.lang.Boolean targetingLocation) { + this.targetingLocation = targetingLocation; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesUserLocationView set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesUserLocationView) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesUserLocationView clone() { + return (GoogleAdsSearchads360V23ResourcesUserLocationView) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesVideo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesVideo.java new file mode 100644 index 00000000000..2130857b53d --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesVideo.java @@ -0,0 +1,166 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Model definition for GoogleAdsSearchads360V23ResourcesVideo. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesVideo extends com.google.api.client.json.GenericJson { + + /** + * Output only. The owner channel id of the video. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String channelId; + + /** + * Output only. The duration of the video in milliseconds. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long durationMillis; + + /** + * Output only. The ID of the video. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String id; + + /** + * Output only. The resource name of the video. Video resource names have the form: + * `customers/{customer_id}/videos/{video_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. The title of the video. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String title; + + /** + * Output only. The owner channel id of the video. + * @return value or {@code null} for none + */ + public java.lang.String getChannelId() { + return channelId; + } + + /** + * Output only. The owner channel id of the video. + * @param channelId channelId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesVideo setChannelId(java.lang.String channelId) { + this.channelId = channelId; + return this; + } + + /** + * Output only. The duration of the video in milliseconds. + * @return value or {@code null} for none + */ + public java.lang.Long getDurationMillis() { + return durationMillis; + } + + /** + * Output only. The duration of the video in milliseconds. + * @param durationMillis durationMillis or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesVideo setDurationMillis(java.lang.Long durationMillis) { + this.durationMillis = durationMillis; + return this; + } + + /** + * Output only. The ID of the video. + * @return value or {@code null} for none + */ + public java.lang.String getId() { + return id; + } + + /** + * Output only. The ID of the video. + * @param id id or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesVideo setId(java.lang.String id) { + this.id = id; + return this; + } + + /** + * Output only. The resource name of the video. Video resource names have the form: + * `customers/{customer_id}/videos/{video_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Output only. The resource name of the video. Video resource names have the form: + * `customers/{customer_id}/videos/{video_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesVideo setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Output only. The title of the video. + * @return value or {@code null} for none + */ + public java.lang.String getTitle() { + return title; + } + + /** + * Output only. The title of the video. + * @param title title or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesVideo setTitle(java.lang.String title) { + this.title = title; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesVideo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesVideo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesVideo clone() { + return (GoogleAdsSearchads360V23ResourcesVideo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesVideoCustomer.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesVideoCustomer.java new file mode 100644 index 00000000000..59b2a94b1f0 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesVideoCustomer.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Video specific information about a Customer. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesVideoCustomer extends com.google.api.client.json.GenericJson { + + /** + * Third Party integration partners. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonCustomerThirdPartyIntegrationPartners thirdPartyIntegrationPartners; + + /** + * Third Party integration partners. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCustomerThirdPartyIntegrationPartners getThirdPartyIntegrationPartners() { + return thirdPartyIntegrationPartners; + } + + /** + * Third Party integration partners. + * @param thirdPartyIntegrationPartners thirdPartyIntegrationPartners or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesVideoCustomer setThirdPartyIntegrationPartners(GoogleAdsSearchads360V23CommonCustomerThirdPartyIntegrationPartners thirdPartyIntegrationPartners) { + this.thirdPartyIntegrationPartners = thirdPartyIntegrationPartners; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesVideoCustomer set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesVideoCustomer) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesVideoCustomer clone() { + return (GoogleAdsSearchads360V23ResourcesVideoCustomer) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesVisit.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesVisit.java new file mode 100644 index 00000000000..80a442f99a9 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesVisit.java @@ -0,0 +1,403 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A visit. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesVisit extends com.google.api.client.json.GenericJson { + + /** + * Output only. Ad ID. A value of 0 indicates that the ad is unattributed. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long adId; + + /** + * Output only. Asset field type of the visit event. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String assetFieldType; + + /** + * Output only. ID of the asset which was interacted with during the visit event. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long assetId; + + /** + * Output only. A unique string for each visit that is passed to the landing page as the click id + * URL parameter. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String clickId; + + /** + * Output only. Search Ads 360 keyword ID. A value of 0 indicates that the keyword is + * unattributed. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long criterionId; + + /** + * Output only. The ID of the visit. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long id; + + /** + * Output only. The Search Ads 360 inventory account ID containing the product that was clicked + * on. Search Ads 360 generates this ID when you link an inventory account in Search Ads 360. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long merchantId; + + /** + * Output only. The sales channel of the product that was clicked on: Online or Local. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String productChannel; + + /** + * Output only. The country (ISO-3166 format) registered for the inventory feed that contains the + * product clicked on. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String productCountryCode; + + /** + * Output only. The ID of the product clicked on. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String productId; + + /** + * Output only. The language (ISO-639-1) that has been set for the Merchant Center feed containing + * data about the product. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String productLanguageCode; + + /** + * Output only. The store in the Local Inventory Ad that was clicked on. This should match the + * store IDs used in your local products feed. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String productStoreId; + + /** + * Output only. The resource name of the visit. Visit resource names have the form: + * `customers/{customer_id}/visits/{ad_group_id}~{criterion_id}~{ds_visit_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. The timestamp of the visit event. The timestamp is in the customer's time zone and + * in "yyyy-MM-dd HH:mm:ss" format. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String visitDateTime; + + /** + * Output only. Ad ID. A value of 0 indicates that the ad is unattributed. + * @return value or {@code null} for none + */ + public java.lang.Long getAdId() { + return adId; + } + + /** + * Output only. Ad ID. A value of 0 indicates that the ad is unattributed. + * @param adId adId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesVisit setAdId(java.lang.Long adId) { + this.adId = adId; + return this; + } + + /** + * Output only. Asset field type of the visit event. + * @return value or {@code null} for none + */ + public java.lang.String getAssetFieldType() { + return assetFieldType; + } + + /** + * Output only. Asset field type of the visit event. + * @param assetFieldType assetFieldType or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesVisit setAssetFieldType(java.lang.String assetFieldType) { + this.assetFieldType = assetFieldType; + return this; + } + + /** + * Output only. ID of the asset which was interacted with during the visit event. + * @return value or {@code null} for none + */ + public java.lang.Long getAssetId() { + return assetId; + } + + /** + * Output only. ID of the asset which was interacted with during the visit event. + * @param assetId assetId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesVisit setAssetId(java.lang.Long assetId) { + this.assetId = assetId; + return this; + } + + /** + * Output only. A unique string for each visit that is passed to the landing page as the click id + * URL parameter. + * @return value or {@code null} for none + */ + public java.lang.String getClickId() { + return clickId; + } + + /** + * Output only. A unique string for each visit that is passed to the landing page as the click id + * URL parameter. + * @param clickId clickId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesVisit setClickId(java.lang.String clickId) { + this.clickId = clickId; + return this; + } + + /** + * Output only. Search Ads 360 keyword ID. A value of 0 indicates that the keyword is + * unattributed. + * @return value or {@code null} for none + */ + public java.lang.Long getCriterionId() { + return criterionId; + } + + /** + * Output only. Search Ads 360 keyword ID. A value of 0 indicates that the keyword is + * unattributed. + * @param criterionId criterionId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesVisit setCriterionId(java.lang.Long criterionId) { + this.criterionId = criterionId; + return this; + } + + /** + * Output only. The ID of the visit. + * @return value or {@code null} for none + */ + public java.lang.Long getId() { + return id; + } + + /** + * Output only. The ID of the visit. + * @param id id or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesVisit setId(java.lang.Long id) { + this.id = id; + return this; + } + + /** + * Output only. The Search Ads 360 inventory account ID containing the product that was clicked + * on. Search Ads 360 generates this ID when you link an inventory account in Search Ads 360. + * @return value or {@code null} for none + */ + public java.lang.Long getMerchantId() { + return merchantId; + } + + /** + * Output only. The Search Ads 360 inventory account ID containing the product that was clicked + * on. Search Ads 360 generates this ID when you link an inventory account in Search Ads 360. + * @param merchantId merchantId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesVisit setMerchantId(java.lang.Long merchantId) { + this.merchantId = merchantId; + return this; + } + + /** + * Output only. The sales channel of the product that was clicked on: Online or Local. + * @return value or {@code null} for none + */ + public java.lang.String getProductChannel() { + return productChannel; + } + + /** + * Output only. The sales channel of the product that was clicked on: Online or Local. + * @param productChannel productChannel or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesVisit setProductChannel(java.lang.String productChannel) { + this.productChannel = productChannel; + return this; + } + + /** + * Output only. The country (ISO-3166 format) registered for the inventory feed that contains the + * product clicked on. + * @return value or {@code null} for none + */ + public java.lang.String getProductCountryCode() { + return productCountryCode; + } + + /** + * Output only. The country (ISO-3166 format) registered for the inventory feed that contains the + * product clicked on. + * @param productCountryCode productCountryCode or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesVisit setProductCountryCode(java.lang.String productCountryCode) { + this.productCountryCode = productCountryCode; + return this; + } + + /** + * Output only. The ID of the product clicked on. + * @return value or {@code null} for none + */ + public java.lang.String getProductId() { + return productId; + } + + /** + * Output only. The ID of the product clicked on. + * @param productId productId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesVisit setProductId(java.lang.String productId) { + this.productId = productId; + return this; + } + + /** + * Output only. The language (ISO-639-1) that has been set for the Merchant Center feed containing + * data about the product. + * @return value or {@code null} for none + */ + public java.lang.String getProductLanguageCode() { + return productLanguageCode; + } + + /** + * Output only. The language (ISO-639-1) that has been set for the Merchant Center feed containing + * data about the product. + * @param productLanguageCode productLanguageCode or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesVisit setProductLanguageCode(java.lang.String productLanguageCode) { + this.productLanguageCode = productLanguageCode; + return this; + } + + /** + * Output only. The store in the Local Inventory Ad that was clicked on. This should match the + * store IDs used in your local products feed. + * @return value or {@code null} for none + */ + public java.lang.String getProductStoreId() { + return productStoreId; + } + + /** + * Output only. The store in the Local Inventory Ad that was clicked on. This should match the + * store IDs used in your local products feed. + * @param productStoreId productStoreId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesVisit setProductStoreId(java.lang.String productStoreId) { + this.productStoreId = productStoreId; + return this; + } + + /** + * Output only. The resource name of the visit. Visit resource names have the form: + * `customers/{customer_id}/visits/{ad_group_id}~{criterion_id}~{ds_visit_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Output only. The resource name of the visit. Visit resource names have the form: + * `customers/{customer_id}/visits/{ad_group_id}~{criterion_id}~{ds_visit_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesVisit setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Output only. The timestamp of the visit event. The timestamp is in the customer's time zone and + * in "yyyy-MM-dd HH:mm:ss" format. + * @return value or {@code null} for none + */ + public java.lang.String getVisitDateTime() { + return visitDateTime; + } + + /** + * Output only. The timestamp of the visit event. The timestamp is in the customer's time zone and + * in "yyyy-MM-dd HH:mm:ss" format. + * @param visitDateTime visitDateTime or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesVisit setVisitDateTime(java.lang.String visitDateTime) { + this.visitDateTime = visitDateTime; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesVisit set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesVisit) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesVisit clone() { + return (GoogleAdsSearchads360V23ResourcesVisit) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesWebpageView.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesWebpageView.java new file mode 100644 index 00000000000..270e8c20d49 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesWebpageView.java @@ -0,0 +1,70 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A webpage view. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesWebpageView extends com.google.api.client.json.GenericJson { + + /** + * Output only. The resource name of the webpage view. Webpage view resource names have the form: + * `customers/{customer_id}/webpageViews/{ad_group_id}~{criterion_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Output only. The resource name of the webpage view. Webpage view resource names have the form: + * `customers/{customer_id}/webpageViews/{ad_group_id}~{criterion_id}` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Output only. The resource name of the webpage view. Webpage view resource names have the form: + * `customers/{customer_id}/webpageViews/{ad_group_id}~{criterion_id}` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesWebpageView setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesWebpageView set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesWebpageView) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesWebpageView clone() { + return (GoogleAdsSearchads360V23ResourcesWebpageView) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesYoutubeVideoIdentifier.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesYoutubeVideoIdentifier.java new file mode 100644 index 00000000000..61d952d2f03 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesYoutubeVideoIdentifier.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The identifier for YouTube video + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ResourcesYoutubeVideoIdentifier extends com.google.api.client.json.GenericJson { + + /** + * Immutable. The ID of the hosting channel of the video. This is a string value with “UC” prefix. + * For example, "UCK8sQmJBp8GCxrOtXWBpyEA". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String channelId; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String videoId; + + /** + * Immutable. The ID of the hosting channel of the video. This is a string value with “UC” prefix. + * For example, "UCK8sQmJBp8GCxrOtXWBpyEA". + * @return value or {@code null} for none + */ + public java.lang.String getChannelId() { + return channelId; + } + + /** + * Immutable. The ID of the hosting channel of the video. This is a string value with “UC” prefix. + * For example, "UCK8sQmJBp8GCxrOtXWBpyEA". + * @param channelId channelId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesYoutubeVideoIdentifier setChannelId(java.lang.String channelId) { + this.channelId = channelId; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.String getVideoId() { + return videoId; + } + + /** + * @param videoId videoId or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesYoutubeVideoIdentifier setVideoId(java.lang.String videoId) { + this.videoId = videoId; + return this; + } + + @Override + public GoogleAdsSearchads360V23ResourcesYoutubeVideoIdentifier set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ResourcesYoutubeVideoIdentifier) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ResourcesYoutubeVideoIdentifier clone() { + return (GoogleAdsSearchads360V23ResourcesYoutubeVideoIdentifier) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAccountBudgetProposalOperation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAccountBudgetProposalOperation.java new file mode 100644 index 00000000000..d53fa498467 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAccountBudgetProposalOperation.java @@ -0,0 +1,137 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A single operation to propose the creation of a new account-level budget or edit/end/remove an + * existing one. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesAccountBudgetProposalOperation extends com.google.api.client.json.GenericJson { + + /** + * Create operation: A new proposal to create a new budget, edit an existing budget, end an + * actively running budget, or remove an approved budget scheduled to start in the future. No + * resource name is expected for the new proposal. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAccountBudgetProposal create; + + /** + * Remove operation: A resource name for the removed proposal is expected, in this format: + * `customers/{customer_id}/accountBudgetProposals/{account_budget_proposal_id}` A request may be + * cancelled iff it is pending. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String remove; + + /** + * FieldMask that determines which budget fields are modified. While budgets may be modified, + * proposals that propose such modifications are final. Therefore, update operations are not + * supported for proposals. Proposals that modify budgets have the 'update' proposal type. + * Specifying a mask for any other proposal type is considered an error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String updateMask; + + /** + * Create operation: A new proposal to create a new budget, edit an existing budget, end an + * actively running budget, or remove an approved budget scheduled to start in the future. No + * resource name is expected for the new proposal. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAccountBudgetProposal getCreate() { + return create; + } + + /** + * Create operation: A new proposal to create a new budget, edit an existing budget, end an + * actively running budget, or remove an approved budget scheduled to start in the future. No + * resource name is expected for the new proposal. + * @param create create or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAccountBudgetProposalOperation setCreate(GoogleAdsSearchads360V23ResourcesAccountBudgetProposal create) { + this.create = create; + return this; + } + + /** + * Remove operation: A resource name for the removed proposal is expected, in this format: + * `customers/{customer_id}/accountBudgetProposals/{account_budget_proposal_id}` A request may be + * cancelled iff it is pending. + * @return value or {@code null} for none + */ + public java.lang.String getRemove() { + return remove; + } + + /** + * Remove operation: A resource name for the removed proposal is expected, in this format: + * `customers/{customer_id}/accountBudgetProposals/{account_budget_proposal_id}` A request may be + * cancelled iff it is pending. + * @param remove remove or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAccountBudgetProposalOperation setRemove(java.lang.String remove) { + this.remove = remove; + return this; + } + + /** + * FieldMask that determines which budget fields are modified. While budgets may be modified, + * proposals that propose such modifications are final. Therefore, update operations are not + * supported for proposals. Proposals that modify budgets have the 'update' proposal type. + * Specifying a mask for any other proposal type is considered an error. + * @return value or {@code null} for none + */ + public String getUpdateMask() { + return updateMask; + } + + /** + * FieldMask that determines which budget fields are modified. While budgets may be modified, + * proposals that propose such modifications are final. Therefore, update operations are not + * supported for proposals. Proposals that modify budgets have the 'update' proposal type. + * Specifying a mask for any other proposal type is considered an error. + * @param updateMask updateMask or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAccountBudgetProposalOperation setUpdateMask(String updateMask) { + this.updateMask = updateMask; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesAccountBudgetProposalOperation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesAccountBudgetProposalOperation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesAccountBudgetProposalOperation clone() { + return (GoogleAdsSearchads360V23ServicesAccountBudgetProposalOperation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAccountLinkOperation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAccountLinkOperation.java new file mode 100644 index 00000000000..0c92bc20229 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAccountLinkOperation.java @@ -0,0 +1,118 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A single update on an account link. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesAccountLinkOperation extends com.google.api.client.json.GenericJson { + + /** + * Remove operation: A resource name for the account link to remove is expected, in this format: + * `customers/{customer_id}/accountLinks/{account_link_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String remove; + + /** + * Update operation: The account link is expected to have a valid resource name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAccountLink update; + + /** + * FieldMask that determines which resource fields are modified in an update. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String updateMask; + + /** + * Remove operation: A resource name for the account link to remove is expected, in this format: + * `customers/{customer_id}/accountLinks/{account_link_id}` + * @return value or {@code null} for none + */ + public java.lang.String getRemove() { + return remove; + } + + /** + * Remove operation: A resource name for the account link to remove is expected, in this format: + * `customers/{customer_id}/accountLinks/{account_link_id}` + * @param remove remove or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAccountLinkOperation setRemove(java.lang.String remove) { + this.remove = remove; + return this; + } + + /** + * Update operation: The account link is expected to have a valid resource name. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAccountLink getUpdate() { + return update; + } + + /** + * Update operation: The account link is expected to have a valid resource name. + * @param update update or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAccountLinkOperation setUpdate(GoogleAdsSearchads360V23ResourcesAccountLink update) { + this.update = update; + return this; + } + + /** + * FieldMask that determines which resource fields are modified in an update. + * @return value or {@code null} for none + */ + public String getUpdateMask() { + return updateMask; + } + + /** + * FieldMask that determines which resource fields are modified in an update. + * @param updateMask updateMask or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAccountLinkOperation setUpdateMask(String updateMask) { + this.updateMask = updateMask; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesAccountLinkOperation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesAccountLinkOperation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesAccountLinkOperation clone() { + return (GoogleAdsSearchads360V23ServicesAccountLinkOperation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAdGroupAdLabelOperation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAdGroupAdLabelOperation.java new file mode 100644 index 00000000000..265db2acf9b --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAdGroupAdLabelOperation.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A single operation (create, remove) on an ad group ad label. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesAdGroupAdLabelOperation extends com.google.api.client.json.GenericJson { + + /** + * Create operation: No resource name is expected for the new ad group ad label. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAdGroupAdLabel create; + + /** + * Remove operation: A resource name for the ad group ad label being removed, in this format: + * `customers/{customer_id}/adGroupAdLabels/{ad_group_id}~{ad_id}~{label_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String remove; + + /** + * Create operation: No resource name is expected for the new ad group ad label. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupAdLabel getCreate() { + return create; + } + + /** + * Create operation: No resource name is expected for the new ad group ad label. + * @param create create or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAdGroupAdLabelOperation setCreate(GoogleAdsSearchads360V23ResourcesAdGroupAdLabel create) { + this.create = create; + return this; + } + + /** + * Remove operation: A resource name for the ad group ad label being removed, in this format: + * `customers/{customer_id}/adGroupAdLabels/{ad_group_id}~{ad_id}~{label_id}` + * @return value or {@code null} for none + */ + public java.lang.String getRemove() { + return remove; + } + + /** + * Remove operation: A resource name for the ad group ad label being removed, in this format: + * `customers/{customer_id}/adGroupAdLabels/{ad_group_id}~{ad_id}~{label_id}` + * @param remove remove or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAdGroupAdLabelOperation setRemove(java.lang.String remove) { + this.remove = remove; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesAdGroupAdLabelOperation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesAdGroupAdLabelOperation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesAdGroupAdLabelOperation clone() { + return (GoogleAdsSearchads360V23ServicesAdGroupAdLabelOperation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAdGroupAdOperation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAdGroupAdOperation.java new file mode 100644 index 00000000000..d2f66fbf147 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAdGroupAdOperation.java @@ -0,0 +1,166 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A single operation (create, update, remove) on an ad group ad. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesAdGroupAdOperation extends com.google.api.client.json.GenericJson { + + /** + * Create operation: No resource name is expected for the new ad. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAdGroupAd create; + + /** + * Configuration for how policies are validated. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonPolicyValidationParameter policyValidationParameter; + + /** + * Remove operation: A resource name for the removed ad is expected, in this format: + * `customers/{customer_id}/adGroupAds/{ad_group_id}~{ad_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String remove; + + /** + * Update operation: The ad is expected to have a valid resource name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAdGroupAd update; + + /** + * FieldMask that determines which resource fields are modified in an update. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String updateMask; + + /** + * Create operation: No resource name is expected for the new ad. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupAd getCreate() { + return create; + } + + /** + * Create operation: No resource name is expected for the new ad. + * @param create create or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAdGroupAdOperation setCreate(GoogleAdsSearchads360V23ResourcesAdGroupAd create) { + this.create = create; + return this; + } + + /** + * Configuration for how policies are validated. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPolicyValidationParameter getPolicyValidationParameter() { + return policyValidationParameter; + } + + /** + * Configuration for how policies are validated. + * @param policyValidationParameter policyValidationParameter or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAdGroupAdOperation setPolicyValidationParameter(GoogleAdsSearchads360V23CommonPolicyValidationParameter policyValidationParameter) { + this.policyValidationParameter = policyValidationParameter; + return this; + } + + /** + * Remove operation: A resource name for the removed ad is expected, in this format: + * `customers/{customer_id}/adGroupAds/{ad_group_id}~{ad_id}` + * @return value or {@code null} for none + */ + public java.lang.String getRemove() { + return remove; + } + + /** + * Remove operation: A resource name for the removed ad is expected, in this format: + * `customers/{customer_id}/adGroupAds/{ad_group_id}~{ad_id}` + * @param remove remove or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAdGroupAdOperation setRemove(java.lang.String remove) { + this.remove = remove; + return this; + } + + /** + * Update operation: The ad is expected to have a valid resource name. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupAd getUpdate() { + return update; + } + + /** + * Update operation: The ad is expected to have a valid resource name. + * @param update update or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAdGroupAdOperation setUpdate(GoogleAdsSearchads360V23ResourcesAdGroupAd update) { + this.update = update; + return this; + } + + /** + * FieldMask that determines which resource fields are modified in an update. + * @return value or {@code null} for none + */ + public String getUpdateMask() { + return updateMask; + } + + /** + * FieldMask that determines which resource fields are modified in an update. + * @param updateMask updateMask or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAdGroupAdOperation setUpdateMask(String updateMask) { + this.updateMask = updateMask; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesAdGroupAdOperation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesAdGroupAdOperation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesAdGroupAdOperation clone() { + return (GoogleAdsSearchads360V23ServicesAdGroupAdOperation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAdGroupAssetOperation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAdGroupAssetOperation.java new file mode 100644 index 00000000000..4ebb7259a28 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAdGroupAssetOperation.java @@ -0,0 +1,142 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A single operation (create, update, remove) on an ad group asset. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesAdGroupAssetOperation extends com.google.api.client.json.GenericJson { + + /** + * Create operation: No resource name is expected for the new ad group asset. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAdGroupAsset create; + + /** + * Remove operation: A resource name for the removed ad group asset is expected, in this format: + * `customers/{customer_id}/adGroupAssets/{ad_group_id}~{asset_id}~{field_type}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String remove; + + /** + * Update operation: The ad group asset is expected to have a valid resource name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAdGroupAsset update; + + /** + * FieldMask that determines which resource fields are modified in an update. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String updateMask; + + /** + * Create operation: No resource name is expected for the new ad group asset. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupAsset getCreate() { + return create; + } + + /** + * Create operation: No resource name is expected for the new ad group asset. + * @param create create or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAdGroupAssetOperation setCreate(GoogleAdsSearchads360V23ResourcesAdGroupAsset create) { + this.create = create; + return this; + } + + /** + * Remove operation: A resource name for the removed ad group asset is expected, in this format: + * `customers/{customer_id}/adGroupAssets/{ad_group_id}~{asset_id}~{field_type}` + * @return value or {@code null} for none + */ + public java.lang.String getRemove() { + return remove; + } + + /** + * Remove operation: A resource name for the removed ad group asset is expected, in this format: + * `customers/{customer_id}/adGroupAssets/{ad_group_id}~{asset_id}~{field_type}` + * @param remove remove or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAdGroupAssetOperation setRemove(java.lang.String remove) { + this.remove = remove; + return this; + } + + /** + * Update operation: The ad group asset is expected to have a valid resource name. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupAsset getUpdate() { + return update; + } + + /** + * Update operation: The ad group asset is expected to have a valid resource name. + * @param update update or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAdGroupAssetOperation setUpdate(GoogleAdsSearchads360V23ResourcesAdGroupAsset update) { + this.update = update; + return this; + } + + /** + * FieldMask that determines which resource fields are modified in an update. + * @return value or {@code null} for none + */ + public String getUpdateMask() { + return updateMask; + } + + /** + * FieldMask that determines which resource fields are modified in an update. + * @param updateMask updateMask or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAdGroupAssetOperation setUpdateMask(String updateMask) { + this.updateMask = updateMask; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesAdGroupAssetOperation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesAdGroupAssetOperation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesAdGroupAssetOperation clone() { + return (GoogleAdsSearchads360V23ServicesAdGroupAssetOperation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAdGroupAssetSetOperation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAdGroupAssetSetOperation.java new file mode 100644 index 00000000000..f88248e2aea --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAdGroupAssetSetOperation.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A single operation (create, remove) on an ad group asset set. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesAdGroupAssetSetOperation extends com.google.api.client.json.GenericJson { + + /** + * Create operation: No resource name is expected for the new ad group asset set. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAdGroupAssetSet create; + + /** + * Remove operation: A resource name for the removed ad group asset set is expected, in this + * format: `customers/{customer_id}/adGroupAssetSets/{ad_group_id}~{asset_set_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String remove; + + /** + * Create operation: No resource name is expected for the new ad group asset set. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupAssetSet getCreate() { + return create; + } + + /** + * Create operation: No resource name is expected for the new ad group asset set. + * @param create create or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAdGroupAssetSetOperation setCreate(GoogleAdsSearchads360V23ResourcesAdGroupAssetSet create) { + this.create = create; + return this; + } + + /** + * Remove operation: A resource name for the removed ad group asset set is expected, in this + * format: `customers/{customer_id}/adGroupAssetSets/{ad_group_id}~{asset_set_id}` + * @return value or {@code null} for none + */ + public java.lang.String getRemove() { + return remove; + } + + /** + * Remove operation: A resource name for the removed ad group asset set is expected, in this + * format: `customers/{customer_id}/adGroupAssetSets/{ad_group_id}~{asset_set_id}` + * @param remove remove or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAdGroupAssetSetOperation setRemove(java.lang.String remove) { + this.remove = remove; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesAdGroupAssetSetOperation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesAdGroupAssetSetOperation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesAdGroupAssetSetOperation clone() { + return (GoogleAdsSearchads360V23ServicesAdGroupAssetSetOperation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAdGroupBidModifierOperation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAdGroupBidModifierOperation.java new file mode 100644 index 00000000000..ea828342717 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAdGroupBidModifierOperation.java @@ -0,0 +1,142 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A single operation (create, remove, update) on an ad group bid modifier. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesAdGroupBidModifierOperation extends com.google.api.client.json.GenericJson { + + /** + * Create operation: No resource name is expected for the new ad group bid modifier. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAdGroupBidModifier create; + + /** + * Remove operation: A resource name for the removed ad group bid modifier is expected, in this + * format: `customers/{customer_id}/adGroupBidModifiers/{ad_group_id}~{criterion_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String remove; + + /** + * Update operation: The ad group bid modifier is expected to have a valid resource name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAdGroupBidModifier update; + + /** + * FieldMask that determines which resource fields are modified in an update. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String updateMask; + + /** + * Create operation: No resource name is expected for the new ad group bid modifier. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupBidModifier getCreate() { + return create; + } + + /** + * Create operation: No resource name is expected for the new ad group bid modifier. + * @param create create or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAdGroupBidModifierOperation setCreate(GoogleAdsSearchads360V23ResourcesAdGroupBidModifier create) { + this.create = create; + return this; + } + + /** + * Remove operation: A resource name for the removed ad group bid modifier is expected, in this + * format: `customers/{customer_id}/adGroupBidModifiers/{ad_group_id}~{criterion_id}` + * @return value or {@code null} for none + */ + public java.lang.String getRemove() { + return remove; + } + + /** + * Remove operation: A resource name for the removed ad group bid modifier is expected, in this + * format: `customers/{customer_id}/adGroupBidModifiers/{ad_group_id}~{criterion_id}` + * @param remove remove or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAdGroupBidModifierOperation setRemove(java.lang.String remove) { + this.remove = remove; + return this; + } + + /** + * Update operation: The ad group bid modifier is expected to have a valid resource name. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupBidModifier getUpdate() { + return update; + } + + /** + * Update operation: The ad group bid modifier is expected to have a valid resource name. + * @param update update or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAdGroupBidModifierOperation setUpdate(GoogleAdsSearchads360V23ResourcesAdGroupBidModifier update) { + this.update = update; + return this; + } + + /** + * FieldMask that determines which resource fields are modified in an update. + * @return value or {@code null} for none + */ + public String getUpdateMask() { + return updateMask; + } + + /** + * FieldMask that determines which resource fields are modified in an update. + * @param updateMask updateMask or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAdGroupBidModifierOperation setUpdateMask(String updateMask) { + this.updateMask = updateMask; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesAdGroupBidModifierOperation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesAdGroupBidModifierOperation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesAdGroupBidModifierOperation clone() { + return (GoogleAdsSearchads360V23ServicesAdGroupBidModifierOperation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAdGroupCriterionCustomizerOperation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAdGroupCriterionCustomizerOperation.java new file mode 100644 index 00000000000..42034529de7 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAdGroupCriterionCustomizerOperation.java @@ -0,0 +1,97 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A single operation (create, remove) on a customizer attribute. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesAdGroupCriterionCustomizerOperation extends com.google.api.client.json.GenericJson { + + /** + * Create operation: No resource name is expected for the new ad group criterion customizer. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAdGroupCriterionCustomizer create; + + /** + * Remove operation: A resource name for the removed ad group criterion customizer is expected, in + * this format: `customers/{customer_id}/adGroupCriterionCustomizers/{ad_group_id}~{criterion_id}~ + * {customizer_attribute_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String remove; + + /** + * Create operation: No resource name is expected for the new ad group criterion customizer. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterionCustomizer getCreate() { + return create; + } + + /** + * Create operation: No resource name is expected for the new ad group criterion customizer. + * @param create create or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAdGroupCriterionCustomizerOperation setCreate(GoogleAdsSearchads360V23ResourcesAdGroupCriterionCustomizer create) { + this.create = create; + return this; + } + + /** + * Remove operation: A resource name for the removed ad group criterion customizer is expected, in + * this format: `customers/{customer_id}/adGroupCriterionCustomizers/{ad_group_id}~{criterion_id}~ + * {customizer_attribute_id}` + * @return value or {@code null} for none + */ + public java.lang.String getRemove() { + return remove; + } + + /** + * Remove operation: A resource name for the removed ad group criterion customizer is expected, in + * this format: `customers/{customer_id}/adGroupCriterionCustomizers/{ad_group_id}~{criterion_id}~ + * {customizer_attribute_id}` + * @param remove remove or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAdGroupCriterionCustomizerOperation setRemove(java.lang.String remove) { + this.remove = remove; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesAdGroupCriterionCustomizerOperation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesAdGroupCriterionCustomizerOperation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesAdGroupCriterionCustomizerOperation clone() { + return (GoogleAdsSearchads360V23ServicesAdGroupCriterionCustomizerOperation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAdGroupCriterionLabelOperation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAdGroupCriterionLabelOperation.java new file mode 100644 index 00000000000..ddebc242460 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAdGroupCriterionLabelOperation.java @@ -0,0 +1,97 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A single operation (create, remove) on an ad group criterion label. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesAdGroupCriterionLabelOperation extends com.google.api.client.json.GenericJson { + + /** + * Create operation: No resource name is expected for the new ad group label. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAdGroupCriterionLabel create; + + /** + * Remove operation: A resource name for the ad group criterion label being removed, in this + * format: + * `customers/{customer_id}/adGroupCriterionLabels/{ad_group_id}~{criterion_id}~{label_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String remove; + + /** + * Create operation: No resource name is expected for the new ad group label. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterionLabel getCreate() { + return create; + } + + /** + * Create operation: No resource name is expected for the new ad group label. + * @param create create or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAdGroupCriterionLabelOperation setCreate(GoogleAdsSearchads360V23ResourcesAdGroupCriterionLabel create) { + this.create = create; + return this; + } + + /** + * Remove operation: A resource name for the ad group criterion label being removed, in this + * format: + * `customers/{customer_id}/adGroupCriterionLabels/{ad_group_id}~{criterion_id}~{label_id}` + * @return value or {@code null} for none + */ + public java.lang.String getRemove() { + return remove; + } + + /** + * Remove operation: A resource name for the ad group criterion label being removed, in this + * format: + * `customers/{customer_id}/adGroupCriterionLabels/{ad_group_id}~{criterion_id}~{label_id}` + * @param remove remove or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAdGroupCriterionLabelOperation setRemove(java.lang.String remove) { + this.remove = remove; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesAdGroupCriterionLabelOperation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesAdGroupCriterionLabelOperation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesAdGroupCriterionLabelOperation clone() { + return (GoogleAdsSearchads360V23ServicesAdGroupCriterionLabelOperation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAdGroupCriterionOperation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAdGroupCriterionOperation.java new file mode 100644 index 00000000000..c0efc0c4e46 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAdGroupCriterionOperation.java @@ -0,0 +1,184 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A single operation (create, remove, update) on an ad group criterion. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesAdGroupCriterionOperation extends com.google.api.client.json.GenericJson { + + /** + * Create operation: No resource name is expected for the new criterion. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAdGroupCriterion create; + + /** + * The list of policy violation keys that should not cause a PolicyViolationError to be reported. + * Not all policy violations are exemptable, refer to the is_exemptible field in the returned + * PolicyViolationError. Resources violating these polices will be saved, but will not be eligible + * to serve. They may begin serving at a later time due to a change in policies, re-review of the + * resource, or a change in advertiser certificates. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List exemptPolicyViolationKeys; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonPolicyViolationKey used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonPolicyViolationKey.class); + } + + /** + * Remove operation: A resource name for the removed criterion is expected, in this format: + * `customers/{customer_id}/adGroupCriteria/{ad_group_id}~{criterion_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String remove; + + /** + * Update operation: The criterion is expected to have a valid resource name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAdGroupCriterion update; + + /** + * FieldMask that determines which resource fields are modified in an update. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String updateMask; + + /** + * Create operation: No resource name is expected for the new criterion. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterion getCreate() { + return create; + } + + /** + * Create operation: No resource name is expected for the new criterion. + * @param create create or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAdGroupCriterionOperation setCreate(GoogleAdsSearchads360V23ResourcesAdGroupCriterion create) { + this.create = create; + return this; + } + + /** + * The list of policy violation keys that should not cause a PolicyViolationError to be reported. + * Not all policy violations are exemptable, refer to the is_exemptible field in the returned + * PolicyViolationError. Resources violating these polices will be saved, but will not be eligible + * to serve. They may begin serving at a later time due to a change in policies, re-review of the + * resource, or a change in advertiser certificates. + * @return value or {@code null} for none + */ + public java.util.List getExemptPolicyViolationKeys() { + return exemptPolicyViolationKeys; + } + + /** + * The list of policy violation keys that should not cause a PolicyViolationError to be reported. + * Not all policy violations are exemptable, refer to the is_exemptible field in the returned + * PolicyViolationError. Resources violating these polices will be saved, but will not be eligible + * to serve. They may begin serving at a later time due to a change in policies, re-review of the + * resource, or a change in advertiser certificates. + * @param exemptPolicyViolationKeys exemptPolicyViolationKeys or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAdGroupCriterionOperation setExemptPolicyViolationKeys(java.util.List exemptPolicyViolationKeys) { + this.exemptPolicyViolationKeys = exemptPolicyViolationKeys; + return this; + } + + /** + * Remove operation: A resource name for the removed criterion is expected, in this format: + * `customers/{customer_id}/adGroupCriteria/{ad_group_id}~{criterion_id}` + * @return value or {@code null} for none + */ + public java.lang.String getRemove() { + return remove; + } + + /** + * Remove operation: A resource name for the removed criterion is expected, in this format: + * `customers/{customer_id}/adGroupCriteria/{ad_group_id}~{criterion_id}` + * @param remove remove or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAdGroupCriterionOperation setRemove(java.lang.String remove) { + this.remove = remove; + return this; + } + + /** + * Update operation: The criterion is expected to have a valid resource name. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterion getUpdate() { + return update; + } + + /** + * Update operation: The criterion is expected to have a valid resource name. + * @param update update or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAdGroupCriterionOperation setUpdate(GoogleAdsSearchads360V23ResourcesAdGroupCriterion update) { + this.update = update; + return this; + } + + /** + * FieldMask that determines which resource fields are modified in an update. + * @return value or {@code null} for none + */ + public String getUpdateMask() { + return updateMask; + } + + /** + * FieldMask that determines which resource fields are modified in an update. + * @param updateMask updateMask or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAdGroupCriterionOperation setUpdateMask(String updateMask) { + this.updateMask = updateMask; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesAdGroupCriterionOperation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesAdGroupCriterionOperation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesAdGroupCriterionOperation clone() { + return (GoogleAdsSearchads360V23ServicesAdGroupCriterionOperation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAdGroupCustomizerOperation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAdGroupCustomizerOperation.java new file mode 100644 index 00000000000..fb131316102 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAdGroupCustomizerOperation.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A single operation (create, remove) on a customizer attribute. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesAdGroupCustomizerOperation extends com.google.api.client.json.GenericJson { + + /** + * Create operation: No resource name is expected for the new ad group customizer + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAdGroupCustomizer create; + + /** + * Remove operation: A resource name for the removed ad group customizer is expected, in this + * format: `customers/{customer_id}/adGroupCustomizers/{ad_group_id}~{customizer_attribute_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String remove; + + /** + * Create operation: No resource name is expected for the new ad group customizer + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCustomizer getCreate() { + return create; + } + + /** + * Create operation: No resource name is expected for the new ad group customizer + * @param create create or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAdGroupCustomizerOperation setCreate(GoogleAdsSearchads360V23ResourcesAdGroupCustomizer create) { + this.create = create; + return this; + } + + /** + * Remove operation: A resource name for the removed ad group customizer is expected, in this + * format: `customers/{customer_id}/adGroupCustomizers/{ad_group_id}~{customizer_attribute_id}` + * @return value or {@code null} for none + */ + public java.lang.String getRemove() { + return remove; + } + + /** + * Remove operation: A resource name for the removed ad group customizer is expected, in this + * format: `customers/{customer_id}/adGroupCustomizers/{ad_group_id}~{customizer_attribute_id}` + * @param remove remove or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAdGroupCustomizerOperation setRemove(java.lang.String remove) { + this.remove = remove; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesAdGroupCustomizerOperation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesAdGroupCustomizerOperation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesAdGroupCustomizerOperation clone() { + return (GoogleAdsSearchads360V23ServicesAdGroupCustomizerOperation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAdGroupKeywordSuggestion.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAdGroupKeywordSuggestion.java new file mode 100644 index 00000000000..90f0a700c3b --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAdGroupKeywordSuggestion.java @@ -0,0 +1,169 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The suggested text and AdGroup/Campaign pairing for a given keyword. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesAdGroupKeywordSuggestion extends com.google.api.client.json.GenericJson { + + /** + * The original keyword text. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String keywordText; + + /** + * The suggested AdGroup for the keyword. Resource name format: + * `customers/{customer_id}/adGroups/{ad_group_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String suggestedAdGroup; + + /** + * The suggested Campaign for the keyword. Resource name format: + * `customers/{customer_id}/campaigns/{campaign_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String suggestedCampaign; + + /** + * The normalized version of keyword_text for BROAD/EXACT/PHRASE suggestions. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String suggestedKeywordText; + + /** + * The suggested keyword match type. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String suggestedMatchType; + + /** + * The original keyword text. + * @return value or {@code null} for none + */ + public java.lang.String getKeywordText() { + return keywordText; + } + + /** + * The original keyword text. + * @param keywordText keywordText or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAdGroupKeywordSuggestion setKeywordText(java.lang.String keywordText) { + this.keywordText = keywordText; + return this; + } + + /** + * The suggested AdGroup for the keyword. Resource name format: + * `customers/{customer_id}/adGroups/{ad_group_id}` + * @return value or {@code null} for none + */ + public java.lang.String getSuggestedAdGroup() { + return suggestedAdGroup; + } + + /** + * The suggested AdGroup for the keyword. Resource name format: + * `customers/{customer_id}/adGroups/{ad_group_id}` + * @param suggestedAdGroup suggestedAdGroup or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAdGroupKeywordSuggestion setSuggestedAdGroup(java.lang.String suggestedAdGroup) { + this.suggestedAdGroup = suggestedAdGroup; + return this; + } + + /** + * The suggested Campaign for the keyword. Resource name format: + * `customers/{customer_id}/campaigns/{campaign_id}` + * @return value or {@code null} for none + */ + public java.lang.String getSuggestedCampaign() { + return suggestedCampaign; + } + + /** + * The suggested Campaign for the keyword. Resource name format: + * `customers/{customer_id}/campaigns/{campaign_id}` + * @param suggestedCampaign suggestedCampaign or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAdGroupKeywordSuggestion setSuggestedCampaign(java.lang.String suggestedCampaign) { + this.suggestedCampaign = suggestedCampaign; + return this; + } + + /** + * The normalized version of keyword_text for BROAD/EXACT/PHRASE suggestions. + * @return value or {@code null} for none + */ + public java.lang.String getSuggestedKeywordText() { + return suggestedKeywordText; + } + + /** + * The normalized version of keyword_text for BROAD/EXACT/PHRASE suggestions. + * @param suggestedKeywordText suggestedKeywordText or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAdGroupKeywordSuggestion setSuggestedKeywordText(java.lang.String suggestedKeywordText) { + this.suggestedKeywordText = suggestedKeywordText; + return this; + } + + /** + * The suggested keyword match type. + * @return value or {@code null} for none + */ + public java.lang.String getSuggestedMatchType() { + return suggestedMatchType; + } + + /** + * The suggested keyword match type. + * @param suggestedMatchType suggestedMatchType or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAdGroupKeywordSuggestion setSuggestedMatchType(java.lang.String suggestedMatchType) { + this.suggestedMatchType = suggestedMatchType; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesAdGroupKeywordSuggestion set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesAdGroupKeywordSuggestion) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesAdGroupKeywordSuggestion clone() { + return (GoogleAdsSearchads360V23ServicesAdGroupKeywordSuggestion) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAdGroupLabelOperation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAdGroupLabelOperation.java new file mode 100644 index 00000000000..1a47a423b2a --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAdGroupLabelOperation.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A single operation (create, remove) on an ad group label. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesAdGroupLabelOperation extends com.google.api.client.json.GenericJson { + + /** + * Create operation: No resource name is expected for the new ad group label. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAdGroupLabel create; + + /** + * Remove operation: A resource name for the ad group label being removed, in this format: + * `customers/{customer_id}/adGroupLabels/{ad_group_id}~{label_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String remove; + + /** + * Create operation: No resource name is expected for the new ad group label. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupLabel getCreate() { + return create; + } + + /** + * Create operation: No resource name is expected for the new ad group label. + * @param create create or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAdGroupLabelOperation setCreate(GoogleAdsSearchads360V23ResourcesAdGroupLabel create) { + this.create = create; + return this; + } + + /** + * Remove operation: A resource name for the ad group label being removed, in this format: + * `customers/{customer_id}/adGroupLabels/{ad_group_id}~{label_id}` + * @return value or {@code null} for none + */ + public java.lang.String getRemove() { + return remove; + } + + /** + * Remove operation: A resource name for the ad group label being removed, in this format: + * `customers/{customer_id}/adGroupLabels/{ad_group_id}~{label_id}` + * @param remove remove or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAdGroupLabelOperation setRemove(java.lang.String remove) { + this.remove = remove; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesAdGroupLabelOperation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesAdGroupLabelOperation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesAdGroupLabelOperation clone() { + return (GoogleAdsSearchads360V23ServicesAdGroupLabelOperation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAdGroupOperation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAdGroupOperation.java new file mode 100644 index 00000000000..e0c4a6fa832 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAdGroupOperation.java @@ -0,0 +1,142 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A single operation (create, update, remove) on an ad group. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesAdGroupOperation extends com.google.api.client.json.GenericJson { + + /** + * Create operation: No resource name is expected for the new ad group. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAdGroup create; + + /** + * Remove operation: A resource name for the removed ad group is expected, in this format: + * `customers/{customer_id}/adGroups/{ad_group_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String remove; + + /** + * Update operation: The ad group is expected to have a valid resource name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAdGroup update; + + /** + * FieldMask that determines which resource fields are modified in an update. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String updateMask; + + /** + * Create operation: No resource name is expected for the new ad group. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroup getCreate() { + return create; + } + + /** + * Create operation: No resource name is expected for the new ad group. + * @param create create or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAdGroupOperation setCreate(GoogleAdsSearchads360V23ResourcesAdGroup create) { + this.create = create; + return this; + } + + /** + * Remove operation: A resource name for the removed ad group is expected, in this format: + * `customers/{customer_id}/adGroups/{ad_group_id}` + * @return value or {@code null} for none + */ + public java.lang.String getRemove() { + return remove; + } + + /** + * Remove operation: A resource name for the removed ad group is expected, in this format: + * `customers/{customer_id}/adGroups/{ad_group_id}` + * @param remove remove or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAdGroupOperation setRemove(java.lang.String remove) { + this.remove = remove; + return this; + } + + /** + * Update operation: The ad group is expected to have a valid resource name. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroup getUpdate() { + return update; + } + + /** + * Update operation: The ad group is expected to have a valid resource name. + * @param update update or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAdGroupOperation setUpdate(GoogleAdsSearchads360V23ResourcesAdGroup update) { + this.update = update; + return this; + } + + /** + * FieldMask that determines which resource fields are modified in an update. + * @return value or {@code null} for none + */ + public String getUpdateMask() { + return updateMask; + } + + /** + * FieldMask that determines which resource fields are modified in an update. + * @param updateMask updateMask or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAdGroupOperation setUpdateMask(String updateMask) { + this.updateMask = updateMask; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesAdGroupOperation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesAdGroupOperation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesAdGroupOperation clone() { + return (GoogleAdsSearchads360V23ServicesAdGroupOperation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAdOperation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAdOperation.java new file mode 100644 index 00000000000..07a49e67464 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAdOperation.java @@ -0,0 +1,118 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A single update operation on an ad. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesAdOperation extends com.google.api.client.json.GenericJson { + + /** + * Configuration for how policies are validated. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonPolicyValidationParameter policyValidationParameter; + + /** + * Update operation: The ad is expected to have a valid resource name in this format: + * `customers/{customer_id}/ads/{ad_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAd update; + + /** + * FieldMask that determines which resource fields are modified in an update. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String updateMask; + + /** + * Configuration for how policies are validated. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonPolicyValidationParameter getPolicyValidationParameter() { + return policyValidationParameter; + } + + /** + * Configuration for how policies are validated. + * @param policyValidationParameter policyValidationParameter or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAdOperation setPolicyValidationParameter(GoogleAdsSearchads360V23CommonPolicyValidationParameter policyValidationParameter) { + this.policyValidationParameter = policyValidationParameter; + return this; + } + + /** + * Update operation: The ad is expected to have a valid resource name in this format: + * `customers/{customer_id}/ads/{ad_id}` + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAd getUpdate() { + return update; + } + + /** + * Update operation: The ad is expected to have a valid resource name in this format: + * `customers/{customer_id}/ads/{ad_id}` + * @param update update or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAdOperation setUpdate(GoogleAdsSearchads360V23ResourcesAd update) { + this.update = update; + return this; + } + + /** + * FieldMask that determines which resource fields are modified in an update. + * @return value or {@code null} for none + */ + public String getUpdateMask() { + return updateMask; + } + + /** + * FieldMask that determines which resource fields are modified in an update. + * @param updateMask updateMask or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAdOperation setUpdateMask(String updateMask) { + this.updateMask = updateMask; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesAdOperation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesAdOperation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesAdOperation clone() { + return (GoogleAdsSearchads360V23ServicesAdOperation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAdParameterOperation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAdParameterOperation.java new file mode 100644 index 00000000000..26ed92b8f92 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAdParameterOperation.java @@ -0,0 +1,142 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A single operation (create, update, remove) on ad parameter. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesAdParameterOperation extends com.google.api.client.json.GenericJson { + + /** + * Create operation: No resource name is expected for the new ad parameter. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAdParameter create; + + /** + * Remove operation: A resource name for the ad parameter to remove is expected in this format: + * `customers/{customer_id}/adParameters/{ad_group_id}~{criterion_id}~{parameter_index}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String remove; + + /** + * Update operation: The ad parameter is expected to have a valid resource name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAdParameter update; + + /** + * FieldMask that determines which resource fields are modified in an update. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String updateMask; + + /** + * Create operation: No resource name is expected for the new ad parameter. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdParameter getCreate() { + return create; + } + + /** + * Create operation: No resource name is expected for the new ad parameter. + * @param create create or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAdParameterOperation setCreate(GoogleAdsSearchads360V23ResourcesAdParameter create) { + this.create = create; + return this; + } + + /** + * Remove operation: A resource name for the ad parameter to remove is expected in this format: + * `customers/{customer_id}/adParameters/{ad_group_id}~{criterion_id}~{parameter_index}` + * @return value or {@code null} for none + */ + public java.lang.String getRemove() { + return remove; + } + + /** + * Remove operation: A resource name for the ad parameter to remove is expected in this format: + * `customers/{customer_id}/adParameters/{ad_group_id}~{criterion_id}~{parameter_index}` + * @param remove remove or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAdParameterOperation setRemove(java.lang.String remove) { + this.remove = remove; + return this; + } + + /** + * Update operation: The ad parameter is expected to have a valid resource name. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdParameter getUpdate() { + return update; + } + + /** + * Update operation: The ad parameter is expected to have a valid resource name. + * @param update update or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAdParameterOperation setUpdate(GoogleAdsSearchads360V23ResourcesAdParameter update) { + this.update = update; + return this; + } + + /** + * FieldMask that determines which resource fields are modified in an update. + * @return value or {@code null} for none + */ + public String getUpdateMask() { + return updateMask; + } + + /** + * FieldMask that determines which resource fields are modified in an update. + * @param updateMask updateMask or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAdParameterOperation setUpdateMask(String updateMask) { + this.updateMask = updateMask; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesAdParameterOperation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesAdParameterOperation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesAdParameterOperation clone() { + return (GoogleAdsSearchads360V23ServicesAdParameterOperation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAddBatchJobOperationsRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAddBatchJobOperationsRequest.java new file mode 100644 index 00000000000..faa1e11abd0 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAddBatchJobOperationsRequest.java @@ -0,0 +1,112 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for BatchJobService.AddBatchJobOperations. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesAddBatchJobOperationsRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The list of mutates being added. Operations can use negative integers as temp ids to + * signify dependencies between entities created in this batch job. For example, a customer with + * id = 1234 can create a campaign and an ad group in that same campaign by creating a campaign in + * the first operation with the resource name explicitly set to "customers/1234/campaigns/-1", and + * creating an ad group in the second operation with the campaign field also set to + * "customers/1234/campaigns/-1". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List mutateOperations; + + /** + * A token used to enforce sequencing. The first AddBatchJobOperations request for a batch job + * should not set sequence_token. Subsequent requests must set sequence_token to the value of + * next_sequence_token received in the previous AddBatchJobOperations response. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String sequenceToken; + + /** + * Required. The list of mutates being added. Operations can use negative integers as temp ids to + * signify dependencies between entities created in this batch job. For example, a customer with + * id = 1234 can create a campaign and an ad group in that same campaign by creating a campaign in + * the first operation with the resource name explicitly set to "customers/1234/campaigns/-1", and + * creating an ad group in the second operation with the campaign field also set to + * "customers/1234/campaigns/-1". + * @return value or {@code null} for none + */ + public java.util.List getMutateOperations() { + return mutateOperations; + } + + /** + * Required. The list of mutates being added. Operations can use negative integers as temp ids to + * signify dependencies between entities created in this batch job. For example, a customer with + * id = 1234 can create a campaign and an ad group in that same campaign by creating a campaign in + * the first operation with the resource name explicitly set to "customers/1234/campaigns/-1", and + * creating an ad group in the second operation with the campaign field also set to + * "customers/1234/campaigns/-1". + * @param mutateOperations mutateOperations or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAddBatchJobOperationsRequest setMutateOperations(java.util.List mutateOperations) { + this.mutateOperations = mutateOperations; + return this; + } + + /** + * A token used to enforce sequencing. The first AddBatchJobOperations request for a batch job + * should not set sequence_token. Subsequent requests must set sequence_token to the value of + * next_sequence_token received in the previous AddBatchJobOperations response. + * @return value or {@code null} for none + */ + public java.lang.String getSequenceToken() { + return sequenceToken; + } + + /** + * A token used to enforce sequencing. The first AddBatchJobOperations request for a batch job + * should not set sequence_token. Subsequent requests must set sequence_token to the value of + * next_sequence_token received in the previous AddBatchJobOperations response. + * @param sequenceToken sequenceToken or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAddBatchJobOperationsRequest setSequenceToken(java.lang.String sequenceToken) { + this.sequenceToken = sequenceToken; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesAddBatchJobOperationsRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesAddBatchJobOperationsRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesAddBatchJobOperationsRequest clone() { + return (GoogleAdsSearchads360V23ServicesAddBatchJobOperationsRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAddBatchJobOperationsResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAddBatchJobOperationsResponse.java new file mode 100644 index 00000000000..f323bf10f9a --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAddBatchJobOperationsResponse.java @@ -0,0 +1,97 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for BatchJobService.AddBatchJobOperations. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesAddBatchJobOperationsResponse extends com.google.api.client.json.GenericJson { + + /** + * The sequence token to be used when calling AddBatchJobOperations again if more operations need + * to be added. The next AddBatchJobOperations request must set the sequence_token field to the + * value of this field. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String nextSequenceToken; + + /** + * The total number of operations added so far for this batch job. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long totalOperations; + + /** + * The sequence token to be used when calling AddBatchJobOperations again if more operations need + * to be added. The next AddBatchJobOperations request must set the sequence_token field to the + * value of this field. + * @return value or {@code null} for none + */ + public java.lang.String getNextSequenceToken() { + return nextSequenceToken; + } + + /** + * The sequence token to be used when calling AddBatchJobOperations again if more operations need + * to be added. The next AddBatchJobOperations request must set the sequence_token field to the + * value of this field. + * @param nextSequenceToken nextSequenceToken or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAddBatchJobOperationsResponse setNextSequenceToken(java.lang.String nextSequenceToken) { + this.nextSequenceToken = nextSequenceToken; + return this; + } + + /** + * The total number of operations added so far for this batch job. + * @return value or {@code null} for none + */ + public java.lang.Long getTotalOperations() { + return totalOperations; + } + + /** + * The total number of operations added so far for this batch job. + * @param totalOperations totalOperations or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAddBatchJobOperationsResponse setTotalOperations(java.lang.Long totalOperations) { + this.totalOperations = totalOperations; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesAddBatchJobOperationsResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesAddBatchJobOperationsResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesAddBatchJobOperationsResponse clone() { + return (GoogleAdsSearchads360V23ServicesAddBatchJobOperationsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAddOfflineUserDataJobOperationsRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAddOfflineUserDataJobOperationsRequest.java new file mode 100644 index 00000000000..9253c186bf7 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAddOfflineUserDataJobOperationsRequest.java @@ -0,0 +1,145 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for OfflineUserDataJobService.AddOfflineUserDataJobOperations. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesAddOfflineUserDataJobOperationsRequest extends com.google.api.client.json.GenericJson { + + /** + * True to enable partial failure for the offline user data job. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean enablePartialFailure; + + /** + * True to enable warnings for the offline user data job. When enabled, a warning will not block + * the OfflineUserDataJobOperation, and will also return warning messages about malformed field + * values. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean enableWarnings; + + /** + * Required. The list of operations to be done. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List operations; + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean validateOnly; + + /** + * True to enable partial failure for the offline user data job. + * @return value or {@code null} for none + */ + public java.lang.Boolean getEnablePartialFailure() { + return enablePartialFailure; + } + + /** + * True to enable partial failure for the offline user data job. + * @param enablePartialFailure enablePartialFailure or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAddOfflineUserDataJobOperationsRequest setEnablePartialFailure(java.lang.Boolean enablePartialFailure) { + this.enablePartialFailure = enablePartialFailure; + return this; + } + + /** + * True to enable warnings for the offline user data job. When enabled, a warning will not block + * the OfflineUserDataJobOperation, and will also return warning messages about malformed field + * values. + * @return value or {@code null} for none + */ + public java.lang.Boolean getEnableWarnings() { + return enableWarnings; + } + + /** + * True to enable warnings for the offline user data job. When enabled, a warning will not block + * the OfflineUserDataJobOperation, and will also return warning messages about malformed field + * values. + * @param enableWarnings enableWarnings or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAddOfflineUserDataJobOperationsRequest setEnableWarnings(java.lang.Boolean enableWarnings) { + this.enableWarnings = enableWarnings; + return this; + } + + /** + * Required. The list of operations to be done. + * @return value or {@code null} for none + */ + public java.util.List getOperations() { + return operations; + } + + /** + * Required. The list of operations to be done. + * @param operations operations or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAddOfflineUserDataJobOperationsRequest setOperations(java.util.List operations) { + this.operations = operations; + return this; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @return value or {@code null} for none + */ + public java.lang.Boolean getValidateOnly() { + return validateOnly; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @param validateOnly validateOnly or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAddOfflineUserDataJobOperationsRequest setValidateOnly(java.lang.Boolean validateOnly) { + this.validateOnly = validateOnly; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesAddOfflineUserDataJobOperationsRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesAddOfflineUserDataJobOperationsRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesAddOfflineUserDataJobOperationsRequest clone() { + return (GoogleAdsSearchads360V23ServicesAddOfflineUserDataJobOperationsRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAddOfflineUserDataJobOperationsResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAddOfflineUserDataJobOperationsResponse.java new file mode 100644 index 00000000000..455dce802f9 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAddOfflineUserDataJobOperationsResponse.java @@ -0,0 +1,100 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for OfflineUserDataJobService.AddOfflineUserDataJobOperations. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesAddOfflineUserDataJobOperationsResponse extends com.google.api.client.json.GenericJson { + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleRpcStatus partialFailureError; + + /** + * Non blocking errors that pertain to operation failures in the warnings mode. Returned only when + * enable_warnings = true. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleRpcStatus warning; + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @return value or {@code null} for none + */ + public GoogleRpcStatus getPartialFailureError() { + return partialFailureError; + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @param partialFailureError partialFailureError or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAddOfflineUserDataJobOperationsResponse setPartialFailureError(GoogleRpcStatus partialFailureError) { + this.partialFailureError = partialFailureError; + return this; + } + + /** + * Non blocking errors that pertain to operation failures in the warnings mode. Returned only when + * enable_warnings = true. + * @return value or {@code null} for none + */ + public GoogleRpcStatus getWarning() { + return warning; + } + + /** + * Non blocking errors that pertain to operation failures in the warnings mode. Returned only when + * enable_warnings = true. + * @param warning warning or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAddOfflineUserDataJobOperationsResponse setWarning(GoogleRpcStatus warning) { + this.warning = warning; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesAddOfflineUserDataJobOperationsResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesAddOfflineUserDataJobOperationsResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesAddOfflineUserDataJobOperationsResponse clone() { + return (GoogleAdsSearchads360V23ServicesAddOfflineUserDataJobOperationsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAdvancedProductTargeting.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAdvancedProductTargeting.java new file mode 100644 index 00000000000..388083fb465 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAdvancedProductTargeting.java @@ -0,0 +1,121 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Advanced targeting settings for products. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesAdvancedProductTargeting extends com.google.api.client.json.GenericJson { + + /** + * Surface targeting settings for this product. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesSurfaceTargeting surfaceTargetingSettings; + + /** + * Settings for a Target frequency campaign. Must be set when selecting the TARGET_FREQUENCY + * product. See https://support.google.com/google-ads/answer/12400225 for more information about + * Target Frequency campaigns. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesTargetFrequencySettings targetFrequencySettings; + + /** + * Settings for YouTube Select targeting. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesYouTubeSelectSettings youtubeSelectSettings; + + /** + * Surface targeting settings for this product. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSurfaceTargeting getSurfaceTargetingSettings() { + return surfaceTargetingSettings; + } + + /** + * Surface targeting settings for this product. + * @param surfaceTargetingSettings surfaceTargetingSettings or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAdvancedProductTargeting setSurfaceTargetingSettings(GoogleAdsSearchads360V23ServicesSurfaceTargeting surfaceTargetingSettings) { + this.surfaceTargetingSettings = surfaceTargetingSettings; + return this; + } + + /** + * Settings for a Target frequency campaign. Must be set when selecting the TARGET_FREQUENCY + * product. See https://support.google.com/google-ads/answer/12400225 for more information about + * Target Frequency campaigns. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesTargetFrequencySettings getTargetFrequencySettings() { + return targetFrequencySettings; + } + + /** + * Settings for a Target frequency campaign. Must be set when selecting the TARGET_FREQUENCY + * product. See https://support.google.com/google-ads/answer/12400225 for more information about + * Target Frequency campaigns. + * @param targetFrequencySettings targetFrequencySettings or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAdvancedProductTargeting setTargetFrequencySettings(GoogleAdsSearchads360V23ServicesTargetFrequencySettings targetFrequencySettings) { + this.targetFrequencySettings = targetFrequencySettings; + return this; + } + + /** + * Settings for YouTube Select targeting. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesYouTubeSelectSettings getYoutubeSelectSettings() { + return youtubeSelectSettings; + } + + /** + * Settings for YouTube Select targeting. + * @param youtubeSelectSettings youtubeSelectSettings or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAdvancedProductTargeting setYoutubeSelectSettings(GoogleAdsSearchads360V23ServicesYouTubeSelectSettings youtubeSelectSettings) { + this.youtubeSelectSettings = youtubeSelectSettings; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesAdvancedProductTargeting set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesAdvancedProductTargeting) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesAdvancedProductTargeting clone() { + return (GoogleAdsSearchads360V23ServicesAdvancedProductTargeting) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAppendLeadConversationRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAppendLeadConversationRequest.java new file mode 100644 index 00000000000..b636f5f289f --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAppendLeadConversationRequest.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for LocalServicesLeadService.AppendLeadConversation. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesAppendLeadConversationRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. Conversations that are being appended. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List conversations; + + /** + * Required. Conversations that are being appended. + * @return value or {@code null} for none + */ + public java.util.List getConversations() { + return conversations; + } + + /** + * Required. Conversations that are being appended. + * @param conversations conversations or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAppendLeadConversationRequest setConversations(java.util.List conversations) { + this.conversations = conversations; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesAppendLeadConversationRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesAppendLeadConversationRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesAppendLeadConversationRequest clone() { + return (GoogleAdsSearchads360V23ServicesAppendLeadConversationRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAppendLeadConversationResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAppendLeadConversationResponse.java new file mode 100644 index 00000000000..e1eef7b6104 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAppendLeadConversationResponse.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for LocalServicesLeadService.AppendLeadConversation. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesAppendLeadConversationResponse extends com.google.api.client.json.GenericJson { + + /** + * Required. List of append conversation operation results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List responses; + + /** + * Required. List of append conversation operation results. + * @return value or {@code null} for none + */ + public java.util.List getResponses() { + return responses; + } + + /** + * Required. List of append conversation operation results. + * @param responses responses or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAppendLeadConversationResponse setResponses(java.util.List responses) { + this.responses = responses; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesAppendLeadConversationResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesAppendLeadConversationResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesAppendLeadConversationResponse clone() { + return (GoogleAdsSearchads360V23ServicesAppendLeadConversationResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyIncentiveRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyIncentiveRequest.java new file mode 100644 index 00000000000..2677ee98a2f --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyIncentiveRequest.java @@ -0,0 +1,79 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for applying an incentive. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesApplyIncentiveRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. User's country code. Required. This field must be equal to the Google Ads account's + * billing country. Incentive eligibility, terms of service, and reward values are often country- + * specific. This country code is used to ensure the selected incentive is applicable to the user. + * Possible country codes: https://developers.google.com/google-ads/api/data/codes- + * formats#country_codes + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String countryCode; + + /** + * Required. User's country code. Required. This field must be equal to the Google Ads account's + * billing country. Incentive eligibility, terms of service, and reward values are often country- + * specific. This country code is used to ensure the selected incentive is applicable to the user. + * Possible country codes: https://developers.google.com/google-ads/api/data/codes- + * formats#country_codes + * @return value or {@code null} for none + */ + public java.lang.String getCountryCode() { + return countryCode; + } + + /** + * Required. User's country code. Required. This field must be equal to the Google Ads account's + * billing country. Incentive eligibility, terms of service, and reward values are often country- + * specific. This country code is used to ensure the selected incentive is applicable to the user. + * Possible country codes: https://developers.google.com/google-ads/api/data/codes- + * formats#country_codes + * @param countryCode countryCode or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesApplyIncentiveRequest setCountryCode(java.lang.String countryCode) { + this.countryCode = countryCode; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesApplyIncentiveRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesApplyIncentiveRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesApplyIncentiveRequest clone() { + return (GoogleAdsSearchads360V23ServicesApplyIncentiveRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyIncentiveResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyIncentiveResponse.java new file mode 100644 index 00000000000..d9ad2bc0eff --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyIncentiveResponse.java @@ -0,0 +1,97 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response for applying an incentive. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesApplyIncentiveResponse extends com.google.api.client.json.GenericJson { + + /** + * The coupon code of the applied incentive. A globally unique identifier of the applied + * incentive. This code is separate and distinct from the selected_incentive_id in the request. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String couponCode; + + /** + * The timestamp when this incentive was applied. The timestamp is in UTC timezone and in "yyyy- + * MM-dd HH:mm:ss" format. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String creationTime; + + /** + * The coupon code of the applied incentive. A globally unique identifier of the applied + * incentive. This code is separate and distinct from the selected_incentive_id in the request. + * @return value or {@code null} for none + */ + public java.lang.String getCouponCode() { + return couponCode; + } + + /** + * The coupon code of the applied incentive. A globally unique identifier of the applied + * incentive. This code is separate and distinct from the selected_incentive_id in the request. + * @param couponCode couponCode or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesApplyIncentiveResponse setCouponCode(java.lang.String couponCode) { + this.couponCode = couponCode; + return this; + } + + /** + * The timestamp when this incentive was applied. The timestamp is in UTC timezone and in "yyyy- + * MM-dd HH:mm:ss" format. + * @return value or {@code null} for none + */ + public java.lang.String getCreationTime() { + return creationTime; + } + + /** + * The timestamp when this incentive was applied. The timestamp is in UTC timezone and in "yyyy- + * MM-dd HH:mm:ss" format. + * @param creationTime creationTime or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesApplyIncentiveResponse setCreationTime(java.lang.String creationTime) { + this.creationTime = creationTime; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesApplyIncentiveResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesApplyIncentiveResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesApplyIncentiveResponse clone() { + return (GoogleAdsSearchads360V23ServicesApplyIncentiveResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationOperation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationOperation.java new file mode 100644 index 00000000000..2c3775010be --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationOperation.java @@ -0,0 +1,649 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Information about the operation to apply a recommendation and any parameters to customize it. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesApplyRecommendationOperation extends com.google.api.client.json.GenericJson { + + /** + * Parameters to use when applying call asset recommendation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesApplyRecommendationOperationCallAssetParameters callAsset; + + /** + * Parameters to use when applying call extension recommendation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesApplyRecommendationOperationCallExtensionParameters callExtension; + + /** + * Parameters to use when applying callout asset recommendation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesApplyRecommendationOperationCalloutAssetParameters calloutAsset; + + /** + * Parameters to use when applying callout extension recommendation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesApplyRecommendationOperationCalloutExtensionParameters calloutExtension; + + /** + * Optional parameters to use when applying a campaign budget recommendation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesApplyRecommendationOperationCampaignBudgetParameters campaignBudget; + + /** + * Parameters to use when applying forecasting set target CPA recommendation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesApplyRecommendationOperationForecastingSetTargetCpaParameters forecastingSetTargetCpa; + + /** + * Parameters to use when applying a forecasting set target ROAS recommendation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesApplyRecommendationOperationForecastingSetTargetRoasParameters forecastingSetTargetRoas; + + /** + * Optional parameters to use when applying keyword recommendation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesApplyRecommendationOperationKeywordParameters keyword; + + /** + * Parameters to use when applying lead form asset recommendation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesApplyRecommendationOperationLeadFormAssetParameters leadFormAsset; + + /** + * Parameters to use when applying lower Target ROAS recommendation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesApplyRecommendationOperationLowerTargetRoasParameters lowerTargetRoas; + + /** + * Parameters to use when applying move unused budget recommendation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesApplyRecommendationOperationMoveUnusedBudgetParameters moveUnusedBudget; + + /** + * Parameters to use when applying raise Target CPA recommendation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesApplyRecommendationOperationRaiseTargetCpaParameters raiseTargetCpa; + + /** + * Parameters to use when applying a raise target CPA bid too low recommendation. The apply is + * asynchronous and can take minutes depending on the number of ad groups there is in the related + * campaign. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesApplyRecommendationOperationRaiseTargetCpaBidTooLowParameters raiseTargetCpaBidTooLow; + + /** + * The resource name of the recommendation to apply. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Parameters to use when applying a responsive search ad recommendation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesApplyRecommendationOperationResponsiveSearchAdParameters responsiveSearchAd; + + /** + * Parameters to use when applying a responsive search ad asset recommendation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesApplyRecommendationOperationResponsiveSearchAdAssetParameters responsiveSearchAdAsset; + + /** + * Parameters to use when applying a responsive search ad improve ad strength recommendation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesApplyRecommendationOperationResponsiveSearchAdImproveAdStrengthParameters responsiveSearchAdImproveAdStrength; + + /** + * Parameters to use when applying set target CPA recommendation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesApplyRecommendationOperationForecastingSetTargetCpaParameters setTargetCpa; + + /** + * Parameters to use when applying set target ROAS recommendation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesApplyRecommendationOperationForecastingSetTargetRoasParameters setTargetRoas; + + /** + * Parameters to use when applying sitelink asset recommendation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesApplyRecommendationOperationSitelinkAssetParameters sitelinkAsset; + + /** + * Parameters to use when applying sitelink recommendation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesApplyRecommendationOperationSitelinkExtensionParameters sitelinkExtension; + + /** + * Optional parameters to use when applying target CPA opt-in recommendation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesApplyRecommendationOperationTargetCpaOptInParameters targetCpaOptIn; + + /** + * Optional parameters to use when applying target ROAS opt-in recommendation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesApplyRecommendationOperationTargetRoasOptInParameters targetRoasOptIn; + + /** + * Optional parameters to use when applying a text ad recommendation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesApplyRecommendationOperationTextAdParameters textAd; + + /** + * Parameters to use when applying a use broad match keyword recommendation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesApplyRecommendationOperationUseBroadMatchKeywordParameters useBroadMatchKeyword; + + /** + * Parameters to use when applying call asset recommendation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationCallAssetParameters getCallAsset() { + return callAsset; + } + + /** + * Parameters to use when applying call asset recommendation. + * @param callAsset callAsset or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperation setCallAsset(GoogleAdsSearchads360V23ServicesApplyRecommendationOperationCallAssetParameters callAsset) { + this.callAsset = callAsset; + return this; + } + + /** + * Parameters to use when applying call extension recommendation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationCallExtensionParameters getCallExtension() { + return callExtension; + } + + /** + * Parameters to use when applying call extension recommendation. + * @param callExtension callExtension or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperation setCallExtension(GoogleAdsSearchads360V23ServicesApplyRecommendationOperationCallExtensionParameters callExtension) { + this.callExtension = callExtension; + return this; + } + + /** + * Parameters to use when applying callout asset recommendation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationCalloutAssetParameters getCalloutAsset() { + return calloutAsset; + } + + /** + * Parameters to use when applying callout asset recommendation. + * @param calloutAsset calloutAsset or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperation setCalloutAsset(GoogleAdsSearchads360V23ServicesApplyRecommendationOperationCalloutAssetParameters calloutAsset) { + this.calloutAsset = calloutAsset; + return this; + } + + /** + * Parameters to use when applying callout extension recommendation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationCalloutExtensionParameters getCalloutExtension() { + return calloutExtension; + } + + /** + * Parameters to use when applying callout extension recommendation. + * @param calloutExtension calloutExtension or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperation setCalloutExtension(GoogleAdsSearchads360V23ServicesApplyRecommendationOperationCalloutExtensionParameters calloutExtension) { + this.calloutExtension = calloutExtension; + return this; + } + + /** + * Optional parameters to use when applying a campaign budget recommendation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationCampaignBudgetParameters getCampaignBudget() { + return campaignBudget; + } + + /** + * Optional parameters to use when applying a campaign budget recommendation. + * @param campaignBudget campaignBudget or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperation setCampaignBudget(GoogleAdsSearchads360V23ServicesApplyRecommendationOperationCampaignBudgetParameters campaignBudget) { + this.campaignBudget = campaignBudget; + return this; + } + + /** + * Parameters to use when applying forecasting set target CPA recommendation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationForecastingSetTargetCpaParameters getForecastingSetTargetCpa() { + return forecastingSetTargetCpa; + } + + /** + * Parameters to use when applying forecasting set target CPA recommendation. + * @param forecastingSetTargetCpa forecastingSetTargetCpa or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperation setForecastingSetTargetCpa(GoogleAdsSearchads360V23ServicesApplyRecommendationOperationForecastingSetTargetCpaParameters forecastingSetTargetCpa) { + this.forecastingSetTargetCpa = forecastingSetTargetCpa; + return this; + } + + /** + * Parameters to use when applying a forecasting set target ROAS recommendation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationForecastingSetTargetRoasParameters getForecastingSetTargetRoas() { + return forecastingSetTargetRoas; + } + + /** + * Parameters to use when applying a forecasting set target ROAS recommendation. + * @param forecastingSetTargetRoas forecastingSetTargetRoas or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperation setForecastingSetTargetRoas(GoogleAdsSearchads360V23ServicesApplyRecommendationOperationForecastingSetTargetRoasParameters forecastingSetTargetRoas) { + this.forecastingSetTargetRoas = forecastingSetTargetRoas; + return this; + } + + /** + * Optional parameters to use when applying keyword recommendation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationKeywordParameters getKeyword() { + return keyword; + } + + /** + * Optional parameters to use when applying keyword recommendation. + * @param keyword keyword or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperation setKeyword(GoogleAdsSearchads360V23ServicesApplyRecommendationOperationKeywordParameters keyword) { + this.keyword = keyword; + return this; + } + + /** + * Parameters to use when applying lead form asset recommendation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationLeadFormAssetParameters getLeadFormAsset() { + return leadFormAsset; + } + + /** + * Parameters to use when applying lead form asset recommendation. + * @param leadFormAsset leadFormAsset or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperation setLeadFormAsset(GoogleAdsSearchads360V23ServicesApplyRecommendationOperationLeadFormAssetParameters leadFormAsset) { + this.leadFormAsset = leadFormAsset; + return this; + } + + /** + * Parameters to use when applying lower Target ROAS recommendation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationLowerTargetRoasParameters getLowerTargetRoas() { + return lowerTargetRoas; + } + + /** + * Parameters to use when applying lower Target ROAS recommendation. + * @param lowerTargetRoas lowerTargetRoas or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperation setLowerTargetRoas(GoogleAdsSearchads360V23ServicesApplyRecommendationOperationLowerTargetRoasParameters lowerTargetRoas) { + this.lowerTargetRoas = lowerTargetRoas; + return this; + } + + /** + * Parameters to use when applying move unused budget recommendation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationMoveUnusedBudgetParameters getMoveUnusedBudget() { + return moveUnusedBudget; + } + + /** + * Parameters to use when applying move unused budget recommendation. + * @param moveUnusedBudget moveUnusedBudget or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperation setMoveUnusedBudget(GoogleAdsSearchads360V23ServicesApplyRecommendationOperationMoveUnusedBudgetParameters moveUnusedBudget) { + this.moveUnusedBudget = moveUnusedBudget; + return this; + } + + /** + * Parameters to use when applying raise Target CPA recommendation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationRaiseTargetCpaParameters getRaiseTargetCpa() { + return raiseTargetCpa; + } + + /** + * Parameters to use when applying raise Target CPA recommendation. + * @param raiseTargetCpa raiseTargetCpa or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperation setRaiseTargetCpa(GoogleAdsSearchads360V23ServicesApplyRecommendationOperationRaiseTargetCpaParameters raiseTargetCpa) { + this.raiseTargetCpa = raiseTargetCpa; + return this; + } + + /** + * Parameters to use when applying a raise target CPA bid too low recommendation. The apply is + * asynchronous and can take minutes depending on the number of ad groups there is in the related + * campaign. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationRaiseTargetCpaBidTooLowParameters getRaiseTargetCpaBidTooLow() { + return raiseTargetCpaBidTooLow; + } + + /** + * Parameters to use when applying a raise target CPA bid too low recommendation. The apply is + * asynchronous and can take minutes depending on the number of ad groups there is in the related + * campaign. + * @param raiseTargetCpaBidTooLow raiseTargetCpaBidTooLow or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperation setRaiseTargetCpaBidTooLow(GoogleAdsSearchads360V23ServicesApplyRecommendationOperationRaiseTargetCpaBidTooLowParameters raiseTargetCpaBidTooLow) { + this.raiseTargetCpaBidTooLow = raiseTargetCpaBidTooLow; + return this; + } + + /** + * The resource name of the recommendation to apply. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * The resource name of the recommendation to apply. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperation setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Parameters to use when applying a responsive search ad recommendation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationResponsiveSearchAdParameters getResponsiveSearchAd() { + return responsiveSearchAd; + } + + /** + * Parameters to use when applying a responsive search ad recommendation. + * @param responsiveSearchAd responsiveSearchAd or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperation setResponsiveSearchAd(GoogleAdsSearchads360V23ServicesApplyRecommendationOperationResponsiveSearchAdParameters responsiveSearchAd) { + this.responsiveSearchAd = responsiveSearchAd; + return this; + } + + /** + * Parameters to use when applying a responsive search ad asset recommendation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationResponsiveSearchAdAssetParameters getResponsiveSearchAdAsset() { + return responsiveSearchAdAsset; + } + + /** + * Parameters to use when applying a responsive search ad asset recommendation. + * @param responsiveSearchAdAsset responsiveSearchAdAsset or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperation setResponsiveSearchAdAsset(GoogleAdsSearchads360V23ServicesApplyRecommendationOperationResponsiveSearchAdAssetParameters responsiveSearchAdAsset) { + this.responsiveSearchAdAsset = responsiveSearchAdAsset; + return this; + } + + /** + * Parameters to use when applying a responsive search ad improve ad strength recommendation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationResponsiveSearchAdImproveAdStrengthParameters getResponsiveSearchAdImproveAdStrength() { + return responsiveSearchAdImproveAdStrength; + } + + /** + * Parameters to use when applying a responsive search ad improve ad strength recommendation. + * @param responsiveSearchAdImproveAdStrength responsiveSearchAdImproveAdStrength or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperation setResponsiveSearchAdImproveAdStrength(GoogleAdsSearchads360V23ServicesApplyRecommendationOperationResponsiveSearchAdImproveAdStrengthParameters responsiveSearchAdImproveAdStrength) { + this.responsiveSearchAdImproveAdStrength = responsiveSearchAdImproveAdStrength; + return this; + } + + /** + * Parameters to use when applying set target CPA recommendation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationForecastingSetTargetCpaParameters getSetTargetCpa() { + return setTargetCpa; + } + + /** + * Parameters to use when applying set target CPA recommendation. + * @param setTargetCpa setTargetCpa or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperation setSetTargetCpa(GoogleAdsSearchads360V23ServicesApplyRecommendationOperationForecastingSetTargetCpaParameters setTargetCpa) { + this.setTargetCpa = setTargetCpa; + return this; + } + + /** + * Parameters to use when applying set target ROAS recommendation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationForecastingSetTargetRoasParameters getSetTargetRoas() { + return setTargetRoas; + } + + /** + * Parameters to use when applying set target ROAS recommendation. + * @param setTargetRoas setTargetRoas or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperation setSetTargetRoas(GoogleAdsSearchads360V23ServicesApplyRecommendationOperationForecastingSetTargetRoasParameters setTargetRoas) { + this.setTargetRoas = setTargetRoas; + return this; + } + + /** + * Parameters to use when applying sitelink asset recommendation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationSitelinkAssetParameters getSitelinkAsset() { + return sitelinkAsset; + } + + /** + * Parameters to use when applying sitelink asset recommendation. + * @param sitelinkAsset sitelinkAsset or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperation setSitelinkAsset(GoogleAdsSearchads360V23ServicesApplyRecommendationOperationSitelinkAssetParameters sitelinkAsset) { + this.sitelinkAsset = sitelinkAsset; + return this; + } + + /** + * Parameters to use when applying sitelink recommendation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationSitelinkExtensionParameters getSitelinkExtension() { + return sitelinkExtension; + } + + /** + * Parameters to use when applying sitelink recommendation. + * @param sitelinkExtension sitelinkExtension or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperation setSitelinkExtension(GoogleAdsSearchads360V23ServicesApplyRecommendationOperationSitelinkExtensionParameters sitelinkExtension) { + this.sitelinkExtension = sitelinkExtension; + return this; + } + + /** + * Optional parameters to use when applying target CPA opt-in recommendation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationTargetCpaOptInParameters getTargetCpaOptIn() { + return targetCpaOptIn; + } + + /** + * Optional parameters to use when applying target CPA opt-in recommendation. + * @param targetCpaOptIn targetCpaOptIn or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperation setTargetCpaOptIn(GoogleAdsSearchads360V23ServicesApplyRecommendationOperationTargetCpaOptInParameters targetCpaOptIn) { + this.targetCpaOptIn = targetCpaOptIn; + return this; + } + + /** + * Optional parameters to use when applying target ROAS opt-in recommendation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationTargetRoasOptInParameters getTargetRoasOptIn() { + return targetRoasOptIn; + } + + /** + * Optional parameters to use when applying target ROAS opt-in recommendation. + * @param targetRoasOptIn targetRoasOptIn or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperation setTargetRoasOptIn(GoogleAdsSearchads360V23ServicesApplyRecommendationOperationTargetRoasOptInParameters targetRoasOptIn) { + this.targetRoasOptIn = targetRoasOptIn; + return this; + } + + /** + * Optional parameters to use when applying a text ad recommendation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationTextAdParameters getTextAd() { + return textAd; + } + + /** + * Optional parameters to use when applying a text ad recommendation. + * @param textAd textAd or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperation setTextAd(GoogleAdsSearchads360V23ServicesApplyRecommendationOperationTextAdParameters textAd) { + this.textAd = textAd; + return this; + } + + /** + * Parameters to use when applying a use broad match keyword recommendation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationUseBroadMatchKeywordParameters getUseBroadMatchKeyword() { + return useBroadMatchKeyword; + } + + /** + * Parameters to use when applying a use broad match keyword recommendation. + * @param useBroadMatchKeyword useBroadMatchKeyword or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperation setUseBroadMatchKeyword(GoogleAdsSearchads360V23ServicesApplyRecommendationOperationUseBroadMatchKeywordParameters useBroadMatchKeyword) { + this.useBroadMatchKeyword = useBroadMatchKeyword; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesApplyRecommendationOperation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperation clone() { + return (GoogleAdsSearchads360V23ServicesApplyRecommendationOperation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationOperationAdAssetApplyParameters.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationOperationAdAssetApplyParameters.java new file mode 100644 index 00000000000..d8bae7f9c83 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationOperationAdAssetApplyParameters.java @@ -0,0 +1,136 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Common parameters used when applying ad asset recommendations. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesApplyRecommendationOperationAdAssetApplyParameters extends com.google.api.client.json.GenericJson { + + /** + * The resource names of existing assets to attach to a scope. This may be combined with + * new_assets in the same call. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List existingAssets; + + /** + * The assets to create and attach to a scope. This may be combined with existing_assets in the + * same call. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List newAssets; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ResourcesAsset used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ResourcesAsset.class); + } + + /** + * Required. The scope at which to apply the assets. Assets at the campaign scope level will be + * applied to the campaign associated with the recommendation. Assets at the customer scope will + * apply to the entire account. Assets at the campaign scope will override any attached at the + * customer scope. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String scope; + + /** + * The resource names of existing assets to attach to a scope. This may be combined with + * new_assets in the same call. + * @return value or {@code null} for none + */ + public java.util.List getExistingAssets() { + return existingAssets; + } + + /** + * The resource names of existing assets to attach to a scope. This may be combined with + * new_assets in the same call. + * @param existingAssets existingAssets or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationAdAssetApplyParameters setExistingAssets(java.util.List existingAssets) { + this.existingAssets = existingAssets; + return this; + } + + /** + * The assets to create and attach to a scope. This may be combined with existing_assets in the + * same call. + * @return value or {@code null} for none + */ + public java.util.List getNewAssets() { + return newAssets; + } + + /** + * The assets to create and attach to a scope. This may be combined with existing_assets in the + * same call. + * @param newAssets newAssets or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationAdAssetApplyParameters setNewAssets(java.util.List newAssets) { + this.newAssets = newAssets; + return this; + } + + /** + * Required. The scope at which to apply the assets. Assets at the campaign scope level will be + * applied to the campaign associated with the recommendation. Assets at the customer scope will + * apply to the entire account. Assets at the campaign scope will override any attached at the + * customer scope. + * @return value or {@code null} for none + */ + public java.lang.String getScope() { + return scope; + } + + /** + * Required. The scope at which to apply the assets. Assets at the campaign scope level will be + * applied to the campaign associated with the recommendation. Assets at the customer scope will + * apply to the entire account. Assets at the campaign scope will override any attached at the + * customer scope. + * @param scope scope or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationAdAssetApplyParameters setScope(java.lang.String scope) { + this.scope = scope; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationAdAssetApplyParameters set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesApplyRecommendationOperationAdAssetApplyParameters) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationAdAssetApplyParameters clone() { + return (GoogleAdsSearchads360V23ServicesApplyRecommendationOperationAdAssetApplyParameters) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationOperationCallAssetParameters.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationOperationCallAssetParameters.java new file mode 100644 index 00000000000..e0c54730ca2 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationOperationCallAssetParameters.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Parameters to use when applying call asset recommendations. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesApplyRecommendationOperationCallAssetParameters extends com.google.api.client.json.GenericJson { + + /** + * Required. Call assets to be added. This is a required field. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesApplyRecommendationOperationAdAssetApplyParameters adAssetApplyParameters; + + /** + * Required. Call assets to be added. This is a required field. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationAdAssetApplyParameters getAdAssetApplyParameters() { + return adAssetApplyParameters; + } + + /** + * Required. Call assets to be added. This is a required field. + * @param adAssetApplyParameters adAssetApplyParameters or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationCallAssetParameters setAdAssetApplyParameters(GoogleAdsSearchads360V23ServicesApplyRecommendationOperationAdAssetApplyParameters adAssetApplyParameters) { + this.adAssetApplyParameters = adAssetApplyParameters; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationCallAssetParameters set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesApplyRecommendationOperationCallAssetParameters) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationCallAssetParameters clone() { + return (GoogleAdsSearchads360V23ServicesApplyRecommendationOperationCallAssetParameters) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationOperationCallExtensionParameters.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationOperationCallExtensionParameters.java new file mode 100644 index 00000000000..bd39575d475 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationOperationCallExtensionParameters.java @@ -0,0 +1,73 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Parameters to use when applying call extension recommendation. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesApplyRecommendationOperationCallExtensionParameters extends com.google.api.client.json.GenericJson { + + /** + * Call extensions to be added. This is a required field. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List callExtensions; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonCallFeedItem used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonCallFeedItem.class); + } + + /** + * Call extensions to be added. This is a required field. + * @return value or {@code null} for none + */ + public java.util.List getCallExtensions() { + return callExtensions; + } + + /** + * Call extensions to be added. This is a required field. + * @param callExtensions callExtensions or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationCallExtensionParameters setCallExtensions(java.util.List callExtensions) { + this.callExtensions = callExtensions; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationCallExtensionParameters set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesApplyRecommendationOperationCallExtensionParameters) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationCallExtensionParameters clone() { + return (GoogleAdsSearchads360V23ServicesApplyRecommendationOperationCallExtensionParameters) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationOperationCalloutAssetParameters.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationOperationCalloutAssetParameters.java new file mode 100644 index 00000000000..ea4645706b3 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationOperationCalloutAssetParameters.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Parameters to use when applying callout asset recommendations. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesApplyRecommendationOperationCalloutAssetParameters extends com.google.api.client.json.GenericJson { + + /** + * Required. Callout assets to be added. This is a required field. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesApplyRecommendationOperationAdAssetApplyParameters adAssetApplyParameters; + + /** + * Required. Callout assets to be added. This is a required field. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationAdAssetApplyParameters getAdAssetApplyParameters() { + return adAssetApplyParameters; + } + + /** + * Required. Callout assets to be added. This is a required field. + * @param adAssetApplyParameters adAssetApplyParameters or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationCalloutAssetParameters setAdAssetApplyParameters(GoogleAdsSearchads360V23ServicesApplyRecommendationOperationAdAssetApplyParameters adAssetApplyParameters) { + this.adAssetApplyParameters = adAssetApplyParameters; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationCalloutAssetParameters set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesApplyRecommendationOperationCalloutAssetParameters) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationCalloutAssetParameters clone() { + return (GoogleAdsSearchads360V23ServicesApplyRecommendationOperationCalloutAssetParameters) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationOperationCalloutExtensionParameters.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationOperationCalloutExtensionParameters.java new file mode 100644 index 00000000000..cdb1cec50ab --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationOperationCalloutExtensionParameters.java @@ -0,0 +1,73 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Parameters to use when applying callout extension recommendation. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesApplyRecommendationOperationCalloutExtensionParameters extends com.google.api.client.json.GenericJson { + + /** + * Callout extensions to be added. This is a required field. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List calloutExtensions; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonCalloutFeedItem used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonCalloutFeedItem.class); + } + + /** + * Callout extensions to be added. This is a required field. + * @return value or {@code null} for none + */ + public java.util.List getCalloutExtensions() { + return calloutExtensions; + } + + /** + * Callout extensions to be added. This is a required field. + * @param calloutExtensions calloutExtensions or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationCalloutExtensionParameters setCalloutExtensions(java.util.List calloutExtensions) { + this.calloutExtensions = calloutExtensions; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationCalloutExtensionParameters set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesApplyRecommendationOperationCalloutExtensionParameters) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationCalloutExtensionParameters clone() { + return (GoogleAdsSearchads360V23ServicesApplyRecommendationOperationCalloutExtensionParameters) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationOperationCampaignBudgetParameters.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationOperationCampaignBudgetParameters.java new file mode 100644 index 00000000000..57ba3fc5fbb --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationOperationCampaignBudgetParameters.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Parameters to use when applying a campaign budget recommendation. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesApplyRecommendationOperationCampaignBudgetParameters extends com.google.api.client.json.GenericJson { + + /** + * New budget amount to set for target budget resource. This is a required field. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long newBudgetAmountMicros; + + /** + * New budget amount to set for target budget resource. This is a required field. + * @return value or {@code null} for none + */ + public java.lang.Long getNewBudgetAmountMicros() { + return newBudgetAmountMicros; + } + + /** + * New budget amount to set for target budget resource. This is a required field. + * @param newBudgetAmountMicros newBudgetAmountMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationCampaignBudgetParameters setNewBudgetAmountMicros(java.lang.Long newBudgetAmountMicros) { + this.newBudgetAmountMicros = newBudgetAmountMicros; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationCampaignBudgetParameters set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesApplyRecommendationOperationCampaignBudgetParameters) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationCampaignBudgetParameters clone() { + return (GoogleAdsSearchads360V23ServicesApplyRecommendationOperationCampaignBudgetParameters) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationOperationForecastingSetTargetCpaParameters.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationOperationForecastingSetTargetCpaParameters.java new file mode 100644 index 00000000000..1339c078d20 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationOperationForecastingSetTargetCpaParameters.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Parameters to use when applying a set target CPA recommendation. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesApplyRecommendationOperationForecastingSetTargetCpaParameters extends com.google.api.client.json.GenericJson { + + /** + * New campaign budget amount to set for a campaign resource. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long campaignBudgetAmountMicros; + + /** + * Average CPA to use for Target CPA bidding strategy. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long targetCpaMicros; + + /** + * New campaign budget amount to set for a campaign resource. + * @return value or {@code null} for none + */ + public java.lang.Long getCampaignBudgetAmountMicros() { + return campaignBudgetAmountMicros; + } + + /** + * New campaign budget amount to set for a campaign resource. + * @param campaignBudgetAmountMicros campaignBudgetAmountMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationForecastingSetTargetCpaParameters setCampaignBudgetAmountMicros(java.lang.Long campaignBudgetAmountMicros) { + this.campaignBudgetAmountMicros = campaignBudgetAmountMicros; + return this; + } + + /** + * Average CPA to use for Target CPA bidding strategy. + * @return value or {@code null} for none + */ + public java.lang.Long getTargetCpaMicros() { + return targetCpaMicros; + } + + /** + * Average CPA to use for Target CPA bidding strategy. + * @param targetCpaMicros targetCpaMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationForecastingSetTargetCpaParameters setTargetCpaMicros(java.lang.Long targetCpaMicros) { + this.targetCpaMicros = targetCpaMicros; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationForecastingSetTargetCpaParameters set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesApplyRecommendationOperationForecastingSetTargetCpaParameters) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationForecastingSetTargetCpaParameters clone() { + return (GoogleAdsSearchads360V23ServicesApplyRecommendationOperationForecastingSetTargetCpaParameters) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationOperationForecastingSetTargetRoasParameters.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationOperationForecastingSetTargetRoasParameters.java new file mode 100644 index 00000000000..0a33ea742c1 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationOperationForecastingSetTargetRoasParameters.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Parameters to use when applying a forecasting set target roas recommendation. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesApplyRecommendationOperationForecastingSetTargetRoasParameters extends com.google.api.client.json.GenericJson { + + /** + * New campaign budget amount to set for a campaign resource. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long campaignBudgetAmountMicros; + + /** + * New target ROAS (revenue per unit of spend) to set for a campaign resource. The value is + * between 0.01 and 1000.0, inclusive. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double targetRoas; + + /** + * New campaign budget amount to set for a campaign resource. + * @return value or {@code null} for none + */ + public java.lang.Long getCampaignBudgetAmountMicros() { + return campaignBudgetAmountMicros; + } + + /** + * New campaign budget amount to set for a campaign resource. + * @param campaignBudgetAmountMicros campaignBudgetAmountMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationForecastingSetTargetRoasParameters setCampaignBudgetAmountMicros(java.lang.Long campaignBudgetAmountMicros) { + this.campaignBudgetAmountMicros = campaignBudgetAmountMicros; + return this; + } + + /** + * New target ROAS (revenue per unit of spend) to set for a campaign resource. The value is + * between 0.01 and 1000.0, inclusive. + * @return value or {@code null} for none + */ + public java.lang.Double getTargetRoas() { + return targetRoas; + } + + /** + * New target ROAS (revenue per unit of spend) to set for a campaign resource. The value is + * between 0.01 and 1000.0, inclusive. + * @param targetRoas targetRoas or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationForecastingSetTargetRoasParameters setTargetRoas(java.lang.Double targetRoas) { + this.targetRoas = targetRoas; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationForecastingSetTargetRoasParameters set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesApplyRecommendationOperationForecastingSetTargetRoasParameters) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationForecastingSetTargetRoasParameters clone() { + return (GoogleAdsSearchads360V23ServicesApplyRecommendationOperationForecastingSetTargetRoasParameters) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationOperationKeywordParameters.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationOperationKeywordParameters.java new file mode 100644 index 00000000000..8cda15e74c4 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationOperationKeywordParameters.java @@ -0,0 +1,118 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Parameters to use when applying keyword recommendation. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesApplyRecommendationOperationKeywordParameters extends com.google.api.client.json.GenericJson { + + /** + * The ad group resource to add keyword to. This is a required field. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String adGroup; + + /** + * Optional, CPC bid to set for the keyword. If not set, keyword will use bid based on bidding + * strategy used by target ad group. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long cpcBidMicros; + + /** + * The match type of the keyword. This is a required field. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String matchType; + + /** + * The ad group resource to add keyword to. This is a required field. + * @return value or {@code null} for none + */ + public java.lang.String getAdGroup() { + return adGroup; + } + + /** + * The ad group resource to add keyword to. This is a required field. + * @param adGroup adGroup or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationKeywordParameters setAdGroup(java.lang.String adGroup) { + this.adGroup = adGroup; + return this; + } + + /** + * Optional, CPC bid to set for the keyword. If not set, keyword will use bid based on bidding + * strategy used by target ad group. + * @return value or {@code null} for none + */ + public java.lang.Long getCpcBidMicros() { + return cpcBidMicros; + } + + /** + * Optional, CPC bid to set for the keyword. If not set, keyword will use bid based on bidding + * strategy used by target ad group. + * @param cpcBidMicros cpcBidMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationKeywordParameters setCpcBidMicros(java.lang.Long cpcBidMicros) { + this.cpcBidMicros = cpcBidMicros; + return this; + } + + /** + * The match type of the keyword. This is a required field. + * @return value or {@code null} for none + */ + public java.lang.String getMatchType() { + return matchType; + } + + /** + * The match type of the keyword. This is a required field. + * @param matchType matchType or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationKeywordParameters setMatchType(java.lang.String matchType) { + this.matchType = matchType; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationKeywordParameters set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesApplyRecommendationOperationKeywordParameters) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationKeywordParameters clone() { + return (GoogleAdsSearchads360V23ServicesApplyRecommendationOperationKeywordParameters) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationOperationLeadFormAssetParameters.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationOperationLeadFormAssetParameters.java new file mode 100644 index 00000000000..e076986d50e --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationOperationLeadFormAssetParameters.java @@ -0,0 +1,97 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Parameters to use when applying a lead form asset recommendation. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesApplyRecommendationOperationLeadFormAssetParameters extends com.google.api.client.json.GenericJson { + + /** + * Required. Lead form assets to be added. This is a required field. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesApplyRecommendationOperationAdAssetApplyParameters adAssetApplyParameters; + + /** + * If true, the "Submit Lead Form" goal will be set on the target campaign. As a result, ads will + * be shown as lead form creative ads. If false, the "Submit Lead Form" goal will not be set on + * the campaign and ads will contain lead form assets. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean setSubmitLeadFormAssetCampaignGoal; + + /** + * Required. Lead form assets to be added. This is a required field. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationAdAssetApplyParameters getAdAssetApplyParameters() { + return adAssetApplyParameters; + } + + /** + * Required. Lead form assets to be added. This is a required field. + * @param adAssetApplyParameters adAssetApplyParameters or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationLeadFormAssetParameters setAdAssetApplyParameters(GoogleAdsSearchads360V23ServicesApplyRecommendationOperationAdAssetApplyParameters adAssetApplyParameters) { + this.adAssetApplyParameters = adAssetApplyParameters; + return this; + } + + /** + * If true, the "Submit Lead Form" goal will be set on the target campaign. As a result, ads will + * be shown as lead form creative ads. If false, the "Submit Lead Form" goal will not be set on + * the campaign and ads will contain lead form assets. + * @return value or {@code null} for none + */ + public java.lang.Boolean getSetSubmitLeadFormAssetCampaignGoal() { + return setSubmitLeadFormAssetCampaignGoal; + } + + /** + * If true, the "Submit Lead Form" goal will be set on the target campaign. As a result, ads will + * be shown as lead form creative ads. If false, the "Submit Lead Form" goal will not be set on + * the campaign and ads will contain lead form assets. + * @param setSubmitLeadFormAssetCampaignGoal setSubmitLeadFormAssetCampaignGoal or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationLeadFormAssetParameters setSetSubmitLeadFormAssetCampaignGoal(java.lang.Boolean setSubmitLeadFormAssetCampaignGoal) { + this.setSubmitLeadFormAssetCampaignGoal = setSubmitLeadFormAssetCampaignGoal; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationLeadFormAssetParameters set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesApplyRecommendationOperationLeadFormAssetParameters) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationLeadFormAssetParameters clone() { + return (GoogleAdsSearchads360V23ServicesApplyRecommendationOperationLeadFormAssetParameters) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationOperationLowerTargetRoasParameters.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationOperationLowerTargetRoasParameters.java new file mode 100644 index 00000000000..00bf9acd4e5 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationOperationLowerTargetRoasParameters.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Parameters to use when applying lower Target ROAS recommendations. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesApplyRecommendationOperationLowerTargetRoasParameters extends com.google.api.client.json.GenericJson { + + /** + * Required. Target to set ROAS multiplier to. This is a required field. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double targetRoasMultiplier; + + /** + * Required. Target to set ROAS multiplier to. This is a required field. + * @return value or {@code null} for none + */ + public java.lang.Double getTargetRoasMultiplier() { + return targetRoasMultiplier; + } + + /** + * Required. Target to set ROAS multiplier to. This is a required field. + * @param targetRoasMultiplier targetRoasMultiplier or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationLowerTargetRoasParameters setTargetRoasMultiplier(java.lang.Double targetRoasMultiplier) { + this.targetRoasMultiplier = targetRoasMultiplier; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationLowerTargetRoasParameters set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesApplyRecommendationOperationLowerTargetRoasParameters) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationLowerTargetRoasParameters clone() { + return (GoogleAdsSearchads360V23ServicesApplyRecommendationOperationLowerTargetRoasParameters) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationOperationMoveUnusedBudgetParameters.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationOperationMoveUnusedBudgetParameters.java new file mode 100644 index 00000000000..8958d73a649 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationOperationMoveUnusedBudgetParameters.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Parameters to use when applying move unused budget recommendation. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesApplyRecommendationOperationMoveUnusedBudgetParameters extends com.google.api.client.json.GenericJson { + + /** + * Budget amount to move from excess budget to constrained budget. This is a required field. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long budgetMicrosToMove; + + /** + * Budget amount to move from excess budget to constrained budget. This is a required field. + * @return value or {@code null} for none + */ + public java.lang.Long getBudgetMicrosToMove() { + return budgetMicrosToMove; + } + + /** + * Budget amount to move from excess budget to constrained budget. This is a required field. + * @param budgetMicrosToMove budgetMicrosToMove or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationMoveUnusedBudgetParameters setBudgetMicrosToMove(java.lang.Long budgetMicrosToMove) { + this.budgetMicrosToMove = budgetMicrosToMove; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationMoveUnusedBudgetParameters set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesApplyRecommendationOperationMoveUnusedBudgetParameters) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationMoveUnusedBudgetParameters clone() { + return (GoogleAdsSearchads360V23ServicesApplyRecommendationOperationMoveUnusedBudgetParameters) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationOperationRaiseTargetCpaBidTooLowParameters.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationOperationRaiseTargetCpaBidTooLowParameters.java new file mode 100644 index 00000000000..a7d9d5ac309 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationOperationRaiseTargetCpaBidTooLowParameters.java @@ -0,0 +1,72 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Parameters to use when applying a raise target CPA bid too low recommendation. The apply is + * asynchronous and can take minutes depending on the number of ad groups there is in the related + * campaign.. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesApplyRecommendationOperationRaiseTargetCpaBidTooLowParameters extends com.google.api.client.json.GenericJson { + + /** + * Required. A number greater than 1.0 indicating the factor by which to increase the target CPA. + * This is a required field. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double targetMultiplier; + + /** + * Required. A number greater than 1.0 indicating the factor by which to increase the target CPA. + * This is a required field. + * @return value or {@code null} for none + */ + public java.lang.Double getTargetMultiplier() { + return targetMultiplier; + } + + /** + * Required. A number greater than 1.0 indicating the factor by which to increase the target CPA. + * This is a required field. + * @param targetMultiplier targetMultiplier or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationRaiseTargetCpaBidTooLowParameters setTargetMultiplier(java.lang.Double targetMultiplier) { + this.targetMultiplier = targetMultiplier; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationRaiseTargetCpaBidTooLowParameters set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesApplyRecommendationOperationRaiseTargetCpaBidTooLowParameters) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationRaiseTargetCpaBidTooLowParameters clone() { + return (GoogleAdsSearchads360V23ServicesApplyRecommendationOperationRaiseTargetCpaBidTooLowParameters) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationOperationRaiseTargetCpaParameters.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationOperationRaiseTargetCpaParameters.java new file mode 100644 index 00000000000..113b5148305 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationOperationRaiseTargetCpaParameters.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Parameters to use when applying raise Target CPA recommendations. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesApplyRecommendationOperationRaiseTargetCpaParameters extends com.google.api.client.json.GenericJson { + + /** + * Required. Target to set CPA multiplier to. This is a required field. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double targetCpaMultiplier; + + /** + * Required. Target to set CPA multiplier to. This is a required field. + * @return value or {@code null} for none + */ + public java.lang.Double getTargetCpaMultiplier() { + return targetCpaMultiplier; + } + + /** + * Required. Target to set CPA multiplier to. This is a required field. + * @param targetCpaMultiplier targetCpaMultiplier or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationRaiseTargetCpaParameters setTargetCpaMultiplier(java.lang.Double targetCpaMultiplier) { + this.targetCpaMultiplier = targetCpaMultiplier; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationRaiseTargetCpaParameters set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesApplyRecommendationOperationRaiseTargetCpaParameters) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationRaiseTargetCpaParameters clone() { + return (GoogleAdsSearchads360V23ServicesApplyRecommendationOperationRaiseTargetCpaParameters) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationOperationResponsiveSearchAdAssetParameters.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationOperationResponsiveSearchAdAssetParameters.java new file mode 100644 index 00000000000..8ee53b9517d --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationOperationResponsiveSearchAdAssetParameters.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Parameters to use when applying a responsive search ad asset recommendation. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesApplyRecommendationOperationResponsiveSearchAdAssetParameters extends com.google.api.client.json.GenericJson { + + /** + * Updated ad. The current ad's content will be replaced. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAd updatedAd; + + /** + * Updated ad. The current ad's content will be replaced. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAd getUpdatedAd() { + return updatedAd; + } + + /** + * Updated ad. The current ad's content will be replaced. + * @param updatedAd updatedAd or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationResponsiveSearchAdAssetParameters setUpdatedAd(GoogleAdsSearchads360V23ResourcesAd updatedAd) { + this.updatedAd = updatedAd; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationResponsiveSearchAdAssetParameters set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesApplyRecommendationOperationResponsiveSearchAdAssetParameters) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationResponsiveSearchAdAssetParameters clone() { + return (GoogleAdsSearchads360V23ServicesApplyRecommendationOperationResponsiveSearchAdAssetParameters) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationOperationResponsiveSearchAdImproveAdStrengthParameters.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationOperationResponsiveSearchAdImproveAdStrengthParameters.java new file mode 100644 index 00000000000..09be4266414 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationOperationResponsiveSearchAdImproveAdStrengthParameters.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Parameters to use when applying a responsive search ad improve ad strength recommendation. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesApplyRecommendationOperationResponsiveSearchAdImproveAdStrengthParameters extends com.google.api.client.json.GenericJson { + + /** + * Updated ad. The current ad's content will be replaced. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAd updatedAd; + + /** + * Updated ad. The current ad's content will be replaced. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAd getUpdatedAd() { + return updatedAd; + } + + /** + * Updated ad. The current ad's content will be replaced. + * @param updatedAd updatedAd or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationResponsiveSearchAdImproveAdStrengthParameters setUpdatedAd(GoogleAdsSearchads360V23ResourcesAd updatedAd) { + this.updatedAd = updatedAd; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationResponsiveSearchAdImproveAdStrengthParameters set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesApplyRecommendationOperationResponsiveSearchAdImproveAdStrengthParameters) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationResponsiveSearchAdImproveAdStrengthParameters clone() { + return (GoogleAdsSearchads360V23ServicesApplyRecommendationOperationResponsiveSearchAdImproveAdStrengthParameters) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationOperationResponsiveSearchAdParameters.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationOperationResponsiveSearchAdParameters.java new file mode 100644 index 00000000000..f01e9307d6c --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationOperationResponsiveSearchAdParameters.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Parameters to use when applying a responsive search ad recommendation. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesApplyRecommendationOperationResponsiveSearchAdParameters extends com.google.api.client.json.GenericJson { + + /** + * Required. New ad to add to recommended ad group. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAd ad; + + /** + * Required. New ad to add to recommended ad group. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAd getAd() { + return ad; + } + + /** + * Required. New ad to add to recommended ad group. + * @param ad ad or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationResponsiveSearchAdParameters setAd(GoogleAdsSearchads360V23ResourcesAd ad) { + this.ad = ad; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationResponsiveSearchAdParameters set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesApplyRecommendationOperationResponsiveSearchAdParameters) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationResponsiveSearchAdParameters clone() { + return (GoogleAdsSearchads360V23ServicesApplyRecommendationOperationResponsiveSearchAdParameters) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationOperationSitelinkAssetParameters.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationOperationSitelinkAssetParameters.java new file mode 100644 index 00000000000..b2a349ab757 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationOperationSitelinkAssetParameters.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Parameters to use when applying sitelink asset recommendations. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesApplyRecommendationOperationSitelinkAssetParameters extends com.google.api.client.json.GenericJson { + + /** + * Required. Sitelink assets to be added. This is a required field. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesApplyRecommendationOperationAdAssetApplyParameters adAssetApplyParameters; + + /** + * Required. Sitelink assets to be added. This is a required field. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationAdAssetApplyParameters getAdAssetApplyParameters() { + return adAssetApplyParameters; + } + + /** + * Required. Sitelink assets to be added. This is a required field. + * @param adAssetApplyParameters adAssetApplyParameters or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationSitelinkAssetParameters setAdAssetApplyParameters(GoogleAdsSearchads360V23ServicesApplyRecommendationOperationAdAssetApplyParameters adAssetApplyParameters) { + this.adAssetApplyParameters = adAssetApplyParameters; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationSitelinkAssetParameters set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesApplyRecommendationOperationSitelinkAssetParameters) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationSitelinkAssetParameters clone() { + return (GoogleAdsSearchads360V23ServicesApplyRecommendationOperationSitelinkAssetParameters) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationOperationSitelinkExtensionParameters.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationOperationSitelinkExtensionParameters.java new file mode 100644 index 00000000000..8e5c9b28061 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationOperationSitelinkExtensionParameters.java @@ -0,0 +1,73 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Parameters to use when applying sitelink recommendation. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesApplyRecommendationOperationSitelinkExtensionParameters extends com.google.api.client.json.GenericJson { + + /** + * Sitelinks to be added. This is a required field. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List sitelinkExtensions; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonSitelinkFeedItem used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonSitelinkFeedItem.class); + } + + /** + * Sitelinks to be added. This is a required field. + * @return value or {@code null} for none + */ + public java.util.List getSitelinkExtensions() { + return sitelinkExtensions; + } + + /** + * Sitelinks to be added. This is a required field. + * @param sitelinkExtensions sitelinkExtensions or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationSitelinkExtensionParameters setSitelinkExtensions(java.util.List sitelinkExtensions) { + this.sitelinkExtensions = sitelinkExtensions; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationSitelinkExtensionParameters set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesApplyRecommendationOperationSitelinkExtensionParameters) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationSitelinkExtensionParameters clone() { + return (GoogleAdsSearchads360V23ServicesApplyRecommendationOperationSitelinkExtensionParameters) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationOperationTargetCpaOptInParameters.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationOperationTargetCpaOptInParameters.java new file mode 100644 index 00000000000..bc20368fdf8 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationOperationTargetCpaOptInParameters.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Parameters to use when applying Target CPA recommendation. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesApplyRecommendationOperationTargetCpaOptInParameters extends com.google.api.client.json.GenericJson { + + /** + * Optional, budget amount to set for the campaign. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long newCampaignBudgetAmountMicros; + + /** + * Average CPA to use for Target CPA bidding strategy. This is a required field. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long targetCpaMicros; + + /** + * Optional, budget amount to set for the campaign. + * @return value or {@code null} for none + */ + public java.lang.Long getNewCampaignBudgetAmountMicros() { + return newCampaignBudgetAmountMicros; + } + + /** + * Optional, budget amount to set for the campaign. + * @param newCampaignBudgetAmountMicros newCampaignBudgetAmountMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationTargetCpaOptInParameters setNewCampaignBudgetAmountMicros(java.lang.Long newCampaignBudgetAmountMicros) { + this.newCampaignBudgetAmountMicros = newCampaignBudgetAmountMicros; + return this; + } + + /** + * Average CPA to use for Target CPA bidding strategy. This is a required field. + * @return value or {@code null} for none + */ + public java.lang.Long getTargetCpaMicros() { + return targetCpaMicros; + } + + /** + * Average CPA to use for Target CPA bidding strategy. This is a required field. + * @param targetCpaMicros targetCpaMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationTargetCpaOptInParameters setTargetCpaMicros(java.lang.Long targetCpaMicros) { + this.targetCpaMicros = targetCpaMicros; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationTargetCpaOptInParameters set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesApplyRecommendationOperationTargetCpaOptInParameters) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationTargetCpaOptInParameters clone() { + return (GoogleAdsSearchads360V23ServicesApplyRecommendationOperationTargetCpaOptInParameters) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationOperationTargetRoasOptInParameters.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationOperationTargetRoasOptInParameters.java new file mode 100644 index 00000000000..959671b7d38 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationOperationTargetRoasOptInParameters.java @@ -0,0 +1,97 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Parameters to use when applying a Target ROAS opt-in recommendation. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesApplyRecommendationOperationTargetRoasOptInParameters extends com.google.api.client.json.GenericJson { + + /** + * Optional, budget amount to set for the campaign. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long newCampaignBudgetAmountMicros; + + /** + * Average ROAS (revenue per unit of spend) to use for Target ROAS bidding strategy. The value is + * between 0.01 and 1000.0, inclusive. This is a required field, unless + * new_campaign_budget_amount_micros is set. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double targetRoas; + + /** + * Optional, budget amount to set for the campaign. + * @return value or {@code null} for none + */ + public java.lang.Long getNewCampaignBudgetAmountMicros() { + return newCampaignBudgetAmountMicros; + } + + /** + * Optional, budget amount to set for the campaign. + * @param newCampaignBudgetAmountMicros newCampaignBudgetAmountMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationTargetRoasOptInParameters setNewCampaignBudgetAmountMicros(java.lang.Long newCampaignBudgetAmountMicros) { + this.newCampaignBudgetAmountMicros = newCampaignBudgetAmountMicros; + return this; + } + + /** + * Average ROAS (revenue per unit of spend) to use for Target ROAS bidding strategy. The value is + * between 0.01 and 1000.0, inclusive. This is a required field, unless + * new_campaign_budget_amount_micros is set. + * @return value or {@code null} for none + */ + public java.lang.Double getTargetRoas() { + return targetRoas; + } + + /** + * Average ROAS (revenue per unit of spend) to use for Target ROAS bidding strategy. The value is + * between 0.01 and 1000.0, inclusive. This is a required field, unless + * new_campaign_budget_amount_micros is set. + * @param targetRoas targetRoas or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationTargetRoasOptInParameters setTargetRoas(java.lang.Double targetRoas) { + this.targetRoas = targetRoas; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationTargetRoasOptInParameters set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesApplyRecommendationOperationTargetRoasOptInParameters) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationTargetRoasOptInParameters clone() { + return (GoogleAdsSearchads360V23ServicesApplyRecommendationOperationTargetRoasOptInParameters) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationOperationTextAdParameters.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationOperationTextAdParameters.java new file mode 100644 index 00000000000..90bf6618448 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationOperationTextAdParameters.java @@ -0,0 +1,70 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Parameters to use when applying a text ad recommendation. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesApplyRecommendationOperationTextAdParameters extends com.google.api.client.json.GenericJson { + + /** + * New ad to add to recommended ad group. All necessary fields need to be set in this message. + * This is a required field. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAd ad; + + /** + * New ad to add to recommended ad group. All necessary fields need to be set in this message. + * This is a required field. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAd getAd() { + return ad; + } + + /** + * New ad to add to recommended ad group. All necessary fields need to be set in this message. + * This is a required field. + * @param ad ad or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationTextAdParameters setAd(GoogleAdsSearchads360V23ResourcesAd ad) { + this.ad = ad; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationTextAdParameters set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesApplyRecommendationOperationTextAdParameters) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationTextAdParameters clone() { + return (GoogleAdsSearchads360V23ServicesApplyRecommendationOperationTextAdParameters) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationOperationUseBroadMatchKeywordParameters.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationOperationUseBroadMatchKeywordParameters.java new file mode 100644 index 00000000000..1e75a5e1386 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationOperationUseBroadMatchKeywordParameters.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Parameters to use when applying a use broad match keyword recommendation. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesApplyRecommendationOperationUseBroadMatchKeywordParameters extends com.google.api.client.json.GenericJson { + + /** + * New budget amount to set for target budget resource. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long newBudgetAmountMicros; + + /** + * New budget amount to set for target budget resource. + * @return value or {@code null} for none + */ + public java.lang.Long getNewBudgetAmountMicros() { + return newBudgetAmountMicros; + } + + /** + * New budget amount to set for target budget resource. + * @param newBudgetAmountMicros newBudgetAmountMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationUseBroadMatchKeywordParameters setNewBudgetAmountMicros(java.lang.Long newBudgetAmountMicros) { + this.newBudgetAmountMicros = newBudgetAmountMicros; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationUseBroadMatchKeywordParameters set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesApplyRecommendationOperationUseBroadMatchKeywordParameters) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesApplyRecommendationOperationUseBroadMatchKeywordParameters clone() { + return (GoogleAdsSearchads360V23ServicesApplyRecommendationOperationUseBroadMatchKeywordParameters) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationRequest.java new file mode 100644 index 00000000000..7a1aa66bf3f --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationRequest.java @@ -0,0 +1,106 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for RecommendationService.ApplyRecommendation. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesApplyRecommendationRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The list of operations to apply recommendations. If partial_failure=false all + * recommendations should be of the same type There is a limit of 100 operations per request. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List operations; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesApplyRecommendationOperation used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesApplyRecommendationOperation.class); + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, operations will be carried out as a transaction if and only if they are all valid. + * Default is false. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean partialFailure; + + /** + * Required. The list of operations to apply recommendations. If partial_failure=false all + * recommendations should be of the same type There is a limit of 100 operations per request. + * @return value or {@code null} for none + */ + public java.util.List getOperations() { + return operations; + } + + /** + * Required. The list of operations to apply recommendations. If partial_failure=false all + * recommendations should be of the same type There is a limit of 100 operations per request. + * @param operations operations or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesApplyRecommendationRequest setOperations(java.util.List operations) { + this.operations = operations; + return this; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, operations will be carried out as a transaction if and only if they are all valid. + * Default is false. + * @return value or {@code null} for none + */ + public java.lang.Boolean getPartialFailure() { + return partialFailure; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, operations will be carried out as a transaction if and only if they are all valid. + * Default is false. + * @param partialFailure partialFailure or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesApplyRecommendationRequest setPartialFailure(java.lang.Boolean partialFailure) { + this.partialFailure = partialFailure; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesApplyRecommendationRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesApplyRecommendationRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesApplyRecommendationRequest clone() { + return (GoogleAdsSearchads360V23ServicesApplyRecommendationRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationResponse.java new file mode 100644 index 00000000000..80f4dfb86e4 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationResponse.java @@ -0,0 +1,97 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for RecommendationService.ApplyRecommendation. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesApplyRecommendationResponse extends com.google.api.client.json.GenericJson { + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors) we return the RPC level error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleRpcStatus partialFailureError; + + /** + * Results of operations to apply recommendations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List results; + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors) we return the RPC level error. + * @return value or {@code null} for none + */ + public GoogleRpcStatus getPartialFailureError() { + return partialFailureError; + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors) we return the RPC level error. + * @param partialFailureError partialFailureError or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesApplyRecommendationResponse setPartialFailureError(GoogleRpcStatus partialFailureError) { + this.partialFailureError = partialFailureError; + return this; + } + + /** + * Results of operations to apply recommendations. + * @return value or {@code null} for none + */ + public java.util.List getResults() { + return results; + } + + /** + * Results of operations to apply recommendations. + * @param results results or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesApplyRecommendationResponse setResults(java.util.List results) { + this.results = results; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesApplyRecommendationResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesApplyRecommendationResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesApplyRecommendationResponse clone() { + return (GoogleAdsSearchads360V23ServicesApplyRecommendationResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationResult.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationResult.java new file mode 100644 index 00000000000..b434586f743 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesApplyRecommendationResult.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The result of applying a recommendation. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesApplyRecommendationResult extends com.google.api.client.json.GenericJson { + + /** + * Returned for successful applies. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Returned for successful applies. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Returned for successful applies. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesApplyRecommendationResult setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesApplyRecommendationResult set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesApplyRecommendationResult) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesApplyRecommendationResult clone() { + return (GoogleAdsSearchads360V23ServicesApplyRecommendationResult) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAssetGroupAssetOperation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAssetGroupAssetOperation.java new file mode 100644 index 00000000000..05245025334 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAssetGroupAssetOperation.java @@ -0,0 +1,142 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A single operation (create, remove) on an asset group asset. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesAssetGroupAssetOperation extends com.google.api.client.json.GenericJson { + + /** + * Create operation: No resource name is expected for the new asset group asset. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAssetGroupAsset create; + + /** + * Remove operation: A resource name for the removed asset group asset is expected, in this + * format: `customers/{customer_id}/assetGroupAssets/{asset_group_id}~{asset_id}~{field_type}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String remove; + + /** + * Update operation: The asset group asset is expected to have a valid resource name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAssetGroupAsset update; + + /** + * FieldMask that determines which resource fields are modified in an update. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String updateMask; + + /** + * Create operation: No resource name is expected for the new asset group asset. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetGroupAsset getCreate() { + return create; + } + + /** + * Create operation: No resource name is expected for the new asset group asset. + * @param create create or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAssetGroupAssetOperation setCreate(GoogleAdsSearchads360V23ResourcesAssetGroupAsset create) { + this.create = create; + return this; + } + + /** + * Remove operation: A resource name for the removed asset group asset is expected, in this + * format: `customers/{customer_id}/assetGroupAssets/{asset_group_id}~{asset_id}~{field_type}` + * @return value or {@code null} for none + */ + public java.lang.String getRemove() { + return remove; + } + + /** + * Remove operation: A resource name for the removed asset group asset is expected, in this + * format: `customers/{customer_id}/assetGroupAssets/{asset_group_id}~{asset_id}~{field_type}` + * @param remove remove or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAssetGroupAssetOperation setRemove(java.lang.String remove) { + this.remove = remove; + return this; + } + + /** + * Update operation: The asset group asset is expected to have a valid resource name. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetGroupAsset getUpdate() { + return update; + } + + /** + * Update operation: The asset group asset is expected to have a valid resource name. + * @param update update or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAssetGroupAssetOperation setUpdate(GoogleAdsSearchads360V23ResourcesAssetGroupAsset update) { + this.update = update; + return this; + } + + /** + * FieldMask that determines which resource fields are modified in an update. + * @return value or {@code null} for none + */ + public String getUpdateMask() { + return updateMask; + } + + /** + * FieldMask that determines which resource fields are modified in an update. + * @param updateMask updateMask or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAssetGroupAssetOperation setUpdateMask(String updateMask) { + this.updateMask = updateMask; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesAssetGroupAssetOperation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesAssetGroupAssetOperation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesAssetGroupAssetOperation clone() { + return (GoogleAdsSearchads360V23ServicesAssetGroupAssetOperation) super.clone(); + } + +} From a39fc8ac7541b9a7740c9a6fb27738f5aca8ea98 Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Wed, 3 Jun 2026 18:43:33 -0700 Subject: [PATCH 09/14] chore: regenerate searchads360 client --- ...AssetGroupListingGroupFilterOperation.java | 154 ++++++++++++ ...hads360V23ServicesAssetGroupOperation.java | 142 +++++++++++ ...0V23ServicesAssetGroupSignalOperation.java | 136 +++++++++++ ...Searchads360V23ServicesAssetOperation.java | 120 +++++++++ ...s360V23ServicesAssetSetAssetOperation.java | 94 +++++++ ...rchads360V23ServicesAssetSetOperation.java | 142 +++++++++++ ...hads360V23ServicesAssetsWithFieldType.java | 91 +++++++ ...3ServicesAudienceCompositionAttribute.java | 91 +++++++ ...esAudienceCompositionAttributeCluster.java | 125 ++++++++++ ...V23ServicesAudienceCompositionMetrics.java | 143 +++++++++++ ...V23ServicesAudienceCompositionSection.java | 133 ++++++++++ ...V23ServicesAudienceInsightsDimensions.java | 67 +++++ ...rchads360V23ServicesAudienceOperation.java | 115 +++++++++ ...hads360V23ServicesAudienceOverlapItem.java | 98 ++++++++ ...rchads360V23ServicesAudienceTargeting.java | 103 ++++++++ ...rchads360V23ServicesBatchJobOperation.java | 94 +++++++ ...Searchads360V23ServicesBatchJobResult.java | 115 +++++++++ ...chads360V23ServicesBenchmarksLocation.java | 118 +++++++++ ...0V23ServicesBenchmarksProductMetadata.java | 121 +++++++++ ...archads360V23ServicesBenchmarksSource.java | 68 ++++++ ...60V23ServicesBenchmarksSourceMetadata.java | 91 +++++++ ...earchads360V23ServicesBiddableKeyword.java | 97 ++++++++ ...ServicesBiddingDataExclusionOperation.java | 142 +++++++++++ ...BiddingSeasonalityAdjustmentOperation.java | 142 +++++++++++ ...60V23ServicesBiddingStrategyOperation.java | 142 +++++++++++ ...ds360V23ServicesBillingSetupOperation.java | 98 ++++++++ ...hads360V23ServicesBrandCampaignAssets.java | 115 +++++++++ ...s360V23ServicesCampaignAssetOperation.java | 142 +++++++++++ ...0V23ServicesCampaignAssetSetOperation.java | 94 +++++++ ...3ServicesCampaignBidModifierOperation.java | 142 +++++++++++ ...ds360V23ServicesCampaignBudgetMapping.java | 91 +++++++ ...360V23ServicesCampaignBudgetOperation.java | 142 +++++++++++ ...rvicesCampaignConversionGoalOperation.java | 91 +++++++ ...V23ServicesCampaignCriterionOperation.java | 145 +++++++++++ ...23ServicesCampaignCustomizerOperation.java | 94 +++++++ ...s360V23ServicesCampaignDraftOperation.java | 142 +++++++++++ ...archads360V23ServicesCampaignDuration.java | 97 ++++++++ ...23ServicesCampaignGoalConfigOperation.java | 139 +++++++++++ ...s360V23ServicesCampaignGroupOperation.java | 142 +++++++++++ ...s360V23ServicesCampaignLabelOperation.java | 94 +++++++ ...ervicesCampaignLifecycleGoalOperation.java | 115 +++++++++ ...rchads360V23ServicesCampaignOperation.java | 142 +++++++++++ ...V23ServicesCampaignSharedSetOperation.java | 94 +++++++ ...chads360V23ServicesCampaignToForecast.java | 229 ++++++++++++++++++ ...aignToForecastCampaignBiddingStrategy.java | 115 +++++++++ ...onfigureCampaignLifecycleGoalsRequest.java | 94 +++++++ ...nfigureCampaignLifecycleGoalsResponse.java | 67 +++++ ...ConfigureCampaignLifecycleGoalsResult.java | 67 +++++ ...onfigureCustomerLifecycleGoalsRequest.java | 94 +++++++ ...nfigureCustomerLifecycleGoalsResponse.java | 67 +++++ ...ConfigureCustomerLifecycleGoalsResult.java | 67 +++++ ...dsSearchads360V23ServicesConversation.java | 94 +++++++ ...hads360V23ServicesConversationOrError.java | 91 +++++++ ...0V23ServicesConversionActionOperation.java | 142 +++++++++++ ...rvicesConversionCustomDimensionHeader.java | 91 +++++++ ...3ServicesConversionCustomMetricHeader.java | 91 +++++++ ...icesConversionCustomVariableOperation.java | 115 +++++++++ ...ConversionGoalCampaignConfigOperation.java | 94 +++++++ ...60V23ServicesConversionRateSuggestion.java | 145 +++++++++++ ...3ServicesConversionValueRuleOperation.java | 142 +++++++++++ ...rvicesConversionValueRuleSetOperation.java | 142 +++++++++++ ...60V23ServicesCreateAccountLinkRequest.java | 67 +++++ ...0V23ServicesCreateAccountLinkResponse.java | 67 +++++ ...23ServicesCreateCustomerClientRequest.java | 148 +++++++++++ ...3ServicesCreateCustomerClientResponse.java | 97 ++++++++ ...ds360V23ServicesCreateDataLinkRequest.java | 67 +++++ ...s360V23ServicesCreateDataLinkResponse.java | 67 +++++ ...rvicesCreateOfflineUserDataJobRequest.java | 118 +++++++++ ...vicesCreateOfflineUserDataJobResponse.java | 67 +++++ ...cesCreateProductLinkInvitationRequest.java | 67 +++++ ...esCreateProductLinkInvitationResponse.java | 67 +++++ ...60V23ServicesCreateProductLinkRequest.java | 67 +++++ ...0V23ServicesCreateProductLinkResponse.java | 67 +++++ ...ads360V23ServicesCriterionBidModifier.java | 94 +++++++ ...360V23ServicesCustomAudienceOperation.java | 142 +++++++++++ ...chads360V23ServicesCustomColumnHeader.java | 115 +++++++++ ...ServicesCustomConversionGoalOperation.java | 142 +++++++++++ ...360V23ServicesCustomInterestOperation.java | 115 +++++++++ ...s360V23ServicesCustomerAssetOperation.java | 142 +++++++++++ ...0V23ServicesCustomerAssetSetOperation.java | 94 +++++++ ...23ServicesCustomerClientLinkOperation.java | 115 +++++++++ ...rvicesCustomerConversionGoalOperation.java | 91 +++++++ ...23ServicesCustomerCustomizerOperation.java | 94 +++++++ ...s360V23ServicesCustomerLabelOperation.java | 94 +++++++ ...ervicesCustomerLifecycleGoalOperation.java | 112 +++++++++ ...3ServicesCustomerManagerLinkOperation.java | 94 +++++++ ...cesCustomerNegativeCriterionOperation.java | 94 +++++++ ...rchads360V23ServicesCustomerOperation.java | 91 +++++++ ...NetworkConversionValueSchemaOperation.java | 67 +++++ ...CustomerUserAccessInvitationOperation.java | 94 +++++++ ...23ServicesCustomerUserAccessOperation.java | 118 +++++++++ ...3ServicesCustomizerAttributeOperation.java | 118 +++++++++ ...sSearchads360V23ServicesCyoIncentives.java | 116 +++++++++ ...s360V23ServicesDimensionOverlapResult.java | 98 ++++++++ ...3ServicesDismissRecommendationRequest.java | 106 ++++++++ ...RequestDismissRecommendationOperation.java | 67 +++++ ...ServicesDismissRecommendationResponse.java | 103 ++++++++ ...onResponseDismissRecommendationResult.java | 67 +++++ ...23ServicesEffectiveFrequencyBreakdown.java | 184 ++++++++++++++ ...360V23ServicesEffectiveFrequencyLimit.java | 70 ++++++ 100 files changed, 10753 insertions(+) create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAssetGroupListingGroupFilterOperation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAssetGroupOperation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAssetGroupSignalOperation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAssetOperation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAssetSetAssetOperation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAssetSetOperation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAssetsWithFieldType.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAudienceCompositionAttribute.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAudienceCompositionAttributeCluster.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAudienceCompositionMetrics.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAudienceCompositionSection.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAudienceInsightsDimensions.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAudienceOperation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAudienceOverlapItem.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAudienceTargeting.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesBatchJobOperation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesBatchJobResult.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesBenchmarksLocation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesBenchmarksProductMetadata.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesBenchmarksSource.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesBenchmarksSourceMetadata.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesBiddableKeyword.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesBiddingDataExclusionOperation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesBiddingSeasonalityAdjustmentOperation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesBiddingStrategyOperation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesBillingSetupOperation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesBrandCampaignAssets.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCampaignAssetOperation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCampaignAssetSetOperation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCampaignBidModifierOperation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCampaignBudgetMapping.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCampaignBudgetOperation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCampaignConversionGoalOperation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCampaignCriterionOperation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCampaignCustomizerOperation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCampaignDraftOperation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCampaignDuration.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCampaignGoalConfigOperation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCampaignGroupOperation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCampaignLabelOperation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCampaignLifecycleGoalOperation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCampaignOperation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCampaignSharedSetOperation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCampaignToForecast.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCampaignToForecastCampaignBiddingStrategy.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesConfigureCampaignLifecycleGoalsRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesConfigureCampaignLifecycleGoalsResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesConfigureCampaignLifecycleGoalsResult.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesConfigureCustomerLifecycleGoalsRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesConfigureCustomerLifecycleGoalsResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesConfigureCustomerLifecycleGoalsResult.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesConversation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesConversationOrError.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesConversionActionOperation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesConversionCustomDimensionHeader.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesConversionCustomMetricHeader.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesConversionCustomVariableOperation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesConversionGoalCampaignConfigOperation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesConversionRateSuggestion.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesConversionValueRuleOperation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesConversionValueRuleSetOperation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCreateAccountLinkRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCreateAccountLinkResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCreateCustomerClientRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCreateCustomerClientResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCreateDataLinkRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCreateDataLinkResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCreateOfflineUserDataJobRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCreateOfflineUserDataJobResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCreateProductLinkInvitationRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCreateProductLinkInvitationResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCreateProductLinkRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCreateProductLinkResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCriterionBidModifier.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCustomAudienceOperation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCustomColumnHeader.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCustomConversionGoalOperation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCustomInterestOperation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCustomerAssetOperation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCustomerAssetSetOperation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCustomerClientLinkOperation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCustomerConversionGoalOperation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCustomerCustomizerOperation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCustomerLabelOperation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCustomerLifecycleGoalOperation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCustomerManagerLinkOperation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCustomerNegativeCriterionOperation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCustomerOperation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCustomerSkAdNetworkConversionValueSchemaOperation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCustomerUserAccessInvitationOperation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCustomerUserAccessOperation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCustomizerAttributeOperation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCyoIncentives.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesDimensionOverlapResult.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesDismissRecommendationRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesDismissRecommendationRequestDismissRecommendationOperation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesDismissRecommendationResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesDismissRecommendationResponseDismissRecommendationResult.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesEffectiveFrequencyBreakdown.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesEffectiveFrequencyLimit.java diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAssetGroupListingGroupFilterOperation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAssetGroupListingGroupFilterOperation.java new file mode 100644 index 00000000000..a6ac76afb79 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAssetGroupListingGroupFilterOperation.java @@ -0,0 +1,154 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A single operation (create, remove) on an asset group listing group filter. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesAssetGroupListingGroupFilterOperation extends com.google.api.client.json.GenericJson { + + /** + * Create operation: No resource name is expected for the new asset group listing group filter. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAssetGroupListingGroupFilter create; + + /** + * Remove operation: A resource name for the removed asset group listing group filter is expected, + * in this format: `customers/{customer_id}/assetGroupListingGroupFilters/{asset_group_id}~{listin + * g_group_filter_id}` An entity can be removed only if it's not referenced by other + * parent_listing_group_id. If multiple entities are being deleted, the mutates must be in the + * correct order. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String remove; + + /** + * Update operation: The asset group listing group filter is expected to have a valid resource + * name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAssetGroupListingGroupFilter update; + + /** + * FieldMask that determines which resource fields are modified in an update. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String updateMask; + + /** + * Create operation: No resource name is expected for the new asset group listing group filter. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetGroupListingGroupFilter getCreate() { + return create; + } + + /** + * Create operation: No resource name is expected for the new asset group listing group filter. + * @param create create or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAssetGroupListingGroupFilterOperation setCreate(GoogleAdsSearchads360V23ResourcesAssetGroupListingGroupFilter create) { + this.create = create; + return this; + } + + /** + * Remove operation: A resource name for the removed asset group listing group filter is expected, + * in this format: `customers/{customer_id}/assetGroupListingGroupFilters/{asset_group_id}~{listin + * g_group_filter_id}` An entity can be removed only if it's not referenced by other + * parent_listing_group_id. If multiple entities are being deleted, the mutates must be in the + * correct order. + * @return value or {@code null} for none + */ + public java.lang.String getRemove() { + return remove; + } + + /** + * Remove operation: A resource name for the removed asset group listing group filter is expected, + * in this format: `customers/{customer_id}/assetGroupListingGroupFilters/{asset_group_id}~{listin + * g_group_filter_id}` An entity can be removed only if it's not referenced by other + * parent_listing_group_id. If multiple entities are being deleted, the mutates must be in the + * correct order. + * @param remove remove or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAssetGroupListingGroupFilterOperation setRemove(java.lang.String remove) { + this.remove = remove; + return this; + } + + /** + * Update operation: The asset group listing group filter is expected to have a valid resource + * name. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetGroupListingGroupFilter getUpdate() { + return update; + } + + /** + * Update operation: The asset group listing group filter is expected to have a valid resource + * name. + * @param update update or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAssetGroupListingGroupFilterOperation setUpdate(GoogleAdsSearchads360V23ResourcesAssetGroupListingGroupFilter update) { + this.update = update; + return this; + } + + /** + * FieldMask that determines which resource fields are modified in an update. + * @return value or {@code null} for none + */ + public String getUpdateMask() { + return updateMask; + } + + /** + * FieldMask that determines which resource fields are modified in an update. + * @param updateMask updateMask or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAssetGroupListingGroupFilterOperation setUpdateMask(String updateMask) { + this.updateMask = updateMask; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesAssetGroupListingGroupFilterOperation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesAssetGroupListingGroupFilterOperation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesAssetGroupListingGroupFilterOperation clone() { + return (GoogleAdsSearchads360V23ServicesAssetGroupListingGroupFilterOperation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAssetGroupOperation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAssetGroupOperation.java new file mode 100644 index 00000000000..fb50f6a4616 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAssetGroupOperation.java @@ -0,0 +1,142 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A single operation (create, remove) on an asset group. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesAssetGroupOperation extends com.google.api.client.json.GenericJson { + + /** + * Create operation: No resource name is expected for the new asset group + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAssetGroup create; + + /** + * Remove operation: A resource name for the removed asset group is expected, in this format: + * `customers/{customer_id}/assetGroups/{asset_group_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String remove; + + /** + * Update operation: The asset group is expected to have a valid resource name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAssetGroup update; + + /** + * FieldMask that determines which resource fields are modified in an update. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String updateMask; + + /** + * Create operation: No resource name is expected for the new asset group + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetGroup getCreate() { + return create; + } + + /** + * Create operation: No resource name is expected for the new asset group + * @param create create or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAssetGroupOperation setCreate(GoogleAdsSearchads360V23ResourcesAssetGroup create) { + this.create = create; + return this; + } + + /** + * Remove operation: A resource name for the removed asset group is expected, in this format: + * `customers/{customer_id}/assetGroups/{asset_group_id}` + * @return value or {@code null} for none + */ + public java.lang.String getRemove() { + return remove; + } + + /** + * Remove operation: A resource name for the removed asset group is expected, in this format: + * `customers/{customer_id}/assetGroups/{asset_group_id}` + * @param remove remove or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAssetGroupOperation setRemove(java.lang.String remove) { + this.remove = remove; + return this; + } + + /** + * Update operation: The asset group is expected to have a valid resource name. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetGroup getUpdate() { + return update; + } + + /** + * Update operation: The asset group is expected to have a valid resource name. + * @param update update or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAssetGroupOperation setUpdate(GoogleAdsSearchads360V23ResourcesAssetGroup update) { + this.update = update; + return this; + } + + /** + * FieldMask that determines which resource fields are modified in an update. + * @return value or {@code null} for none + */ + public String getUpdateMask() { + return updateMask; + } + + /** + * FieldMask that determines which resource fields are modified in an update. + * @param updateMask updateMask or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAssetGroupOperation setUpdateMask(String updateMask) { + this.updateMask = updateMask; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesAssetGroupOperation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesAssetGroupOperation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesAssetGroupOperation clone() { + return (GoogleAdsSearchads360V23ServicesAssetGroupOperation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAssetGroupSignalOperation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAssetGroupSignalOperation.java new file mode 100644 index 00000000000..373e7c09be4 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAssetGroupSignalOperation.java @@ -0,0 +1,136 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A single operation (create, remove) on an asset group signal. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesAssetGroupSignalOperation extends com.google.api.client.json.GenericJson { + + /** + * Create operation: No resource name is expected for the new asset group signal. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAssetGroupSignal create; + + /** + * Optional. The list of policy violation keys that should not cause a PolicyViolationError to be + * reported. Not all policy violations are exemptable, refer to the is_exemptible field in the + * returned PolicyViolationError. Resources violating these polices will be saved, but will not be + * eligible to serve. They may begin serving at a later time due to a change in policies, re- + * review of the resource, or a change in advertiser certificates. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List exemptPolicyViolationKeys; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonPolicyViolationKey used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonPolicyViolationKey.class); + } + + /** + * Remove operation: A resource name for the removed asset group signal is expected, in this + * format: `customers/{customer_id}/assetGroupSignals/{asset_group_id}~{criterion_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String remove; + + /** + * Create operation: No resource name is expected for the new asset group signal. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetGroupSignal getCreate() { + return create; + } + + /** + * Create operation: No resource name is expected for the new asset group signal. + * @param create create or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAssetGroupSignalOperation setCreate(GoogleAdsSearchads360V23ResourcesAssetGroupSignal create) { + this.create = create; + return this; + } + + /** + * Optional. The list of policy violation keys that should not cause a PolicyViolationError to be + * reported. Not all policy violations are exemptable, refer to the is_exemptible field in the + * returned PolicyViolationError. Resources violating these polices will be saved, but will not be + * eligible to serve. They may begin serving at a later time due to a change in policies, re- + * review of the resource, or a change in advertiser certificates. + * @return value or {@code null} for none + */ + public java.util.List getExemptPolicyViolationKeys() { + return exemptPolicyViolationKeys; + } + + /** + * Optional. The list of policy violation keys that should not cause a PolicyViolationError to be + * reported. Not all policy violations are exemptable, refer to the is_exemptible field in the + * returned PolicyViolationError. Resources violating these polices will be saved, but will not be + * eligible to serve. They may begin serving at a later time due to a change in policies, re- + * review of the resource, or a change in advertiser certificates. + * @param exemptPolicyViolationKeys exemptPolicyViolationKeys or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAssetGroupSignalOperation setExemptPolicyViolationKeys(java.util.List exemptPolicyViolationKeys) { + this.exemptPolicyViolationKeys = exemptPolicyViolationKeys; + return this; + } + + /** + * Remove operation: A resource name for the removed asset group signal is expected, in this + * format: `customers/{customer_id}/assetGroupSignals/{asset_group_id}~{criterion_id}` + * @return value or {@code null} for none + */ + public java.lang.String getRemove() { + return remove; + } + + /** + * Remove operation: A resource name for the removed asset group signal is expected, in this + * format: `customers/{customer_id}/assetGroupSignals/{asset_group_id}~{criterion_id}` + * @param remove remove or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAssetGroupSignalOperation setRemove(java.lang.String remove) { + this.remove = remove; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesAssetGroupSignalOperation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesAssetGroupSignalOperation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesAssetGroupSignalOperation clone() { + return (GoogleAdsSearchads360V23ServicesAssetGroupSignalOperation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAssetOperation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAssetOperation.java new file mode 100644 index 00000000000..4bbab3488c5 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAssetOperation.java @@ -0,0 +1,120 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A single operation to create an asset. Supported asset types are YoutubeVideoAsset, + * MediaBundleAsset, ImageAsset, LeadFormAsset, LocationAsset, and ImageAsset. TextAsset can be + * created with an Ad inline, but it can also be created apart from an Ad like other assets. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesAssetOperation extends com.google.api.client.json.GenericJson { + + /** + * Create operation: No resource name is expected for the new asset. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAsset create; + + /** + * Update operation: The asset is expected to have a valid resource name in this format: + * `customers/{customer_id}/assets/{asset_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAsset update; + + /** + * FieldMask that determines which resource fields are modified in an update. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String updateMask; + + /** + * Create operation: No resource name is expected for the new asset. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAsset getCreate() { + return create; + } + + /** + * Create operation: No resource name is expected for the new asset. + * @param create create or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAssetOperation setCreate(GoogleAdsSearchads360V23ResourcesAsset create) { + this.create = create; + return this; + } + + /** + * Update operation: The asset is expected to have a valid resource name in this format: + * `customers/{customer_id}/assets/{asset_id}` + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAsset getUpdate() { + return update; + } + + /** + * Update operation: The asset is expected to have a valid resource name in this format: + * `customers/{customer_id}/assets/{asset_id}` + * @param update update or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAssetOperation setUpdate(GoogleAdsSearchads360V23ResourcesAsset update) { + this.update = update; + return this; + } + + /** + * FieldMask that determines which resource fields are modified in an update. + * @return value or {@code null} for none + */ + public String getUpdateMask() { + return updateMask; + } + + /** + * FieldMask that determines which resource fields are modified in an update. + * @param updateMask updateMask or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAssetOperation setUpdateMask(String updateMask) { + this.updateMask = updateMask; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesAssetOperation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesAssetOperation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesAssetOperation clone() { + return (GoogleAdsSearchads360V23ServicesAssetOperation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAssetSetAssetOperation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAssetSetAssetOperation.java new file mode 100644 index 00000000000..93d833c3967 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAssetSetAssetOperation.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A single operation (create, remove) on an asset set asset. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesAssetSetAssetOperation extends com.google.api.client.json.GenericJson { + + /** + * Create operation: No resource name is expected for the new asset set asset + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAssetSetAsset create; + + /** + * Remove operation: A resource name for the removed asset set asset is expected, in this format: + * `customers/{customer_id}/assetSetAssets/{asset_set_id}~{asset_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String remove; + + /** + * Create operation: No resource name is expected for the new asset set asset + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetSetAsset getCreate() { + return create; + } + + /** + * Create operation: No resource name is expected for the new asset set asset + * @param create create or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAssetSetAssetOperation setCreate(GoogleAdsSearchads360V23ResourcesAssetSetAsset create) { + this.create = create; + return this; + } + + /** + * Remove operation: A resource name for the removed asset set asset is expected, in this format: + * `customers/{customer_id}/assetSetAssets/{asset_set_id}~{asset_id}` + * @return value or {@code null} for none + */ + public java.lang.String getRemove() { + return remove; + } + + /** + * Remove operation: A resource name for the removed asset set asset is expected, in this format: + * `customers/{customer_id}/assetSetAssets/{asset_set_id}~{asset_id}` + * @param remove remove or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAssetSetAssetOperation setRemove(java.lang.String remove) { + this.remove = remove; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesAssetSetAssetOperation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesAssetSetAssetOperation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesAssetSetAssetOperation clone() { + return (GoogleAdsSearchads360V23ServicesAssetSetAssetOperation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAssetSetOperation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAssetSetOperation.java new file mode 100644 index 00000000000..eeaa5e3a451 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAssetSetOperation.java @@ -0,0 +1,142 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A single operation (create, remove) on an asset set. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesAssetSetOperation extends com.google.api.client.json.GenericJson { + + /** + * Create operation: No resource name is expected for the new asset set + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAssetSet create; + + /** + * Remove operation: A resource name for the removed asset set is expected, in this format: + * `customers/{customer_id}/assetSets/{asset_set_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String remove; + + /** + * Update operation: The asset set is expected to have a valid resource name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAssetSet update; + + /** + * FieldMask that determines which resource fields are modified in an update. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String updateMask; + + /** + * Create operation: No resource name is expected for the new asset set + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetSet getCreate() { + return create; + } + + /** + * Create operation: No resource name is expected for the new asset set + * @param create create or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAssetSetOperation setCreate(GoogleAdsSearchads360V23ResourcesAssetSet create) { + this.create = create; + return this; + } + + /** + * Remove operation: A resource name for the removed asset set is expected, in this format: + * `customers/{customer_id}/assetSets/{asset_set_id}` + * @return value or {@code null} for none + */ + public java.lang.String getRemove() { + return remove; + } + + /** + * Remove operation: A resource name for the removed asset set is expected, in this format: + * `customers/{customer_id}/assetSets/{asset_set_id}` + * @param remove remove or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAssetSetOperation setRemove(java.lang.String remove) { + this.remove = remove; + return this; + } + + /** + * Update operation: The asset set is expected to have a valid resource name. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetSet getUpdate() { + return update; + } + + /** + * Update operation: The asset set is expected to have a valid resource name. + * @param update update or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAssetSetOperation setUpdate(GoogleAdsSearchads360V23ResourcesAssetSet update) { + this.update = update; + return this; + } + + /** + * FieldMask that determines which resource fields are modified in an update. + * @return value or {@code null} for none + */ + public String getUpdateMask() { + return updateMask; + } + + /** + * FieldMask that determines which resource fields are modified in an update. + * @param updateMask updateMask or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAssetSetOperation setUpdateMask(String updateMask) { + this.updateMask = updateMask; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesAssetSetOperation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesAssetSetOperation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesAssetSetOperation clone() { + return (GoogleAdsSearchads360V23ServicesAssetSetOperation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAssetsWithFieldType.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAssetsWithFieldType.java new file mode 100644 index 00000000000..c94b7f8dcd4 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAssetsWithFieldType.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The combination of system asset and field type to remove. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesAssetsWithFieldType extends com.google.api.client.json.GenericJson { + + /** + * Required. The resource name of the asset to be removed. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String asset; + + /** + * Required. The asset field type. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String assetFieldType; + + /** + * Required. The resource name of the asset to be removed. + * @return value or {@code null} for none + */ + public java.lang.String getAsset() { + return asset; + } + + /** + * Required. The resource name of the asset to be removed. + * @param asset asset or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAssetsWithFieldType setAsset(java.lang.String asset) { + this.asset = asset; + return this; + } + + /** + * Required. The asset field type. + * @return value or {@code null} for none + */ + public java.lang.String getAssetFieldType() { + return assetFieldType; + } + + /** + * Required. The asset field type. + * @param assetFieldType assetFieldType or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAssetsWithFieldType setAssetFieldType(java.lang.String assetFieldType) { + this.assetFieldType = assetFieldType; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesAssetsWithFieldType set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesAssetsWithFieldType) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesAssetsWithFieldType clone() { + return (GoogleAdsSearchads360V23ServicesAssetsWithFieldType) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAudienceCompositionAttribute.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAudienceCompositionAttribute.java new file mode 100644 index 00000000000..f48a389b161 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAudienceCompositionAttribute.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * An audience attribute with metadata and metrics. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesAudienceCompositionAttribute extends com.google.api.client.json.GenericJson { + + /** + * The attribute with its metadata. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonAudienceInsightsAttributeMetadata attributeMetadata; + + /** + * Share and index metrics for the attribute. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesAudienceCompositionMetrics metrics; + + /** + * The attribute with its metadata. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAudienceInsightsAttributeMetadata getAttributeMetadata() { + return attributeMetadata; + } + + /** + * The attribute with its metadata. + * @param attributeMetadata attributeMetadata or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAudienceCompositionAttribute setAttributeMetadata(GoogleAdsSearchads360V23CommonAudienceInsightsAttributeMetadata attributeMetadata) { + this.attributeMetadata = attributeMetadata; + return this; + } + + /** + * Share and index metrics for the attribute. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAudienceCompositionMetrics getMetrics() { + return metrics; + } + + /** + * Share and index metrics for the attribute. + * @param metrics metrics or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAudienceCompositionAttribute setMetrics(GoogleAdsSearchads360V23ServicesAudienceCompositionMetrics metrics) { + this.metrics = metrics; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesAudienceCompositionAttribute set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesAudienceCompositionAttribute) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesAudienceCompositionAttribute clone() { + return (GoogleAdsSearchads360V23ServicesAudienceCompositionAttribute) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAudienceCompositionAttributeCluster.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAudienceCompositionAttributeCluster.java new file mode 100644 index 00000000000..f16c29d061d --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAudienceCompositionAttributeCluster.java @@ -0,0 +1,125 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A collection of related attributes, with metadata and metrics, in an audience composition + * insights report. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesAudienceCompositionAttributeCluster extends com.google.api.client.json.GenericJson { + + /** + * The individual attributes that make up this cluster, with metadata and metrics. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List attributes; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesAudienceCompositionAttribute used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesAudienceCompositionAttribute.class); + } + + /** + * The name of this cluster of attributes + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String clusterDisplayName; + + /** + * If the dimension associated with this cluster is YOUTUBE_CHANNEL, then cluster_metrics are + * metrics associated with the cluster as a whole. For other dimensions, this field is unset. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesAudienceCompositionMetrics clusterMetrics; + + /** + * The individual attributes that make up this cluster, with metadata and metrics. + * @return value or {@code null} for none + */ + public java.util.List getAttributes() { + return attributes; + } + + /** + * The individual attributes that make up this cluster, with metadata and metrics. + * @param attributes attributes or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAudienceCompositionAttributeCluster setAttributes(java.util.List attributes) { + this.attributes = attributes; + return this; + } + + /** + * The name of this cluster of attributes + * @return value or {@code null} for none + */ + public java.lang.String getClusterDisplayName() { + return clusterDisplayName; + } + + /** + * The name of this cluster of attributes + * @param clusterDisplayName clusterDisplayName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAudienceCompositionAttributeCluster setClusterDisplayName(java.lang.String clusterDisplayName) { + this.clusterDisplayName = clusterDisplayName; + return this; + } + + /** + * If the dimension associated with this cluster is YOUTUBE_CHANNEL, then cluster_metrics are + * metrics associated with the cluster as a whole. For other dimensions, this field is unset. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAudienceCompositionMetrics getClusterMetrics() { + return clusterMetrics; + } + + /** + * If the dimension associated with this cluster is YOUTUBE_CHANNEL, then cluster_metrics are + * metrics associated with the cluster as a whole. For other dimensions, this field is unset. + * @param clusterMetrics clusterMetrics or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAudienceCompositionAttributeCluster setClusterMetrics(GoogleAdsSearchads360V23ServicesAudienceCompositionMetrics clusterMetrics) { + this.clusterMetrics = clusterMetrics; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesAudienceCompositionAttributeCluster set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesAudienceCompositionAttributeCluster) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesAudienceCompositionAttributeCluster clone() { + return (GoogleAdsSearchads360V23ServicesAudienceCompositionAttributeCluster) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAudienceCompositionMetrics.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAudienceCompositionMetrics.java new file mode 100644 index 00000000000..d0771d450a8 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAudienceCompositionMetrics.java @@ -0,0 +1,143 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The share and index metrics associated with an attribute in an audience composition insights + * report. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesAudienceCompositionMetrics extends com.google.api.client.json.GenericJson { + + /** + * The fraction (from 0 to 1 inclusive) of the specific audience that match the attribute. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double audienceShare; + + /** + * The fraction (from 0 to 1 inclusive) of the baseline audience that match the attribute. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double baselineAudienceShare; + + /** + * The ratio of audience_share to baseline_audience_share, or zero if this ratio is undefined or + * is not meaningful. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double index; + + /** + * A relevance score from 0 to 1 inclusive. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double score; + + /** + * The fraction (from 0 to 1 inclusive) of the specific audience that match the attribute. + * @return value or {@code null} for none + */ + public java.lang.Double getAudienceShare() { + return audienceShare; + } + + /** + * The fraction (from 0 to 1 inclusive) of the specific audience that match the attribute. + * @param audienceShare audienceShare or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAudienceCompositionMetrics setAudienceShare(java.lang.Double audienceShare) { + this.audienceShare = audienceShare; + return this; + } + + /** + * The fraction (from 0 to 1 inclusive) of the baseline audience that match the attribute. + * @return value or {@code null} for none + */ + public java.lang.Double getBaselineAudienceShare() { + return baselineAudienceShare; + } + + /** + * The fraction (from 0 to 1 inclusive) of the baseline audience that match the attribute. + * @param baselineAudienceShare baselineAudienceShare or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAudienceCompositionMetrics setBaselineAudienceShare(java.lang.Double baselineAudienceShare) { + this.baselineAudienceShare = baselineAudienceShare; + return this; + } + + /** + * The ratio of audience_share to baseline_audience_share, or zero if this ratio is undefined or + * is not meaningful. + * @return value or {@code null} for none + */ + public java.lang.Double getIndex() { + return index; + } + + /** + * The ratio of audience_share to baseline_audience_share, or zero if this ratio is undefined or + * is not meaningful. + * @param index index or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAudienceCompositionMetrics setIndex(java.lang.Double index) { + this.index = index; + return this; + } + + /** + * A relevance score from 0 to 1 inclusive. + * @return value or {@code null} for none + */ + public java.lang.Double getScore() { + return score; + } + + /** + * A relevance score from 0 to 1 inclusive. + * @param score score or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAudienceCompositionMetrics setScore(java.lang.Double score) { + this.score = score; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesAudienceCompositionMetrics set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesAudienceCompositionMetrics) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesAudienceCompositionMetrics clone() { + return (GoogleAdsSearchads360V23ServicesAudienceCompositionMetrics) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAudienceCompositionSection.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAudienceCompositionSection.java new file mode 100644 index 00000000000..df33852edd9 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAudienceCompositionSection.java @@ -0,0 +1,133 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A collection of related attributes of the same type in an audience composition insights report. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesAudienceCompositionSection extends com.google.api.client.json.GenericJson { + + /** + * Additional attributes for this audience, grouped into clusters. Only populated if dimension is + * YOUTUBE_CHANNEL. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List clusteredAttributes; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesAudienceCompositionAttributeCluster used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesAudienceCompositionAttributeCluster.class); + } + + /** + * The type of the attributes in this section. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String dimension; + + /** + * The most relevant segments for this audience. If dimension is GENDER, AGE_RANGE or + * PARENTAL_STATUS, then this list of attributes is exhaustive. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List topAttributes; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesAudienceCompositionAttribute used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesAudienceCompositionAttribute.class); + } + + /** + * Additional attributes for this audience, grouped into clusters. Only populated if dimension is + * YOUTUBE_CHANNEL. + * @return value or {@code null} for none + */ + public java.util.List getClusteredAttributes() { + return clusteredAttributes; + } + + /** + * Additional attributes for this audience, grouped into clusters. Only populated if dimension is + * YOUTUBE_CHANNEL. + * @param clusteredAttributes clusteredAttributes or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAudienceCompositionSection setClusteredAttributes(java.util.List clusteredAttributes) { + this.clusteredAttributes = clusteredAttributes; + return this; + } + + /** + * The type of the attributes in this section. + * @return value or {@code null} for none + */ + public java.lang.String getDimension() { + return dimension; + } + + /** + * The type of the attributes in this section. + * @param dimension dimension or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAudienceCompositionSection setDimension(java.lang.String dimension) { + this.dimension = dimension; + return this; + } + + /** + * The most relevant segments for this audience. If dimension is GENDER, AGE_RANGE or + * PARENTAL_STATUS, then this list of attributes is exhaustive. + * @return value or {@code null} for none + */ + public java.util.List getTopAttributes() { + return topAttributes; + } + + /** + * The most relevant segments for this audience. If dimension is GENDER, AGE_RANGE or + * PARENTAL_STATUS, then this list of attributes is exhaustive. + * @param topAttributes topAttributes or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAudienceCompositionSection setTopAttributes(java.util.List topAttributes) { + this.topAttributes = topAttributes; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesAudienceCompositionSection set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesAudienceCompositionSection) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesAudienceCompositionSection clone() { + return (GoogleAdsSearchads360V23ServicesAudienceCompositionSection) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAudienceInsightsDimensions.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAudienceInsightsDimensions.java new file mode 100644 index 00000000000..0438266a00b --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAudienceInsightsDimensions.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A collection of dimensions to be used for generating insights. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesAudienceInsightsDimensions extends com.google.api.client.json.GenericJson { + + /** + * Required. A list of dimensions. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List dimensions; + + /** + * Required. A list of dimensions. + * @return value or {@code null} for none + */ + public java.util.List getDimensions() { + return dimensions; + } + + /** + * Required. A list of dimensions. + * @param dimensions dimensions or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAudienceInsightsDimensions setDimensions(java.util.List dimensions) { + this.dimensions = dimensions; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesAudienceInsightsDimensions set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesAudienceInsightsDimensions) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesAudienceInsightsDimensions clone() { + return (GoogleAdsSearchads360V23ServicesAudienceInsightsDimensions) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAudienceOperation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAudienceOperation.java new file mode 100644 index 00000000000..ccfc87171c4 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAudienceOperation.java @@ -0,0 +1,115 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A single operation (create, update) on an audience. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesAudienceOperation extends com.google.api.client.json.GenericJson { + + /** + * Create operation: No resource name is expected for the new audience + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAudience create; + + /** + * Update operation: The audience is expected to have a valid resource name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAudience update; + + /** + * FieldMask that determines which resource fields are modified in an update. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String updateMask; + + /** + * Create operation: No resource name is expected for the new audience + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAudience getCreate() { + return create; + } + + /** + * Create operation: No resource name is expected for the new audience + * @param create create or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAudienceOperation setCreate(GoogleAdsSearchads360V23ResourcesAudience create) { + this.create = create; + return this; + } + + /** + * Update operation: The audience is expected to have a valid resource name. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAudience getUpdate() { + return update; + } + + /** + * Update operation: The audience is expected to have a valid resource name. + * @param update update or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAudienceOperation setUpdate(GoogleAdsSearchads360V23ResourcesAudience update) { + this.update = update; + return this; + } + + /** + * FieldMask that determines which resource fields are modified in an update. + * @return value or {@code null} for none + */ + public String getUpdateMask() { + return updateMask; + } + + /** + * FieldMask that determines which resource fields are modified in an update. + * @param updateMask updateMask or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAudienceOperation setUpdateMask(String updateMask) { + this.updateMask = updateMask; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesAudienceOperation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesAudienceOperation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesAudienceOperation clone() { + return (GoogleAdsSearchads360V23ServicesAudienceOperation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAudienceOverlapItem.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAudienceOverlapItem.java new file mode 100644 index 00000000000..96b239b0c60 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAudienceOverlapItem.java @@ -0,0 +1,98 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * An audience attribute, with metadata including the overlap between this attribute's potential + * YouTube reach and that of a primary attribute. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesAudienceOverlapItem extends com.google.api.client.json.GenericJson { + + /** + * The attribute and its metadata, including potential YouTube reach. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonAudienceInsightsAttributeMetadata attributeMetadata; + + /** + * The estimated size of the intersection of this audience attribute with the primary attribute, + * that is, the number of reachable YouTube users who match BOTH the primary attribute and this + * one. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long potentialYoutubeReachIntersection; + + /** + * The attribute and its metadata, including potential YouTube reach. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAudienceInsightsAttributeMetadata getAttributeMetadata() { + return attributeMetadata; + } + + /** + * The attribute and its metadata, including potential YouTube reach. + * @param attributeMetadata attributeMetadata or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAudienceOverlapItem setAttributeMetadata(GoogleAdsSearchads360V23CommonAudienceInsightsAttributeMetadata attributeMetadata) { + this.attributeMetadata = attributeMetadata; + return this; + } + + /** + * The estimated size of the intersection of this audience attribute with the primary attribute, + * that is, the number of reachable YouTube users who match BOTH the primary attribute and this + * one. + * @return value or {@code null} for none + */ + public java.lang.Long getPotentialYoutubeReachIntersection() { + return potentialYoutubeReachIntersection; + } + + /** + * The estimated size of the intersection of this audience attribute with the primary attribute, + * that is, the number of reachable YouTube users who match BOTH the primary attribute and this + * one. + * @param potentialYoutubeReachIntersection potentialYoutubeReachIntersection or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAudienceOverlapItem setPotentialYoutubeReachIntersection(java.lang.Long potentialYoutubeReachIntersection) { + this.potentialYoutubeReachIntersection = potentialYoutubeReachIntersection; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesAudienceOverlapItem set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesAudienceOverlapItem) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesAudienceOverlapItem clone() { + return (GoogleAdsSearchads360V23ServicesAudienceOverlapItem) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAudienceTargeting.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAudienceTargeting.java new file mode 100644 index 00000000000..1d53a481c90 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesAudienceTargeting.java @@ -0,0 +1,103 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Audience targeting for reach forecast. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesAudienceTargeting extends com.google.api.client.json.GenericJson { + + /** + * List of audiences based on user interests to be targeted. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List userInterest; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonUserInterestInfo used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonUserInterestInfo.class); + } + + /** + * List of audiences based on user lists to be targeted. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List userLists; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonUserListInfo used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonUserListInfo.class); + } + + /** + * List of audiences based on user interests to be targeted. + * @return value or {@code null} for none + */ + public java.util.List getUserInterest() { + return userInterest; + } + + /** + * List of audiences based on user interests to be targeted. + * @param userInterest userInterest or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAudienceTargeting setUserInterest(java.util.List userInterest) { + this.userInterest = userInterest; + return this; + } + + /** + * List of audiences based on user lists to be targeted. + * @return value or {@code null} for none + */ + public java.util.List getUserLists() { + return userLists; + } + + /** + * List of audiences based on user lists to be targeted. + * @param userLists userLists or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAudienceTargeting setUserLists(java.util.List userLists) { + this.userLists = userLists; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesAudienceTargeting set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesAudienceTargeting) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesAudienceTargeting clone() { + return (GoogleAdsSearchads360V23ServicesAudienceTargeting) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesBatchJobOperation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesBatchJobOperation.java new file mode 100644 index 00000000000..7265d20adbd --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesBatchJobOperation.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A single operation on a batch job. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesBatchJobOperation extends com.google.api.client.json.GenericJson { + + /** + * Create operation: No resource name is expected for the new batch job. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesBatchJob create; + + /** + * Remove operation: The batch job must not have been run. A resource name for the removed batch + * job is expected, in this format: `customers/{customer_id}/batchJobs/{batch_job_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String remove; + + /** + * Create operation: No resource name is expected for the new batch job. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBatchJob getCreate() { + return create; + } + + /** + * Create operation: No resource name is expected for the new batch job. + * @param create create or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesBatchJobOperation setCreate(GoogleAdsSearchads360V23ResourcesBatchJob create) { + this.create = create; + return this; + } + + /** + * Remove operation: The batch job must not have been run. A resource name for the removed batch + * job is expected, in this format: `customers/{customer_id}/batchJobs/{batch_job_id}` + * @return value or {@code null} for none + */ + public java.lang.String getRemove() { + return remove; + } + + /** + * Remove operation: The batch job must not have been run. A resource name for the removed batch + * job is expected, in this format: `customers/{customer_id}/batchJobs/{batch_job_id}` + * @param remove remove or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesBatchJobOperation setRemove(java.lang.String remove) { + this.remove = remove; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesBatchJobOperation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesBatchJobOperation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesBatchJobOperation clone() { + return (GoogleAdsSearchads360V23ServicesBatchJobOperation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesBatchJobResult.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesBatchJobResult.java new file mode 100644 index 00000000000..e664403a778 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesBatchJobResult.java @@ -0,0 +1,115 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * An individual batch job result. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesBatchJobResult extends com.google.api.client.json.GenericJson { + + /** + * Response for the mutate. May be empty if errors occurred. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesMutateOperationResponse mutateOperationResponse; + + /** + * Index of the mutate operation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long operationIndex; + + /** + * Details of the errors when processing the operation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleRpcStatus status; + + /** + * Response for the mutate. May be empty if errors occurred. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperationResponse getMutateOperationResponse() { + return mutateOperationResponse; + } + + /** + * Response for the mutate. May be empty if errors occurred. + * @param mutateOperationResponse mutateOperationResponse or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesBatchJobResult setMutateOperationResponse(GoogleAdsSearchads360V23ServicesMutateOperationResponse mutateOperationResponse) { + this.mutateOperationResponse = mutateOperationResponse; + return this; + } + + /** + * Index of the mutate operation. + * @return value or {@code null} for none + */ + public java.lang.Long getOperationIndex() { + return operationIndex; + } + + /** + * Index of the mutate operation. + * @param operationIndex operationIndex or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesBatchJobResult setOperationIndex(java.lang.Long operationIndex) { + this.operationIndex = operationIndex; + return this; + } + + /** + * Details of the errors when processing the operation. + * @return value or {@code null} for none + */ + public GoogleRpcStatus getStatus() { + return status; + } + + /** + * Details of the errors when processing the operation. + * @param status status or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesBatchJobResult setStatus(GoogleRpcStatus status) { + this.status = status; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesBatchJobResult set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesBatchJobResult) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesBatchJobResult clone() { + return (GoogleAdsSearchads360V23ServicesBatchJobResult) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesBenchmarksLocation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesBenchmarksLocation.java new file mode 100644 index 00000000000..d74c67117e2 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesBenchmarksLocation.java @@ -0,0 +1,118 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A location that supports benchmarks data. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesBenchmarksLocation extends com.google.api.client.json.GenericJson { + + /** + * Information on the geographic location, including the location ID. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonLocationInfo locationInfo; + + /** + * The unique location name in English. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String locationName; + + /** + * The location's type. Location types correspond to target_type returned by searching location + * type in GoogleAdsService.Search/SearchStream. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String locationType; + + /** + * Information on the geographic location, including the location ID. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLocationInfo getLocationInfo() { + return locationInfo; + } + + /** + * Information on the geographic location, including the location ID. + * @param locationInfo locationInfo or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesBenchmarksLocation setLocationInfo(GoogleAdsSearchads360V23CommonLocationInfo locationInfo) { + this.locationInfo = locationInfo; + return this; + } + + /** + * The unique location name in English. + * @return value or {@code null} for none + */ + public java.lang.String getLocationName() { + return locationName; + } + + /** + * The unique location name in English. + * @param locationName locationName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesBenchmarksLocation setLocationName(java.lang.String locationName) { + this.locationName = locationName; + return this; + } + + /** + * The location's type. Location types correspond to target_type returned by searching location + * type in GoogleAdsService.Search/SearchStream. + * @return value or {@code null} for none + */ + public java.lang.String getLocationType() { + return locationType; + } + + /** + * The location's type. Location types correspond to target_type returned by searching location + * type in GoogleAdsService.Search/SearchStream. + * @param locationType locationType or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesBenchmarksLocation setLocationType(java.lang.String locationType) { + this.locationType = locationType; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesBenchmarksLocation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesBenchmarksLocation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesBenchmarksLocation clone() { + return (GoogleAdsSearchads360V23ServicesBenchmarksLocation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesBenchmarksProductMetadata.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesBenchmarksProductMetadata.java new file mode 100644 index 00000000000..2f3837b6be1 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesBenchmarksProductMetadata.java @@ -0,0 +1,121 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The metadata associated with a product supported for benchmarks data. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesBenchmarksProductMetadata extends com.google.api.client.json.GenericJson { + + /** + * The marketing objective associated with the product. A marketing objective is a broader + * classification of products. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String marketingObjective; + + /** + * The identifier of the product. The identifier can be used as inputs for + * BenchmarksService.GenerateBenchmarksMetrics. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String productCode; + + /** + * The name of the product. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String productName; + + /** + * The marketing objective associated with the product. A marketing objective is a broader + * classification of products. + * @return value or {@code null} for none + */ + public java.lang.String getMarketingObjective() { + return marketingObjective; + } + + /** + * The marketing objective associated with the product. A marketing objective is a broader + * classification of products. + * @param marketingObjective marketingObjective or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesBenchmarksProductMetadata setMarketingObjective(java.lang.String marketingObjective) { + this.marketingObjective = marketingObjective; + return this; + } + + /** + * The identifier of the product. The identifier can be used as inputs for + * BenchmarksService.GenerateBenchmarksMetrics. + * @return value or {@code null} for none + */ + public java.lang.String getProductCode() { + return productCode; + } + + /** + * The identifier of the product. The identifier can be used as inputs for + * BenchmarksService.GenerateBenchmarksMetrics. + * @param productCode productCode or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesBenchmarksProductMetadata setProductCode(java.lang.String productCode) { + this.productCode = productCode; + return this; + } + + /** + * The name of the product. + * @return value or {@code null} for none + */ + public java.lang.String getProductName() { + return productName; + } + + /** + * The name of the product. + * @param productName productName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesBenchmarksProductMetadata setProductName(java.lang.String productName) { + this.productName = productName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesBenchmarksProductMetadata set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesBenchmarksProductMetadata) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesBenchmarksProductMetadata clone() { + return (GoogleAdsSearchads360V23ServicesBenchmarksProductMetadata) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesBenchmarksSource.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesBenchmarksSource.java new file mode 100644 index 00000000000..7ab70029b64 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesBenchmarksSource.java @@ -0,0 +1,68 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The source used to generate benchmarks metrics for. The ID of the source can be obtained from + * BenchmarksService.ListBenchmarksSources. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesBenchmarksSource extends com.google.api.client.json.GenericJson { + + /** + * The ID of the Industry Vertical. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long industryVerticalId; + + /** + * The ID of the Industry Vertical. + * @return value or {@code null} for none + */ + public java.lang.Long getIndustryVerticalId() { + return industryVerticalId; + } + + /** + * The ID of the Industry Vertical. + * @param industryVerticalId industryVerticalId or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesBenchmarksSource setIndustryVerticalId(java.lang.Long industryVerticalId) { + this.industryVerticalId = industryVerticalId; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesBenchmarksSource set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesBenchmarksSource) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesBenchmarksSource clone() { + return (GoogleAdsSearchads360V23ServicesBenchmarksSource) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesBenchmarksSourceMetadata.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesBenchmarksSourceMetadata.java new file mode 100644 index 00000000000..cc0616e31a2 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesBenchmarksSourceMetadata.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The metadata associated with a benchmarks source. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesBenchmarksSourceMetadata extends com.google.api.client.json.GenericJson { + + /** + * The type of benchmarks source. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String benchmarksSourceType; + + /** + * Information on the Industry Vertical. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesIndustryVerticalInfo industryVerticalInfo; + + /** + * The type of benchmarks source. + * @return value or {@code null} for none + */ + public java.lang.String getBenchmarksSourceType() { + return benchmarksSourceType; + } + + /** + * The type of benchmarks source. + * @param benchmarksSourceType benchmarksSourceType or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesBenchmarksSourceMetadata setBenchmarksSourceType(java.lang.String benchmarksSourceType) { + this.benchmarksSourceType = benchmarksSourceType; + return this; + } + + /** + * Information on the Industry Vertical. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesIndustryVerticalInfo getIndustryVerticalInfo() { + return industryVerticalInfo; + } + + /** + * Information on the Industry Vertical. + * @param industryVerticalInfo industryVerticalInfo or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesBenchmarksSourceMetadata setIndustryVerticalInfo(GoogleAdsSearchads360V23ServicesIndustryVerticalInfo industryVerticalInfo) { + this.industryVerticalInfo = industryVerticalInfo; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesBenchmarksSourceMetadata set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesBenchmarksSourceMetadata) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesBenchmarksSourceMetadata clone() { + return (GoogleAdsSearchads360V23ServicesBenchmarksSourceMetadata) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesBiddableKeyword.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesBiddableKeyword.java new file mode 100644 index 00000000000..66fb9f1bf27 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesBiddableKeyword.java @@ -0,0 +1,97 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A biddable keyword part of an ad group. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesBiddableKeyword extends com.google.api.client.json.GenericJson { + + /** + * Required. Keyword. Must have text and match type. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonKeywordInfo keyword; + + /** + * A max cpc bid in micros that overrides the ad group level max cpc bid in forecast simulation. + * This value will override the max cpc value set in the bidding strategy and ad group. Only + * specify this field for bidding strategies that support max cpc values. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long maxCpcBidMicros; + + /** + * Required. Keyword. Must have text and match type. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonKeywordInfo getKeyword() { + return keyword; + } + + /** + * Required. Keyword. Must have text and match type. + * @param keyword keyword or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesBiddableKeyword setKeyword(GoogleAdsSearchads360V23CommonKeywordInfo keyword) { + this.keyword = keyword; + return this; + } + + /** + * A max cpc bid in micros that overrides the ad group level max cpc bid in forecast simulation. + * This value will override the max cpc value set in the bidding strategy and ad group. Only + * specify this field for bidding strategies that support max cpc values. + * @return value or {@code null} for none + */ + public java.lang.Long getMaxCpcBidMicros() { + return maxCpcBidMicros; + } + + /** + * A max cpc bid in micros that overrides the ad group level max cpc bid in forecast simulation. + * This value will override the max cpc value set in the bidding strategy and ad group. Only + * specify this field for bidding strategies that support max cpc values. + * @param maxCpcBidMicros maxCpcBidMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesBiddableKeyword setMaxCpcBidMicros(java.lang.Long maxCpcBidMicros) { + this.maxCpcBidMicros = maxCpcBidMicros; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesBiddableKeyword set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesBiddableKeyword) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesBiddableKeyword clone() { + return (GoogleAdsSearchads360V23ServicesBiddableKeyword) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesBiddingDataExclusionOperation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesBiddingDataExclusionOperation.java new file mode 100644 index 00000000000..bb8929778f2 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesBiddingDataExclusionOperation.java @@ -0,0 +1,142 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A single operation (create, remove, update) on a data exclusion. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesBiddingDataExclusionOperation extends com.google.api.client.json.GenericJson { + + /** + * Create operation: No resource name is expected for the new data exclusion. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesBiddingDataExclusion create; + + /** + * Remove operation: A resource name for the removed data exclusion is expected, in this format: + * `customers/{customer_id}/biddingDataExclusions/{data_exclusion_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String remove; + + /** + * Update operation: The data exclusion is expected to have a valid resource name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesBiddingDataExclusion update; + + /** + * FieldMask that determines which resource fields are modified in an update. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String updateMask; + + /** + * Create operation: No resource name is expected for the new data exclusion. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBiddingDataExclusion getCreate() { + return create; + } + + /** + * Create operation: No resource name is expected for the new data exclusion. + * @param create create or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesBiddingDataExclusionOperation setCreate(GoogleAdsSearchads360V23ResourcesBiddingDataExclusion create) { + this.create = create; + return this; + } + + /** + * Remove operation: A resource name for the removed data exclusion is expected, in this format: + * `customers/{customer_id}/biddingDataExclusions/{data_exclusion_id}` + * @return value or {@code null} for none + */ + public java.lang.String getRemove() { + return remove; + } + + /** + * Remove operation: A resource name for the removed data exclusion is expected, in this format: + * `customers/{customer_id}/biddingDataExclusions/{data_exclusion_id}` + * @param remove remove or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesBiddingDataExclusionOperation setRemove(java.lang.String remove) { + this.remove = remove; + return this; + } + + /** + * Update operation: The data exclusion is expected to have a valid resource name. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBiddingDataExclusion getUpdate() { + return update; + } + + /** + * Update operation: The data exclusion is expected to have a valid resource name. + * @param update update or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesBiddingDataExclusionOperation setUpdate(GoogleAdsSearchads360V23ResourcesBiddingDataExclusion update) { + this.update = update; + return this; + } + + /** + * FieldMask that determines which resource fields are modified in an update. + * @return value or {@code null} for none + */ + public String getUpdateMask() { + return updateMask; + } + + /** + * FieldMask that determines which resource fields are modified in an update. + * @param updateMask updateMask or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesBiddingDataExclusionOperation setUpdateMask(String updateMask) { + this.updateMask = updateMask; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesBiddingDataExclusionOperation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesBiddingDataExclusionOperation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesBiddingDataExclusionOperation clone() { + return (GoogleAdsSearchads360V23ServicesBiddingDataExclusionOperation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesBiddingSeasonalityAdjustmentOperation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesBiddingSeasonalityAdjustmentOperation.java new file mode 100644 index 00000000000..1c12d6d32b6 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesBiddingSeasonalityAdjustmentOperation.java @@ -0,0 +1,142 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A single operation (create, remove, update) on a seasonality adjustment. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesBiddingSeasonalityAdjustmentOperation extends com.google.api.client.json.GenericJson { + + /** + * Create operation: No resource name is expected for the new seasonality adjustment. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesBiddingSeasonalityAdjustment create; + + /** + * Remove operation: A resource name for the removed seasonality adjustment is expected, in this + * format: `customers/{customer_id}/biddingSeasonalityAdjustments/{seasonality_adjustment_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String remove; + + /** + * Update operation: The seasonality adjustment is expected to have a valid resource name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesBiddingSeasonalityAdjustment update; + + /** + * FieldMask that determines which resource fields are modified in an update. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String updateMask; + + /** + * Create operation: No resource name is expected for the new seasonality adjustment. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBiddingSeasonalityAdjustment getCreate() { + return create; + } + + /** + * Create operation: No resource name is expected for the new seasonality adjustment. + * @param create create or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesBiddingSeasonalityAdjustmentOperation setCreate(GoogleAdsSearchads360V23ResourcesBiddingSeasonalityAdjustment create) { + this.create = create; + return this; + } + + /** + * Remove operation: A resource name for the removed seasonality adjustment is expected, in this + * format: `customers/{customer_id}/biddingSeasonalityAdjustments/{seasonality_adjustment_id}` + * @return value or {@code null} for none + */ + public java.lang.String getRemove() { + return remove; + } + + /** + * Remove operation: A resource name for the removed seasonality adjustment is expected, in this + * format: `customers/{customer_id}/biddingSeasonalityAdjustments/{seasonality_adjustment_id}` + * @param remove remove or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesBiddingSeasonalityAdjustmentOperation setRemove(java.lang.String remove) { + this.remove = remove; + return this; + } + + /** + * Update operation: The seasonality adjustment is expected to have a valid resource name. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBiddingSeasonalityAdjustment getUpdate() { + return update; + } + + /** + * Update operation: The seasonality adjustment is expected to have a valid resource name. + * @param update update or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesBiddingSeasonalityAdjustmentOperation setUpdate(GoogleAdsSearchads360V23ResourcesBiddingSeasonalityAdjustment update) { + this.update = update; + return this; + } + + /** + * FieldMask that determines which resource fields are modified in an update. + * @return value or {@code null} for none + */ + public String getUpdateMask() { + return updateMask; + } + + /** + * FieldMask that determines which resource fields are modified in an update. + * @param updateMask updateMask or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesBiddingSeasonalityAdjustmentOperation setUpdateMask(String updateMask) { + this.updateMask = updateMask; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesBiddingSeasonalityAdjustmentOperation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesBiddingSeasonalityAdjustmentOperation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesBiddingSeasonalityAdjustmentOperation clone() { + return (GoogleAdsSearchads360V23ServicesBiddingSeasonalityAdjustmentOperation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesBiddingStrategyOperation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesBiddingStrategyOperation.java new file mode 100644 index 00000000000..00cbc8606d5 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesBiddingStrategyOperation.java @@ -0,0 +1,142 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A single operation (create, update, remove) on a bidding strategy. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesBiddingStrategyOperation extends com.google.api.client.json.GenericJson { + + /** + * Create operation: No resource name is expected for the new bidding strategy. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesBiddingStrategy create; + + /** + * Remove operation: A resource name for the removed bidding strategy is expected, in this format: + * `customers/{customer_id}/biddingStrategies/{bidding_strategy_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String remove; + + /** + * Update operation: The bidding strategy is expected to have a valid resource name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesBiddingStrategy update; + + /** + * FieldMask that determines which resource fields are modified in an update. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String updateMask; + + /** + * Create operation: No resource name is expected for the new bidding strategy. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBiddingStrategy getCreate() { + return create; + } + + /** + * Create operation: No resource name is expected for the new bidding strategy. + * @param create create or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesBiddingStrategyOperation setCreate(GoogleAdsSearchads360V23ResourcesBiddingStrategy create) { + this.create = create; + return this; + } + + /** + * Remove operation: A resource name for the removed bidding strategy is expected, in this format: + * `customers/{customer_id}/biddingStrategies/{bidding_strategy_id}` + * @return value or {@code null} for none + */ + public java.lang.String getRemove() { + return remove; + } + + /** + * Remove operation: A resource name for the removed bidding strategy is expected, in this format: + * `customers/{customer_id}/biddingStrategies/{bidding_strategy_id}` + * @param remove remove or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesBiddingStrategyOperation setRemove(java.lang.String remove) { + this.remove = remove; + return this; + } + + /** + * Update operation: The bidding strategy is expected to have a valid resource name. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBiddingStrategy getUpdate() { + return update; + } + + /** + * Update operation: The bidding strategy is expected to have a valid resource name. + * @param update update or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesBiddingStrategyOperation setUpdate(GoogleAdsSearchads360V23ResourcesBiddingStrategy update) { + this.update = update; + return this; + } + + /** + * FieldMask that determines which resource fields are modified in an update. + * @return value or {@code null} for none + */ + public String getUpdateMask() { + return updateMask; + } + + /** + * FieldMask that determines which resource fields are modified in an update. + * @param updateMask updateMask or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesBiddingStrategyOperation setUpdateMask(String updateMask) { + this.updateMask = updateMask; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesBiddingStrategyOperation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesBiddingStrategyOperation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesBiddingStrategyOperation clone() { + return (GoogleAdsSearchads360V23ServicesBiddingStrategyOperation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesBillingSetupOperation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesBillingSetupOperation.java new file mode 100644 index 00000000000..c6c6ee49c59 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesBillingSetupOperation.java @@ -0,0 +1,98 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A single operation on a billing setup, which describes the cancellation of an existing billing + * setup. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesBillingSetupOperation extends com.google.api.client.json.GenericJson { + + /** + * Creates a billing setup. No resource name is expected for the new billing setup. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesBillingSetup create; + + /** + * Resource name of the billing setup to remove. A setup cannot be removed unless it is in a + * pending state or its scheduled start time is in the future. The resource name looks like + * `customers/{customer_id}/billingSetups/{billing_id}`. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String remove; + + /** + * Creates a billing setup. No resource name is expected for the new billing setup. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBillingSetup getCreate() { + return create; + } + + /** + * Creates a billing setup. No resource name is expected for the new billing setup. + * @param create create or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesBillingSetupOperation setCreate(GoogleAdsSearchads360V23ResourcesBillingSetup create) { + this.create = create; + return this; + } + + /** + * Resource name of the billing setup to remove. A setup cannot be removed unless it is in a + * pending state or its scheduled start time is in the future. The resource name looks like + * `customers/{customer_id}/billingSetups/{billing_id}`. + * @return value or {@code null} for none + */ + public java.lang.String getRemove() { + return remove; + } + + /** + * Resource name of the billing setup to remove. A setup cannot be removed unless it is in a + * pending state or its scheduled start time is in the future. The resource name looks like + * `customers/{customer_id}/billingSetups/{billing_id}`. + * @param remove remove or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesBillingSetupOperation setRemove(java.lang.String remove) { + this.remove = remove; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesBillingSetupOperation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesBillingSetupOperation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesBillingSetupOperation clone() { + return (GoogleAdsSearchads360V23ServicesBillingSetupOperation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesBrandCampaignAssets.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesBrandCampaignAssets.java new file mode 100644 index 00000000000..5663e75688f --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesBrandCampaignAssets.java @@ -0,0 +1,115 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Assets linked at the campaign level. A business_name and at least one logo_asset are required. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesBrandCampaignAssets extends com.google.api.client.json.GenericJson { + + /** + * Required. The resource name of the business name text asset. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String businessNameAsset; + + /** + * Optional. The resource name of landscape logo assets. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List landscapeLogoAsset; + + /** + * Required. The resource name of square logo assets. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List logoAsset; + + /** + * Required. The resource name of the business name text asset. + * @return value or {@code null} for none + */ + public java.lang.String getBusinessNameAsset() { + return businessNameAsset; + } + + /** + * Required. The resource name of the business name text asset. + * @param businessNameAsset businessNameAsset or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesBrandCampaignAssets setBusinessNameAsset(java.lang.String businessNameAsset) { + this.businessNameAsset = businessNameAsset; + return this; + } + + /** + * Optional. The resource name of landscape logo assets. + * @return value or {@code null} for none + */ + public java.util.List getLandscapeLogoAsset() { + return landscapeLogoAsset; + } + + /** + * Optional. The resource name of landscape logo assets. + * @param landscapeLogoAsset landscapeLogoAsset or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesBrandCampaignAssets setLandscapeLogoAsset(java.util.List landscapeLogoAsset) { + this.landscapeLogoAsset = landscapeLogoAsset; + return this; + } + + /** + * Required. The resource name of square logo assets. + * @return value or {@code null} for none + */ + public java.util.List getLogoAsset() { + return logoAsset; + } + + /** + * Required. The resource name of square logo assets. + * @param logoAsset logoAsset or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesBrandCampaignAssets setLogoAsset(java.util.List logoAsset) { + this.logoAsset = logoAsset; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesBrandCampaignAssets set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesBrandCampaignAssets) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesBrandCampaignAssets clone() { + return (GoogleAdsSearchads360V23ServicesBrandCampaignAssets) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCampaignAssetOperation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCampaignAssetOperation.java new file mode 100644 index 00000000000..3492cd04cbf --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCampaignAssetOperation.java @@ -0,0 +1,142 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A single operation (create, remove) on a campaign asset. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesCampaignAssetOperation extends com.google.api.client.json.GenericJson { + + /** + * Create operation: No resource name is expected for the new campaign asset. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCampaignAsset create; + + /** + * Remove operation: A resource name for the removed campaign asset is expected, in this format: + * `customers/{customer_id}/campaignAssets/{campaign_id}~{asset_id}~{field_type}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String remove; + + /** + * Update operation: The campaign asset is expected to have a valid resource name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCampaignAsset update; + + /** + * FieldMask that determines which resource fields are modified in an update. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String updateMask; + + /** + * Create operation: No resource name is expected for the new campaign asset. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignAsset getCreate() { + return create; + } + + /** + * Create operation: No resource name is expected for the new campaign asset. + * @param create create or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCampaignAssetOperation setCreate(GoogleAdsSearchads360V23ResourcesCampaignAsset create) { + this.create = create; + return this; + } + + /** + * Remove operation: A resource name for the removed campaign asset is expected, in this format: + * `customers/{customer_id}/campaignAssets/{campaign_id}~{asset_id}~{field_type}` + * @return value or {@code null} for none + */ + public java.lang.String getRemove() { + return remove; + } + + /** + * Remove operation: A resource name for the removed campaign asset is expected, in this format: + * `customers/{customer_id}/campaignAssets/{campaign_id}~{asset_id}~{field_type}` + * @param remove remove or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCampaignAssetOperation setRemove(java.lang.String remove) { + this.remove = remove; + return this; + } + + /** + * Update operation: The campaign asset is expected to have a valid resource name. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignAsset getUpdate() { + return update; + } + + /** + * Update operation: The campaign asset is expected to have a valid resource name. + * @param update update or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCampaignAssetOperation setUpdate(GoogleAdsSearchads360V23ResourcesCampaignAsset update) { + this.update = update; + return this; + } + + /** + * FieldMask that determines which resource fields are modified in an update. + * @return value or {@code null} for none + */ + public String getUpdateMask() { + return updateMask; + } + + /** + * FieldMask that determines which resource fields are modified in an update. + * @param updateMask updateMask or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCampaignAssetOperation setUpdateMask(String updateMask) { + this.updateMask = updateMask; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesCampaignAssetOperation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesCampaignAssetOperation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesCampaignAssetOperation clone() { + return (GoogleAdsSearchads360V23ServicesCampaignAssetOperation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCampaignAssetSetOperation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCampaignAssetSetOperation.java new file mode 100644 index 00000000000..51cd8cea0e6 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCampaignAssetSetOperation.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A single operation (create, remove) on a campaign asset set. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesCampaignAssetSetOperation extends com.google.api.client.json.GenericJson { + + /** + * Create operation: No resource name is expected for the new campaign asset set. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCampaignAssetSet create; + + /** + * Remove operation: A resource name for the removed campaign asset set is expected, in this + * format: `customers/{customer_id}/campaignAssetSets/{campaign_id}~{asset_set_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String remove; + + /** + * Create operation: No resource name is expected for the new campaign asset set. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignAssetSet getCreate() { + return create; + } + + /** + * Create operation: No resource name is expected for the new campaign asset set. + * @param create create or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCampaignAssetSetOperation setCreate(GoogleAdsSearchads360V23ResourcesCampaignAssetSet create) { + this.create = create; + return this; + } + + /** + * Remove operation: A resource name for the removed campaign asset set is expected, in this + * format: `customers/{customer_id}/campaignAssetSets/{campaign_id}~{asset_set_id}` + * @return value or {@code null} for none + */ + public java.lang.String getRemove() { + return remove; + } + + /** + * Remove operation: A resource name for the removed campaign asset set is expected, in this + * format: `customers/{customer_id}/campaignAssetSets/{campaign_id}~{asset_set_id}` + * @param remove remove or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCampaignAssetSetOperation setRemove(java.lang.String remove) { + this.remove = remove; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesCampaignAssetSetOperation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesCampaignAssetSetOperation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesCampaignAssetSetOperation clone() { + return (GoogleAdsSearchads360V23ServicesCampaignAssetSetOperation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCampaignBidModifierOperation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCampaignBidModifierOperation.java new file mode 100644 index 00000000000..b54022062e6 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCampaignBidModifierOperation.java @@ -0,0 +1,142 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A single operation (create, remove, update) on a campaign bid modifier. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesCampaignBidModifierOperation extends com.google.api.client.json.GenericJson { + + /** + * Create operation: No resource name is expected for the new campaign bid modifier. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCampaignBidModifier create; + + /** + * Remove operation: A resource name for the removed campaign bid modifier is expected, in this + * format: `customers/{customer_id}/CampaignBidModifiers/{campaign_id}~{criterion_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String remove; + + /** + * Update operation: The campaign bid modifier is expected to have a valid resource name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCampaignBidModifier update; + + /** + * FieldMask that determines which resource fields are modified in an update. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String updateMask; + + /** + * Create operation: No resource name is expected for the new campaign bid modifier. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignBidModifier getCreate() { + return create; + } + + /** + * Create operation: No resource name is expected for the new campaign bid modifier. + * @param create create or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCampaignBidModifierOperation setCreate(GoogleAdsSearchads360V23ResourcesCampaignBidModifier create) { + this.create = create; + return this; + } + + /** + * Remove operation: A resource name for the removed campaign bid modifier is expected, in this + * format: `customers/{customer_id}/CampaignBidModifiers/{campaign_id}~{criterion_id}` + * @return value or {@code null} for none + */ + public java.lang.String getRemove() { + return remove; + } + + /** + * Remove operation: A resource name for the removed campaign bid modifier is expected, in this + * format: `customers/{customer_id}/CampaignBidModifiers/{campaign_id}~{criterion_id}` + * @param remove remove or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCampaignBidModifierOperation setRemove(java.lang.String remove) { + this.remove = remove; + return this; + } + + /** + * Update operation: The campaign bid modifier is expected to have a valid resource name. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignBidModifier getUpdate() { + return update; + } + + /** + * Update operation: The campaign bid modifier is expected to have a valid resource name. + * @param update update or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCampaignBidModifierOperation setUpdate(GoogleAdsSearchads360V23ResourcesCampaignBidModifier update) { + this.update = update; + return this; + } + + /** + * FieldMask that determines which resource fields are modified in an update. + * @return value or {@code null} for none + */ + public String getUpdateMask() { + return updateMask; + } + + /** + * FieldMask that determines which resource fields are modified in an update. + * @param updateMask updateMask or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCampaignBidModifierOperation setUpdateMask(String updateMask) { + this.updateMask = updateMask; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesCampaignBidModifierOperation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesCampaignBidModifierOperation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesCampaignBidModifierOperation clone() { + return (GoogleAdsSearchads360V23ServicesCampaignBidModifierOperation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCampaignBudgetMapping.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCampaignBudgetMapping.java new file mode 100644 index 00000000000..12ccba89c1e --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCampaignBudgetMapping.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The mapping of experiment campaign and budget to be graduated. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesCampaignBudgetMapping extends com.google.api.client.json.GenericJson { + + /** + * Required. The budget that should be attached to the graduating experiment campaign. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String campaignBudget; + + /** + * Required. The experiment campaign to graduate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String experimentCampaign; + + /** + * Required. The budget that should be attached to the graduating experiment campaign. + * @return value or {@code null} for none + */ + public java.lang.String getCampaignBudget() { + return campaignBudget; + } + + /** + * Required. The budget that should be attached to the graduating experiment campaign. + * @param campaignBudget campaignBudget or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCampaignBudgetMapping setCampaignBudget(java.lang.String campaignBudget) { + this.campaignBudget = campaignBudget; + return this; + } + + /** + * Required. The experiment campaign to graduate. + * @return value or {@code null} for none + */ + public java.lang.String getExperimentCampaign() { + return experimentCampaign; + } + + /** + * Required. The experiment campaign to graduate. + * @param experimentCampaign experimentCampaign or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCampaignBudgetMapping setExperimentCampaign(java.lang.String experimentCampaign) { + this.experimentCampaign = experimentCampaign; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesCampaignBudgetMapping set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesCampaignBudgetMapping) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesCampaignBudgetMapping clone() { + return (GoogleAdsSearchads360V23ServicesCampaignBudgetMapping) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCampaignBudgetOperation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCampaignBudgetOperation.java new file mode 100644 index 00000000000..d4b8d0feb47 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCampaignBudgetOperation.java @@ -0,0 +1,142 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A single operation (create, update, remove) on a campaign budget. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesCampaignBudgetOperation extends com.google.api.client.json.GenericJson { + + /** + * Create operation: No resource name is expected for the new budget. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCampaignBudget create; + + /** + * Remove operation: A resource name for the removed budget is expected, in this format: + * `customers/{customer_id}/campaignBudgets/{budget_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String remove; + + /** + * Update operation: The campaign budget is expected to have a valid resource name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCampaignBudget update; + + /** + * FieldMask that determines which resource fields are modified in an update. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String updateMask; + + /** + * Create operation: No resource name is expected for the new budget. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignBudget getCreate() { + return create; + } + + /** + * Create operation: No resource name is expected for the new budget. + * @param create create or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCampaignBudgetOperation setCreate(GoogleAdsSearchads360V23ResourcesCampaignBudget create) { + this.create = create; + return this; + } + + /** + * Remove operation: A resource name for the removed budget is expected, in this format: + * `customers/{customer_id}/campaignBudgets/{budget_id}` + * @return value or {@code null} for none + */ + public java.lang.String getRemove() { + return remove; + } + + /** + * Remove operation: A resource name for the removed budget is expected, in this format: + * `customers/{customer_id}/campaignBudgets/{budget_id}` + * @param remove remove or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCampaignBudgetOperation setRemove(java.lang.String remove) { + this.remove = remove; + return this; + } + + /** + * Update operation: The campaign budget is expected to have a valid resource name. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignBudget getUpdate() { + return update; + } + + /** + * Update operation: The campaign budget is expected to have a valid resource name. + * @param update update or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCampaignBudgetOperation setUpdate(GoogleAdsSearchads360V23ResourcesCampaignBudget update) { + this.update = update; + return this; + } + + /** + * FieldMask that determines which resource fields are modified in an update. + * @return value or {@code null} for none + */ + public String getUpdateMask() { + return updateMask; + } + + /** + * FieldMask that determines which resource fields are modified in an update. + * @param updateMask updateMask or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCampaignBudgetOperation setUpdateMask(String updateMask) { + this.updateMask = updateMask; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesCampaignBudgetOperation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesCampaignBudgetOperation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesCampaignBudgetOperation clone() { + return (GoogleAdsSearchads360V23ServicesCampaignBudgetOperation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCampaignConversionGoalOperation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCampaignConversionGoalOperation.java new file mode 100644 index 00000000000..4544179ecf2 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCampaignConversionGoalOperation.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A single operation (update) on a campaign conversion goal. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesCampaignConversionGoalOperation extends com.google.api.client.json.GenericJson { + + /** + * Update operation: The customer conversion goal is expected to have a valid resource name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCampaignConversionGoal update; + + /** + * FieldMask that determines which resource fields are modified in an update. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String updateMask; + + /** + * Update operation: The customer conversion goal is expected to have a valid resource name. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignConversionGoal getUpdate() { + return update; + } + + /** + * Update operation: The customer conversion goal is expected to have a valid resource name. + * @param update update or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCampaignConversionGoalOperation setUpdate(GoogleAdsSearchads360V23ResourcesCampaignConversionGoal update) { + this.update = update; + return this; + } + + /** + * FieldMask that determines which resource fields are modified in an update. + * @return value or {@code null} for none + */ + public String getUpdateMask() { + return updateMask; + } + + /** + * FieldMask that determines which resource fields are modified in an update. + * @param updateMask updateMask or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCampaignConversionGoalOperation setUpdateMask(String updateMask) { + this.updateMask = updateMask; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesCampaignConversionGoalOperation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesCampaignConversionGoalOperation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesCampaignConversionGoalOperation clone() { + return (GoogleAdsSearchads360V23ServicesCampaignConversionGoalOperation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCampaignCriterionOperation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCampaignCriterionOperation.java new file mode 100644 index 00000000000..dfa0f86a07f --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCampaignCriterionOperation.java @@ -0,0 +1,145 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A single operation (create, update, remove) on a campaign criterion. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesCampaignCriterionOperation extends com.google.api.client.json.GenericJson { + + /** + * Create operation: No resource name is expected for the new criterion. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCampaignCriterion create; + + /** + * Remove operation: A resource name for the removed criterion is expected, in this format: + * `customers/{customer_id}/campaignCriteria/{campaign_id}~{criterion_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String remove; + + /** + * Update operation: The criterion is expected to have a valid resource name. Note that for smart + * campaigns, you cannot use the update method to edit the geolocation target. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCampaignCriterion update; + + /** + * FieldMask that determines which resource fields are modified in an update. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String updateMask; + + /** + * Create operation: No resource name is expected for the new criterion. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignCriterion getCreate() { + return create; + } + + /** + * Create operation: No resource name is expected for the new criterion. + * @param create create or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCampaignCriterionOperation setCreate(GoogleAdsSearchads360V23ResourcesCampaignCriterion create) { + this.create = create; + return this; + } + + /** + * Remove operation: A resource name for the removed criterion is expected, in this format: + * `customers/{customer_id}/campaignCriteria/{campaign_id}~{criterion_id}` + * @return value or {@code null} for none + */ + public java.lang.String getRemove() { + return remove; + } + + /** + * Remove operation: A resource name for the removed criterion is expected, in this format: + * `customers/{customer_id}/campaignCriteria/{campaign_id}~{criterion_id}` + * @param remove remove or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCampaignCriterionOperation setRemove(java.lang.String remove) { + this.remove = remove; + return this; + } + + /** + * Update operation: The criterion is expected to have a valid resource name. Note that for smart + * campaigns, you cannot use the update method to edit the geolocation target. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignCriterion getUpdate() { + return update; + } + + /** + * Update operation: The criterion is expected to have a valid resource name. Note that for smart + * campaigns, you cannot use the update method to edit the geolocation target. + * @param update update or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCampaignCriterionOperation setUpdate(GoogleAdsSearchads360V23ResourcesCampaignCriterion update) { + this.update = update; + return this; + } + + /** + * FieldMask that determines which resource fields are modified in an update. + * @return value or {@code null} for none + */ + public String getUpdateMask() { + return updateMask; + } + + /** + * FieldMask that determines which resource fields are modified in an update. + * @param updateMask updateMask or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCampaignCriterionOperation setUpdateMask(String updateMask) { + this.updateMask = updateMask; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesCampaignCriterionOperation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesCampaignCriterionOperation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesCampaignCriterionOperation clone() { + return (GoogleAdsSearchads360V23ServicesCampaignCriterionOperation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCampaignCustomizerOperation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCampaignCustomizerOperation.java new file mode 100644 index 00000000000..ecd739cda44 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCampaignCustomizerOperation.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A single operation (create, remove) on a customizer attribute. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesCampaignCustomizerOperation extends com.google.api.client.json.GenericJson { + + /** + * Create operation: No resource name is expected for the new campaign customizer + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCampaignCustomizer create; + + /** + * Remove operation: A resource name for the removed campaign customizer is expected, in this + * format: `customers/{customer_id}/campaignCustomizers/{campaign_id}~{customizer_attribute_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String remove; + + /** + * Create operation: No resource name is expected for the new campaign customizer + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignCustomizer getCreate() { + return create; + } + + /** + * Create operation: No resource name is expected for the new campaign customizer + * @param create create or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCampaignCustomizerOperation setCreate(GoogleAdsSearchads360V23ResourcesCampaignCustomizer create) { + this.create = create; + return this; + } + + /** + * Remove operation: A resource name for the removed campaign customizer is expected, in this + * format: `customers/{customer_id}/campaignCustomizers/{campaign_id}~{customizer_attribute_id}` + * @return value or {@code null} for none + */ + public java.lang.String getRemove() { + return remove; + } + + /** + * Remove operation: A resource name for the removed campaign customizer is expected, in this + * format: `customers/{customer_id}/campaignCustomizers/{campaign_id}~{customizer_attribute_id}` + * @param remove remove or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCampaignCustomizerOperation setRemove(java.lang.String remove) { + this.remove = remove; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesCampaignCustomizerOperation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesCampaignCustomizerOperation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesCampaignCustomizerOperation clone() { + return (GoogleAdsSearchads360V23ServicesCampaignCustomizerOperation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCampaignDraftOperation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCampaignDraftOperation.java new file mode 100644 index 00000000000..3056144484b --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCampaignDraftOperation.java @@ -0,0 +1,142 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A single operation (create, update, remove) on a campaign draft. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesCampaignDraftOperation extends com.google.api.client.json.GenericJson { + + /** + * Create operation: No resource name is expected for the new campaign draft. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCampaignDraft create; + + /** + * Remove operation: The campaign draft is expected to have a valid resource name, in this format: + * `customers/{customer_id}/campaignDrafts/{base_campaign_id}~{draft_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String remove; + + /** + * Update operation: The campaign draft is expected to have a valid resource name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCampaignDraft update; + + /** + * FieldMask that determines which resource fields are modified in an update. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String updateMask; + + /** + * Create operation: No resource name is expected for the new campaign draft. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignDraft getCreate() { + return create; + } + + /** + * Create operation: No resource name is expected for the new campaign draft. + * @param create create or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCampaignDraftOperation setCreate(GoogleAdsSearchads360V23ResourcesCampaignDraft create) { + this.create = create; + return this; + } + + /** + * Remove operation: The campaign draft is expected to have a valid resource name, in this format: + * `customers/{customer_id}/campaignDrafts/{base_campaign_id}~{draft_id}` + * @return value or {@code null} for none + */ + public java.lang.String getRemove() { + return remove; + } + + /** + * Remove operation: The campaign draft is expected to have a valid resource name, in this format: + * `customers/{customer_id}/campaignDrafts/{base_campaign_id}~{draft_id}` + * @param remove remove or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCampaignDraftOperation setRemove(java.lang.String remove) { + this.remove = remove; + return this; + } + + /** + * Update operation: The campaign draft is expected to have a valid resource name. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignDraft getUpdate() { + return update; + } + + /** + * Update operation: The campaign draft is expected to have a valid resource name. + * @param update update or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCampaignDraftOperation setUpdate(GoogleAdsSearchads360V23ResourcesCampaignDraft update) { + this.update = update; + return this; + } + + /** + * FieldMask that determines which resource fields are modified in an update. + * @return value or {@code null} for none + */ + public String getUpdateMask() { + return updateMask; + } + + /** + * FieldMask that determines which resource fields are modified in an update. + * @param updateMask updateMask or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCampaignDraftOperation setUpdateMask(String updateMask) { + this.updateMask = updateMask; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesCampaignDraftOperation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesCampaignDraftOperation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesCampaignDraftOperation clone() { + return (GoogleAdsSearchads360V23ServicesCampaignDraftOperation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCampaignDuration.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCampaignDuration.java new file mode 100644 index 00000000000..1f898fae758 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCampaignDuration.java @@ -0,0 +1,97 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The duration of a planned campaign. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesCampaignDuration extends com.google.api.client.json.GenericJson { + + /** + * Date range of the campaign. Dates are in the yyyy-mm-dd format and inclusive. The end date must + * be < 1 year in the future and the date range must be <= 92 days long. This field cannot be + * combined with the duration_in_days field. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonDateRange dateRange; + + /** + * The duration value in days. This field cannot be combined with the date_range field. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer durationInDays; + + /** + * Date range of the campaign. Dates are in the yyyy-mm-dd format and inclusive. The end date must + * be < 1 year in the future and the date range must be <= 92 days long. This field cannot be + * combined with the duration_in_days field. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDateRange getDateRange() { + return dateRange; + } + + /** + * Date range of the campaign. Dates are in the yyyy-mm-dd format and inclusive. The end date must + * be < 1 year in the future and the date range must be <= 92 days long. This field cannot be + * combined with the duration_in_days field. + * @param dateRange dateRange or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCampaignDuration setDateRange(GoogleAdsSearchads360V23CommonDateRange dateRange) { + this.dateRange = dateRange; + return this; + } + + /** + * The duration value in days. This field cannot be combined with the date_range field. + * @return value or {@code null} for none + */ + public java.lang.Integer getDurationInDays() { + return durationInDays; + } + + /** + * The duration value in days. This field cannot be combined with the date_range field. + * @param durationInDays durationInDays or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCampaignDuration setDurationInDays(java.lang.Integer durationInDays) { + this.durationInDays = durationInDays; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesCampaignDuration set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesCampaignDuration) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesCampaignDuration clone() { + return (GoogleAdsSearchads360V23ServicesCampaignDuration) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCampaignGoalConfigOperation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCampaignGoalConfigOperation.java new file mode 100644 index 00000000000..2eb40a16a4f --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCampaignGoalConfigOperation.java @@ -0,0 +1,139 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A single mutate operation on the campaign goal config. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesCampaignGoalConfigOperation extends com.google.api.client.json.GenericJson { + + /** + * Create a new campaign goal config. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCampaignGoalConfig create; + + /** + * Remove an existing campaign goal config. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String remove; + + /** + * Update an existing campaign goal config. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCampaignGoalConfig update; + + /** + * FieldMask that determines which fields are modified in an update. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String updateMask; + + /** + * Create a new campaign goal config. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignGoalConfig getCreate() { + return create; + } + + /** + * Create a new campaign goal config. + * @param create create or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCampaignGoalConfigOperation setCreate(GoogleAdsSearchads360V23ResourcesCampaignGoalConfig create) { + this.create = create; + return this; + } + + /** + * Remove an existing campaign goal config. + * @return value or {@code null} for none + */ + public java.lang.String getRemove() { + return remove; + } + + /** + * Remove an existing campaign goal config. + * @param remove remove or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCampaignGoalConfigOperation setRemove(java.lang.String remove) { + this.remove = remove; + return this; + } + + /** + * Update an existing campaign goal config. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignGoalConfig getUpdate() { + return update; + } + + /** + * Update an existing campaign goal config. + * @param update update or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCampaignGoalConfigOperation setUpdate(GoogleAdsSearchads360V23ResourcesCampaignGoalConfig update) { + this.update = update; + return this; + } + + /** + * FieldMask that determines which fields are modified in an update. + * @return value or {@code null} for none + */ + public String getUpdateMask() { + return updateMask; + } + + /** + * FieldMask that determines which fields are modified in an update. + * @param updateMask updateMask or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCampaignGoalConfigOperation setUpdateMask(String updateMask) { + this.updateMask = updateMask; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesCampaignGoalConfigOperation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesCampaignGoalConfigOperation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesCampaignGoalConfigOperation clone() { + return (GoogleAdsSearchads360V23ServicesCampaignGoalConfigOperation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCampaignGroupOperation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCampaignGroupOperation.java new file mode 100644 index 00000000000..5be27e64426 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCampaignGroupOperation.java @@ -0,0 +1,142 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A single operation (create, update, remove) on a campaign group. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesCampaignGroupOperation extends com.google.api.client.json.GenericJson { + + /** + * Create operation: No resource name is expected for the new campaign group. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCampaignGroup create; + + /** + * Remove operation: A resource name for the removed campaign group is expected, in this format: + * `customers/{customer_id}/campaignGroups/{campaign_group_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String remove; + + /** + * Update operation: The campaign group is expected to have a valid resource name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCampaignGroup update; + + /** + * FieldMask that determines which resource fields are modified in an update. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String updateMask; + + /** + * Create operation: No resource name is expected for the new campaign group. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignGroup getCreate() { + return create; + } + + /** + * Create operation: No resource name is expected for the new campaign group. + * @param create create or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCampaignGroupOperation setCreate(GoogleAdsSearchads360V23ResourcesCampaignGroup create) { + this.create = create; + return this; + } + + /** + * Remove operation: A resource name for the removed campaign group is expected, in this format: + * `customers/{customer_id}/campaignGroups/{campaign_group_id}` + * @return value or {@code null} for none + */ + public java.lang.String getRemove() { + return remove; + } + + /** + * Remove operation: A resource name for the removed campaign group is expected, in this format: + * `customers/{customer_id}/campaignGroups/{campaign_group_id}` + * @param remove remove or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCampaignGroupOperation setRemove(java.lang.String remove) { + this.remove = remove; + return this; + } + + /** + * Update operation: The campaign group is expected to have a valid resource name. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignGroup getUpdate() { + return update; + } + + /** + * Update operation: The campaign group is expected to have a valid resource name. + * @param update update or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCampaignGroupOperation setUpdate(GoogleAdsSearchads360V23ResourcesCampaignGroup update) { + this.update = update; + return this; + } + + /** + * FieldMask that determines which resource fields are modified in an update. + * @return value or {@code null} for none + */ + public String getUpdateMask() { + return updateMask; + } + + /** + * FieldMask that determines which resource fields are modified in an update. + * @param updateMask updateMask or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCampaignGroupOperation setUpdateMask(String updateMask) { + this.updateMask = updateMask; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesCampaignGroupOperation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesCampaignGroupOperation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesCampaignGroupOperation clone() { + return (GoogleAdsSearchads360V23ServicesCampaignGroupOperation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCampaignLabelOperation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCampaignLabelOperation.java new file mode 100644 index 00000000000..5fb91029659 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCampaignLabelOperation.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A single operation (create, remove) on a campaign-label relationship. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesCampaignLabelOperation extends com.google.api.client.json.GenericJson { + + /** + * Create operation: No resource name is expected for the new campaign-label relationship. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCampaignLabel create; + + /** + * Remove operation: A resource name for the campaign-label relationship being removed, in this + * format: `customers/{customer_id}/campaignLabels/{campaign_id}~{label_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String remove; + + /** + * Create operation: No resource name is expected for the new campaign-label relationship. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignLabel getCreate() { + return create; + } + + /** + * Create operation: No resource name is expected for the new campaign-label relationship. + * @param create create or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCampaignLabelOperation setCreate(GoogleAdsSearchads360V23ResourcesCampaignLabel create) { + this.create = create; + return this; + } + + /** + * Remove operation: A resource name for the campaign-label relationship being removed, in this + * format: `customers/{customer_id}/campaignLabels/{campaign_id}~{label_id}` + * @return value or {@code null} for none + */ + public java.lang.String getRemove() { + return remove; + } + + /** + * Remove operation: A resource name for the campaign-label relationship being removed, in this + * format: `customers/{customer_id}/campaignLabels/{campaign_id}~{label_id}` + * @param remove remove or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCampaignLabelOperation setRemove(java.lang.String remove) { + this.remove = remove; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesCampaignLabelOperation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesCampaignLabelOperation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesCampaignLabelOperation clone() { + return (GoogleAdsSearchads360V23ServicesCampaignLabelOperation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCampaignLifecycleGoalOperation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCampaignLifecycleGoalOperation.java new file mode 100644 index 00000000000..e76ff858229 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCampaignLifecycleGoalOperation.java @@ -0,0 +1,115 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A single operation on a campaign lifecycle goal. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesCampaignLifecycleGoalOperation extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCampaignLifecycleGoal create; + + /** + * Update operation: Update an existing campaign lifecycle goal. The campaign field should not be + * set for this operation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCampaignLifecycleGoal update; + + /** + * Optional. FieldMask that determines which resource fields are modified in an update. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String updateMask; + + /** + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignLifecycleGoal getCreate() { + return create; + } + + /** + * @param create create or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCampaignLifecycleGoalOperation setCreate(GoogleAdsSearchads360V23ResourcesCampaignLifecycleGoal create) { + this.create = create; + return this; + } + + /** + * Update operation: Update an existing campaign lifecycle goal. The campaign field should not be + * set for this operation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignLifecycleGoal getUpdate() { + return update; + } + + /** + * Update operation: Update an existing campaign lifecycle goal. The campaign field should not be + * set for this operation. + * @param update update or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCampaignLifecycleGoalOperation setUpdate(GoogleAdsSearchads360V23ResourcesCampaignLifecycleGoal update) { + this.update = update; + return this; + } + + /** + * Optional. FieldMask that determines which resource fields are modified in an update. + * @return value or {@code null} for none + */ + public String getUpdateMask() { + return updateMask; + } + + /** + * Optional. FieldMask that determines which resource fields are modified in an update. + * @param updateMask updateMask or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCampaignLifecycleGoalOperation setUpdateMask(String updateMask) { + this.updateMask = updateMask; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesCampaignLifecycleGoalOperation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesCampaignLifecycleGoalOperation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesCampaignLifecycleGoalOperation clone() { + return (GoogleAdsSearchads360V23ServicesCampaignLifecycleGoalOperation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCampaignOperation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCampaignOperation.java new file mode 100644 index 00000000000..cb4250a6d99 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCampaignOperation.java @@ -0,0 +1,142 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A single operation (create, update, remove) on a campaign. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesCampaignOperation extends com.google.api.client.json.GenericJson { + + /** + * Create operation: No resource name is expected for the new campaign. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCampaign create; + + /** + * Remove operation: A resource name for the removed campaign is expected, in this format: + * `customers/{customer_id}/campaigns/{campaign_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String remove; + + /** + * Update operation: The campaign is expected to have a valid resource name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCampaign update; + + /** + * FieldMask that determines which resource fields are modified in an update. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String updateMask; + + /** + * Create operation: No resource name is expected for the new campaign. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaign getCreate() { + return create; + } + + /** + * Create operation: No resource name is expected for the new campaign. + * @param create create or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCampaignOperation setCreate(GoogleAdsSearchads360V23ResourcesCampaign create) { + this.create = create; + return this; + } + + /** + * Remove operation: A resource name for the removed campaign is expected, in this format: + * `customers/{customer_id}/campaigns/{campaign_id}` + * @return value or {@code null} for none + */ + public java.lang.String getRemove() { + return remove; + } + + /** + * Remove operation: A resource name for the removed campaign is expected, in this format: + * `customers/{customer_id}/campaigns/{campaign_id}` + * @param remove remove or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCampaignOperation setRemove(java.lang.String remove) { + this.remove = remove; + return this; + } + + /** + * Update operation: The campaign is expected to have a valid resource name. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaign getUpdate() { + return update; + } + + /** + * Update operation: The campaign is expected to have a valid resource name. + * @param update update or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCampaignOperation setUpdate(GoogleAdsSearchads360V23ResourcesCampaign update) { + this.update = update; + return this; + } + + /** + * FieldMask that determines which resource fields are modified in an update. + * @return value or {@code null} for none + */ + public String getUpdateMask() { + return updateMask; + } + + /** + * FieldMask that determines which resource fields are modified in an update. + * @param updateMask updateMask or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCampaignOperation setUpdateMask(String updateMask) { + this.updateMask = updateMask; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesCampaignOperation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesCampaignOperation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesCampaignOperation clone() { + return (GoogleAdsSearchads360V23ServicesCampaignOperation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCampaignSharedSetOperation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCampaignSharedSetOperation.java new file mode 100644 index 00000000000..97e78476343 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCampaignSharedSetOperation.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A single operation (create, remove) on a campaign shared set. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesCampaignSharedSetOperation extends com.google.api.client.json.GenericJson { + + /** + * Create operation: No resource name is expected for the new campaign shared set. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCampaignSharedSet create; + + /** + * Remove operation: A resource name for the removed campaign shared set is expected, in this + * format: `customers/{customer_id}/campaignSharedSets/{campaign_id}~{shared_set_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String remove; + + /** + * Create operation: No resource name is expected for the new campaign shared set. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignSharedSet getCreate() { + return create; + } + + /** + * Create operation: No resource name is expected for the new campaign shared set. + * @param create create or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCampaignSharedSetOperation setCreate(GoogleAdsSearchads360V23ResourcesCampaignSharedSet create) { + this.create = create; + return this; + } + + /** + * Remove operation: A resource name for the removed campaign shared set is expected, in this + * format: `customers/{customer_id}/campaignSharedSets/{campaign_id}~{shared_set_id}` + * @return value or {@code null} for none + */ + public java.lang.String getRemove() { + return remove; + } + + /** + * Remove operation: A resource name for the removed campaign shared set is expected, in this + * format: `customers/{customer_id}/campaignSharedSets/{campaign_id}~{shared_set_id}` + * @param remove remove or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCampaignSharedSetOperation setRemove(java.lang.String remove) { + this.remove = remove; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesCampaignSharedSetOperation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesCampaignSharedSetOperation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesCampaignSharedSetOperation clone() { + return (GoogleAdsSearchads360V23ServicesCampaignSharedSetOperation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCampaignToForecast.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCampaignToForecast.java new file mode 100644 index 00000000000..2868d3c679d --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCampaignToForecast.java @@ -0,0 +1,229 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A campaign to do a keyword campaign forecast. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesCampaignToForecast extends com.google.api.client.json.GenericJson { + + /** + * The ad groups in the new campaign to forecast. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List adGroups; + + /** + * Required. The bidding strategy for the campaign. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesCampaignToForecastCampaignBiddingStrategy biddingStrategy; + + /** + * The expected conversion rate (number of conversions divided by number of total clicks) as + * defined by the user. This value is expressed as a decimal value, so an expected conversion rate + * of 2% should be entered as 0.02. If left empty, an estimated conversion rate will be used. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double conversionRate; + + /** + * Locations to be targeted. Locations must be unique. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List geoModifiers; + + /** + * Required. The network used for targeting. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String keywordPlanNetwork; + + /** + * The list of resource names of languages to be targeted. The resource name is of the format + * "languageConstants/{criterion_id}". See https://developers.google.com/google- + * ads/api/data/codes-formats#languages for the list of language criterion codes. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List languageConstants; + + /** + * The list of negative keywords to be used in the campaign when doing the forecast. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List negativeKeywords; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonKeywordInfo used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonKeywordInfo.class); + } + + /** + * The ad groups in the new campaign to forecast. + * @return value or {@code null} for none + */ + public java.util.List getAdGroups() { + return adGroups; + } + + /** + * The ad groups in the new campaign to forecast. + * @param adGroups adGroups or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCampaignToForecast setAdGroups(java.util.List adGroups) { + this.adGroups = adGroups; + return this; + } + + /** + * Required. The bidding strategy for the campaign. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCampaignToForecastCampaignBiddingStrategy getBiddingStrategy() { + return biddingStrategy; + } + + /** + * Required. The bidding strategy for the campaign. + * @param biddingStrategy biddingStrategy or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCampaignToForecast setBiddingStrategy(GoogleAdsSearchads360V23ServicesCampaignToForecastCampaignBiddingStrategy biddingStrategy) { + this.biddingStrategy = biddingStrategy; + return this; + } + + /** + * The expected conversion rate (number of conversions divided by number of total clicks) as + * defined by the user. This value is expressed as a decimal value, so an expected conversion rate + * of 2% should be entered as 0.02. If left empty, an estimated conversion rate will be used. + * @return value or {@code null} for none + */ + public java.lang.Double getConversionRate() { + return conversionRate; + } + + /** + * The expected conversion rate (number of conversions divided by number of total clicks) as + * defined by the user. This value is expressed as a decimal value, so an expected conversion rate + * of 2% should be entered as 0.02. If left empty, an estimated conversion rate will be used. + * @param conversionRate conversionRate or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCampaignToForecast setConversionRate(java.lang.Double conversionRate) { + this.conversionRate = conversionRate; + return this; + } + + /** + * Locations to be targeted. Locations must be unique. + * @return value or {@code null} for none + */ + public java.util.List getGeoModifiers() { + return geoModifiers; + } + + /** + * Locations to be targeted. Locations must be unique. + * @param geoModifiers geoModifiers or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCampaignToForecast setGeoModifiers(java.util.List geoModifiers) { + this.geoModifiers = geoModifiers; + return this; + } + + /** + * Required. The network used for targeting. + * @return value or {@code null} for none + */ + public java.lang.String getKeywordPlanNetwork() { + return keywordPlanNetwork; + } + + /** + * Required. The network used for targeting. + * @param keywordPlanNetwork keywordPlanNetwork or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCampaignToForecast setKeywordPlanNetwork(java.lang.String keywordPlanNetwork) { + this.keywordPlanNetwork = keywordPlanNetwork; + return this; + } + + /** + * The list of resource names of languages to be targeted. The resource name is of the format + * "languageConstants/{criterion_id}". See https://developers.google.com/google- + * ads/api/data/codes-formats#languages for the list of language criterion codes. + * @return value or {@code null} for none + */ + public java.util.List getLanguageConstants() { + return languageConstants; + } + + /** + * The list of resource names of languages to be targeted. The resource name is of the format + * "languageConstants/{criterion_id}". See https://developers.google.com/google- + * ads/api/data/codes-formats#languages for the list of language criterion codes. + * @param languageConstants languageConstants or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCampaignToForecast setLanguageConstants(java.util.List languageConstants) { + this.languageConstants = languageConstants; + return this; + } + + /** + * The list of negative keywords to be used in the campaign when doing the forecast. + * @return value or {@code null} for none + */ + public java.util.List getNegativeKeywords() { + return negativeKeywords; + } + + /** + * The list of negative keywords to be used in the campaign when doing the forecast. + * @param negativeKeywords negativeKeywords or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCampaignToForecast setNegativeKeywords(java.util.List negativeKeywords) { + this.negativeKeywords = negativeKeywords; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesCampaignToForecast set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesCampaignToForecast) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesCampaignToForecast clone() { + return (GoogleAdsSearchads360V23ServicesCampaignToForecast) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCampaignToForecastCampaignBiddingStrategy.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCampaignToForecastCampaignBiddingStrategy.java new file mode 100644 index 00000000000..03ca9b3f11b --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCampaignToForecastCampaignBiddingStrategy.java @@ -0,0 +1,115 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Supported bidding strategies for new campaign forecasts. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesCampaignToForecastCampaignBiddingStrategy extends com.google.api.client.json.GenericJson { + + /** + * Use manual CPC bidding strategy for forecasting. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesManualCpcBiddingStrategy manualCpcBiddingStrategy; + + /** + * Use maximize clicks bidding strategy for forecasting. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesMaximizeClicksBiddingStrategy maximizeClicksBiddingStrategy; + + /** + * Use maximize conversions bidding strategy for forecasting. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesMaximizeConversionsBiddingStrategy maximizeConversionsBiddingStrategy; + + /** + * Use manual CPC bidding strategy for forecasting. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesManualCpcBiddingStrategy getManualCpcBiddingStrategy() { + return manualCpcBiddingStrategy; + } + + /** + * Use manual CPC bidding strategy for forecasting. + * @param manualCpcBiddingStrategy manualCpcBiddingStrategy or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCampaignToForecastCampaignBiddingStrategy setManualCpcBiddingStrategy(GoogleAdsSearchads360V23ServicesManualCpcBiddingStrategy manualCpcBiddingStrategy) { + this.manualCpcBiddingStrategy = manualCpcBiddingStrategy; + return this; + } + + /** + * Use maximize clicks bidding strategy for forecasting. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMaximizeClicksBiddingStrategy getMaximizeClicksBiddingStrategy() { + return maximizeClicksBiddingStrategy; + } + + /** + * Use maximize clicks bidding strategy for forecasting. + * @param maximizeClicksBiddingStrategy maximizeClicksBiddingStrategy or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCampaignToForecastCampaignBiddingStrategy setMaximizeClicksBiddingStrategy(GoogleAdsSearchads360V23ServicesMaximizeClicksBiddingStrategy maximizeClicksBiddingStrategy) { + this.maximizeClicksBiddingStrategy = maximizeClicksBiddingStrategy; + return this; + } + + /** + * Use maximize conversions bidding strategy for forecasting. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMaximizeConversionsBiddingStrategy getMaximizeConversionsBiddingStrategy() { + return maximizeConversionsBiddingStrategy; + } + + /** + * Use maximize conversions bidding strategy for forecasting. + * @param maximizeConversionsBiddingStrategy maximizeConversionsBiddingStrategy or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCampaignToForecastCampaignBiddingStrategy setMaximizeConversionsBiddingStrategy(GoogleAdsSearchads360V23ServicesMaximizeConversionsBiddingStrategy maximizeConversionsBiddingStrategy) { + this.maximizeConversionsBiddingStrategy = maximizeConversionsBiddingStrategy; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesCampaignToForecastCampaignBiddingStrategy set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesCampaignToForecastCampaignBiddingStrategy) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesCampaignToForecastCampaignBiddingStrategy clone() { + return (GoogleAdsSearchads360V23ServicesCampaignToForecastCampaignBiddingStrategy) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesConfigureCampaignLifecycleGoalsRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesConfigureCampaignLifecycleGoalsRequest.java new file mode 100644 index 00000000000..6b8fbe58663 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesConfigureCampaignLifecycleGoalsRequest.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for CampaignLifecycleGoalService.ConfigureCampaignLifecycleGoals. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesConfigureCampaignLifecycleGoalsRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The operation to perform campaign lifecycle goal update. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesCampaignLifecycleGoalOperation operation; + + /** + * Optional. If true, the request is validated but not executed. Only errors are returned, not + * results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean validateOnly; + + /** + * Required. The operation to perform campaign lifecycle goal update. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCampaignLifecycleGoalOperation getOperation() { + return operation; + } + + /** + * Required. The operation to perform campaign lifecycle goal update. + * @param operation operation or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesConfigureCampaignLifecycleGoalsRequest setOperation(GoogleAdsSearchads360V23ServicesCampaignLifecycleGoalOperation operation) { + this.operation = operation; + return this; + } + + /** + * Optional. If true, the request is validated but not executed. Only errors are returned, not + * results. + * @return value or {@code null} for none + */ + public java.lang.Boolean getValidateOnly() { + return validateOnly; + } + + /** + * Optional. If true, the request is validated but not executed. Only errors are returned, not + * results. + * @param validateOnly validateOnly or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesConfigureCampaignLifecycleGoalsRequest setValidateOnly(java.lang.Boolean validateOnly) { + this.validateOnly = validateOnly; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesConfigureCampaignLifecycleGoalsRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesConfigureCampaignLifecycleGoalsRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesConfigureCampaignLifecycleGoalsRequest clone() { + return (GoogleAdsSearchads360V23ServicesConfigureCampaignLifecycleGoalsRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesConfigureCampaignLifecycleGoalsResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesConfigureCampaignLifecycleGoalsResponse.java new file mode 100644 index 00000000000..4f9fd4615ed --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesConfigureCampaignLifecycleGoalsResponse.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for CampaignLifecycleGoalService.ConfigureCampaignLifecycleGoals. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesConfigureCampaignLifecycleGoalsResponse extends com.google.api.client.json.GenericJson { + + /** + * Result for the campaign lifecycle goal configuration. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesConfigureCampaignLifecycleGoalsResult result; + + /** + * Result for the campaign lifecycle goal configuration. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesConfigureCampaignLifecycleGoalsResult getResult() { + return result; + } + + /** + * Result for the campaign lifecycle goal configuration. + * @param result result or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesConfigureCampaignLifecycleGoalsResponse setResult(GoogleAdsSearchads360V23ServicesConfigureCampaignLifecycleGoalsResult result) { + this.result = result; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesConfigureCampaignLifecycleGoalsResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesConfigureCampaignLifecycleGoalsResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesConfigureCampaignLifecycleGoalsResponse clone() { + return (GoogleAdsSearchads360V23ServicesConfigureCampaignLifecycleGoalsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesConfigureCampaignLifecycleGoalsResult.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesConfigureCampaignLifecycleGoalsResult.java new file mode 100644 index 00000000000..a58926e6a32 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesConfigureCampaignLifecycleGoalsResult.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The result for the campaign lifecycle goal configuration. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesConfigureCampaignLifecycleGoalsResult extends com.google.api.client.json.GenericJson { + + /** + * Returned for the successful operation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Returned for the successful operation. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Returned for the successful operation. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesConfigureCampaignLifecycleGoalsResult setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesConfigureCampaignLifecycleGoalsResult set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesConfigureCampaignLifecycleGoalsResult) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesConfigureCampaignLifecycleGoalsResult clone() { + return (GoogleAdsSearchads360V23ServicesConfigureCampaignLifecycleGoalsResult) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesConfigureCustomerLifecycleGoalsRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesConfigureCustomerLifecycleGoalsRequest.java new file mode 100644 index 00000000000..f920edd0473 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesConfigureCustomerLifecycleGoalsRequest.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for CustomerLifecycleGoalService.ConfigureCustomerLifecycleGoals. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesConfigureCustomerLifecycleGoalsRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The operation to perform customer lifecycle goal update. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesCustomerLifecycleGoalOperation operation; + + /** + * Optional. If true, the request is validated but not executed. Only errors are returned, not + * results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean validateOnly; + + /** + * Required. The operation to perform customer lifecycle goal update. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCustomerLifecycleGoalOperation getOperation() { + return operation; + } + + /** + * Required. The operation to perform customer lifecycle goal update. + * @param operation operation or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesConfigureCustomerLifecycleGoalsRequest setOperation(GoogleAdsSearchads360V23ServicesCustomerLifecycleGoalOperation operation) { + this.operation = operation; + return this; + } + + /** + * Optional. If true, the request is validated but not executed. Only errors are returned, not + * results. + * @return value or {@code null} for none + */ + public java.lang.Boolean getValidateOnly() { + return validateOnly; + } + + /** + * Optional. If true, the request is validated but not executed. Only errors are returned, not + * results. + * @param validateOnly validateOnly or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesConfigureCustomerLifecycleGoalsRequest setValidateOnly(java.lang.Boolean validateOnly) { + this.validateOnly = validateOnly; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesConfigureCustomerLifecycleGoalsRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesConfigureCustomerLifecycleGoalsRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesConfigureCustomerLifecycleGoalsRequest clone() { + return (GoogleAdsSearchads360V23ServicesConfigureCustomerLifecycleGoalsRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesConfigureCustomerLifecycleGoalsResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesConfigureCustomerLifecycleGoalsResponse.java new file mode 100644 index 00000000000..b724d683979 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesConfigureCustomerLifecycleGoalsResponse.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for CustomerLifecycleGoalService.ConfigureCustomerLifecycleGoals. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesConfigureCustomerLifecycleGoalsResponse extends com.google.api.client.json.GenericJson { + + /** + * result for the customer lifecycle goal configuration. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesConfigureCustomerLifecycleGoalsResult result; + + /** + * result for the customer lifecycle goal configuration. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesConfigureCustomerLifecycleGoalsResult getResult() { + return result; + } + + /** + * result for the customer lifecycle goal configuration. + * @param result result or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesConfigureCustomerLifecycleGoalsResponse setResult(GoogleAdsSearchads360V23ServicesConfigureCustomerLifecycleGoalsResult result) { + this.result = result; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesConfigureCustomerLifecycleGoalsResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesConfigureCustomerLifecycleGoalsResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesConfigureCustomerLifecycleGoalsResponse clone() { + return (GoogleAdsSearchads360V23ServicesConfigureCustomerLifecycleGoalsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesConfigureCustomerLifecycleGoalsResult.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesConfigureCustomerLifecycleGoalsResult.java new file mode 100644 index 00000000000..e53c934b906 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesConfigureCustomerLifecycleGoalsResult.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The result for the customer lifecycle goal configuration. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesConfigureCustomerLifecycleGoalsResult extends com.google.api.client.json.GenericJson { + + /** + * Returned for the successful operation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Returned for the successful operation. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Returned for the successful operation. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesConfigureCustomerLifecycleGoalsResult setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesConfigureCustomerLifecycleGoalsResult set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesConfigureCustomerLifecycleGoalsResult) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesConfigureCustomerLifecycleGoalsResult clone() { + return (GoogleAdsSearchads360V23ServicesConfigureCustomerLifecycleGoalsResult) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesConversation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesConversation.java new file mode 100644 index 00000000000..d660c87caa0 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesConversation.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Details of the conversation that needs to be appended. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesConversation extends com.google.api.client.json.GenericJson { + + /** + * Required. The resource name of the local services lead that the conversation should be applied + * to. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String localServicesLead; + + /** + * Required. Text message that user wanted to append to lead. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String text; + + /** + * Required. The resource name of the local services lead that the conversation should be applied + * to. + * @return value or {@code null} for none + */ + public java.lang.String getLocalServicesLead() { + return localServicesLead; + } + + /** + * Required. The resource name of the local services lead that the conversation should be applied + * to. + * @param localServicesLead localServicesLead or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesConversation setLocalServicesLead(java.lang.String localServicesLead) { + this.localServicesLead = localServicesLead; + return this; + } + + /** + * Required. Text message that user wanted to append to lead. + * @return value or {@code null} for none + */ + public java.lang.String getText() { + return text; + } + + /** + * Required. Text message that user wanted to append to lead. + * @param text text or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesConversation setText(java.lang.String text) { + this.text = text; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesConversation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesConversation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesConversation clone() { + return (GoogleAdsSearchads360V23ServicesConversation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesConversationOrError.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesConversationOrError.java new file mode 100644 index 00000000000..91c168ee52c --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesConversationOrError.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Result of the append conversation operation. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesConversationOrError extends com.google.api.client.json.GenericJson { + + /** + * The resource name of the appended local services lead conversation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String localServicesLeadConversation; + + /** + * Failure status when the request could not be processed. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleRpcStatus partialFailureError; + + /** + * The resource name of the appended local services lead conversation. + * @return value or {@code null} for none + */ + public java.lang.String getLocalServicesLeadConversation() { + return localServicesLeadConversation; + } + + /** + * The resource name of the appended local services lead conversation. + * @param localServicesLeadConversation localServicesLeadConversation or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesConversationOrError setLocalServicesLeadConversation(java.lang.String localServicesLeadConversation) { + this.localServicesLeadConversation = localServicesLeadConversation; + return this; + } + + /** + * Failure status when the request could not be processed. + * @return value or {@code null} for none + */ + public GoogleRpcStatus getPartialFailureError() { + return partialFailureError; + } + + /** + * Failure status when the request could not be processed. + * @param partialFailureError partialFailureError or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesConversationOrError setPartialFailureError(GoogleRpcStatus partialFailureError) { + this.partialFailureError = partialFailureError; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesConversationOrError set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesConversationOrError) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesConversationOrError clone() { + return (GoogleAdsSearchads360V23ServicesConversationOrError) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesConversionActionOperation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesConversionActionOperation.java new file mode 100644 index 00000000000..b2aae540e9d --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesConversionActionOperation.java @@ -0,0 +1,142 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A single operation (create, update, remove) on a conversion action. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesConversionActionOperation extends com.google.api.client.json.GenericJson { + + /** + * Create operation: No resource name is expected for the new conversion action. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesConversionAction create; + + /** + * Remove operation: A resource name for the removed conversion action is expected, in this + * format: `customers/{customer_id}/conversionActions/{conversion_action_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String remove; + + /** + * Update operation: The conversion action is expected to have a valid resource name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesConversionAction update; + + /** + * FieldMask that determines which resource fields are modified in an update. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String updateMask; + + /** + * Create operation: No resource name is expected for the new conversion action. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionAction getCreate() { + return create; + } + + /** + * Create operation: No resource name is expected for the new conversion action. + * @param create create or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesConversionActionOperation setCreate(GoogleAdsSearchads360V23ResourcesConversionAction create) { + this.create = create; + return this; + } + + /** + * Remove operation: A resource name for the removed conversion action is expected, in this + * format: `customers/{customer_id}/conversionActions/{conversion_action_id}` + * @return value or {@code null} for none + */ + public java.lang.String getRemove() { + return remove; + } + + /** + * Remove operation: A resource name for the removed conversion action is expected, in this + * format: `customers/{customer_id}/conversionActions/{conversion_action_id}` + * @param remove remove or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesConversionActionOperation setRemove(java.lang.String remove) { + this.remove = remove; + return this; + } + + /** + * Update operation: The conversion action is expected to have a valid resource name. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionAction getUpdate() { + return update; + } + + /** + * Update operation: The conversion action is expected to have a valid resource name. + * @param update update or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesConversionActionOperation setUpdate(GoogleAdsSearchads360V23ResourcesConversionAction update) { + this.update = update; + return this; + } + + /** + * FieldMask that determines which resource fields are modified in an update. + * @return value or {@code null} for none + */ + public String getUpdateMask() { + return updateMask; + } + + /** + * FieldMask that determines which resource fields are modified in an update. + * @param updateMask updateMask or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesConversionActionOperation setUpdateMask(String updateMask) { + this.updateMask = updateMask; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesConversionActionOperation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesConversionActionOperation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesConversionActionOperation clone() { + return (GoogleAdsSearchads360V23ServicesConversionActionOperation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesConversionCustomDimensionHeader.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesConversionCustomDimensionHeader.java new file mode 100644 index 00000000000..d8bdcfd53ff --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesConversionCustomDimensionHeader.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Message for conversion custom dimension header. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesConversionCustomDimensionHeader extends com.google.api.client.json.GenericJson { + + /** + * The conversion custom dimension ID. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long id; + + /** + * The user defined name of the conversion custom dimension. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * The conversion custom dimension ID. + * @return value or {@code null} for none + */ + public java.lang.Long getId() { + return id; + } + + /** + * The conversion custom dimension ID. + * @param id id or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesConversionCustomDimensionHeader setId(java.lang.Long id) { + this.id = id; + return this; + } + + /** + * The user defined name of the conversion custom dimension. + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * The user defined name of the conversion custom dimension. + * @param name name or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesConversionCustomDimensionHeader setName(java.lang.String name) { + this.name = name; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesConversionCustomDimensionHeader set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesConversionCustomDimensionHeader) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesConversionCustomDimensionHeader clone() { + return (GoogleAdsSearchads360V23ServicesConversionCustomDimensionHeader) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesConversionCustomMetricHeader.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesConversionCustomMetricHeader.java new file mode 100644 index 00000000000..93f90ac09b5 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesConversionCustomMetricHeader.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Message for conversion custom metric header. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesConversionCustomMetricHeader extends com.google.api.client.json.GenericJson { + + /** + * The conversion custom metric ID. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long id; + + /** + * The user defined name of the conversion custom metric. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * The conversion custom metric ID. + * @return value or {@code null} for none + */ + public java.lang.Long getId() { + return id; + } + + /** + * The conversion custom metric ID. + * @param id id or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesConversionCustomMetricHeader setId(java.lang.Long id) { + this.id = id; + return this; + } + + /** + * The user defined name of the conversion custom metric. + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * The user defined name of the conversion custom metric. + * @param name name or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesConversionCustomMetricHeader setName(java.lang.String name) { + this.name = name; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesConversionCustomMetricHeader set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesConversionCustomMetricHeader) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesConversionCustomMetricHeader clone() { + return (GoogleAdsSearchads360V23ServicesConversionCustomMetricHeader) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesConversionCustomVariableOperation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesConversionCustomVariableOperation.java new file mode 100644 index 00000000000..e5a2994972b --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesConversionCustomVariableOperation.java @@ -0,0 +1,115 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A single operation (create, update) on a conversion custom variable. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesConversionCustomVariableOperation extends com.google.api.client.json.GenericJson { + + /** + * Create operation: No resource name is expected for the new conversion custom variable. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesConversionCustomVariable create; + + /** + * Update operation: The conversion custom variable is expected to have a valid resource name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesConversionCustomVariable update; + + /** + * FieldMask that determines which resource fields are modified in an update. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String updateMask; + + /** + * Create operation: No resource name is expected for the new conversion custom variable. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionCustomVariable getCreate() { + return create; + } + + /** + * Create operation: No resource name is expected for the new conversion custom variable. + * @param create create or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesConversionCustomVariableOperation setCreate(GoogleAdsSearchads360V23ResourcesConversionCustomVariable create) { + this.create = create; + return this; + } + + /** + * Update operation: The conversion custom variable is expected to have a valid resource name. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionCustomVariable getUpdate() { + return update; + } + + /** + * Update operation: The conversion custom variable is expected to have a valid resource name. + * @param update update or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesConversionCustomVariableOperation setUpdate(GoogleAdsSearchads360V23ResourcesConversionCustomVariable update) { + this.update = update; + return this; + } + + /** + * FieldMask that determines which resource fields are modified in an update. + * @return value or {@code null} for none + */ + public String getUpdateMask() { + return updateMask; + } + + /** + * FieldMask that determines which resource fields are modified in an update. + * @param updateMask updateMask or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesConversionCustomVariableOperation setUpdateMask(String updateMask) { + this.updateMask = updateMask; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesConversionCustomVariableOperation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesConversionCustomVariableOperation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesConversionCustomVariableOperation clone() { + return (GoogleAdsSearchads360V23ServicesConversionCustomVariableOperation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesConversionGoalCampaignConfigOperation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesConversionGoalCampaignConfigOperation.java new file mode 100644 index 00000000000..4839f086881 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesConversionGoalCampaignConfigOperation.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A single operation (update) on a conversion goal campaign config. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesConversionGoalCampaignConfigOperation extends com.google.api.client.json.GenericJson { + + /** + * Update operation: The conversion goal campaign config is expected to have a valid resource + * name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesConversionGoalCampaignConfig update; + + /** + * FieldMask that determines which resource fields are modified in an update. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String updateMask; + + /** + * Update operation: The conversion goal campaign config is expected to have a valid resource + * name. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionGoalCampaignConfig getUpdate() { + return update; + } + + /** + * Update operation: The conversion goal campaign config is expected to have a valid resource + * name. + * @param update update or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesConversionGoalCampaignConfigOperation setUpdate(GoogleAdsSearchads360V23ResourcesConversionGoalCampaignConfig update) { + this.update = update; + return this; + } + + /** + * FieldMask that determines which resource fields are modified in an update. + * @return value or {@code null} for none + */ + public String getUpdateMask() { + return updateMask; + } + + /** + * FieldMask that determines which resource fields are modified in an update. + * @param updateMask updateMask or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesConversionGoalCampaignConfigOperation setUpdateMask(String updateMask) { + this.updateMask = updateMask; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesConversionGoalCampaignConfigOperation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesConversionGoalCampaignConfigOperation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesConversionGoalCampaignConfigOperation clone() { + return (GoogleAdsSearchads360V23ServicesConversionGoalCampaignConfigOperation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesConversionRateSuggestion.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesConversionRateSuggestion.java new file mode 100644 index 00000000000..71de66288f2 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesConversionRateSuggestion.java @@ -0,0 +1,145 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A conversion rate suggestion. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesConversionRateSuggestion extends com.google.api.client.json.GenericJson { + + /** + * The suggested conversion rate. The value is between 0 and 1 (exclusive). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double conversionRate; + + /** + * Model type used to calculate the suggested conversion rate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String conversionRateModel; + + /** + * The code associated with the plannable product (for example: DEMAND_GEN). To list all plannable + * product codes, use ReachPlanService.ListPlannableProducts. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String plannableProductCode; + + /** + * The surfaces associated with the plannable product. If not present, the conversion rate is + * considered surface agnostic for this product. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesSurfaceTargeting surfaceTargeting; + + /** + * The suggested conversion rate. The value is between 0 and 1 (exclusive). + * @return value or {@code null} for none + */ + public java.lang.Double getConversionRate() { + return conversionRate; + } + + /** + * The suggested conversion rate. The value is between 0 and 1 (exclusive). + * @param conversionRate conversionRate or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesConversionRateSuggestion setConversionRate(java.lang.Double conversionRate) { + this.conversionRate = conversionRate; + return this; + } + + /** + * Model type used to calculate the suggested conversion rate. + * @return value or {@code null} for none + */ + public java.lang.String getConversionRateModel() { + return conversionRateModel; + } + + /** + * Model type used to calculate the suggested conversion rate. + * @param conversionRateModel conversionRateModel or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesConversionRateSuggestion setConversionRateModel(java.lang.String conversionRateModel) { + this.conversionRateModel = conversionRateModel; + return this; + } + + /** + * The code associated with the plannable product (for example: DEMAND_GEN). To list all plannable + * product codes, use ReachPlanService.ListPlannableProducts. + * @return value or {@code null} for none + */ + public java.lang.String getPlannableProductCode() { + return plannableProductCode; + } + + /** + * The code associated with the plannable product (for example: DEMAND_GEN). To list all plannable + * product codes, use ReachPlanService.ListPlannableProducts. + * @param plannableProductCode plannableProductCode or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesConversionRateSuggestion setPlannableProductCode(java.lang.String plannableProductCode) { + this.plannableProductCode = plannableProductCode; + return this; + } + + /** + * The surfaces associated with the plannable product. If not present, the conversion rate is + * considered surface agnostic for this product. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSurfaceTargeting getSurfaceTargeting() { + return surfaceTargeting; + } + + /** + * The surfaces associated with the plannable product. If not present, the conversion rate is + * considered surface agnostic for this product. + * @param surfaceTargeting surfaceTargeting or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesConversionRateSuggestion setSurfaceTargeting(GoogleAdsSearchads360V23ServicesSurfaceTargeting surfaceTargeting) { + this.surfaceTargeting = surfaceTargeting; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesConversionRateSuggestion set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesConversionRateSuggestion) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesConversionRateSuggestion clone() { + return (GoogleAdsSearchads360V23ServicesConversionRateSuggestion) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesConversionValueRuleOperation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesConversionValueRuleOperation.java new file mode 100644 index 00000000000..29edbd65d8e --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesConversionValueRuleOperation.java @@ -0,0 +1,142 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A single operation (create, update, remove) on a conversion value rule. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesConversionValueRuleOperation extends com.google.api.client.json.GenericJson { + + /** + * Create operation: No resource name is expected for the new conversion value rule. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesConversionValueRule create; + + /** + * Remove operation: A resource name for the removed conversion value rule is expected, in this + * format: `customers/{customer_id}/conversionValueRules/{conversion_value_rule_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String remove; + + /** + * Update operation: The conversion value rule is expected to have a valid resource name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesConversionValueRule update; + + /** + * FieldMask that determines which resource fields are modified in an update. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String updateMask; + + /** + * Create operation: No resource name is expected for the new conversion value rule. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionValueRule getCreate() { + return create; + } + + /** + * Create operation: No resource name is expected for the new conversion value rule. + * @param create create or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesConversionValueRuleOperation setCreate(GoogleAdsSearchads360V23ResourcesConversionValueRule create) { + this.create = create; + return this; + } + + /** + * Remove operation: A resource name for the removed conversion value rule is expected, in this + * format: `customers/{customer_id}/conversionValueRules/{conversion_value_rule_id}` + * @return value or {@code null} for none + */ + public java.lang.String getRemove() { + return remove; + } + + /** + * Remove operation: A resource name for the removed conversion value rule is expected, in this + * format: `customers/{customer_id}/conversionValueRules/{conversion_value_rule_id}` + * @param remove remove or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesConversionValueRuleOperation setRemove(java.lang.String remove) { + this.remove = remove; + return this; + } + + /** + * Update operation: The conversion value rule is expected to have a valid resource name. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionValueRule getUpdate() { + return update; + } + + /** + * Update operation: The conversion value rule is expected to have a valid resource name. + * @param update update or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesConversionValueRuleOperation setUpdate(GoogleAdsSearchads360V23ResourcesConversionValueRule update) { + this.update = update; + return this; + } + + /** + * FieldMask that determines which resource fields are modified in an update. + * @return value or {@code null} for none + */ + public String getUpdateMask() { + return updateMask; + } + + /** + * FieldMask that determines which resource fields are modified in an update. + * @param updateMask updateMask or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesConversionValueRuleOperation setUpdateMask(String updateMask) { + this.updateMask = updateMask; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesConversionValueRuleOperation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesConversionValueRuleOperation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesConversionValueRuleOperation clone() { + return (GoogleAdsSearchads360V23ServicesConversionValueRuleOperation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesConversionValueRuleSetOperation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesConversionValueRuleSetOperation.java new file mode 100644 index 00000000000..247a75e27fb --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesConversionValueRuleSetOperation.java @@ -0,0 +1,142 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A single operation (create, update, remove) on a conversion value rule set. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesConversionValueRuleSetOperation extends com.google.api.client.json.GenericJson { + + /** + * Create operation: No resource name is expected for the new conversion value rule set. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesConversionValueRuleSet create; + + /** + * Remove operation: A resource name for the removed conversion value rule set is expected, in + * this format: `customers/{customer_id}/conversionValueRuleSets/{conversion_value_rule_set_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String remove; + + /** + * Update operation: The conversion value rule set is expected to have a valid resource name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesConversionValueRuleSet update; + + /** + * FieldMask that determines which resource fields are modified in an update. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String updateMask; + + /** + * Create operation: No resource name is expected for the new conversion value rule set. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionValueRuleSet getCreate() { + return create; + } + + /** + * Create operation: No resource name is expected for the new conversion value rule set. + * @param create create or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesConversionValueRuleSetOperation setCreate(GoogleAdsSearchads360V23ResourcesConversionValueRuleSet create) { + this.create = create; + return this; + } + + /** + * Remove operation: A resource name for the removed conversion value rule set is expected, in + * this format: `customers/{customer_id}/conversionValueRuleSets/{conversion_value_rule_set_id}` + * @return value or {@code null} for none + */ + public java.lang.String getRemove() { + return remove; + } + + /** + * Remove operation: A resource name for the removed conversion value rule set is expected, in + * this format: `customers/{customer_id}/conversionValueRuleSets/{conversion_value_rule_set_id}` + * @param remove remove or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesConversionValueRuleSetOperation setRemove(java.lang.String remove) { + this.remove = remove; + return this; + } + + /** + * Update operation: The conversion value rule set is expected to have a valid resource name. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionValueRuleSet getUpdate() { + return update; + } + + /** + * Update operation: The conversion value rule set is expected to have a valid resource name. + * @param update update or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesConversionValueRuleSetOperation setUpdate(GoogleAdsSearchads360V23ResourcesConversionValueRuleSet update) { + this.update = update; + return this; + } + + /** + * FieldMask that determines which resource fields are modified in an update. + * @return value or {@code null} for none + */ + public String getUpdateMask() { + return updateMask; + } + + /** + * FieldMask that determines which resource fields are modified in an update. + * @param updateMask updateMask or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesConversionValueRuleSetOperation setUpdateMask(String updateMask) { + this.updateMask = updateMask; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesConversionValueRuleSetOperation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesConversionValueRuleSetOperation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesConversionValueRuleSetOperation clone() { + return (GoogleAdsSearchads360V23ServicesConversionValueRuleSetOperation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCreateAccountLinkRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCreateAccountLinkRequest.java new file mode 100644 index 00000000000..84318b5807f --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCreateAccountLinkRequest.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for AccountLinkService.CreateAccountLink. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesCreateAccountLinkRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The account link to be created. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAccountLink accountLink; + + /** + * Required. The account link to be created. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAccountLink getAccountLink() { + return accountLink; + } + + /** + * Required. The account link to be created. + * @param accountLink accountLink or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCreateAccountLinkRequest setAccountLink(GoogleAdsSearchads360V23ResourcesAccountLink accountLink) { + this.accountLink = accountLink; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesCreateAccountLinkRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesCreateAccountLinkRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesCreateAccountLinkRequest clone() { + return (GoogleAdsSearchads360V23ServicesCreateAccountLinkRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCreateAccountLinkResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCreateAccountLinkResponse.java new file mode 100644 index 00000000000..d7693cebb1c --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCreateAccountLinkResponse.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for AccountLinkService.CreateAccountLink. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesCreateAccountLinkResponse extends com.google.api.client.json.GenericJson { + + /** + * Returned for successful operations. Resource name of the account link. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Returned for successful operations. Resource name of the account link. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Returned for successful operations. Resource name of the account link. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCreateAccountLinkResponse setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesCreateAccountLinkResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesCreateAccountLinkResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesCreateAccountLinkResponse clone() { + return (GoogleAdsSearchads360V23ServicesCreateAccountLinkResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCreateCustomerClientRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCreateCustomerClientRequest.java new file mode 100644 index 00000000000..042f924e576 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCreateCustomerClientRequest.java @@ -0,0 +1,148 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for CustomerService.CreateCustomerClient. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesCreateCustomerClientRequest extends com.google.api.client.json.GenericJson { + + /** + * The proposed role of user on the created client customer. Accessible only to customers on the + * allow-list. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String accessRole; + + /** + * Required. The new client customer to create. The resource name on this customer will be + * ignored. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCustomer customerClient; + + /** + * Email address of the user who should be invited on the created client customer. Accessible only + * to customers on the allow-list. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String emailAddress; + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean validateOnly; + + /** + * The proposed role of user on the created client customer. Accessible only to customers on the + * allow-list. + * @return value or {@code null} for none + */ + public java.lang.String getAccessRole() { + return accessRole; + } + + /** + * The proposed role of user on the created client customer. Accessible only to customers on the + * allow-list. + * @param accessRole accessRole or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCreateCustomerClientRequest setAccessRole(java.lang.String accessRole) { + this.accessRole = accessRole; + return this; + } + + /** + * Required. The new client customer to create. The resource name on this customer will be + * ignored. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomer getCustomerClient() { + return customerClient; + } + + /** + * Required. The new client customer to create. The resource name on this customer will be + * ignored. + * @param customerClient customerClient or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCreateCustomerClientRequest setCustomerClient(GoogleAdsSearchads360V23ResourcesCustomer customerClient) { + this.customerClient = customerClient; + return this; + } + + /** + * Email address of the user who should be invited on the created client customer. Accessible only + * to customers on the allow-list. + * @return value or {@code null} for none + */ + public java.lang.String getEmailAddress() { + return emailAddress; + } + + /** + * Email address of the user who should be invited on the created client customer. Accessible only + * to customers on the allow-list. + * @param emailAddress emailAddress or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCreateCustomerClientRequest setEmailAddress(java.lang.String emailAddress) { + this.emailAddress = emailAddress; + return this; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @return value or {@code null} for none + */ + public java.lang.Boolean getValidateOnly() { + return validateOnly; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @param validateOnly validateOnly or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCreateCustomerClientRequest setValidateOnly(java.lang.Boolean validateOnly) { + this.validateOnly = validateOnly; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesCreateCustomerClientRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesCreateCustomerClientRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesCreateCustomerClientRequest clone() { + return (GoogleAdsSearchads360V23ServicesCreateCustomerClientRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCreateCustomerClientResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCreateCustomerClientResponse.java new file mode 100644 index 00000000000..29645088c0f --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCreateCustomerClientResponse.java @@ -0,0 +1,97 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for CreateCustomerClient mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesCreateCustomerClientResponse extends com.google.api.client.json.GenericJson { + + /** + * Link for inviting user to access the created customer. Accessible to allowlisted customers + * only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String invitationLink; + + /** + * The resource name of the newly created customer. Customer resource names have the form: + * `customers/{customer_id}`. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Link for inviting user to access the created customer. Accessible to allowlisted customers + * only. + * @return value or {@code null} for none + */ + public java.lang.String getInvitationLink() { + return invitationLink; + } + + /** + * Link for inviting user to access the created customer. Accessible to allowlisted customers + * only. + * @param invitationLink invitationLink or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCreateCustomerClientResponse setInvitationLink(java.lang.String invitationLink) { + this.invitationLink = invitationLink; + return this; + } + + /** + * The resource name of the newly created customer. Customer resource names have the form: + * `customers/{customer_id}`. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * The resource name of the newly created customer. Customer resource names have the form: + * `customers/{customer_id}`. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCreateCustomerClientResponse setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesCreateCustomerClientResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesCreateCustomerClientResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesCreateCustomerClientResponse clone() { + return (GoogleAdsSearchads360V23ServicesCreateCustomerClientResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCreateDataLinkRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCreateDataLinkRequest.java new file mode 100644 index 00000000000..1e2c626ed22 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCreateDataLinkRequest.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for DataLinkService.CreateDataLink. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesCreateDataLinkRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The data link to be created. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesDataLink dataLink; + + /** + * Required. The data link to be created. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesDataLink getDataLink() { + return dataLink; + } + + /** + * Required. The data link to be created. + * @param dataLink dataLink or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCreateDataLinkRequest setDataLink(GoogleAdsSearchads360V23ResourcesDataLink dataLink) { + this.dataLink = dataLink; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesCreateDataLinkRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesCreateDataLinkRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesCreateDataLinkRequest clone() { + return (GoogleAdsSearchads360V23ServicesCreateDataLinkRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCreateDataLinkResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCreateDataLinkResponse.java new file mode 100644 index 00000000000..98241b6ba2b --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCreateDataLinkResponse.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for DataLinkService.CreateDataLink. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesCreateDataLinkResponse extends com.google.api.client.json.GenericJson { + + /** + * Returned for successful operations. Resource name of the data link. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Returned for successful operations. Resource name of the data link. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Returned for successful operations. Resource name of the data link. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCreateDataLinkResponse setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesCreateDataLinkResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesCreateDataLinkResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesCreateDataLinkResponse clone() { + return (GoogleAdsSearchads360V23ServicesCreateDataLinkResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCreateOfflineUserDataJobRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCreateOfflineUserDataJobRequest.java new file mode 100644 index 00000000000..b31003378d8 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCreateOfflineUserDataJobRequest.java @@ -0,0 +1,118 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for OfflineUserDataJobService.CreateOfflineUserDataJob. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesCreateOfflineUserDataJobRequest extends com.google.api.client.json.GenericJson { + + /** + * If true, match rate range for the offline user data job is calculated and made available in the + * resource. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean enableMatchRateRangePreview; + + /** + * Required. The offline user data job to be created. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesOfflineUserDataJob job; + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean validateOnly; + + /** + * If true, match rate range for the offline user data job is calculated and made available in the + * resource. + * @return value or {@code null} for none + */ + public java.lang.Boolean getEnableMatchRateRangePreview() { + return enableMatchRateRangePreview; + } + + /** + * If true, match rate range for the offline user data job is calculated and made available in the + * resource. + * @param enableMatchRateRangePreview enableMatchRateRangePreview or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCreateOfflineUserDataJobRequest setEnableMatchRateRangePreview(java.lang.Boolean enableMatchRateRangePreview) { + this.enableMatchRateRangePreview = enableMatchRateRangePreview; + return this; + } + + /** + * Required. The offline user data job to be created. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesOfflineUserDataJob getJob() { + return job; + } + + /** + * Required. The offline user data job to be created. + * @param job job or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCreateOfflineUserDataJobRequest setJob(GoogleAdsSearchads360V23ResourcesOfflineUserDataJob job) { + this.job = job; + return this; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @return value or {@code null} for none + */ + public java.lang.Boolean getValidateOnly() { + return validateOnly; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @param validateOnly validateOnly or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCreateOfflineUserDataJobRequest setValidateOnly(java.lang.Boolean validateOnly) { + this.validateOnly = validateOnly; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesCreateOfflineUserDataJobRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesCreateOfflineUserDataJobRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesCreateOfflineUserDataJobRequest clone() { + return (GoogleAdsSearchads360V23ServicesCreateOfflineUserDataJobRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCreateOfflineUserDataJobResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCreateOfflineUserDataJobResponse.java new file mode 100644 index 00000000000..c073a89a977 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCreateOfflineUserDataJobResponse.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for OfflineUserDataJobService.CreateOfflineUserDataJob. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesCreateOfflineUserDataJobResponse extends com.google.api.client.json.GenericJson { + + /** + * The resource name of the OfflineUserDataJob. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * The resource name of the OfflineUserDataJob. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * The resource name of the OfflineUserDataJob. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCreateOfflineUserDataJobResponse setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesCreateOfflineUserDataJobResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesCreateOfflineUserDataJobResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesCreateOfflineUserDataJobResponse clone() { + return (GoogleAdsSearchads360V23ServicesCreateOfflineUserDataJobResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCreateProductLinkInvitationRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCreateProductLinkInvitationRequest.java new file mode 100644 index 00000000000..d6c1cec6c7c --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCreateProductLinkInvitationRequest.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for ProductLinkInvitationService.CreateProductLinkInvitation. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesCreateProductLinkInvitationRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The product link invitation to be created. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesProductLinkInvitation productLinkInvitation; + + /** + * Required. The product link invitation to be created. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesProductLinkInvitation getProductLinkInvitation() { + return productLinkInvitation; + } + + /** + * Required. The product link invitation to be created. + * @param productLinkInvitation productLinkInvitation or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCreateProductLinkInvitationRequest setProductLinkInvitation(GoogleAdsSearchads360V23ResourcesProductLinkInvitation productLinkInvitation) { + this.productLinkInvitation = productLinkInvitation; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesCreateProductLinkInvitationRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesCreateProductLinkInvitationRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesCreateProductLinkInvitationRequest clone() { + return (GoogleAdsSearchads360V23ServicesCreateProductLinkInvitationRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCreateProductLinkInvitationResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCreateProductLinkInvitationResponse.java new file mode 100644 index 00000000000..f3f5ba6bb31 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCreateProductLinkInvitationResponse.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for product link invitation create. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesCreateProductLinkInvitationResponse extends com.google.api.client.json.GenericJson { + + /** + * Resource name of the product link invitation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Resource name of the product link invitation. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Resource name of the product link invitation. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCreateProductLinkInvitationResponse setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesCreateProductLinkInvitationResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesCreateProductLinkInvitationResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesCreateProductLinkInvitationResponse clone() { + return (GoogleAdsSearchads360V23ServicesCreateProductLinkInvitationResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCreateProductLinkRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCreateProductLinkRequest.java new file mode 100644 index 00000000000..f6fcc9d2d9e --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCreateProductLinkRequest.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for ProductLinkService.CreateProductLink. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesCreateProductLinkRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The product link to be created. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesProductLink productLink; + + /** + * Required. The product link to be created. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesProductLink getProductLink() { + return productLink; + } + + /** + * Required. The product link to be created. + * @param productLink productLink or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCreateProductLinkRequest setProductLink(GoogleAdsSearchads360V23ResourcesProductLink productLink) { + this.productLink = productLink; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesCreateProductLinkRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesCreateProductLinkRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesCreateProductLinkRequest clone() { + return (GoogleAdsSearchads360V23ServicesCreateProductLinkRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCreateProductLinkResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCreateProductLinkResponse.java new file mode 100644 index 00000000000..0a171d6ba06 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCreateProductLinkResponse.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for ProductLinkService.CreateProductLink. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesCreateProductLinkResponse extends com.google.api.client.json.GenericJson { + + /** + * Returned for successful operations. Resource name of the product link. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Returned for successful operations. Resource name of the product link. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Returned for successful operations. Resource name of the product link. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCreateProductLinkResponse setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesCreateProductLinkResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesCreateProductLinkResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesCreateProductLinkResponse clone() { + return (GoogleAdsSearchads360V23ServicesCreateProductLinkResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCriterionBidModifier.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCriterionBidModifier.java new file mode 100644 index 00000000000..6d7c720bf71 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCriterionBidModifier.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Location Criterion bid modifier. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesCriterionBidModifier extends com.google.api.client.json.GenericJson { + + /** + * The associated multiplier for the criterion_id. If set, this value cannot be 0. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double bidModifier; + + /** + * The resource name of the geo location to target. The resource name is of the format + * "geoTargetConstants/{criterion_id}". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String geoTargetConstant; + + /** + * The associated multiplier for the criterion_id. If set, this value cannot be 0. + * @return value or {@code null} for none + */ + public java.lang.Double getBidModifier() { + return bidModifier; + } + + /** + * The associated multiplier for the criterion_id. If set, this value cannot be 0. + * @param bidModifier bidModifier or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCriterionBidModifier setBidModifier(java.lang.Double bidModifier) { + this.bidModifier = bidModifier; + return this; + } + + /** + * The resource name of the geo location to target. The resource name is of the format + * "geoTargetConstants/{criterion_id}". + * @return value or {@code null} for none + */ + public java.lang.String getGeoTargetConstant() { + return geoTargetConstant; + } + + /** + * The resource name of the geo location to target. The resource name is of the format + * "geoTargetConstants/{criterion_id}". + * @param geoTargetConstant geoTargetConstant or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCriterionBidModifier setGeoTargetConstant(java.lang.String geoTargetConstant) { + this.geoTargetConstant = geoTargetConstant; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesCriterionBidModifier set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesCriterionBidModifier) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesCriterionBidModifier clone() { + return (GoogleAdsSearchads360V23ServicesCriterionBidModifier) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCustomAudienceOperation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCustomAudienceOperation.java new file mode 100644 index 00000000000..fc4b379e8c5 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCustomAudienceOperation.java @@ -0,0 +1,142 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A single operation (create, update) on a custom audience. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesCustomAudienceOperation extends com.google.api.client.json.GenericJson { + + /** + * Create operation: No resource name is expected for the new custom audience. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCustomAudience create; + + /** + * Remove operation: A resource name for the removed custom audience is expected, in this format: + * `customers/{customer_id}/customAudiences/{custom_audience_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String remove; + + /** + * Update operation: The custom audience is expected to have a valid resource name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCustomAudience update; + + /** + * FieldMask that determines which resource fields are modified in an update. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String updateMask; + + /** + * Create operation: No resource name is expected for the new custom audience. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomAudience getCreate() { + return create; + } + + /** + * Create operation: No resource name is expected for the new custom audience. + * @param create create or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCustomAudienceOperation setCreate(GoogleAdsSearchads360V23ResourcesCustomAudience create) { + this.create = create; + return this; + } + + /** + * Remove operation: A resource name for the removed custom audience is expected, in this format: + * `customers/{customer_id}/customAudiences/{custom_audience_id}` + * @return value or {@code null} for none + */ + public java.lang.String getRemove() { + return remove; + } + + /** + * Remove operation: A resource name for the removed custom audience is expected, in this format: + * `customers/{customer_id}/customAudiences/{custom_audience_id}` + * @param remove remove or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCustomAudienceOperation setRemove(java.lang.String remove) { + this.remove = remove; + return this; + } + + /** + * Update operation: The custom audience is expected to have a valid resource name. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomAudience getUpdate() { + return update; + } + + /** + * Update operation: The custom audience is expected to have a valid resource name. + * @param update update or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCustomAudienceOperation setUpdate(GoogleAdsSearchads360V23ResourcesCustomAudience update) { + this.update = update; + return this; + } + + /** + * FieldMask that determines which resource fields are modified in an update. + * @return value or {@code null} for none + */ + public String getUpdateMask() { + return updateMask; + } + + /** + * FieldMask that determines which resource fields are modified in an update. + * @param updateMask updateMask or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCustomAudienceOperation setUpdateMask(String updateMask) { + this.updateMask = updateMask; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesCustomAudienceOperation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesCustomAudienceOperation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesCustomAudienceOperation clone() { + return (GoogleAdsSearchads360V23ServicesCustomAudienceOperation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCustomColumnHeader.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCustomColumnHeader.java new file mode 100644 index 00000000000..e4425d69e33 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCustomColumnHeader.java @@ -0,0 +1,115 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Message for custom column header. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesCustomColumnHeader extends com.google.api.client.json.GenericJson { + + /** + * The custom column ID. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long id; + + /** + * The user defined name of the custom column. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * True when the custom column references metrics. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean referencesMetrics; + + /** + * The custom column ID. + * @return value or {@code null} for none + */ + public java.lang.Long getId() { + return id; + } + + /** + * The custom column ID. + * @param id id or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCustomColumnHeader setId(java.lang.Long id) { + this.id = id; + return this; + } + + /** + * The user defined name of the custom column. + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * The user defined name of the custom column. + * @param name name or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCustomColumnHeader setName(java.lang.String name) { + this.name = name; + return this; + } + + /** + * True when the custom column references metrics. + * @return value or {@code null} for none + */ + public java.lang.Boolean getReferencesMetrics() { + return referencesMetrics; + } + + /** + * True when the custom column references metrics. + * @param referencesMetrics referencesMetrics or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCustomColumnHeader setReferencesMetrics(java.lang.Boolean referencesMetrics) { + this.referencesMetrics = referencesMetrics; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesCustomColumnHeader set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesCustomColumnHeader) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesCustomColumnHeader clone() { + return (GoogleAdsSearchads360V23ServicesCustomColumnHeader) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCustomConversionGoalOperation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCustomConversionGoalOperation.java new file mode 100644 index 00000000000..72fe57c97d9 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCustomConversionGoalOperation.java @@ -0,0 +1,142 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A single operation (create, remove) on a custom conversion goal. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesCustomConversionGoalOperation extends com.google.api.client.json.GenericJson { + + /** + * Create operation: No resource name is expected for the new custom conversion goal + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCustomConversionGoal create; + + /** + * Remove operation: A resource name for the removed custom conversion goal is expected, in this + * format: 'customers/{customer_id}/customConversionGoals/{goal_id}' + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String remove; + + /** + * Update operation: The custom conversion goal is expected to have a valid resource name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCustomConversionGoal update; + + /** + * FieldMask that determines which resource fields are modified in an update. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String updateMask; + + /** + * Create operation: No resource name is expected for the new custom conversion goal + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomConversionGoal getCreate() { + return create; + } + + /** + * Create operation: No resource name is expected for the new custom conversion goal + * @param create create or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCustomConversionGoalOperation setCreate(GoogleAdsSearchads360V23ResourcesCustomConversionGoal create) { + this.create = create; + return this; + } + + /** + * Remove operation: A resource name for the removed custom conversion goal is expected, in this + * format: 'customers/{customer_id}/customConversionGoals/{goal_id}' + * @return value or {@code null} for none + */ + public java.lang.String getRemove() { + return remove; + } + + /** + * Remove operation: A resource name for the removed custom conversion goal is expected, in this + * format: 'customers/{customer_id}/customConversionGoals/{goal_id}' + * @param remove remove or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCustomConversionGoalOperation setRemove(java.lang.String remove) { + this.remove = remove; + return this; + } + + /** + * Update operation: The custom conversion goal is expected to have a valid resource name. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomConversionGoal getUpdate() { + return update; + } + + /** + * Update operation: The custom conversion goal is expected to have a valid resource name. + * @param update update or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCustomConversionGoalOperation setUpdate(GoogleAdsSearchads360V23ResourcesCustomConversionGoal update) { + this.update = update; + return this; + } + + /** + * FieldMask that determines which resource fields are modified in an update. + * @return value or {@code null} for none + */ + public String getUpdateMask() { + return updateMask; + } + + /** + * FieldMask that determines which resource fields are modified in an update. + * @param updateMask updateMask or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCustomConversionGoalOperation setUpdateMask(String updateMask) { + this.updateMask = updateMask; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesCustomConversionGoalOperation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesCustomConversionGoalOperation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesCustomConversionGoalOperation clone() { + return (GoogleAdsSearchads360V23ServicesCustomConversionGoalOperation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCustomInterestOperation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCustomInterestOperation.java new file mode 100644 index 00000000000..ab722339087 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCustomInterestOperation.java @@ -0,0 +1,115 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A single operation (create, update) on a custom interest. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesCustomInterestOperation extends com.google.api.client.json.GenericJson { + + /** + * Create operation: No resource name is expected for the new custom interest. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCustomInterest create; + + /** + * Update operation: The custom interest is expected to have a valid resource name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCustomInterest update; + + /** + * FieldMask that determines which resource fields are modified in an update. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String updateMask; + + /** + * Create operation: No resource name is expected for the new custom interest. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomInterest getCreate() { + return create; + } + + /** + * Create operation: No resource name is expected for the new custom interest. + * @param create create or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCustomInterestOperation setCreate(GoogleAdsSearchads360V23ResourcesCustomInterest create) { + this.create = create; + return this; + } + + /** + * Update operation: The custom interest is expected to have a valid resource name. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomInterest getUpdate() { + return update; + } + + /** + * Update operation: The custom interest is expected to have a valid resource name. + * @param update update or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCustomInterestOperation setUpdate(GoogleAdsSearchads360V23ResourcesCustomInterest update) { + this.update = update; + return this; + } + + /** + * FieldMask that determines which resource fields are modified in an update. + * @return value or {@code null} for none + */ + public String getUpdateMask() { + return updateMask; + } + + /** + * FieldMask that determines which resource fields are modified in an update. + * @param updateMask updateMask or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCustomInterestOperation setUpdateMask(String updateMask) { + this.updateMask = updateMask; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesCustomInterestOperation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesCustomInterestOperation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesCustomInterestOperation clone() { + return (GoogleAdsSearchads360V23ServicesCustomInterestOperation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCustomerAssetOperation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCustomerAssetOperation.java new file mode 100644 index 00000000000..82ef60a2de4 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCustomerAssetOperation.java @@ -0,0 +1,142 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A single operation (create, update, remove) on a customer asset. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesCustomerAssetOperation extends com.google.api.client.json.GenericJson { + + /** + * Create operation: No resource name is expected for the new customer asset. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCustomerAsset create; + + /** + * Remove operation: A resource name for the removed customer asset is expected, in this format: + * `customers/{customer_id}/customerAssets/{asset_id}~{field_type}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String remove; + + /** + * Update operation: The customer asset is expected to have a valid resource name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCustomerAsset update; + + /** + * FieldMask that determines which resource fields are modified in an update. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String updateMask; + + /** + * Create operation: No resource name is expected for the new customer asset. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerAsset getCreate() { + return create; + } + + /** + * Create operation: No resource name is expected for the new customer asset. + * @param create create or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCustomerAssetOperation setCreate(GoogleAdsSearchads360V23ResourcesCustomerAsset create) { + this.create = create; + return this; + } + + /** + * Remove operation: A resource name for the removed customer asset is expected, in this format: + * `customers/{customer_id}/customerAssets/{asset_id}~{field_type}` + * @return value or {@code null} for none + */ + public java.lang.String getRemove() { + return remove; + } + + /** + * Remove operation: A resource name for the removed customer asset is expected, in this format: + * `customers/{customer_id}/customerAssets/{asset_id}~{field_type}` + * @param remove remove or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCustomerAssetOperation setRemove(java.lang.String remove) { + this.remove = remove; + return this; + } + + /** + * Update operation: The customer asset is expected to have a valid resource name. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerAsset getUpdate() { + return update; + } + + /** + * Update operation: The customer asset is expected to have a valid resource name. + * @param update update or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCustomerAssetOperation setUpdate(GoogleAdsSearchads360V23ResourcesCustomerAsset update) { + this.update = update; + return this; + } + + /** + * FieldMask that determines which resource fields are modified in an update. + * @return value or {@code null} for none + */ + public String getUpdateMask() { + return updateMask; + } + + /** + * FieldMask that determines which resource fields are modified in an update. + * @param updateMask updateMask or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCustomerAssetOperation setUpdateMask(String updateMask) { + this.updateMask = updateMask; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesCustomerAssetOperation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesCustomerAssetOperation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesCustomerAssetOperation clone() { + return (GoogleAdsSearchads360V23ServicesCustomerAssetOperation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCustomerAssetSetOperation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCustomerAssetSetOperation.java new file mode 100644 index 00000000000..b89d19222b0 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCustomerAssetSetOperation.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A single operation (create, remove) on a customer asset set. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesCustomerAssetSetOperation extends com.google.api.client.json.GenericJson { + + /** + * Create operation: No resource name is expected for the new customer asset set. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCustomerAssetSet create; + + /** + * Remove operation: A resource name for the removed customer asset set is expected, in this + * format: `customers/{customer_id}/customerAssetSets/{asset_set_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String remove; + + /** + * Create operation: No resource name is expected for the new customer asset set. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerAssetSet getCreate() { + return create; + } + + /** + * Create operation: No resource name is expected for the new customer asset set. + * @param create create or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCustomerAssetSetOperation setCreate(GoogleAdsSearchads360V23ResourcesCustomerAssetSet create) { + this.create = create; + return this; + } + + /** + * Remove operation: A resource name for the removed customer asset set is expected, in this + * format: `customers/{customer_id}/customerAssetSets/{asset_set_id}` + * @return value or {@code null} for none + */ + public java.lang.String getRemove() { + return remove; + } + + /** + * Remove operation: A resource name for the removed customer asset set is expected, in this + * format: `customers/{customer_id}/customerAssetSets/{asset_set_id}` + * @param remove remove or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCustomerAssetSetOperation setRemove(java.lang.String remove) { + this.remove = remove; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesCustomerAssetSetOperation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesCustomerAssetSetOperation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesCustomerAssetSetOperation clone() { + return (GoogleAdsSearchads360V23ServicesCustomerAssetSetOperation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCustomerClientLinkOperation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCustomerClientLinkOperation.java new file mode 100644 index 00000000000..e0353f8f56f --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCustomerClientLinkOperation.java @@ -0,0 +1,115 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A single operation (create, update) on a CustomerClientLink. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesCustomerClientLinkOperation extends com.google.api.client.json.GenericJson { + + /** + * Create operation: No resource name is expected for the new link. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCustomerClientLink create; + + /** + * Update operation: The link is expected to have a valid resource name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCustomerClientLink update; + + /** + * FieldMask that determines which resource fields are modified in an update. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String updateMask; + + /** + * Create operation: No resource name is expected for the new link. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerClientLink getCreate() { + return create; + } + + /** + * Create operation: No resource name is expected for the new link. + * @param create create or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCustomerClientLinkOperation setCreate(GoogleAdsSearchads360V23ResourcesCustomerClientLink create) { + this.create = create; + return this; + } + + /** + * Update operation: The link is expected to have a valid resource name. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerClientLink getUpdate() { + return update; + } + + /** + * Update operation: The link is expected to have a valid resource name. + * @param update update or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCustomerClientLinkOperation setUpdate(GoogleAdsSearchads360V23ResourcesCustomerClientLink update) { + this.update = update; + return this; + } + + /** + * FieldMask that determines which resource fields are modified in an update. + * @return value or {@code null} for none + */ + public String getUpdateMask() { + return updateMask; + } + + /** + * FieldMask that determines which resource fields are modified in an update. + * @param updateMask updateMask or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCustomerClientLinkOperation setUpdateMask(String updateMask) { + this.updateMask = updateMask; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesCustomerClientLinkOperation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesCustomerClientLinkOperation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesCustomerClientLinkOperation clone() { + return (GoogleAdsSearchads360V23ServicesCustomerClientLinkOperation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCustomerConversionGoalOperation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCustomerConversionGoalOperation.java new file mode 100644 index 00000000000..dfbaa1c841b --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCustomerConversionGoalOperation.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A single operation (update) on a customer conversion goal. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesCustomerConversionGoalOperation extends com.google.api.client.json.GenericJson { + + /** + * Update operation: The customer conversion goal is expected to have a valid resource name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCustomerConversionGoal update; + + /** + * FieldMask that determines which resource fields are modified in an update. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String updateMask; + + /** + * Update operation: The customer conversion goal is expected to have a valid resource name. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerConversionGoal getUpdate() { + return update; + } + + /** + * Update operation: The customer conversion goal is expected to have a valid resource name. + * @param update update or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCustomerConversionGoalOperation setUpdate(GoogleAdsSearchads360V23ResourcesCustomerConversionGoal update) { + this.update = update; + return this; + } + + /** + * FieldMask that determines which resource fields are modified in an update. + * @return value or {@code null} for none + */ + public String getUpdateMask() { + return updateMask; + } + + /** + * FieldMask that determines which resource fields are modified in an update. + * @param updateMask updateMask or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCustomerConversionGoalOperation setUpdateMask(String updateMask) { + this.updateMask = updateMask; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesCustomerConversionGoalOperation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesCustomerConversionGoalOperation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesCustomerConversionGoalOperation clone() { + return (GoogleAdsSearchads360V23ServicesCustomerConversionGoalOperation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCustomerCustomizerOperation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCustomerCustomizerOperation.java new file mode 100644 index 00000000000..62ec1815027 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCustomerCustomizerOperation.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A single operation (create, remove) on a customizer attribute. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesCustomerCustomizerOperation extends com.google.api.client.json.GenericJson { + + /** + * Create operation: No resource name is expected for the new customer customizer + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCustomerCustomizer create; + + /** + * Remove operation: A resource name for the removed customer customizer is expected, in this + * format: `customers/{customer_id}/customerCustomizers/{customizer_attribute_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String remove; + + /** + * Create operation: No resource name is expected for the new customer customizer + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerCustomizer getCreate() { + return create; + } + + /** + * Create operation: No resource name is expected for the new customer customizer + * @param create create or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCustomerCustomizerOperation setCreate(GoogleAdsSearchads360V23ResourcesCustomerCustomizer create) { + this.create = create; + return this; + } + + /** + * Remove operation: A resource name for the removed customer customizer is expected, in this + * format: `customers/{customer_id}/customerCustomizers/{customizer_attribute_id}` + * @return value or {@code null} for none + */ + public java.lang.String getRemove() { + return remove; + } + + /** + * Remove operation: A resource name for the removed customer customizer is expected, in this + * format: `customers/{customer_id}/customerCustomizers/{customizer_attribute_id}` + * @param remove remove or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCustomerCustomizerOperation setRemove(java.lang.String remove) { + this.remove = remove; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesCustomerCustomizerOperation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesCustomerCustomizerOperation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesCustomerCustomizerOperation clone() { + return (GoogleAdsSearchads360V23ServicesCustomerCustomizerOperation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCustomerLabelOperation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCustomerLabelOperation.java new file mode 100644 index 00000000000..0b94cc3817b --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCustomerLabelOperation.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A single operation (create, remove) on a customer-label relationship. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesCustomerLabelOperation extends com.google.api.client.json.GenericJson { + + /** + * Create operation: No resource name is expected for the new customer-label relationship. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCustomerLabel create; + + /** + * Remove operation: A resource name for the customer-label relationship being removed, in this + * format: `customers/{customer_id}/customerLabels/{label_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String remove; + + /** + * Create operation: No resource name is expected for the new customer-label relationship. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerLabel getCreate() { + return create; + } + + /** + * Create operation: No resource name is expected for the new customer-label relationship. + * @param create create or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCustomerLabelOperation setCreate(GoogleAdsSearchads360V23ResourcesCustomerLabel create) { + this.create = create; + return this; + } + + /** + * Remove operation: A resource name for the customer-label relationship being removed, in this + * format: `customers/{customer_id}/customerLabels/{label_id}` + * @return value or {@code null} for none + */ + public java.lang.String getRemove() { + return remove; + } + + /** + * Remove operation: A resource name for the customer-label relationship being removed, in this + * format: `customers/{customer_id}/customerLabels/{label_id}` + * @param remove remove or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCustomerLabelOperation setRemove(java.lang.String remove) { + this.remove = remove; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesCustomerLabelOperation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesCustomerLabelOperation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesCustomerLabelOperation clone() { + return (GoogleAdsSearchads360V23ServicesCustomerLabelOperation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCustomerLifecycleGoalOperation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCustomerLifecycleGoalOperation.java new file mode 100644 index 00000000000..a961a1c1e3e --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCustomerLifecycleGoalOperation.java @@ -0,0 +1,112 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A single operation on a customer lifecycle goal. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesCustomerLifecycleGoalOperation extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCustomerLifecycleGoal create; + + /** + * Update operation: Update an existing customer lifecycle goal. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCustomerLifecycleGoal update; + + /** + * Optional. FieldMask that determines which resource fields are modified in an update. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String updateMask; + + /** + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerLifecycleGoal getCreate() { + return create; + } + + /** + * @param create create or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCustomerLifecycleGoalOperation setCreate(GoogleAdsSearchads360V23ResourcesCustomerLifecycleGoal create) { + this.create = create; + return this; + } + + /** + * Update operation: Update an existing customer lifecycle goal. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerLifecycleGoal getUpdate() { + return update; + } + + /** + * Update operation: Update an existing customer lifecycle goal. + * @param update update or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCustomerLifecycleGoalOperation setUpdate(GoogleAdsSearchads360V23ResourcesCustomerLifecycleGoal update) { + this.update = update; + return this; + } + + /** + * Optional. FieldMask that determines which resource fields are modified in an update. + * @return value or {@code null} for none + */ + public String getUpdateMask() { + return updateMask; + } + + /** + * Optional. FieldMask that determines which resource fields are modified in an update. + * @param updateMask updateMask or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCustomerLifecycleGoalOperation setUpdateMask(String updateMask) { + this.updateMask = updateMask; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesCustomerLifecycleGoalOperation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesCustomerLifecycleGoalOperation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesCustomerLifecycleGoalOperation clone() { + return (GoogleAdsSearchads360V23ServicesCustomerLifecycleGoalOperation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCustomerManagerLinkOperation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCustomerManagerLinkOperation.java new file mode 100644 index 00000000000..a9560ce0de1 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCustomerManagerLinkOperation.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Updates the status of a CustomerManagerLink. The following actions are possible: 1. Update + * operation with status ACTIVE accepts a pending invitation. 2. Update operation with status + * REFUSED declines a pending invitation. 3. Update operation with status INACTIVE terminates link + * to manager. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesCustomerManagerLinkOperation extends com.google.api.client.json.GenericJson { + + /** + * Update operation: The link is expected to have a valid resource name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCustomerManagerLink update; + + /** + * FieldMask that determines which resource fields are modified in an update. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String updateMask; + + /** + * Update operation: The link is expected to have a valid resource name. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerManagerLink getUpdate() { + return update; + } + + /** + * Update operation: The link is expected to have a valid resource name. + * @param update update or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCustomerManagerLinkOperation setUpdate(GoogleAdsSearchads360V23ResourcesCustomerManagerLink update) { + this.update = update; + return this; + } + + /** + * FieldMask that determines which resource fields are modified in an update. + * @return value or {@code null} for none + */ + public String getUpdateMask() { + return updateMask; + } + + /** + * FieldMask that determines which resource fields are modified in an update. + * @param updateMask updateMask or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCustomerManagerLinkOperation setUpdateMask(String updateMask) { + this.updateMask = updateMask; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesCustomerManagerLinkOperation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesCustomerManagerLinkOperation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesCustomerManagerLinkOperation clone() { + return (GoogleAdsSearchads360V23ServicesCustomerManagerLinkOperation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCustomerNegativeCriterionOperation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCustomerNegativeCriterionOperation.java new file mode 100644 index 00000000000..2b5e992adfa --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCustomerNegativeCriterionOperation.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A single operation (create or remove) on a customer level negative criterion. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesCustomerNegativeCriterionOperation extends com.google.api.client.json.GenericJson { + + /** + * Create operation: No resource name is expected for the new criterion. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCustomerNegativeCriterion create; + + /** + * Remove operation: A resource name for the removed criterion is expected, in this format: + * `customers/{customer_id}/customerNegativeCriteria/{criterion_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String remove; + + /** + * Create operation: No resource name is expected for the new criterion. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerNegativeCriterion getCreate() { + return create; + } + + /** + * Create operation: No resource name is expected for the new criterion. + * @param create create or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCustomerNegativeCriterionOperation setCreate(GoogleAdsSearchads360V23ResourcesCustomerNegativeCriterion create) { + this.create = create; + return this; + } + + /** + * Remove operation: A resource name for the removed criterion is expected, in this format: + * `customers/{customer_id}/customerNegativeCriteria/{criterion_id}` + * @return value or {@code null} for none + */ + public java.lang.String getRemove() { + return remove; + } + + /** + * Remove operation: A resource name for the removed criterion is expected, in this format: + * `customers/{customer_id}/customerNegativeCriteria/{criterion_id}` + * @param remove remove or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCustomerNegativeCriterionOperation setRemove(java.lang.String remove) { + this.remove = remove; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesCustomerNegativeCriterionOperation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesCustomerNegativeCriterionOperation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesCustomerNegativeCriterionOperation clone() { + return (GoogleAdsSearchads360V23ServicesCustomerNegativeCriterionOperation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCustomerOperation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCustomerOperation.java new file mode 100644 index 00000000000..48c2931372f --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCustomerOperation.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A single update on a customer. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesCustomerOperation extends com.google.api.client.json.GenericJson { + + /** + * Mutate operation. Only updates are supported for customer. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCustomer update; + + /** + * FieldMask that determines which resource fields are modified in an update. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String updateMask; + + /** + * Mutate operation. Only updates are supported for customer. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomer getUpdate() { + return update; + } + + /** + * Mutate operation. Only updates are supported for customer. + * @param update update or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCustomerOperation setUpdate(GoogleAdsSearchads360V23ResourcesCustomer update) { + this.update = update; + return this; + } + + /** + * FieldMask that determines which resource fields are modified in an update. + * @return value or {@code null} for none + */ + public String getUpdateMask() { + return updateMask; + } + + /** + * FieldMask that determines which resource fields are modified in an update. + * @param updateMask updateMask or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCustomerOperation setUpdateMask(String updateMask) { + this.updateMask = updateMask; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesCustomerOperation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesCustomerOperation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesCustomerOperation clone() { + return (GoogleAdsSearchads360V23ServicesCustomerOperation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCustomerSkAdNetworkConversionValueSchemaOperation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCustomerSkAdNetworkConversionValueSchemaOperation.java new file mode 100644 index 00000000000..26d4ca0354f --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCustomerSkAdNetworkConversionValueSchemaOperation.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A single update operation for a CustomerSkAdNetworkConversionValueSchema. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesCustomerSkAdNetworkConversionValueSchemaOperation extends com.google.api.client.json.GenericJson { + + /** + * Update operation: The schema is expected to have a valid resource name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchema update; + + /** + * Update operation: The schema is expected to have a valid resource name. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchema getUpdate() { + return update; + } + + /** + * Update operation: The schema is expected to have a valid resource name. + * @param update update or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCustomerSkAdNetworkConversionValueSchemaOperation setUpdate(GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchema update) { + this.update = update; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesCustomerSkAdNetworkConversionValueSchemaOperation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesCustomerSkAdNetworkConversionValueSchemaOperation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesCustomerSkAdNetworkConversionValueSchemaOperation clone() { + return (GoogleAdsSearchads360V23ServicesCustomerSkAdNetworkConversionValueSchemaOperation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCustomerUserAccessInvitationOperation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCustomerUserAccessInvitationOperation.java new file mode 100644 index 00000000000..07ca6f3057c --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCustomerUserAccessInvitationOperation.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A single operation (create or remove) on customer user access invitation. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesCustomerUserAccessInvitationOperation extends com.google.api.client.json.GenericJson { + + /** + * Create operation: No resource name is expected for the new access invitation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCustomerUserAccessInvitation create; + + /** + * Remove operation: A resource name for the revoke invitation is expected, in this format: + * `customers/{customer_id}/customerUserAccessInvitations/{invitation_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String remove; + + /** + * Create operation: No resource name is expected for the new access invitation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerUserAccessInvitation getCreate() { + return create; + } + + /** + * Create operation: No resource name is expected for the new access invitation. + * @param create create or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCustomerUserAccessInvitationOperation setCreate(GoogleAdsSearchads360V23ResourcesCustomerUserAccessInvitation create) { + this.create = create; + return this; + } + + /** + * Remove operation: A resource name for the revoke invitation is expected, in this format: + * `customers/{customer_id}/customerUserAccessInvitations/{invitation_id}` + * @return value or {@code null} for none + */ + public java.lang.String getRemove() { + return remove; + } + + /** + * Remove operation: A resource name for the revoke invitation is expected, in this format: + * `customers/{customer_id}/customerUserAccessInvitations/{invitation_id}` + * @param remove remove or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCustomerUserAccessInvitationOperation setRemove(java.lang.String remove) { + this.remove = remove; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesCustomerUserAccessInvitationOperation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesCustomerUserAccessInvitationOperation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesCustomerUserAccessInvitationOperation clone() { + return (GoogleAdsSearchads360V23ServicesCustomerUserAccessInvitationOperation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCustomerUserAccessOperation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCustomerUserAccessOperation.java new file mode 100644 index 00000000000..0086dc11a12 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCustomerUserAccessOperation.java @@ -0,0 +1,118 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A single operation (update, remove) on customer user access. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesCustomerUserAccessOperation extends com.google.api.client.json.GenericJson { + + /** + * Remove operation: A resource name for the removed access is expected, in this format: + * `customers/{customer_id}/customerUserAccesses/{CustomerUserAccess.user_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String remove; + + /** + * Update operation: The customer user access is expected to have a valid resource name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCustomerUserAccess update; + + /** + * FieldMask that determines which resource fields are modified in an update. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String updateMask; + + /** + * Remove operation: A resource name for the removed access is expected, in this format: + * `customers/{customer_id}/customerUserAccesses/{CustomerUserAccess.user_id}` + * @return value or {@code null} for none + */ + public java.lang.String getRemove() { + return remove; + } + + /** + * Remove operation: A resource name for the removed access is expected, in this format: + * `customers/{customer_id}/customerUserAccesses/{CustomerUserAccess.user_id}` + * @param remove remove or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCustomerUserAccessOperation setRemove(java.lang.String remove) { + this.remove = remove; + return this; + } + + /** + * Update operation: The customer user access is expected to have a valid resource name. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerUserAccess getUpdate() { + return update; + } + + /** + * Update operation: The customer user access is expected to have a valid resource name. + * @param update update or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCustomerUserAccessOperation setUpdate(GoogleAdsSearchads360V23ResourcesCustomerUserAccess update) { + this.update = update; + return this; + } + + /** + * FieldMask that determines which resource fields are modified in an update. + * @return value or {@code null} for none + */ + public String getUpdateMask() { + return updateMask; + } + + /** + * FieldMask that determines which resource fields are modified in an update. + * @param updateMask updateMask or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCustomerUserAccessOperation setUpdateMask(String updateMask) { + this.updateMask = updateMask; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesCustomerUserAccessOperation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesCustomerUserAccessOperation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesCustomerUserAccessOperation clone() { + return (GoogleAdsSearchads360V23ServicesCustomerUserAccessOperation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCustomizerAttributeOperation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCustomizerAttributeOperation.java new file mode 100644 index 00000000000..051713a523a --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCustomizerAttributeOperation.java @@ -0,0 +1,118 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A single operation (create, remove) on a customizer attribute. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesCustomizerAttributeOperation extends com.google.api.client.json.GenericJson { + + /** + * Create operation: No resource name is expected for the new customizer attribute + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCustomizerAttribute create; + + /** + * Remove operation: A resource name for the removed customizer attribute is expected, in this + * format: `customers/{customer_id}/customizerAttributes/{customizer_attribute_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String remove; + + /** + * FieldMask that determines which resource fields are modified in an update. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String updateMask; + + /** + * Create operation: No resource name is expected for the new customizer attribute + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomizerAttribute getCreate() { + return create; + } + + /** + * Create operation: No resource name is expected for the new customizer attribute + * @param create create or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCustomizerAttributeOperation setCreate(GoogleAdsSearchads360V23ResourcesCustomizerAttribute create) { + this.create = create; + return this; + } + + /** + * Remove operation: A resource name for the removed customizer attribute is expected, in this + * format: `customers/{customer_id}/customizerAttributes/{customizer_attribute_id}` + * @return value or {@code null} for none + */ + public java.lang.String getRemove() { + return remove; + } + + /** + * Remove operation: A resource name for the removed customizer attribute is expected, in this + * format: `customers/{customer_id}/customizerAttributes/{customizer_attribute_id}` + * @param remove remove or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCustomizerAttributeOperation setRemove(java.lang.String remove) { + this.remove = remove; + return this; + } + + /** + * FieldMask that determines which resource fields are modified in an update. + * @return value or {@code null} for none + */ + public String getUpdateMask() { + return updateMask; + } + + /** + * FieldMask that determines which resource fields are modified in an update. + * @param updateMask updateMask or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCustomizerAttributeOperation setUpdateMask(String updateMask) { + this.updateMask = updateMask; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesCustomizerAttributeOperation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesCustomizerAttributeOperation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesCustomizerAttributeOperation clone() { + return (GoogleAdsSearchads360V23ServicesCustomizerAttributeOperation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCyoIncentives.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCyoIncentives.java new file mode 100644 index 00000000000..15818c8e234 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCyoIncentives.java @@ -0,0 +1,116 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * An incentive offer in the Choose-Your-Own Incentive feature where a user can select from a set of + * incentives with different money amounts. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesCyoIncentives extends com.google.api.client.json.GenericJson { + + /** + * Required. The CYO incentive with high target and award amounts. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesIncentive highOffer; + + /** + * Required. The CYO incentive with low target and award amounts. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesIncentive lowOffer; + + /** + * Required. The CYO incentive with medium target and award amounts. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesIncentive mediumOffer; + + /** + * Required. The CYO incentive with high target and award amounts. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesIncentive getHighOffer() { + return highOffer; + } + + /** + * Required. The CYO incentive with high target and award amounts. + * @param highOffer highOffer or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCyoIncentives setHighOffer(GoogleAdsSearchads360V23ServicesIncentive highOffer) { + this.highOffer = highOffer; + return this; + } + + /** + * Required. The CYO incentive with low target and award amounts. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesIncentive getLowOffer() { + return lowOffer; + } + + /** + * Required. The CYO incentive with low target and award amounts. + * @param lowOffer lowOffer or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCyoIncentives setLowOffer(GoogleAdsSearchads360V23ServicesIncentive lowOffer) { + this.lowOffer = lowOffer; + return this; + } + + /** + * Required. The CYO incentive with medium target and award amounts. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesIncentive getMediumOffer() { + return mediumOffer; + } + + /** + * Required. The CYO incentive with medium target and award amounts. + * @param mediumOffer mediumOffer or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCyoIncentives setMediumOffer(GoogleAdsSearchads360V23ServicesIncentive mediumOffer) { + this.mediumOffer = mediumOffer; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesCyoIncentives set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesCyoIncentives) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesCyoIncentives clone() { + return (GoogleAdsSearchads360V23ServicesCyoIncentives) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesDimensionOverlapResult.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesDimensionOverlapResult.java new file mode 100644 index 00000000000..274779e2417 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesDimensionOverlapResult.java @@ -0,0 +1,98 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A list of audience attributes of a single dimension, including their overlap with a primary + * attribute, returned as part of a GenerateAudienceOverlapInsightsResponse. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesDimensionOverlapResult extends com.google.api.client.json.GenericJson { + + /** + * The dimension of all the attributes in this section. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String dimension; + + /** + * The attributes and their overlap with the primary attribute. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List items; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesAudienceOverlapItem used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesAudienceOverlapItem.class); + } + + /** + * The dimension of all the attributes in this section. + * @return value or {@code null} for none + */ + public java.lang.String getDimension() { + return dimension; + } + + /** + * The dimension of all the attributes in this section. + * @param dimension dimension or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesDimensionOverlapResult setDimension(java.lang.String dimension) { + this.dimension = dimension; + return this; + } + + /** + * The attributes and their overlap with the primary attribute. + * @return value or {@code null} for none + */ + public java.util.List getItems() { + return items; + } + + /** + * The attributes and their overlap with the primary attribute. + * @param items items or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesDimensionOverlapResult setItems(java.util.List items) { + this.items = items; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesDimensionOverlapResult set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesDimensionOverlapResult) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesDimensionOverlapResult clone() { + return (GoogleAdsSearchads360V23ServicesDimensionOverlapResult) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesDismissRecommendationRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesDismissRecommendationRequest.java new file mode 100644 index 00000000000..dd7a613d53b --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesDismissRecommendationRequest.java @@ -0,0 +1,106 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for RecommendationService.DismissRecommendation. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesDismissRecommendationRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The list of operations to dismiss recommendations. If partial_failure=false all + * recommendations should be of the same type There is a limit of 100 operations per request. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List operations; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesDismissRecommendationRequestDismissRecommendationOperation used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesDismissRecommendationRequestDismissRecommendationOperation.class); + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, operations will be carried in a single transaction if and only if they are all valid. + * Default is false. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean partialFailure; + + /** + * Required. The list of operations to dismiss recommendations. If partial_failure=false all + * recommendations should be of the same type There is a limit of 100 operations per request. + * @return value or {@code null} for none + */ + public java.util.List getOperations() { + return operations; + } + + /** + * Required. The list of operations to dismiss recommendations. If partial_failure=false all + * recommendations should be of the same type There is a limit of 100 operations per request. + * @param operations operations or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesDismissRecommendationRequest setOperations(java.util.List operations) { + this.operations = operations; + return this; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, operations will be carried in a single transaction if and only if they are all valid. + * Default is false. + * @return value or {@code null} for none + */ + public java.lang.Boolean getPartialFailure() { + return partialFailure; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, operations will be carried in a single transaction if and only if they are all valid. + * Default is false. + * @param partialFailure partialFailure or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesDismissRecommendationRequest setPartialFailure(java.lang.Boolean partialFailure) { + this.partialFailure = partialFailure; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesDismissRecommendationRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesDismissRecommendationRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesDismissRecommendationRequest clone() { + return (GoogleAdsSearchads360V23ServicesDismissRecommendationRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesDismissRecommendationRequestDismissRecommendationOperation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesDismissRecommendationRequestDismissRecommendationOperation.java new file mode 100644 index 00000000000..0d0f6324c87 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesDismissRecommendationRequestDismissRecommendationOperation.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Operation to dismiss a single recommendation identified by resource_name. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesDismissRecommendationRequestDismissRecommendationOperation extends com.google.api.client.json.GenericJson { + + /** + * The resource name of the recommendation to dismiss. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * The resource name of the recommendation to dismiss. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * The resource name of the recommendation to dismiss. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesDismissRecommendationRequestDismissRecommendationOperation setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesDismissRecommendationRequestDismissRecommendationOperation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesDismissRecommendationRequestDismissRecommendationOperation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesDismissRecommendationRequestDismissRecommendationOperation clone() { + return (GoogleAdsSearchads360V23ServicesDismissRecommendationRequestDismissRecommendationOperation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesDismissRecommendationResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesDismissRecommendationResponse.java new file mode 100644 index 00000000000..6b3fd8a447f --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesDismissRecommendationResponse.java @@ -0,0 +1,103 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for RecommendationService.DismissRecommendation. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesDismissRecommendationResponse extends com.google.api.client.json.GenericJson { + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors) we return the RPC level error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleRpcStatus partialFailureError; + + /** + * Results of operations to dismiss recommendations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List results; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesDismissRecommendationResponseDismissRecommendationResult used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesDismissRecommendationResponseDismissRecommendationResult.class); + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors) we return the RPC level error. + * @return value or {@code null} for none + */ + public GoogleRpcStatus getPartialFailureError() { + return partialFailureError; + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors) we return the RPC level error. + * @param partialFailureError partialFailureError or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesDismissRecommendationResponse setPartialFailureError(GoogleRpcStatus partialFailureError) { + this.partialFailureError = partialFailureError; + return this; + } + + /** + * Results of operations to dismiss recommendations. + * @return value or {@code null} for none + */ + public java.util.List getResults() { + return results; + } + + /** + * Results of operations to dismiss recommendations. + * @param results results or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesDismissRecommendationResponse setResults(java.util.List results) { + this.results = results; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesDismissRecommendationResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesDismissRecommendationResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesDismissRecommendationResponse clone() { + return (GoogleAdsSearchads360V23ServicesDismissRecommendationResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesDismissRecommendationResponseDismissRecommendationResult.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesDismissRecommendationResponseDismissRecommendationResult.java new file mode 100644 index 00000000000..3335a60ce9a --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesDismissRecommendationResponseDismissRecommendationResult.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The result of dismissing a recommendation. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesDismissRecommendationResponseDismissRecommendationResult extends com.google.api.client.json.GenericJson { + + /** + * Returned for successful dismissals. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Returned for successful dismissals. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Returned for successful dismissals. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesDismissRecommendationResponseDismissRecommendationResult setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesDismissRecommendationResponseDismissRecommendationResult set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesDismissRecommendationResponseDismissRecommendationResult) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesDismissRecommendationResponseDismissRecommendationResult clone() { + return (GoogleAdsSearchads360V23ServicesDismissRecommendationResponseDismissRecommendationResult) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesEffectiveFrequencyBreakdown.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesEffectiveFrequencyBreakdown.java new file mode 100644 index 00000000000..2cf7e6508fe --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesEffectiveFrequencyBreakdown.java @@ -0,0 +1,184 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A breakdown of the number of unique people reached at a given effective frequency. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesEffectiveFrequencyBreakdown extends com.google.api.client.json.GenericJson { + + /** + * The number of users (including co-viewing users) reached for the associated effective_frequency + * value. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long effectiveCoviewReach; + + /** + * The effective frequency [1-10]. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer effectiveFrequency; + + /** + * The number of users (including co-viewing users) reached for the associated effective_frequency + * value within the specified plan demographic. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long onTargetEffectiveCoviewReach; + + /** + * The number of unique people reached at least effective_frequency times that exactly matches the + * Targeting. Note that a minimum number of unique people must be reached in order for data to be + * reported. If the minimum number is not met, the on_target_reach value will be rounded to 0. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long onTargetReach; + + /** + * Total number of unique people reached at least effective_frequency times. This includes people + * that may fall outside the specified Targeting. Note that a minimum number of unique people must + * be reached in order for data to be reported. If the minimum number is not met, the total_reach + * value will be rounded to 0. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long totalReach; + + /** + * The number of users (including co-viewing users) reached for the associated effective_frequency + * value. + * @return value or {@code null} for none + */ + public java.lang.Long getEffectiveCoviewReach() { + return effectiveCoviewReach; + } + + /** + * The number of users (including co-viewing users) reached for the associated effective_frequency + * value. + * @param effectiveCoviewReach effectiveCoviewReach or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesEffectiveFrequencyBreakdown setEffectiveCoviewReach(java.lang.Long effectiveCoviewReach) { + this.effectiveCoviewReach = effectiveCoviewReach; + return this; + } + + /** + * The effective frequency [1-10]. + * @return value or {@code null} for none + */ + public java.lang.Integer getEffectiveFrequency() { + return effectiveFrequency; + } + + /** + * The effective frequency [1-10]. + * @param effectiveFrequency effectiveFrequency or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesEffectiveFrequencyBreakdown setEffectiveFrequency(java.lang.Integer effectiveFrequency) { + this.effectiveFrequency = effectiveFrequency; + return this; + } + + /** + * The number of users (including co-viewing users) reached for the associated effective_frequency + * value within the specified plan demographic. + * @return value or {@code null} for none + */ + public java.lang.Long getOnTargetEffectiveCoviewReach() { + return onTargetEffectiveCoviewReach; + } + + /** + * The number of users (including co-viewing users) reached for the associated effective_frequency + * value within the specified plan demographic. + * @param onTargetEffectiveCoviewReach onTargetEffectiveCoviewReach or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesEffectiveFrequencyBreakdown setOnTargetEffectiveCoviewReach(java.lang.Long onTargetEffectiveCoviewReach) { + this.onTargetEffectiveCoviewReach = onTargetEffectiveCoviewReach; + return this; + } + + /** + * The number of unique people reached at least effective_frequency times that exactly matches the + * Targeting. Note that a minimum number of unique people must be reached in order for data to be + * reported. If the minimum number is not met, the on_target_reach value will be rounded to 0. + * @return value or {@code null} for none + */ + public java.lang.Long getOnTargetReach() { + return onTargetReach; + } + + /** + * The number of unique people reached at least effective_frequency times that exactly matches the + * Targeting. Note that a minimum number of unique people must be reached in order for data to be + * reported. If the minimum number is not met, the on_target_reach value will be rounded to 0. + * @param onTargetReach onTargetReach or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesEffectiveFrequencyBreakdown setOnTargetReach(java.lang.Long onTargetReach) { + this.onTargetReach = onTargetReach; + return this; + } + + /** + * Total number of unique people reached at least effective_frequency times. This includes people + * that may fall outside the specified Targeting. Note that a minimum number of unique people must + * be reached in order for data to be reported. If the minimum number is not met, the total_reach + * value will be rounded to 0. + * @return value or {@code null} for none + */ + public java.lang.Long getTotalReach() { + return totalReach; + } + + /** + * Total number of unique people reached at least effective_frequency times. This includes people + * that may fall outside the specified Targeting. Note that a minimum number of unique people must + * be reached in order for data to be reported. If the minimum number is not met, the total_reach + * value will be rounded to 0. + * @param totalReach totalReach or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesEffectiveFrequencyBreakdown setTotalReach(java.lang.Long totalReach) { + this.totalReach = totalReach; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesEffectiveFrequencyBreakdown set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesEffectiveFrequencyBreakdown) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesEffectiveFrequencyBreakdown clone() { + return (GoogleAdsSearchads360V23ServicesEffectiveFrequencyBreakdown) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesEffectiveFrequencyLimit.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesEffectiveFrequencyLimit.java new file mode 100644 index 00000000000..97a08f0107b --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesEffectiveFrequencyLimit.java @@ -0,0 +1,70 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Effective frequency limit. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesEffectiveFrequencyLimit extends com.google.api.client.json.GenericJson { + + /** + * The highest effective frequency value to include in Forecast.effective_frequency_breakdowns. + * This field supports frequencies 1-10, inclusive. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer effectiveFrequencyBreakdownLimit; + + /** + * The highest effective frequency value to include in Forecast.effective_frequency_breakdowns. + * This field supports frequencies 1-10, inclusive. + * @return value or {@code null} for none + */ + public java.lang.Integer getEffectiveFrequencyBreakdownLimit() { + return effectiveFrequencyBreakdownLimit; + } + + /** + * The highest effective frequency value to include in Forecast.effective_frequency_breakdowns. + * This field supports frequencies 1-10, inclusive. + * @param effectiveFrequencyBreakdownLimit effectiveFrequencyBreakdownLimit or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesEffectiveFrequencyLimit setEffectiveFrequencyBreakdownLimit(java.lang.Integer effectiveFrequencyBreakdownLimit) { + this.effectiveFrequencyBreakdownLimit = effectiveFrequencyBreakdownLimit; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesEffectiveFrequencyLimit set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesEffectiveFrequencyLimit) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesEffectiveFrequencyLimit clone() { + return (GoogleAdsSearchads360V23ServicesEffectiveFrequencyLimit) super.clone(); + } + +} From cb8be21fc53578407d10b1e675355d57ed969466 Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Wed, 3 Jun 2026 18:43:35 -0700 Subject: [PATCH 10/14] chore: regenerate searchads360 client --- ...earchads360V23ServicesEnableOperation.java | 232 +++++++ ...vicesEnablePMaxBrandGuidelinesRequest.java | 76 +++ ...icesEnablePMaxBrandGuidelinesResponse.java | 67 ++ ...archads360V23ServicesEnablementResult.java | 91 +++ ...ads360V23ServicesEndExperimentRequest.java | 67 ++ ...s360V23ServicesExperimentArmOperation.java | 142 ++++ ...hads360V23ServicesExperimentOperation.java | 142 ++++ ...s360V23ServicesFetchIncentiveResponse.java | 68 ++ ...gleAdsSearchads360V23ServicesForecast.java | 391 +++++++++++ ...earchads360V23ServicesForecastAdGroup.java | 136 ++++ ...ds360V23ServicesForecastMetricOptions.java | 67 ++ ...dsSearchads360V23ServicesFrequencyCap.java | 92 +++ ...3ServicesGenerateAdGroupThemesRequest.java | 94 +++ ...ServicesGenerateAdGroupThemesResponse.java | 97 +++ ...ateAudienceCompositionInsightsRequest.java | 196 ++++++ ...teAudienceCompositionInsightsResponse.java | 79 +++ ...icesGenerateAudienceDefinitionRequest.java | 127 ++++ ...cesGenerateAudienceDefinitionResponse.java | 106 +++ ...enerateAudienceOverlapInsightsRequest.java | 172 +++++ ...nerateAudienceOverlapInsightsResponse.java | 100 +++ ...vicesGenerateBenchmarksMetricsRequest.java | 223 +++++++ ...icesGenerateBenchmarksMetricsResponse.java | 91 +++ ...ervicesGenerateConversionRatesRequest.java | 118 ++++ ...rvicesGenerateConversionRatesResponse.java | 77 +++ ...esGenerateInsightsFinderReportRequest.java | 142 ++++ ...sGenerateInsightsFinderReportResponse.java | 71 ++ ...GenerateKeywordForecastMetricsRequest.java | 133 ++++ ...enerateKeywordForecastMetricsResponse.java | 67 ++ ...nerateKeywordHistoricalMetricsRequest.java | 226 +++++++ ...erateKeywordHistoricalMetricsResponse.java | 91 +++ ...enerateKeywordHistoricalMetricsResult.java | 127 ++++ ...23ServicesGenerateKeywordIdeaResponse.java | 145 ++++ ...0V23ServicesGenerateKeywordIdeaResult.java | 151 +++++ ...23ServicesGenerateKeywordIdeasRequest.java | 379 +++++++++++ ...3ServicesGenerateReachForecastRequest.java | 355 ++++++++++ ...ServicesGenerateReachForecastResponse.java | 91 +++ ...ervicesGenerateRecommendationsRequest.java | 622 ++++++++++++++++++ ...rateRecommendationsRequestAdGroupInfo.java | 103 +++ ...eRecommendationsRequestAssetGroupInfo.java | 124 ++++ ...rateRecommendationsRequestBiddingInfo.java | 155 +++++ ...erateRecommendationsRequestBudgetInfo.java | 70 ++ ...enerateRecommendationsRequestSeedInfo.java | 94 +++ ...tionsRequestTargetImpressionShareInfo.java | 133 ++++ ...rvicesGenerateRecommendationsResponse.java | 79 +++ ...rateSuggestedTargetingInsightsRequest.java | 142 ++++ ...ateSuggestedTargetingInsightsResponse.java | 67 ++ ...rateTargetingSuggestionMetricsRequest.java | 115 ++++ ...ateTargetingSuggestionMetricsResponse.java | 70 ++ ...23ServicesGeoTargetConstantSuggestion.java | 181 +++++ ...rvicesGetIdentityVerificationResponse.java | 67 ++ ...ervicesGetSmartCampaignStatusResponse.java | 187 ++++++ ...sSearchads360V23ServicesGoalOperation.java | 115 ++++ ...0V23ServicesGraduateExperimentRequest.java | 103 +++ ...ads360V23ServicesHotelAssetSuggestion.java | 211 ++++++ ...earchads360V23ServicesHotelImageAsset.java | 91 +++ ...Searchads360V23ServicesHotelTextAsset.java | 91 +++ ...ads360V23ServicesIdentityVerification.java | 115 ++++ ...3ServicesIdentityVerificationProgress.java | 115 ++++ ...rvicesIdentityVerificationRequirement.java | 91 +++ ...leAdsSearchads360V23ServicesIncentive.java | 148 +++++ ...Searchads360V23ServicesIncentiveOffer.java | 116 ++++ ...ads360V23ServicesIncentiveRequirement.java | 67 ++ ...0V23ServicesIncentiveRequirementSpend.java | 97 +++ ...ads360V23ServicesIndustryVerticalInfo.java | 115 ++++ ...archads360V23ServicesInsightsAudience.java | 314 +++++++++ ...ervicesInsightsAudienceAttributeGroup.java | 79 +++ ...V23ServicesInsightsAudienceDefinition.java | 122 ++++ ...23ServicesInsightsAudienceDescription.java | 152 +++++ ...rchads360V23ServicesKeywordAndUrlSeed.java | 91 +++ ...s360V23ServicesKeywordForecastMetrics.java | 235 +++++++ ...cesKeywordPlanAdGroupKeywordOperation.java | 142 ++++ ...23ServicesKeywordPlanAdGroupOperation.java | 142 ++++ ...esKeywordPlanCampaignKeywordOperation.java | 142 ++++ ...3ServicesKeywordPlanCampaignOperation.java | 142 ++++ ...ads360V23ServicesKeywordPlanOperation.java | 142 ++++ ...AdsSearchads360V23ServicesKeywordSeed.java | 67 ++ ...Searchads360V23ServicesLabelOperation.java | 142 ++++ ...rvicesListAccessibleCustomersResponse.java | 67 ++ ...ListAudienceInsightsAttributesRequest.java | 226 +++++++ ...istAudienceInsightsAttributesResponse.java | 73 ++ ...23ServicesListBatchJobResultsResponse.java | 103 +++ ...esListBenchmarksAvailableDatesRequest.java | 67 ++ ...sListBenchmarksAvailableDatesResponse.java | 70 ++ ...ervicesListBenchmarksLocationsRequest.java | 67 ++ ...rvicesListBenchmarksLocationsResponse.java | 73 ++ ...ServicesListBenchmarksProductsRequest.java | 67 ++ ...ervicesListBenchmarksProductsResponse.java | 73 ++ ...3ServicesListBenchmarksSourcesRequest.java | 91 +++ ...ServicesListBenchmarksSourcesResponse.java | 73 ++ ...sListCampaignDraftAsyncErrorsResponse.java | 97 +++ ...0V23ServicesListCustomColumnsResponse.java | 73 ++ ...icesListExperimentAsyncErrorsResponse.java | 97 +++ ...vicesListInsightsEligibleDatesRequest.java | 67 ++ ...icesListInsightsEligibleDatesResponse.java | 100 +++ ...ads360V23ServicesListInvoicesResponse.java | 73 ++ ...3ServicesListPaymentsAccountsResponse.java | 73 ++ ...ServicesListPlannableLocationsRequest.java | 67 ++ ...ervicesListPlannableLocationsResponse.java | 70 ++ ...3ServicesListPlannableProductsRequest.java | 94 +++ ...ServicesListPlannableProductsResponse.java | 67 ++ 100 files changed, 12553 insertions(+) create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesEnableOperation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesEnablePMaxBrandGuidelinesRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesEnablePMaxBrandGuidelinesResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesEnablementResult.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesEndExperimentRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesExperimentArmOperation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesExperimentOperation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesFetchIncentiveResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesForecast.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesForecastAdGroup.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesForecastMetricOptions.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesFrequencyCap.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateAdGroupThemesRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateAdGroupThemesResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateAudienceCompositionInsightsRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateAudienceCompositionInsightsResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateAudienceDefinitionRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateAudienceDefinitionResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateAudienceOverlapInsightsRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateAudienceOverlapInsightsResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateBenchmarksMetricsRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateBenchmarksMetricsResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateConversionRatesRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateConversionRatesResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateInsightsFinderReportRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateInsightsFinderReportResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateKeywordForecastMetricsRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateKeywordForecastMetricsResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateKeywordHistoricalMetricsRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateKeywordHistoricalMetricsResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateKeywordHistoricalMetricsResult.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateKeywordIdeaResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateKeywordIdeaResult.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateKeywordIdeasRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateReachForecastRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateReachForecastResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestAdGroupInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestAssetGroupInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestBiddingInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestBudgetInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestSeedInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestTargetImpressionShareInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateRecommendationsResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateSuggestedTargetingInsightsRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateSuggestedTargetingInsightsResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateTargetingSuggestionMetricsRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateTargetingSuggestionMetricsResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGeoTargetConstantSuggestion.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGetIdentityVerificationResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGetSmartCampaignStatusResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGoalOperation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGraduateExperimentRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesHotelAssetSuggestion.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesHotelImageAsset.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesHotelTextAsset.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesIdentityVerification.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesIdentityVerificationProgress.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesIdentityVerificationRequirement.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesIncentive.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesIncentiveOffer.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesIncentiveRequirement.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesIncentiveRequirementSpend.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesIndustryVerticalInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesInsightsAudience.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesInsightsAudienceAttributeGroup.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesInsightsAudienceDefinition.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesInsightsAudienceDescription.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesKeywordAndUrlSeed.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesKeywordForecastMetrics.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesKeywordPlanAdGroupKeywordOperation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesKeywordPlanAdGroupOperation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesKeywordPlanCampaignKeywordOperation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesKeywordPlanCampaignOperation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesKeywordPlanOperation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesKeywordSeed.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesLabelOperation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListAccessibleCustomersResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListAudienceInsightsAttributesRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListAudienceInsightsAttributesResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListBatchJobResultsResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListBenchmarksAvailableDatesRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListBenchmarksAvailableDatesResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListBenchmarksLocationsRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListBenchmarksLocationsResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListBenchmarksProductsRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListBenchmarksProductsResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListBenchmarksSourcesRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListBenchmarksSourcesResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListCampaignDraftAsyncErrorsResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListCustomColumnsResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListExperimentAsyncErrorsResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListInsightsEligibleDatesRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListInsightsEligibleDatesResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListInvoicesResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListPaymentsAccountsResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListPlannableLocationsRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListPlannableLocationsResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListPlannableProductsRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListPlannableProductsResponse.java diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesEnableOperation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesEnableOperation.java new file mode 100644 index 00000000000..fc562b59d2c --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesEnableOperation.java @@ -0,0 +1,232 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A single enable operation of a campaign. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesEnableOperation extends com.google.api.client.json.GenericJson { + + /** + * Optional. Hex code representation of the accent brand color, for example #00ff00. accent_color + * is required when main_color is specified. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String accentColor; + + /** + * Required. The switch to automatically populate top-performing brand assets. This field is + * required. If true, top-performing brand assets will be automatically populated. If false, the + * brand_assets field is required. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean autoPopulateBrandAssets; + + /** + * Optional. The brand assets linked to the campaign. This field is required when the value of + * auto_populate_brand_assets is false. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesBrandCampaignAssets brandAssets; + + /** + * Required. The resource name of the campaign to enable. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String campaign; + + /** + * Optional. The domain of the final uri. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String finalUriDomain; + + /** + * Optional. The font family is specified as a string, and must be one of the following: "Open + * Sans", "Roboto", "Roboto Slab", "Montserrat", "Poppins", "Lato", "Oswald", or "Playfair + * Display". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String fontFamily; + + /** + * Optional. Hex code representation of the main brand color, for example #00ff00. main_color is + * required when accent color is specified. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String mainColor; + + /** + * Optional. Hex code representation of the accent brand color, for example #00ff00. accent_color + * is required when main_color is specified. + * @return value or {@code null} for none + */ + public java.lang.String getAccentColor() { + return accentColor; + } + + /** + * Optional. Hex code representation of the accent brand color, for example #00ff00. accent_color + * is required when main_color is specified. + * @param accentColor accentColor or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesEnableOperation setAccentColor(java.lang.String accentColor) { + this.accentColor = accentColor; + return this; + } + + /** + * Required. The switch to automatically populate top-performing brand assets. This field is + * required. If true, top-performing brand assets will be automatically populated. If false, the + * brand_assets field is required. + * @return value or {@code null} for none + */ + public java.lang.Boolean getAutoPopulateBrandAssets() { + return autoPopulateBrandAssets; + } + + /** + * Required. The switch to automatically populate top-performing brand assets. This field is + * required. If true, top-performing brand assets will be automatically populated. If false, the + * brand_assets field is required. + * @param autoPopulateBrandAssets autoPopulateBrandAssets or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesEnableOperation setAutoPopulateBrandAssets(java.lang.Boolean autoPopulateBrandAssets) { + this.autoPopulateBrandAssets = autoPopulateBrandAssets; + return this; + } + + /** + * Optional. The brand assets linked to the campaign. This field is required when the value of + * auto_populate_brand_assets is false. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesBrandCampaignAssets getBrandAssets() { + return brandAssets; + } + + /** + * Optional. The brand assets linked to the campaign. This field is required when the value of + * auto_populate_brand_assets is false. + * @param brandAssets brandAssets or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesEnableOperation setBrandAssets(GoogleAdsSearchads360V23ServicesBrandCampaignAssets brandAssets) { + this.brandAssets = brandAssets; + return this; + } + + /** + * Required. The resource name of the campaign to enable. + * @return value or {@code null} for none + */ + public java.lang.String getCampaign() { + return campaign; + } + + /** + * Required. The resource name of the campaign to enable. + * @param campaign campaign or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesEnableOperation setCampaign(java.lang.String campaign) { + this.campaign = campaign; + return this; + } + + /** + * Optional. The domain of the final uri. + * @return value or {@code null} for none + */ + public java.lang.String getFinalUriDomain() { + return finalUriDomain; + } + + /** + * Optional. The domain of the final uri. + * @param finalUriDomain finalUriDomain or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesEnableOperation setFinalUriDomain(java.lang.String finalUriDomain) { + this.finalUriDomain = finalUriDomain; + return this; + } + + /** + * Optional. The font family is specified as a string, and must be one of the following: "Open + * Sans", "Roboto", "Roboto Slab", "Montserrat", "Poppins", "Lato", "Oswald", or "Playfair + * Display". + * @return value or {@code null} for none + */ + public java.lang.String getFontFamily() { + return fontFamily; + } + + /** + * Optional. The font family is specified as a string, and must be one of the following: "Open + * Sans", "Roboto", "Roboto Slab", "Montserrat", "Poppins", "Lato", "Oswald", or "Playfair + * Display". + * @param fontFamily fontFamily or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesEnableOperation setFontFamily(java.lang.String fontFamily) { + this.fontFamily = fontFamily; + return this; + } + + /** + * Optional. Hex code representation of the main brand color, for example #00ff00. main_color is + * required when accent color is specified. + * @return value or {@code null} for none + */ + public java.lang.String getMainColor() { + return mainColor; + } + + /** + * Optional. Hex code representation of the main brand color, for example #00ff00. main_color is + * required when accent color is specified. + * @param mainColor mainColor or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesEnableOperation setMainColor(java.lang.String mainColor) { + this.mainColor = mainColor; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesEnableOperation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesEnableOperation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesEnableOperation clone() { + return (GoogleAdsSearchads360V23ServicesEnableOperation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesEnablePMaxBrandGuidelinesRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesEnablePMaxBrandGuidelinesRequest.java new file mode 100644 index 00000000000..03006d431b2 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesEnablePMaxBrandGuidelinesRequest.java @@ -0,0 +1,76 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request to enable Brand Guidelines for a Performance Max campaign. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesEnablePMaxBrandGuidelinesRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The list of individual campaign operations. A maximum of 10 enable operations can be + * executed in a request. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List operations; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesEnableOperation used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesEnableOperation.class); + } + + /** + * Required. The list of individual campaign operations. A maximum of 10 enable operations can be + * executed in a request. + * @return value or {@code null} for none + */ + public java.util.List getOperations() { + return operations; + } + + /** + * Required. The list of individual campaign operations. A maximum of 10 enable operations can be + * executed in a request. + * @param operations operations or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesEnablePMaxBrandGuidelinesRequest setOperations(java.util.List operations) { + this.operations = operations; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesEnablePMaxBrandGuidelinesRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesEnablePMaxBrandGuidelinesRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesEnablePMaxBrandGuidelinesRequest clone() { + return (GoogleAdsSearchads360V23ServicesEnablePMaxBrandGuidelinesRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesEnablePMaxBrandGuidelinesResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesEnablePMaxBrandGuidelinesResponse.java new file mode 100644 index 00000000000..63520e72539 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesEnablePMaxBrandGuidelinesResponse.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Brand Guidelines campaign enablement response. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesEnablePMaxBrandGuidelinesResponse extends com.google.api.client.json.GenericJson { + + /** + * Campaign enablement results per campaign. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List results; + + /** + * Campaign enablement results per campaign. + * @return value or {@code null} for none + */ + public java.util.List getResults() { + return results; + } + + /** + * Campaign enablement results per campaign. + * @param results results or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesEnablePMaxBrandGuidelinesResponse setResults(java.util.List results) { + this.results = results; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesEnablePMaxBrandGuidelinesResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesEnablePMaxBrandGuidelinesResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesEnablePMaxBrandGuidelinesResponse clone() { + return (GoogleAdsSearchads360V23ServicesEnablePMaxBrandGuidelinesResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesEnablementResult.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesEnablementResult.java new file mode 100644 index 00000000000..8d6115375d6 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesEnablementResult.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A single enablement result of a campaign. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesEnablementResult extends com.google.api.client.json.GenericJson { + + /** + * This indicates the campaign for which enablement was tried, regardless of the outcome. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String campaign; + + /** + * Details of the error when enablement fails. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleRpcStatus enablementError; + + /** + * This indicates the campaign for which enablement was tried, regardless of the outcome. + * @return value or {@code null} for none + */ + public java.lang.String getCampaign() { + return campaign; + } + + /** + * This indicates the campaign for which enablement was tried, regardless of the outcome. + * @param campaign campaign or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesEnablementResult setCampaign(java.lang.String campaign) { + this.campaign = campaign; + return this; + } + + /** + * Details of the error when enablement fails. + * @return value or {@code null} for none + */ + public GoogleRpcStatus getEnablementError() { + return enablementError; + } + + /** + * Details of the error when enablement fails. + * @param enablementError enablementError or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesEnablementResult setEnablementError(GoogleRpcStatus enablementError) { + this.enablementError = enablementError; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesEnablementResult set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesEnablementResult) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesEnablementResult clone() { + return (GoogleAdsSearchads360V23ServicesEnablementResult) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesEndExperimentRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesEndExperimentRequest.java new file mode 100644 index 00000000000..b648b411c63 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesEndExperimentRequest.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for ExperimentService.EndExperiment. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesEndExperimentRequest extends com.google.api.client.json.GenericJson { + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean validateOnly; + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @return value or {@code null} for none + */ + public java.lang.Boolean getValidateOnly() { + return validateOnly; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @param validateOnly validateOnly or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesEndExperimentRequest setValidateOnly(java.lang.Boolean validateOnly) { + this.validateOnly = validateOnly; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesEndExperimentRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesEndExperimentRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesEndExperimentRequest clone() { + return (GoogleAdsSearchads360V23ServicesEndExperimentRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesExperimentArmOperation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesExperimentArmOperation.java new file mode 100644 index 00000000000..af84da91b35 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesExperimentArmOperation.java @@ -0,0 +1,142 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A single operation on an experiment arm. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesExperimentArmOperation extends com.google.api.client.json.GenericJson { + + /** + * Create operation + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesExperimentArm create; + + /** + * Remove operation: The experiment arm is expected to have a valid resource name, in this format: + * `customers/{customer_id}/experiments/{campaign_experiment_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String remove; + + /** + * Update operation: The experiment arm is expected to have a valid resource name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesExperimentArm update; + + /** + * FieldMask that determines which resource fields are modified in an update. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String updateMask; + + /** + * Create operation + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesExperimentArm getCreate() { + return create; + } + + /** + * Create operation + * @param create create or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesExperimentArmOperation setCreate(GoogleAdsSearchads360V23ResourcesExperimentArm create) { + this.create = create; + return this; + } + + /** + * Remove operation: The experiment arm is expected to have a valid resource name, in this format: + * `customers/{customer_id}/experiments/{campaign_experiment_id}` + * @return value or {@code null} for none + */ + public java.lang.String getRemove() { + return remove; + } + + /** + * Remove operation: The experiment arm is expected to have a valid resource name, in this format: + * `customers/{customer_id}/experiments/{campaign_experiment_id}` + * @param remove remove or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesExperimentArmOperation setRemove(java.lang.String remove) { + this.remove = remove; + return this; + } + + /** + * Update operation: The experiment arm is expected to have a valid resource name. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesExperimentArm getUpdate() { + return update; + } + + /** + * Update operation: The experiment arm is expected to have a valid resource name. + * @param update update or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesExperimentArmOperation setUpdate(GoogleAdsSearchads360V23ResourcesExperimentArm update) { + this.update = update; + return this; + } + + /** + * FieldMask that determines which resource fields are modified in an update. + * @return value or {@code null} for none + */ + public String getUpdateMask() { + return updateMask; + } + + /** + * FieldMask that determines which resource fields are modified in an update. + * @param updateMask updateMask or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesExperimentArmOperation setUpdateMask(String updateMask) { + this.updateMask = updateMask; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesExperimentArmOperation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesExperimentArmOperation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesExperimentArmOperation clone() { + return (GoogleAdsSearchads360V23ServicesExperimentArmOperation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesExperimentOperation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesExperimentOperation.java new file mode 100644 index 00000000000..40344d6aab8 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesExperimentOperation.java @@ -0,0 +1,142 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A single operation on an experiment. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesExperimentOperation extends com.google.api.client.json.GenericJson { + + /** + * Create operation + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesExperiment create; + + /** + * Remove operation: The experiment is expected to have a valid resource name, in this format: + * `customers/{customer_id}/experiments/{campaign_experiment_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String remove; + + /** + * Update operation: The experiment is expected to have a valid resource name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesExperiment update; + + /** + * FieldMask that determines which resource fields are modified in an update. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String updateMask; + + /** + * Create operation + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesExperiment getCreate() { + return create; + } + + /** + * Create operation + * @param create create or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesExperimentOperation setCreate(GoogleAdsSearchads360V23ResourcesExperiment create) { + this.create = create; + return this; + } + + /** + * Remove operation: The experiment is expected to have a valid resource name, in this format: + * `customers/{customer_id}/experiments/{campaign_experiment_id}` + * @return value or {@code null} for none + */ + public java.lang.String getRemove() { + return remove; + } + + /** + * Remove operation: The experiment is expected to have a valid resource name, in this format: + * `customers/{customer_id}/experiments/{campaign_experiment_id}` + * @param remove remove or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesExperimentOperation setRemove(java.lang.String remove) { + this.remove = remove; + return this; + } + + /** + * Update operation: The experiment is expected to have a valid resource name. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesExperiment getUpdate() { + return update; + } + + /** + * Update operation: The experiment is expected to have a valid resource name. + * @param update update or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesExperimentOperation setUpdate(GoogleAdsSearchads360V23ResourcesExperiment update) { + this.update = update; + return this; + } + + /** + * FieldMask that determines which resource fields are modified in an update. + * @return value or {@code null} for none + */ + public String getUpdateMask() { + return updateMask; + } + + /** + * FieldMask that determines which resource fields are modified in an update. + * @param updateMask updateMask or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesExperimentOperation setUpdateMask(String updateMask) { + this.updateMask = updateMask; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesExperimentOperation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesExperimentOperation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesExperimentOperation clone() { + return (GoogleAdsSearchads360V23ServicesExperimentOperation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesFetchIncentiveResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesFetchIncentiveResponse.java new file mode 100644 index 00000000000..e3a2822283f --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesFetchIncentiveResponse.java @@ -0,0 +1,68 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response from getting the acquisition incentive for a user when they visit a specific marketing + * page. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesFetchIncentiveResponse extends com.google.api.client.json.GenericJson { + + /** + * Required. The acquisition incentive offer for the user. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesIncentiveOffer incentiveOffer; + + /** + * Required. The acquisition incentive offer for the user. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesIncentiveOffer getIncentiveOffer() { + return incentiveOffer; + } + + /** + * Required. The acquisition incentive offer for the user. + * @param incentiveOffer incentiveOffer or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesFetchIncentiveResponse setIncentiveOffer(GoogleAdsSearchads360V23ServicesIncentiveOffer incentiveOffer) { + this.incentiveOffer = incentiveOffer; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesFetchIncentiveResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesFetchIncentiveResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesFetchIncentiveResponse clone() { + return (GoogleAdsSearchads360V23ServicesFetchIncentiveResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesForecast.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesForecast.java new file mode 100644 index 00000000000..402678ca7da --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesForecast.java @@ -0,0 +1,391 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Forecasted traffic metrics for the planned products and targeting. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesForecast extends com.google.api.client.json.GenericJson { + + /** + * The number of conversions. This metric is only available for DEMAND_GEN plannable products. See + * https://support.google.com/google-ads/answer/2375431 for more information on conversions. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double conversions; + + /** + * A list of effective frequency forecasts. The list is ordered starting with 1+ and ending with + * the value set in GenerateReachForecastRequest.effective_frequency_limit. If no + * effective_frequency_limit was set, this list will be empty. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List effectiveFrequencyBreakdowns; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesEffectiveFrequencyBreakdown used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesEffectiveFrequencyBreakdown.class); + } + + /** + * Number of ad impressions that exactly matches the Targeting including co-viewers. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long onTargetCoviewImpressions; + + /** + * Number of unique people reached that exactly matches the Targeting including co-viewers. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long onTargetCoviewReach; + + /** + * Number of ad impressions that exactly matches the Targeting. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long onTargetImpressions; + + /** + * Number of unique people reached at least GenerateReachForecastRequest.min_effective_frequency + * or GenerateReachForecastRequest.effective_frequency_limit times that exactly matches the + * Targeting. Note that a minimum number of unique people must be reached in order for data to be + * reported. If the minimum number is not met, the on_target_reach value will be rounded to 0. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long onTargetReach; + + /** + * Total number of ad impressions including co-viewers. This includes impressions that may fall + * outside the specified Targeting, due to insufficient information on signed-in users. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long totalCoviewImpressions; + + /** + * Number of unique people reached including co-viewers. This includes people that may fall + * outside the specified Targeting. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long totalCoviewReach; + + /** + * Total number of ad impressions. This includes impressions that may fall outside the specified + * Targeting, due to insufficient information on signed-in users. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long totalImpressions; + + /** + * Total number of unique people reached at least + * GenerateReachForecastRequest.min_effective_frequency or + * GenerateReachForecastRequest.effective_frequency_limit times. This includes people that may + * fall outside the specified Targeting. Note that a minimum number of unique people must be + * reached in order for data to be reported. If the minimum number is not met, the total_reach + * value will be rounded to 0. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long totalReach; + + /** + * Number of ad views forecasted for the specified product and targeting. A TrueView View is + * counted when a viewer views a larger portion or the entirety of an ad beyond an impression. See + * https://support.google.com/google-ads/answer/2375431 for more information on TrueView Views. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long trueviewViews; + + /** + * Number of times the ad's impressions were considered viewable. See + * https://support.google.com/google-ads/answer/7029393 for more information about what makes an + * ad viewable and how viewability is measured. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long viewableImpressions; + + /** + * The number of conversions. This metric is only available for DEMAND_GEN plannable products. See + * https://support.google.com/google-ads/answer/2375431 for more information on conversions. + * @return value or {@code null} for none + */ + public java.lang.Double getConversions() { + return conversions; + } + + /** + * The number of conversions. This metric is only available for DEMAND_GEN plannable products. See + * https://support.google.com/google-ads/answer/2375431 for more information on conversions. + * @param conversions conversions or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesForecast setConversions(java.lang.Double conversions) { + this.conversions = conversions; + return this; + } + + /** + * A list of effective frequency forecasts. The list is ordered starting with 1+ and ending with + * the value set in GenerateReachForecastRequest.effective_frequency_limit. If no + * effective_frequency_limit was set, this list will be empty. + * @return value or {@code null} for none + */ + public java.util.List getEffectiveFrequencyBreakdowns() { + return effectiveFrequencyBreakdowns; + } + + /** + * A list of effective frequency forecasts. The list is ordered starting with 1+ and ending with + * the value set in GenerateReachForecastRequest.effective_frequency_limit. If no + * effective_frequency_limit was set, this list will be empty. + * @param effectiveFrequencyBreakdowns effectiveFrequencyBreakdowns or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesForecast setEffectiveFrequencyBreakdowns(java.util.List effectiveFrequencyBreakdowns) { + this.effectiveFrequencyBreakdowns = effectiveFrequencyBreakdowns; + return this; + } + + /** + * Number of ad impressions that exactly matches the Targeting including co-viewers. + * @return value or {@code null} for none + */ + public java.lang.Long getOnTargetCoviewImpressions() { + return onTargetCoviewImpressions; + } + + /** + * Number of ad impressions that exactly matches the Targeting including co-viewers. + * @param onTargetCoviewImpressions onTargetCoviewImpressions or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesForecast setOnTargetCoviewImpressions(java.lang.Long onTargetCoviewImpressions) { + this.onTargetCoviewImpressions = onTargetCoviewImpressions; + return this; + } + + /** + * Number of unique people reached that exactly matches the Targeting including co-viewers. + * @return value or {@code null} for none + */ + public java.lang.Long getOnTargetCoviewReach() { + return onTargetCoviewReach; + } + + /** + * Number of unique people reached that exactly matches the Targeting including co-viewers. + * @param onTargetCoviewReach onTargetCoviewReach or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesForecast setOnTargetCoviewReach(java.lang.Long onTargetCoviewReach) { + this.onTargetCoviewReach = onTargetCoviewReach; + return this; + } + + /** + * Number of ad impressions that exactly matches the Targeting. + * @return value or {@code null} for none + */ + public java.lang.Long getOnTargetImpressions() { + return onTargetImpressions; + } + + /** + * Number of ad impressions that exactly matches the Targeting. + * @param onTargetImpressions onTargetImpressions or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesForecast setOnTargetImpressions(java.lang.Long onTargetImpressions) { + this.onTargetImpressions = onTargetImpressions; + return this; + } + + /** + * Number of unique people reached at least GenerateReachForecastRequest.min_effective_frequency + * or GenerateReachForecastRequest.effective_frequency_limit times that exactly matches the + * Targeting. Note that a minimum number of unique people must be reached in order for data to be + * reported. If the minimum number is not met, the on_target_reach value will be rounded to 0. + * @return value or {@code null} for none + */ + public java.lang.Long getOnTargetReach() { + return onTargetReach; + } + + /** + * Number of unique people reached at least GenerateReachForecastRequest.min_effective_frequency + * or GenerateReachForecastRequest.effective_frequency_limit times that exactly matches the + * Targeting. Note that a minimum number of unique people must be reached in order for data to be + * reported. If the minimum number is not met, the on_target_reach value will be rounded to 0. + * @param onTargetReach onTargetReach or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesForecast setOnTargetReach(java.lang.Long onTargetReach) { + this.onTargetReach = onTargetReach; + return this; + } + + /** + * Total number of ad impressions including co-viewers. This includes impressions that may fall + * outside the specified Targeting, due to insufficient information on signed-in users. + * @return value or {@code null} for none + */ + public java.lang.Long getTotalCoviewImpressions() { + return totalCoviewImpressions; + } + + /** + * Total number of ad impressions including co-viewers. This includes impressions that may fall + * outside the specified Targeting, due to insufficient information on signed-in users. + * @param totalCoviewImpressions totalCoviewImpressions or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesForecast setTotalCoviewImpressions(java.lang.Long totalCoviewImpressions) { + this.totalCoviewImpressions = totalCoviewImpressions; + return this; + } + + /** + * Number of unique people reached including co-viewers. This includes people that may fall + * outside the specified Targeting. + * @return value or {@code null} for none + */ + public java.lang.Long getTotalCoviewReach() { + return totalCoviewReach; + } + + /** + * Number of unique people reached including co-viewers. This includes people that may fall + * outside the specified Targeting. + * @param totalCoviewReach totalCoviewReach or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesForecast setTotalCoviewReach(java.lang.Long totalCoviewReach) { + this.totalCoviewReach = totalCoviewReach; + return this; + } + + /** + * Total number of ad impressions. This includes impressions that may fall outside the specified + * Targeting, due to insufficient information on signed-in users. + * @return value or {@code null} for none + */ + public java.lang.Long getTotalImpressions() { + return totalImpressions; + } + + /** + * Total number of ad impressions. This includes impressions that may fall outside the specified + * Targeting, due to insufficient information on signed-in users. + * @param totalImpressions totalImpressions or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesForecast setTotalImpressions(java.lang.Long totalImpressions) { + this.totalImpressions = totalImpressions; + return this; + } + + /** + * Total number of unique people reached at least + * GenerateReachForecastRequest.min_effective_frequency or + * GenerateReachForecastRequest.effective_frequency_limit times. This includes people that may + * fall outside the specified Targeting. Note that a minimum number of unique people must be + * reached in order for data to be reported. If the minimum number is not met, the total_reach + * value will be rounded to 0. + * @return value or {@code null} for none + */ + public java.lang.Long getTotalReach() { + return totalReach; + } + + /** + * Total number of unique people reached at least + * GenerateReachForecastRequest.min_effective_frequency or + * GenerateReachForecastRequest.effective_frequency_limit times. This includes people that may + * fall outside the specified Targeting. Note that a minimum number of unique people must be + * reached in order for data to be reported. If the minimum number is not met, the total_reach + * value will be rounded to 0. + * @param totalReach totalReach or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesForecast setTotalReach(java.lang.Long totalReach) { + this.totalReach = totalReach; + return this; + } + + /** + * Number of ad views forecasted for the specified product and targeting. A TrueView View is + * counted when a viewer views a larger portion or the entirety of an ad beyond an impression. See + * https://support.google.com/google-ads/answer/2375431 for more information on TrueView Views. + * @return value or {@code null} for none + */ + public java.lang.Long getTrueviewViews() { + return trueviewViews; + } + + /** + * Number of ad views forecasted for the specified product and targeting. A TrueView View is + * counted when a viewer views a larger portion or the entirety of an ad beyond an impression. See + * https://support.google.com/google-ads/answer/2375431 for more information on TrueView Views. + * @param trueviewViews trueviewViews or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesForecast setTrueviewViews(java.lang.Long trueviewViews) { + this.trueviewViews = trueviewViews; + return this; + } + + /** + * Number of times the ad's impressions were considered viewable. See + * https://support.google.com/google-ads/answer/7029393 for more information about what makes an + * ad viewable and how viewability is measured. + * @return value or {@code null} for none + */ + public java.lang.Long getViewableImpressions() { + return viewableImpressions; + } + + /** + * Number of times the ad's impressions were considered viewable. See + * https://support.google.com/google-ads/answer/7029393 for more information about what makes an + * ad viewable and how viewability is measured. + * @param viewableImpressions viewableImpressions or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesForecast setViewableImpressions(java.lang.Long viewableImpressions) { + this.viewableImpressions = viewableImpressions; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesForecast set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesForecast) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesForecast clone() { + return (GoogleAdsSearchads360V23ServicesForecast) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesForecastAdGroup.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesForecastAdGroup.java new file mode 100644 index 00000000000..22f8a780f59 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesForecastAdGroup.java @@ -0,0 +1,136 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * An ad group that is part of a campaign to be forecasted. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesForecastAdGroup extends com.google.api.client.json.GenericJson { + + /** + * Required. The list of biddable keywords to be used in the ad group when doing the forecast. + * Requires at least one keyword. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List biddableKeywords; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesBiddableKeyword used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesBiddableKeyword.class); + } + + /** + * The max cpc to use for the ad group when generating forecasted traffic. This value will + * override the max cpc value set in the bidding strategy. Only specify this field for bidding + * strategies that max cpc values. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long maxCpcBidMicros; + + /** + * The details of the keyword. You should specify both the keyword text and match type. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List negativeKeywords; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonKeywordInfo used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonKeywordInfo.class); + } + + /** + * Required. The list of biddable keywords to be used in the ad group when doing the forecast. + * Requires at least one keyword. + * @return value or {@code null} for none + */ + public java.util.List getBiddableKeywords() { + return biddableKeywords; + } + + /** + * Required. The list of biddable keywords to be used in the ad group when doing the forecast. + * Requires at least one keyword. + * @param biddableKeywords biddableKeywords or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesForecastAdGroup setBiddableKeywords(java.util.List biddableKeywords) { + this.biddableKeywords = biddableKeywords; + return this; + } + + /** + * The max cpc to use for the ad group when generating forecasted traffic. This value will + * override the max cpc value set in the bidding strategy. Only specify this field for bidding + * strategies that max cpc values. + * @return value or {@code null} for none + */ + public java.lang.Long getMaxCpcBidMicros() { + return maxCpcBidMicros; + } + + /** + * The max cpc to use for the ad group when generating forecasted traffic. This value will + * override the max cpc value set in the bidding strategy. Only specify this field for bidding + * strategies that max cpc values. + * @param maxCpcBidMicros maxCpcBidMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesForecastAdGroup setMaxCpcBidMicros(java.lang.Long maxCpcBidMicros) { + this.maxCpcBidMicros = maxCpcBidMicros; + return this; + } + + /** + * The details of the keyword. You should specify both the keyword text and match type. + * @return value or {@code null} for none + */ + public java.util.List getNegativeKeywords() { + return negativeKeywords; + } + + /** + * The details of the keyword. You should specify both the keyword text and match type. + * @param negativeKeywords negativeKeywords or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesForecastAdGroup setNegativeKeywords(java.util.List negativeKeywords) { + this.negativeKeywords = negativeKeywords; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesForecastAdGroup set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesForecastAdGroup) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesForecastAdGroup clone() { + return (GoogleAdsSearchads360V23ServicesForecastAdGroup) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesForecastMetricOptions.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesForecastMetricOptions.java new file mode 100644 index 00000000000..25d57f57ea4 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesForecastMetricOptions.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Controls forecast metrics to return. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesForecastMetricOptions extends com.google.api.client.json.GenericJson { + + /** + * Indicates whether to include co-view metrics in the response forecast. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean includeCoview; + + /** + * Indicates whether to include co-view metrics in the response forecast. + * @return value or {@code null} for none + */ + public java.lang.Boolean getIncludeCoview() { + return includeCoview; + } + + /** + * Indicates whether to include co-view metrics in the response forecast. + * @param includeCoview includeCoview or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesForecastMetricOptions setIncludeCoview(java.lang.Boolean includeCoview) { + this.includeCoview = includeCoview; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesForecastMetricOptions set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesForecastMetricOptions) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesForecastMetricOptions clone() { + return (GoogleAdsSearchads360V23ServicesForecastMetricOptions) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesFrequencyCap.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesFrequencyCap.java new file mode 100644 index 00000000000..62558fca09d --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesFrequencyCap.java @@ -0,0 +1,92 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A rule specifying the maximum number of times an ad can be shown to a user over a particular time + * period. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesFrequencyCap extends com.google.api.client.json.GenericJson { + + /** + * Required. The number of impressions, inclusive. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer impressions; + + /** + * Required. The type of time unit. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String timeUnit; + + /** + * Required. The number of impressions, inclusive. + * @return value or {@code null} for none + */ + public java.lang.Integer getImpressions() { + return impressions; + } + + /** + * Required. The number of impressions, inclusive. + * @param impressions impressions or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesFrequencyCap setImpressions(java.lang.Integer impressions) { + this.impressions = impressions; + return this; + } + + /** + * Required. The type of time unit. + * @return value or {@code null} for none + */ + public java.lang.String getTimeUnit() { + return timeUnit; + } + + /** + * Required. The type of time unit. + * @param timeUnit timeUnit or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesFrequencyCap setTimeUnit(java.lang.String timeUnit) { + this.timeUnit = timeUnit; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesFrequencyCap set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesFrequencyCap) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesFrequencyCap clone() { + return (GoogleAdsSearchads360V23ServicesFrequencyCap) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateAdGroupThemesRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateAdGroupThemesRequest.java new file mode 100644 index 00000000000..24b0745b3b3 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateAdGroupThemesRequest.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for KeywordPlanIdeaService.GenerateAdGroupThemes. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesGenerateAdGroupThemesRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. A list of resource names of AdGroups to group keywords into. Resource name format: + * `customers/{customer_id}/adGroups/{ad_group_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List adGroups; + + /** + * Required. A list of keywords to group into the provided AdGroups. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List keywords; + + /** + * Required. A list of resource names of AdGroups to group keywords into. Resource name format: + * `customers/{customer_id}/adGroups/{ad_group_id}` + * @return value or {@code null} for none + */ + public java.util.List getAdGroups() { + return adGroups; + } + + /** + * Required. A list of resource names of AdGroups to group keywords into. Resource name format: + * `customers/{customer_id}/adGroups/{ad_group_id}` + * @param adGroups adGroups or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateAdGroupThemesRequest setAdGroups(java.util.List adGroups) { + this.adGroups = adGroups; + return this; + } + + /** + * Required. A list of keywords to group into the provided AdGroups. + * @return value or {@code null} for none + */ + public java.util.List getKeywords() { + return keywords; + } + + /** + * Required. A list of keywords to group into the provided AdGroups. + * @param keywords keywords or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateAdGroupThemesRequest setKeywords(java.util.List keywords) { + this.keywords = keywords; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesGenerateAdGroupThemesRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesGenerateAdGroupThemesRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesGenerateAdGroupThemesRequest clone() { + return (GoogleAdsSearchads360V23ServicesGenerateAdGroupThemesRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateAdGroupThemesResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateAdGroupThemesResponse.java new file mode 100644 index 00000000000..9ef1b92bf08 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateAdGroupThemesResponse.java @@ -0,0 +1,97 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for KeywordPlanIdeaService.GenerateAdGroupThemes. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesGenerateAdGroupThemesResponse extends com.google.api.client.json.GenericJson { + + /** + * A list of suggested AdGroup/keyword pairings. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List adGroupKeywordSuggestions; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesAdGroupKeywordSuggestion used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesAdGroupKeywordSuggestion.class); + } + + /** + * A list of provided AdGroups that could not be used as suggestions. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List unusableAdGroups; + + /** + * A list of suggested AdGroup/keyword pairings. + * @return value or {@code null} for none + */ + public java.util.List getAdGroupKeywordSuggestions() { + return adGroupKeywordSuggestions; + } + + /** + * A list of suggested AdGroup/keyword pairings. + * @param adGroupKeywordSuggestions adGroupKeywordSuggestions or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateAdGroupThemesResponse setAdGroupKeywordSuggestions(java.util.List adGroupKeywordSuggestions) { + this.adGroupKeywordSuggestions = adGroupKeywordSuggestions; + return this; + } + + /** + * A list of provided AdGroups that could not be used as suggestions. + * @return value or {@code null} for none + */ + public java.util.List getUnusableAdGroups() { + return unusableAdGroups; + } + + /** + * A list of provided AdGroups that could not be used as suggestions. + * @param unusableAdGroups unusableAdGroups or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateAdGroupThemesResponse setUnusableAdGroups(java.util.List unusableAdGroups) { + this.unusableAdGroups = unusableAdGroups; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesGenerateAdGroupThemesResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesGenerateAdGroupThemesResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesGenerateAdGroupThemesResponse clone() { + return (GoogleAdsSearchads360V23ServicesGenerateAdGroupThemesResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateAudienceCompositionInsightsRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateAudienceCompositionInsightsRequest.java new file mode 100644 index 00000000000..11793062bd2 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateAudienceCompositionInsightsRequest.java @@ -0,0 +1,196 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for AudienceInsightsService.GenerateAudienceCompositionInsights. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesGenerateAudienceCompositionInsightsRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The audience of interest for which insights are being requested. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesInsightsAudience audience; + + /** + * The baseline audience to which the audience of interest is being compared. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesInsightsAudience baselineAudience; + + /** + * The name of the customer being planned for. This is a user-defined value. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String customerInsightsGroup; + + /** + * The one-month range of historical data to use for insights, in the format "yyyy-mm". If unset, + * insights will be returned for the last thirty days of data. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String dataMonth; + + /** + * Required. The audience dimensions for which composition insights should be returned. Supported + * dimensions are KNOWLEDGE_GRAPH, GEO_TARGET_COUNTRY, SUB_COUNTRY_LOCATION, YOUTUBE_CHANNEL, + * YOUTUBE_LINEUP, AFFINITY_USER_INTEREST, IN_MARKET_USER_INTEREST, . + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List dimensions; + + /** + * Optional. Additional information on the application issuing the request. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonAdditionalApplicationInfo insightsApplicationInfo; + + /** + * Required. The audience of interest for which insights are being requested. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesInsightsAudience getAudience() { + return audience; + } + + /** + * Required. The audience of interest for which insights are being requested. + * @param audience audience or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateAudienceCompositionInsightsRequest setAudience(GoogleAdsSearchads360V23ServicesInsightsAudience audience) { + this.audience = audience; + return this; + } + + /** + * The baseline audience to which the audience of interest is being compared. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesInsightsAudience getBaselineAudience() { + return baselineAudience; + } + + /** + * The baseline audience to which the audience of interest is being compared. + * @param baselineAudience baselineAudience or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateAudienceCompositionInsightsRequest setBaselineAudience(GoogleAdsSearchads360V23ServicesInsightsAudience baselineAudience) { + this.baselineAudience = baselineAudience; + return this; + } + + /** + * The name of the customer being planned for. This is a user-defined value. + * @return value or {@code null} for none + */ + public java.lang.String getCustomerInsightsGroup() { + return customerInsightsGroup; + } + + /** + * The name of the customer being planned for. This is a user-defined value. + * @param customerInsightsGroup customerInsightsGroup or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateAudienceCompositionInsightsRequest setCustomerInsightsGroup(java.lang.String customerInsightsGroup) { + this.customerInsightsGroup = customerInsightsGroup; + return this; + } + + /** + * The one-month range of historical data to use for insights, in the format "yyyy-mm". If unset, + * insights will be returned for the last thirty days of data. + * @return value or {@code null} for none + */ + public java.lang.String getDataMonth() { + return dataMonth; + } + + /** + * The one-month range of historical data to use for insights, in the format "yyyy-mm". If unset, + * insights will be returned for the last thirty days of data. + * @param dataMonth dataMonth or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateAudienceCompositionInsightsRequest setDataMonth(java.lang.String dataMonth) { + this.dataMonth = dataMonth; + return this; + } + + /** + * Required. The audience dimensions for which composition insights should be returned. Supported + * dimensions are KNOWLEDGE_GRAPH, GEO_TARGET_COUNTRY, SUB_COUNTRY_LOCATION, YOUTUBE_CHANNEL, + * YOUTUBE_LINEUP, AFFINITY_USER_INTEREST, IN_MARKET_USER_INTEREST, . + * @return value or {@code null} for none + */ + public java.util.List getDimensions() { + return dimensions; + } + + /** + * Required. The audience dimensions for which composition insights should be returned. Supported + * dimensions are KNOWLEDGE_GRAPH, GEO_TARGET_COUNTRY, SUB_COUNTRY_LOCATION, YOUTUBE_CHANNEL, + * YOUTUBE_LINEUP, AFFINITY_USER_INTEREST, IN_MARKET_USER_INTEREST, . + * @param dimensions dimensions or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateAudienceCompositionInsightsRequest setDimensions(java.util.List dimensions) { + this.dimensions = dimensions; + return this; + } + + /** + * Optional. Additional information on the application issuing the request. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAdditionalApplicationInfo getInsightsApplicationInfo() { + return insightsApplicationInfo; + } + + /** + * Optional. Additional information on the application issuing the request. + * @param insightsApplicationInfo insightsApplicationInfo or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateAudienceCompositionInsightsRequest setInsightsApplicationInfo(GoogleAdsSearchads360V23CommonAdditionalApplicationInfo insightsApplicationInfo) { + this.insightsApplicationInfo = insightsApplicationInfo; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesGenerateAudienceCompositionInsightsRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesGenerateAudienceCompositionInsightsRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesGenerateAudienceCompositionInsightsRequest clone() { + return (GoogleAdsSearchads360V23ServicesGenerateAudienceCompositionInsightsRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateAudienceCompositionInsightsResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateAudienceCompositionInsightsResponse.java new file mode 100644 index 00000000000..46c44a24da4 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateAudienceCompositionInsightsResponse.java @@ -0,0 +1,79 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for AudienceInsightsService.GenerateAudienceCompositionInsights. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesGenerateAudienceCompositionInsightsResponse extends com.google.api.client.json.GenericJson { + + /** + * The contents of the insights report, organized into sections. Each section is associated with + * one of the AudienceInsightsDimension values in the request. There may be more than one section + * per dimension. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List sections; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesAudienceCompositionSection used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesAudienceCompositionSection.class); + } + + /** + * The contents of the insights report, organized into sections. Each section is associated with + * one of the AudienceInsightsDimension values in the request. There may be more than one section + * per dimension. + * @return value or {@code null} for none + */ + public java.util.List getSections() { + return sections; + } + + /** + * The contents of the insights report, organized into sections. Each section is associated with + * one of the AudienceInsightsDimension values in the request. There may be more than one section + * per dimension. + * @param sections sections or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateAudienceCompositionInsightsResponse setSections(java.util.List sections) { + this.sections = sections; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesGenerateAudienceCompositionInsightsResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesGenerateAudienceCompositionInsightsResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesGenerateAudienceCompositionInsightsResponse clone() { + return (GoogleAdsSearchads360V23ServicesGenerateAudienceCompositionInsightsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateAudienceDefinitionRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateAudienceDefinitionRequest.java new file mode 100644 index 00000000000..64684c3a7b7 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateAudienceDefinitionRequest.java @@ -0,0 +1,127 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for AudienceInsightsService.GenerateAudienceDefinition. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesGenerateAudienceDefinitionRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. Provide a text description of an audience to get AI-generated structured suggestions. + * This can take around 5 or more seconds to complete Supported marketing objectives are: + * AWARENESS, CONSIDERATION and RESEARCH. Supported dimensions are: AGE_RANGE, GENDER, + * PARENTAL_STATUS, AFFINITY_USER_INTEREST, IN_MARKET_USER_INTEREST, LIFE_EVENT_USER_INTEREST, + * CATEGORY and KNOWLEDGE_GRAPH. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesInsightsAudienceDescription audienceDescription; + + /** + * Optional. The name of the customer being planned for. This is a user-defined value. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String customerInsightsGroup; + + /** + * Optional. Additional information on the application issuing the request. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonAdditionalApplicationInfo insightsApplicationInfo; + + /** + * Required. Provide a text description of an audience to get AI-generated structured suggestions. + * This can take around 5 or more seconds to complete Supported marketing objectives are: + * AWARENESS, CONSIDERATION and RESEARCH. Supported dimensions are: AGE_RANGE, GENDER, + * PARENTAL_STATUS, AFFINITY_USER_INTEREST, IN_MARKET_USER_INTEREST, LIFE_EVENT_USER_INTEREST, + * CATEGORY and KNOWLEDGE_GRAPH. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesInsightsAudienceDescription getAudienceDescription() { + return audienceDescription; + } + + /** + * Required. Provide a text description of an audience to get AI-generated structured suggestions. + * This can take around 5 or more seconds to complete Supported marketing objectives are: + * AWARENESS, CONSIDERATION and RESEARCH. Supported dimensions are: AGE_RANGE, GENDER, + * PARENTAL_STATUS, AFFINITY_USER_INTEREST, IN_MARKET_USER_INTEREST, LIFE_EVENT_USER_INTEREST, + * CATEGORY and KNOWLEDGE_GRAPH. + * @param audienceDescription audienceDescription or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateAudienceDefinitionRequest setAudienceDescription(GoogleAdsSearchads360V23ServicesInsightsAudienceDescription audienceDescription) { + this.audienceDescription = audienceDescription; + return this; + } + + /** + * Optional. The name of the customer being planned for. This is a user-defined value. + * @return value or {@code null} for none + */ + public java.lang.String getCustomerInsightsGroup() { + return customerInsightsGroup; + } + + /** + * Optional. The name of the customer being planned for. This is a user-defined value. + * @param customerInsightsGroup customerInsightsGroup or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateAudienceDefinitionRequest setCustomerInsightsGroup(java.lang.String customerInsightsGroup) { + this.customerInsightsGroup = customerInsightsGroup; + return this; + } + + /** + * Optional. Additional information on the application issuing the request. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAdditionalApplicationInfo getInsightsApplicationInfo() { + return insightsApplicationInfo; + } + + /** + * Optional. Additional information on the application issuing the request. + * @param insightsApplicationInfo insightsApplicationInfo or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateAudienceDefinitionRequest setInsightsApplicationInfo(GoogleAdsSearchads360V23CommonAdditionalApplicationInfo insightsApplicationInfo) { + this.insightsApplicationInfo = insightsApplicationInfo; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesGenerateAudienceDefinitionRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesGenerateAudienceDefinitionRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesGenerateAudienceDefinitionRequest clone() { + return (GoogleAdsSearchads360V23ServicesGenerateAudienceDefinitionRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateAudienceDefinitionResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateAudienceDefinitionResponse.java new file mode 100644 index 00000000000..0431045c34a --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateAudienceDefinitionResponse.java @@ -0,0 +1,106 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for AudienceInsightsService.GenerateAudienceDefinition. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesGenerateAudienceDefinitionResponse extends com.google.api.client.json.GenericJson { + + /** + * The attributes that make up the audience definition. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List highRelevanceAttributes; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonAudienceInsightsAttributeMetadata used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonAudienceInsightsAttributeMetadata.class); + } + + /** + * Additional attributes that are less relevant but still related to the audience description. Use + * these attributes to broaden the audience definition to reach more users. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List mediumRelevanceAttributes; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonAudienceInsightsAttributeMetadata used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonAudienceInsightsAttributeMetadata.class); + } + + /** + * The attributes that make up the audience definition. + * @return value or {@code null} for none + */ + public java.util.List getHighRelevanceAttributes() { + return highRelevanceAttributes; + } + + /** + * The attributes that make up the audience definition. + * @param highRelevanceAttributes highRelevanceAttributes or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateAudienceDefinitionResponse setHighRelevanceAttributes(java.util.List highRelevanceAttributes) { + this.highRelevanceAttributes = highRelevanceAttributes; + return this; + } + + /** + * Additional attributes that are less relevant but still related to the audience description. Use + * these attributes to broaden the audience definition to reach more users. + * @return value or {@code null} for none + */ + public java.util.List getMediumRelevanceAttributes() { + return mediumRelevanceAttributes; + } + + /** + * Additional attributes that are less relevant but still related to the audience description. Use + * these attributes to broaden the audience definition to reach more users. + * @param mediumRelevanceAttributes mediumRelevanceAttributes or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateAudienceDefinitionResponse setMediumRelevanceAttributes(java.util.List mediumRelevanceAttributes) { + this.mediumRelevanceAttributes = mediumRelevanceAttributes; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesGenerateAudienceDefinitionResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesGenerateAudienceDefinitionResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesGenerateAudienceDefinitionResponse clone() { + return (GoogleAdsSearchads360V23ServicesGenerateAudienceDefinitionResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateAudienceOverlapInsightsRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateAudienceOverlapInsightsRequest.java new file mode 100644 index 00000000000..904f26055a6 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateAudienceOverlapInsightsRequest.java @@ -0,0 +1,172 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for AudienceInsightsService.GenerateAudienceOverlapInsights. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesGenerateAudienceOverlapInsightsRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The country in which to calculate the sizes and overlaps of audiences. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonLocationInfo countryLocation; + + /** + * The name of the customer being planned for. This is a user-defined value. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String customerInsightsGroup; + + /** + * Required. The types of attributes of which to calculate the overlap with the primary_attribute. + * The values must be a subset of AFFINITY_USER_INTEREST, IN_MARKET_USER_INTEREST, AGE_RANGE and + * GENDER. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List dimensions; + + /** + * Optional. Additional information on the application issuing the request. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonAdditionalApplicationInfo insightsApplicationInfo; + + /** + * Required. The audience attribute that should be intersected with all other eligible audiences. + * This must be an Affinity or In-Market UserInterest, an AgeRange or a Gender. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonAudienceInsightsAttribute primaryAttribute; + + /** + * Required. The country in which to calculate the sizes and overlaps of audiences. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLocationInfo getCountryLocation() { + return countryLocation; + } + + /** + * Required. The country in which to calculate the sizes and overlaps of audiences. + * @param countryLocation countryLocation or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateAudienceOverlapInsightsRequest setCountryLocation(GoogleAdsSearchads360V23CommonLocationInfo countryLocation) { + this.countryLocation = countryLocation; + return this; + } + + /** + * The name of the customer being planned for. This is a user-defined value. + * @return value or {@code null} for none + */ + public java.lang.String getCustomerInsightsGroup() { + return customerInsightsGroup; + } + + /** + * The name of the customer being planned for. This is a user-defined value. + * @param customerInsightsGroup customerInsightsGroup or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateAudienceOverlapInsightsRequest setCustomerInsightsGroup(java.lang.String customerInsightsGroup) { + this.customerInsightsGroup = customerInsightsGroup; + return this; + } + + /** + * Required. The types of attributes of which to calculate the overlap with the primary_attribute. + * The values must be a subset of AFFINITY_USER_INTEREST, IN_MARKET_USER_INTEREST, AGE_RANGE and + * GENDER. + * @return value or {@code null} for none + */ + public java.util.List getDimensions() { + return dimensions; + } + + /** + * Required. The types of attributes of which to calculate the overlap with the primary_attribute. + * The values must be a subset of AFFINITY_USER_INTEREST, IN_MARKET_USER_INTEREST, AGE_RANGE and + * GENDER. + * @param dimensions dimensions or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateAudienceOverlapInsightsRequest setDimensions(java.util.List dimensions) { + this.dimensions = dimensions; + return this; + } + + /** + * Optional. Additional information on the application issuing the request. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAdditionalApplicationInfo getInsightsApplicationInfo() { + return insightsApplicationInfo; + } + + /** + * Optional. Additional information on the application issuing the request. + * @param insightsApplicationInfo insightsApplicationInfo or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateAudienceOverlapInsightsRequest setInsightsApplicationInfo(GoogleAdsSearchads360V23CommonAdditionalApplicationInfo insightsApplicationInfo) { + this.insightsApplicationInfo = insightsApplicationInfo; + return this; + } + + /** + * Required. The audience attribute that should be intersected with all other eligible audiences. + * This must be an Affinity or In-Market UserInterest, an AgeRange or a Gender. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAudienceInsightsAttribute getPrimaryAttribute() { + return primaryAttribute; + } + + /** + * Required. The audience attribute that should be intersected with all other eligible audiences. + * This must be an Affinity or In-Market UserInterest, an AgeRange or a Gender. + * @param primaryAttribute primaryAttribute or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateAudienceOverlapInsightsRequest setPrimaryAttribute(GoogleAdsSearchads360V23CommonAudienceInsightsAttribute primaryAttribute) { + this.primaryAttribute = primaryAttribute; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesGenerateAudienceOverlapInsightsRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesGenerateAudienceOverlapInsightsRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesGenerateAudienceOverlapInsightsRequest clone() { + return (GoogleAdsSearchads360V23ServicesGenerateAudienceOverlapInsightsRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateAudienceOverlapInsightsResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateAudienceOverlapInsightsResponse.java new file mode 100644 index 00000000000..90f1a103f90 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateAudienceOverlapInsightsResponse.java @@ -0,0 +1,100 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for AudienceInsightsService.GenerateAudienceOverlapInsights. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesGenerateAudienceOverlapInsightsResponse extends com.google.api.client.json.GenericJson { + + /** + * Lists of attributes and their overlap with the primary attribute, one list per requested + * dimension. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List dimensionResults; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesDimensionOverlapResult used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesDimensionOverlapResult.class); + } + + /** + * Metadata for the primary attribute, including potential YouTube reach. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonAudienceInsightsAttributeMetadata primaryAttributeMetadata; + + /** + * Lists of attributes and their overlap with the primary attribute, one list per requested + * dimension. + * @return value or {@code null} for none + */ + public java.util.List getDimensionResults() { + return dimensionResults; + } + + /** + * Lists of attributes and their overlap with the primary attribute, one list per requested + * dimension. + * @param dimensionResults dimensionResults or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateAudienceOverlapInsightsResponse setDimensionResults(java.util.List dimensionResults) { + this.dimensionResults = dimensionResults; + return this; + } + + /** + * Metadata for the primary attribute, including potential YouTube reach. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAudienceInsightsAttributeMetadata getPrimaryAttributeMetadata() { + return primaryAttributeMetadata; + } + + /** + * Metadata for the primary attribute, including potential YouTube reach. + * @param primaryAttributeMetadata primaryAttributeMetadata or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateAudienceOverlapInsightsResponse setPrimaryAttributeMetadata(GoogleAdsSearchads360V23CommonAudienceInsightsAttributeMetadata primaryAttributeMetadata) { + this.primaryAttributeMetadata = primaryAttributeMetadata; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesGenerateAudienceOverlapInsightsResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesGenerateAudienceOverlapInsightsResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesGenerateAudienceOverlapInsightsResponse clone() { + return (GoogleAdsSearchads360V23ServicesGenerateAudienceOverlapInsightsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateBenchmarksMetricsRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateBenchmarksMetricsRequest.java new file mode 100644 index 00000000000..6515d6a2f29 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateBenchmarksMetricsRequest.java @@ -0,0 +1,223 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for BenchmarksService.GenerateBenchmarksMetrics. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesGenerateBenchmarksMetricsRequest extends com.google.api.client.json.GenericJson { + + /** + * Additional information on the application issuing the request. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonAdditionalApplicationInfo applicationInfo; + + /** + * Required. The source used to generate benchmarks metrics for. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesBenchmarksSource benchmarksSource; + + /** + * Optional. The three-character ISO 4217 currency code. If unspecified, the default currency for + * monetary values is USD. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String currencyCode; + + /** + * The name of the customer being planned for. This is a user-defined value. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String customerBenchmarksGroup; + + /** + * The date range to aggregate metrics over. If unset, data will be returned for the most recent + * quarter for which data is available. Dates can be retrieved using + * BenchmarksService.ListBenchmarksAvailableDates. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonDateRange dateRange; + + /** + * Required. The location to generate benchmarks metrics for. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonLocationInfo location; + + /** + * Required. The products to aggregate metrics over. Product filter settings support a list of + * product IDs or a list of marketing objectives. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesProductFilter productFilter; + + /** + * Additional information on the application issuing the request. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAdditionalApplicationInfo getApplicationInfo() { + return applicationInfo; + } + + /** + * Additional information on the application issuing the request. + * @param applicationInfo applicationInfo or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateBenchmarksMetricsRequest setApplicationInfo(GoogleAdsSearchads360V23CommonAdditionalApplicationInfo applicationInfo) { + this.applicationInfo = applicationInfo; + return this; + } + + /** + * Required. The source used to generate benchmarks metrics for. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesBenchmarksSource getBenchmarksSource() { + return benchmarksSource; + } + + /** + * Required. The source used to generate benchmarks metrics for. + * @param benchmarksSource benchmarksSource or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateBenchmarksMetricsRequest setBenchmarksSource(GoogleAdsSearchads360V23ServicesBenchmarksSource benchmarksSource) { + this.benchmarksSource = benchmarksSource; + return this; + } + + /** + * Optional. The three-character ISO 4217 currency code. If unspecified, the default currency for + * monetary values is USD. + * @return value or {@code null} for none + */ + public java.lang.String getCurrencyCode() { + return currencyCode; + } + + /** + * Optional. The three-character ISO 4217 currency code. If unspecified, the default currency for + * monetary values is USD. + * @param currencyCode currencyCode or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateBenchmarksMetricsRequest setCurrencyCode(java.lang.String currencyCode) { + this.currencyCode = currencyCode; + return this; + } + + /** + * The name of the customer being planned for. This is a user-defined value. + * @return value or {@code null} for none + */ + public java.lang.String getCustomerBenchmarksGroup() { + return customerBenchmarksGroup; + } + + /** + * The name of the customer being planned for. This is a user-defined value. + * @param customerBenchmarksGroup customerBenchmarksGroup or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateBenchmarksMetricsRequest setCustomerBenchmarksGroup(java.lang.String customerBenchmarksGroup) { + this.customerBenchmarksGroup = customerBenchmarksGroup; + return this; + } + + /** + * The date range to aggregate metrics over. If unset, data will be returned for the most recent + * quarter for which data is available. Dates can be retrieved using + * BenchmarksService.ListBenchmarksAvailableDates. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDateRange getDateRange() { + return dateRange; + } + + /** + * The date range to aggregate metrics over. If unset, data will be returned for the most recent + * quarter for which data is available. Dates can be retrieved using + * BenchmarksService.ListBenchmarksAvailableDates. + * @param dateRange dateRange or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateBenchmarksMetricsRequest setDateRange(GoogleAdsSearchads360V23CommonDateRange dateRange) { + this.dateRange = dateRange; + return this; + } + + /** + * Required. The location to generate benchmarks metrics for. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLocationInfo getLocation() { + return location; + } + + /** + * Required. The location to generate benchmarks metrics for. + * @param location location or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateBenchmarksMetricsRequest setLocation(GoogleAdsSearchads360V23CommonLocationInfo location) { + this.location = location; + return this; + } + + /** + * Required. The products to aggregate metrics over. Product filter settings support a list of + * product IDs or a list of marketing objectives. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesProductFilter getProductFilter() { + return productFilter; + } + + /** + * Required. The products to aggregate metrics over. Product filter settings support a list of + * product IDs or a list of marketing objectives. + * @param productFilter productFilter or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateBenchmarksMetricsRequest setProductFilter(GoogleAdsSearchads360V23ServicesProductFilter productFilter) { + this.productFilter = productFilter; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesGenerateBenchmarksMetricsRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesGenerateBenchmarksMetricsRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesGenerateBenchmarksMetricsRequest clone() { + return (GoogleAdsSearchads360V23ServicesGenerateBenchmarksMetricsRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateBenchmarksMetricsResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateBenchmarksMetricsResponse.java new file mode 100644 index 00000000000..d63fc5bacee --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateBenchmarksMetricsResponse.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for BenchmarksService.GenerateBenchmarksMetrics. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesGenerateBenchmarksMetricsResponse extends com.google.api.client.json.GenericJson { + + /** + * Metrics for the selected benchmarks source. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesMetrics averageBenchmarksMetrics; + + /** + * Metrics belonging to the customer. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesMetrics customerMetrics; + + /** + * Metrics for the selected benchmarks source. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMetrics getAverageBenchmarksMetrics() { + return averageBenchmarksMetrics; + } + + /** + * Metrics for the selected benchmarks source. + * @param averageBenchmarksMetrics averageBenchmarksMetrics or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateBenchmarksMetricsResponse setAverageBenchmarksMetrics(GoogleAdsSearchads360V23ServicesMetrics averageBenchmarksMetrics) { + this.averageBenchmarksMetrics = averageBenchmarksMetrics; + return this; + } + + /** + * Metrics belonging to the customer. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMetrics getCustomerMetrics() { + return customerMetrics; + } + + /** + * Metrics belonging to the customer. + * @param customerMetrics customerMetrics or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateBenchmarksMetricsResponse setCustomerMetrics(GoogleAdsSearchads360V23ServicesMetrics customerMetrics) { + this.customerMetrics = customerMetrics; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesGenerateBenchmarksMetricsResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesGenerateBenchmarksMetricsResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesGenerateBenchmarksMetricsResponse clone() { + return (GoogleAdsSearchads360V23ServicesGenerateBenchmarksMetricsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateConversionRatesRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateConversionRatesRequest.java new file mode 100644 index 00000000000..d173ed764cf --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateConversionRatesRequest.java @@ -0,0 +1,118 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for ReachPlanService.GenerateConversionRates. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesGenerateConversionRatesRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The ID of the customer. A conversion rate based on the historical data of this + * customer may be suggested. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** + * The name of the customer being planned for. This is a user-defined value. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String customerReachGroup; + + /** + * Optional. Additional information on the application issuing the request. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonAdditionalApplicationInfo reachApplicationInfo; + + /** + * Required. The ID of the customer. A conversion rate based on the historical data of this + * customer may be suggested. + * @return value or {@code null} for none + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** + * Required. The ID of the customer. A conversion rate based on the historical data of this + * customer may be suggested. + * @param customerId customerId or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateConversionRatesRequest setCustomerId(java.lang.String customerId) { + this.customerId = customerId; + return this; + } + + /** + * The name of the customer being planned for. This is a user-defined value. + * @return value or {@code null} for none + */ + public java.lang.String getCustomerReachGroup() { + return customerReachGroup; + } + + /** + * The name of the customer being planned for. This is a user-defined value. + * @param customerReachGroup customerReachGroup or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateConversionRatesRequest setCustomerReachGroup(java.lang.String customerReachGroup) { + this.customerReachGroup = customerReachGroup; + return this; + } + + /** + * Optional. Additional information on the application issuing the request. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAdditionalApplicationInfo getReachApplicationInfo() { + return reachApplicationInfo; + } + + /** + * Optional. Additional information on the application issuing the request. + * @param reachApplicationInfo reachApplicationInfo or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateConversionRatesRequest setReachApplicationInfo(GoogleAdsSearchads360V23CommonAdditionalApplicationInfo reachApplicationInfo) { + this.reachApplicationInfo = reachApplicationInfo; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesGenerateConversionRatesRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesGenerateConversionRatesRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesGenerateConversionRatesRequest clone() { + return (GoogleAdsSearchads360V23ServicesGenerateConversionRatesRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateConversionRatesResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateConversionRatesResponse.java new file mode 100644 index 00000000000..97f0294dc35 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateConversionRatesResponse.java @@ -0,0 +1,77 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for ReachPlanService.GenerateConversionRates, containing conversion rate + * suggestions for supported plannable products. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesGenerateConversionRatesResponse extends com.google.api.client.json.GenericJson { + + /** + * A list containing conversion rate suggestions. Each repeated element will have an associated + * product code. Multiple suggestions may share the same product code. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List conversionRateSuggestions; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesConversionRateSuggestion used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesConversionRateSuggestion.class); + } + + /** + * A list containing conversion rate suggestions. Each repeated element will have an associated + * product code. Multiple suggestions may share the same product code. + * @return value or {@code null} for none + */ + public java.util.List getConversionRateSuggestions() { + return conversionRateSuggestions; + } + + /** + * A list containing conversion rate suggestions. Each repeated element will have an associated + * product code. Multiple suggestions may share the same product code. + * @param conversionRateSuggestions conversionRateSuggestions or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateConversionRatesResponse setConversionRateSuggestions(java.util.List conversionRateSuggestions) { + this.conversionRateSuggestions = conversionRateSuggestions; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesGenerateConversionRatesResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesGenerateConversionRatesResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesGenerateConversionRatesResponse clone() { + return (GoogleAdsSearchads360V23ServicesGenerateConversionRatesResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateInsightsFinderReportRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateInsightsFinderReportRequest.java new file mode 100644 index 00000000000..6f8af919acb --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateInsightsFinderReportRequest.java @@ -0,0 +1,142 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for AudienceInsightsService.GenerateInsightsFinderReport. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesGenerateInsightsFinderReportRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. A baseline audience for this report, typically all people in a region. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesInsightsAudience baselineAudience; + + /** + * The name of the customer being planned for. This is a user-defined value. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String customerInsightsGroup; + + /** + * Optional. Additional information on the application issuing the request. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonAdditionalApplicationInfo insightsApplicationInfo; + + /** + * Required. The specific audience of interest for this report. The insights in the report will be + * based on attributes more prevalent in this audience than in the report's baseline audience. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesInsightsAudience specificAudience; + + /** + * Required. A baseline audience for this report, typically all people in a region. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesInsightsAudience getBaselineAudience() { + return baselineAudience; + } + + /** + * Required. A baseline audience for this report, typically all people in a region. + * @param baselineAudience baselineAudience or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateInsightsFinderReportRequest setBaselineAudience(GoogleAdsSearchads360V23ServicesInsightsAudience baselineAudience) { + this.baselineAudience = baselineAudience; + return this; + } + + /** + * The name of the customer being planned for. This is a user-defined value. + * @return value or {@code null} for none + */ + public java.lang.String getCustomerInsightsGroup() { + return customerInsightsGroup; + } + + /** + * The name of the customer being planned for. This is a user-defined value. + * @param customerInsightsGroup customerInsightsGroup or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateInsightsFinderReportRequest setCustomerInsightsGroup(java.lang.String customerInsightsGroup) { + this.customerInsightsGroup = customerInsightsGroup; + return this; + } + + /** + * Optional. Additional information on the application issuing the request. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAdditionalApplicationInfo getInsightsApplicationInfo() { + return insightsApplicationInfo; + } + + /** + * Optional. Additional information on the application issuing the request. + * @param insightsApplicationInfo insightsApplicationInfo or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateInsightsFinderReportRequest setInsightsApplicationInfo(GoogleAdsSearchads360V23CommonAdditionalApplicationInfo insightsApplicationInfo) { + this.insightsApplicationInfo = insightsApplicationInfo; + return this; + } + + /** + * Required. The specific audience of interest for this report. The insights in the report will be + * based on attributes more prevalent in this audience than in the report's baseline audience. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesInsightsAudience getSpecificAudience() { + return specificAudience; + } + + /** + * Required. The specific audience of interest for this report. The insights in the report will be + * based on attributes more prevalent in this audience than in the report's baseline audience. + * @param specificAudience specificAudience or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateInsightsFinderReportRequest setSpecificAudience(GoogleAdsSearchads360V23ServicesInsightsAudience specificAudience) { + this.specificAudience = specificAudience; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesGenerateInsightsFinderReportRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesGenerateInsightsFinderReportRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesGenerateInsightsFinderReportRequest clone() { + return (GoogleAdsSearchads360V23ServicesGenerateInsightsFinderReportRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateInsightsFinderReportResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateInsightsFinderReportResponse.java new file mode 100644 index 00000000000..328d500c521 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateInsightsFinderReportResponse.java @@ -0,0 +1,71 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The response message for AudienceInsightsService.GenerateInsightsFinderReport, containing the + * shareable URL for the report. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesGenerateInsightsFinderReportResponse extends com.google.api.client.json.GenericJson { + + /** + * An HTTPS URL providing a deep link into the Insights Finder UI with the report inputs filled in + * according to the request. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String savedReportUrl; + + /** + * An HTTPS URL providing a deep link into the Insights Finder UI with the report inputs filled in + * according to the request. + * @return value or {@code null} for none + */ + public java.lang.String getSavedReportUrl() { + return savedReportUrl; + } + + /** + * An HTTPS URL providing a deep link into the Insights Finder UI with the report inputs filled in + * according to the request. + * @param savedReportUrl savedReportUrl or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateInsightsFinderReportResponse setSavedReportUrl(java.lang.String savedReportUrl) { + this.savedReportUrl = savedReportUrl; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesGenerateInsightsFinderReportResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesGenerateInsightsFinderReportResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesGenerateInsightsFinderReportResponse clone() { + return (GoogleAdsSearchads360V23ServicesGenerateInsightsFinderReportResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateKeywordForecastMetricsRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateKeywordForecastMetricsRequest.java new file mode 100644 index 00000000000..85558c5de58 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateKeywordForecastMetricsRequest.java @@ -0,0 +1,133 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for KeywordPlanIdeaService.GenerateKeywordForecastMetrics. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesGenerateKeywordForecastMetricsRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The campaign used in the forecast. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesCampaignToForecast campaign; + + /** + * The currency used for exchange rate conversion. By default, the account currency of the + * customer is used. Set this field only if the currency is different from the account currency. + * The list of valid currency codes can be found at https://developers.google.com/google- + * ads/api/data/codes-formats#currency-codes. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String currencyCode; + + /** + * The date range for the forecast. The start date must be in the future and end date must be + * within 1 year from today. The reference timezone used is the one of the Google Ads account + * belonging to the customer. If not set, a default date range from next Sunday to the following + * Saturday will be used. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonDateRange forecastPeriod; + + /** + * Required. The campaign used in the forecast. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCampaignToForecast getCampaign() { + return campaign; + } + + /** + * Required. The campaign used in the forecast. + * @param campaign campaign or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateKeywordForecastMetricsRequest setCampaign(GoogleAdsSearchads360V23ServicesCampaignToForecast campaign) { + this.campaign = campaign; + return this; + } + + /** + * The currency used for exchange rate conversion. By default, the account currency of the + * customer is used. Set this field only if the currency is different from the account currency. + * The list of valid currency codes can be found at https://developers.google.com/google- + * ads/api/data/codes-formats#currency-codes. + * @return value or {@code null} for none + */ + public java.lang.String getCurrencyCode() { + return currencyCode; + } + + /** + * The currency used for exchange rate conversion. By default, the account currency of the + * customer is used. Set this field only if the currency is different from the account currency. + * The list of valid currency codes can be found at https://developers.google.com/google- + * ads/api/data/codes-formats#currency-codes. + * @param currencyCode currencyCode or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateKeywordForecastMetricsRequest setCurrencyCode(java.lang.String currencyCode) { + this.currencyCode = currencyCode; + return this; + } + + /** + * The date range for the forecast. The start date must be in the future and end date must be + * within 1 year from today. The reference timezone used is the one of the Google Ads account + * belonging to the customer. If not set, a default date range from next Sunday to the following + * Saturday will be used. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDateRange getForecastPeriod() { + return forecastPeriod; + } + + /** + * The date range for the forecast. The start date must be in the future and end date must be + * within 1 year from today. The reference timezone used is the one of the Google Ads account + * belonging to the customer. If not set, a default date range from next Sunday to the following + * Saturday will be used. + * @param forecastPeriod forecastPeriod or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateKeywordForecastMetricsRequest setForecastPeriod(GoogleAdsSearchads360V23CommonDateRange forecastPeriod) { + this.forecastPeriod = forecastPeriod; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesGenerateKeywordForecastMetricsRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesGenerateKeywordForecastMetricsRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesGenerateKeywordForecastMetricsRequest clone() { + return (GoogleAdsSearchads360V23ServicesGenerateKeywordForecastMetricsRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateKeywordForecastMetricsResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateKeywordForecastMetricsResponse.java new file mode 100644 index 00000000000..9c558c05d36 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateKeywordForecastMetricsResponse.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for KeywordPlanIdeaService.GenerateKeywordForecastMetrics. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesGenerateKeywordForecastMetricsResponse extends com.google.api.client.json.GenericJson { + + /** + * Results of the campaign forecast. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesKeywordForecastMetrics campaignForecastMetrics; + + /** + * Results of the campaign forecast. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesKeywordForecastMetrics getCampaignForecastMetrics() { + return campaignForecastMetrics; + } + + /** + * Results of the campaign forecast. + * @param campaignForecastMetrics campaignForecastMetrics or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateKeywordForecastMetricsResponse setCampaignForecastMetrics(GoogleAdsSearchads360V23ServicesKeywordForecastMetrics campaignForecastMetrics) { + this.campaignForecastMetrics = campaignForecastMetrics; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesGenerateKeywordForecastMetricsResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesGenerateKeywordForecastMetricsResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesGenerateKeywordForecastMetricsResponse clone() { + return (GoogleAdsSearchads360V23ServicesGenerateKeywordForecastMetricsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateKeywordHistoricalMetricsRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateKeywordHistoricalMetricsRequest.java new file mode 100644 index 00000000000..c01744c5fb6 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateKeywordHistoricalMetricsRequest.java @@ -0,0 +1,226 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for KeywordPlanIdeaService.GenerateKeywordHistoricalMetrics. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesGenerateKeywordHistoricalMetricsRequest extends com.google.api.client.json.GenericJson { + + /** + * The aggregate fields to include in response. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonKeywordPlanAggregateMetrics aggregateMetrics; + + /** + * The resource names of the location to target. Maximum is 10. An empty list MAY be used to + * specify all targeting geos. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List geoTargetConstants; + + /** + * The options for historical metrics data. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonHistoricalMetricsOptions historicalMetricsOptions; + + /** + * If true, adult keywords will be included in response. The default value is false. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean includeAdultKeywords; + + /** + * Targeting network. If not set, Google Search And Partners Network will be used. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String keywordPlanNetwork; + + /** + * A list of keywords to get historical metrics. Not all inputs will be returned as a result of + * near-exact deduplication. For example, if stats for "car" and "cars" are requested, only "car" + * will be returned. A maximum of 10,000 keywords can be used. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List keywords; + + /** + * The resource name of the language to target. Each keyword belongs to some set of languages; a + * keyword is included if language is one of its languages. If not set, all keywords will be + * included. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String language; + + /** + * The aggregate fields to include in response. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonKeywordPlanAggregateMetrics getAggregateMetrics() { + return aggregateMetrics; + } + + /** + * The aggregate fields to include in response. + * @param aggregateMetrics aggregateMetrics or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateKeywordHistoricalMetricsRequest setAggregateMetrics(GoogleAdsSearchads360V23CommonKeywordPlanAggregateMetrics aggregateMetrics) { + this.aggregateMetrics = aggregateMetrics; + return this; + } + + /** + * The resource names of the location to target. Maximum is 10. An empty list MAY be used to + * specify all targeting geos. + * @return value or {@code null} for none + */ + public java.util.List getGeoTargetConstants() { + return geoTargetConstants; + } + + /** + * The resource names of the location to target. Maximum is 10. An empty list MAY be used to + * specify all targeting geos. + * @param geoTargetConstants geoTargetConstants or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateKeywordHistoricalMetricsRequest setGeoTargetConstants(java.util.List geoTargetConstants) { + this.geoTargetConstants = geoTargetConstants; + return this; + } + + /** + * The options for historical metrics data. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonHistoricalMetricsOptions getHistoricalMetricsOptions() { + return historicalMetricsOptions; + } + + /** + * The options for historical metrics data. + * @param historicalMetricsOptions historicalMetricsOptions or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateKeywordHistoricalMetricsRequest setHistoricalMetricsOptions(GoogleAdsSearchads360V23CommonHistoricalMetricsOptions historicalMetricsOptions) { + this.historicalMetricsOptions = historicalMetricsOptions; + return this; + } + + /** + * If true, adult keywords will be included in response. The default value is false. + * @return value or {@code null} for none + */ + public java.lang.Boolean getIncludeAdultKeywords() { + return includeAdultKeywords; + } + + /** + * If true, adult keywords will be included in response. The default value is false. + * @param includeAdultKeywords includeAdultKeywords or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateKeywordHistoricalMetricsRequest setIncludeAdultKeywords(java.lang.Boolean includeAdultKeywords) { + this.includeAdultKeywords = includeAdultKeywords; + return this; + } + + /** + * Targeting network. If not set, Google Search And Partners Network will be used. + * @return value or {@code null} for none + */ + public java.lang.String getKeywordPlanNetwork() { + return keywordPlanNetwork; + } + + /** + * Targeting network. If not set, Google Search And Partners Network will be used. + * @param keywordPlanNetwork keywordPlanNetwork or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateKeywordHistoricalMetricsRequest setKeywordPlanNetwork(java.lang.String keywordPlanNetwork) { + this.keywordPlanNetwork = keywordPlanNetwork; + return this; + } + + /** + * A list of keywords to get historical metrics. Not all inputs will be returned as a result of + * near-exact deduplication. For example, if stats for "car" and "cars" are requested, only "car" + * will be returned. A maximum of 10,000 keywords can be used. + * @return value or {@code null} for none + */ + public java.util.List getKeywords() { + return keywords; + } + + /** + * A list of keywords to get historical metrics. Not all inputs will be returned as a result of + * near-exact deduplication. For example, if stats for "car" and "cars" are requested, only "car" + * will be returned. A maximum of 10,000 keywords can be used. + * @param keywords keywords or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateKeywordHistoricalMetricsRequest setKeywords(java.util.List keywords) { + this.keywords = keywords; + return this; + } + + /** + * The resource name of the language to target. Each keyword belongs to some set of languages; a + * keyword is included if language is one of its languages. If not set, all keywords will be + * included. + * @return value or {@code null} for none + */ + public java.lang.String getLanguage() { + return language; + } + + /** + * The resource name of the language to target. Each keyword belongs to some set of languages; a + * keyword is included if language is one of its languages. If not set, all keywords will be + * included. + * @param language language or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateKeywordHistoricalMetricsRequest setLanguage(java.lang.String language) { + this.language = language; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesGenerateKeywordHistoricalMetricsRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesGenerateKeywordHistoricalMetricsRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesGenerateKeywordHistoricalMetricsRequest clone() { + return (GoogleAdsSearchads360V23ServicesGenerateKeywordHistoricalMetricsRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateKeywordHistoricalMetricsResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateKeywordHistoricalMetricsResponse.java new file mode 100644 index 00000000000..0c0c7a4d6bd --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateKeywordHistoricalMetricsResponse.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for KeywordPlanIdeaService.GenerateKeywordHistoricalMetrics. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesGenerateKeywordHistoricalMetricsResponse extends com.google.api.client.json.GenericJson { + + /** + * The aggregate metrics for all keywords. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonKeywordPlanAggregateMetricResults aggregateMetricResults; + + /** + * List of keywords and their historical metrics. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List results; + + /** + * The aggregate metrics for all keywords. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonKeywordPlanAggregateMetricResults getAggregateMetricResults() { + return aggregateMetricResults; + } + + /** + * The aggregate metrics for all keywords. + * @param aggregateMetricResults aggregateMetricResults or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateKeywordHistoricalMetricsResponse setAggregateMetricResults(GoogleAdsSearchads360V23CommonKeywordPlanAggregateMetricResults aggregateMetricResults) { + this.aggregateMetricResults = aggregateMetricResults; + return this; + } + + /** + * List of keywords and their historical metrics. + * @return value or {@code null} for none + */ + public java.util.List getResults() { + return results; + } + + /** + * List of keywords and their historical metrics. + * @param results results or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateKeywordHistoricalMetricsResponse setResults(java.util.List results) { + this.results = results; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesGenerateKeywordHistoricalMetricsResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesGenerateKeywordHistoricalMetricsResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesGenerateKeywordHistoricalMetricsResponse clone() { + return (GoogleAdsSearchads360V23ServicesGenerateKeywordHistoricalMetricsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateKeywordHistoricalMetricsResult.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateKeywordHistoricalMetricsResult.java new file mode 100644 index 00000000000..f2fc711d3d4 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateKeywordHistoricalMetricsResult.java @@ -0,0 +1,127 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The result of generating keyword historical metrics. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesGenerateKeywordHistoricalMetricsResult extends com.google.api.client.json.GenericJson { + + /** + * The list of close variants from the requested keywords whose stats are combined into this + * GenerateKeywordHistoricalMetricsResult. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List closeVariants; + + /** + * The historical metrics for text and its close variants + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonKeywordPlanHistoricalMetrics keywordMetrics; + + /** + * The text of the query associated with one or more keywords. Note that we de-dupe your keywords + * list, eliminating close variants before returning the keywords as text. For example, if your + * request originally contained the keywords "car" and "cars", the returned search query will only + * contain "cars". The list of de-duped queries will be included in close_variants field. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String text; + + /** + * The list of close variants from the requested keywords whose stats are combined into this + * GenerateKeywordHistoricalMetricsResult. + * @return value or {@code null} for none + */ + public java.util.List getCloseVariants() { + return closeVariants; + } + + /** + * The list of close variants from the requested keywords whose stats are combined into this + * GenerateKeywordHistoricalMetricsResult. + * @param closeVariants closeVariants or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateKeywordHistoricalMetricsResult setCloseVariants(java.util.List closeVariants) { + this.closeVariants = closeVariants; + return this; + } + + /** + * The historical metrics for text and its close variants + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonKeywordPlanHistoricalMetrics getKeywordMetrics() { + return keywordMetrics; + } + + /** + * The historical metrics for text and its close variants + * @param keywordMetrics keywordMetrics or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateKeywordHistoricalMetricsResult setKeywordMetrics(GoogleAdsSearchads360V23CommonKeywordPlanHistoricalMetrics keywordMetrics) { + this.keywordMetrics = keywordMetrics; + return this; + } + + /** + * The text of the query associated with one or more keywords. Note that we de-dupe your keywords + * list, eliminating close variants before returning the keywords as text. For example, if your + * request originally contained the keywords "car" and "cars", the returned search query will only + * contain "cars". The list of de-duped queries will be included in close_variants field. + * @return value or {@code null} for none + */ + public java.lang.String getText() { + return text; + } + + /** + * The text of the query associated with one or more keywords. Note that we de-dupe your keywords + * list, eliminating close variants before returning the keywords as text. For example, if your + * request originally contained the keywords "car" and "cars", the returned search query will only + * contain "cars". The list of de-duped queries will be included in close_variants field. + * @param text text or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateKeywordHistoricalMetricsResult setText(java.lang.String text) { + this.text = text; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesGenerateKeywordHistoricalMetricsResult set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesGenerateKeywordHistoricalMetricsResult) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesGenerateKeywordHistoricalMetricsResult clone() { + return (GoogleAdsSearchads360V23ServicesGenerateKeywordHistoricalMetricsResult) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateKeywordIdeaResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateKeywordIdeaResponse.java new file mode 100644 index 00000000000..eb01d0dd9ea --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateKeywordIdeaResponse.java @@ -0,0 +1,145 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for KeywordPlanIdeaService.GenerateKeywordIdeas. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesGenerateKeywordIdeaResponse extends com.google.api.client.json.GenericJson { + + /** + * The aggregate metrics for all keyword ideas. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonKeywordPlanAggregateMetricResults aggregateMetricResults; + + /** + * Pagination token used to retrieve the next page of results. Pass the content of this string as + * the `page_token` attribute of the next request. `next_page_token` is not returned for the last + * page. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String nextPageToken; + + /** + * Results of generating keyword ideas. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List results; + + /** + * Total number of results available. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long totalSize; + + /** + * The aggregate metrics for all keyword ideas. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonKeywordPlanAggregateMetricResults getAggregateMetricResults() { + return aggregateMetricResults; + } + + /** + * The aggregate metrics for all keyword ideas. + * @param aggregateMetricResults aggregateMetricResults or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateKeywordIdeaResponse setAggregateMetricResults(GoogleAdsSearchads360V23CommonKeywordPlanAggregateMetricResults aggregateMetricResults) { + this.aggregateMetricResults = aggregateMetricResults; + return this; + } + + /** + * Pagination token used to retrieve the next page of results. Pass the content of this string as + * the `page_token` attribute of the next request. `next_page_token` is not returned for the last + * page. + * @return value or {@code null} for none + */ + public java.lang.String getNextPageToken() { + return nextPageToken; + } + + /** + * Pagination token used to retrieve the next page of results. Pass the content of this string as + * the `page_token` attribute of the next request. `next_page_token` is not returned for the last + * page. + * @param nextPageToken nextPageToken or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateKeywordIdeaResponse setNextPageToken(java.lang.String nextPageToken) { + this.nextPageToken = nextPageToken; + return this; + } + + /** + * Results of generating keyword ideas. + * @return value or {@code null} for none + */ + public java.util.List getResults() { + return results; + } + + /** + * Results of generating keyword ideas. + * @param results results or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateKeywordIdeaResponse setResults(java.util.List results) { + this.results = results; + return this; + } + + /** + * Total number of results available. + * @return value or {@code null} for none + */ + public java.lang.Long getTotalSize() { + return totalSize; + } + + /** + * Total number of results available. + * @param totalSize totalSize or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateKeywordIdeaResponse setTotalSize(java.lang.Long totalSize) { + this.totalSize = totalSize; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesGenerateKeywordIdeaResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesGenerateKeywordIdeaResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesGenerateKeywordIdeaResponse clone() { + return (GoogleAdsSearchads360V23ServicesGenerateKeywordIdeaResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateKeywordIdeaResult.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateKeywordIdeaResult.java new file mode 100644 index 00000000000..aa2c2d093a7 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateKeywordIdeaResult.java @@ -0,0 +1,151 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The result of generating keyword ideas. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesGenerateKeywordIdeaResult extends com.google.api.client.json.GenericJson { + + /** + * The list of close variants from the requested keywords that are combined into this + * GenerateKeywordIdeaResult. See https://support.google.com/google-ads/answer/9342105 for the + * definition of "close variants". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List closeVariants; + + /** + * The annotations for the keyword. The annotation data is only provided if requested. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonKeywordAnnotations keywordAnnotations; + + /** + * The historical metrics for the keyword. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonKeywordPlanHistoricalMetrics keywordIdeaMetrics; + + /** + * Text of the keyword idea. As in Keyword Plan historical metrics, this text may not be an actual + * keyword, but the canonical form of multiple keywords. See KeywordPlanKeywordHistoricalMetrics + * message in KeywordPlanService. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String text; + + /** + * The list of close variants from the requested keywords that are combined into this + * GenerateKeywordIdeaResult. See https://support.google.com/google-ads/answer/9342105 for the + * definition of "close variants". + * @return value or {@code null} for none + */ + public java.util.List getCloseVariants() { + return closeVariants; + } + + /** + * The list of close variants from the requested keywords that are combined into this + * GenerateKeywordIdeaResult. See https://support.google.com/google-ads/answer/9342105 for the + * definition of "close variants". + * @param closeVariants closeVariants or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateKeywordIdeaResult setCloseVariants(java.util.List closeVariants) { + this.closeVariants = closeVariants; + return this; + } + + /** + * The annotations for the keyword. The annotation data is only provided if requested. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonKeywordAnnotations getKeywordAnnotations() { + return keywordAnnotations; + } + + /** + * The annotations for the keyword. The annotation data is only provided if requested. + * @param keywordAnnotations keywordAnnotations or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateKeywordIdeaResult setKeywordAnnotations(GoogleAdsSearchads360V23CommonKeywordAnnotations keywordAnnotations) { + this.keywordAnnotations = keywordAnnotations; + return this; + } + + /** + * The historical metrics for the keyword. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonKeywordPlanHistoricalMetrics getKeywordIdeaMetrics() { + return keywordIdeaMetrics; + } + + /** + * The historical metrics for the keyword. + * @param keywordIdeaMetrics keywordIdeaMetrics or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateKeywordIdeaResult setKeywordIdeaMetrics(GoogleAdsSearchads360V23CommonKeywordPlanHistoricalMetrics keywordIdeaMetrics) { + this.keywordIdeaMetrics = keywordIdeaMetrics; + return this; + } + + /** + * Text of the keyword idea. As in Keyword Plan historical metrics, this text may not be an actual + * keyword, but the canonical form of multiple keywords. See KeywordPlanKeywordHistoricalMetrics + * message in KeywordPlanService. + * @return value or {@code null} for none + */ + public java.lang.String getText() { + return text; + } + + /** + * Text of the keyword idea. As in Keyword Plan historical metrics, this text may not be an actual + * keyword, but the canonical form of multiple keywords. See KeywordPlanKeywordHistoricalMetrics + * message in KeywordPlanService. + * @param text text or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateKeywordIdeaResult setText(java.lang.String text) { + this.text = text; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesGenerateKeywordIdeaResult set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesGenerateKeywordIdeaResult) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesGenerateKeywordIdeaResult clone() { + return (GoogleAdsSearchads360V23ServicesGenerateKeywordIdeaResult) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateKeywordIdeasRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateKeywordIdeasRequest.java new file mode 100644 index 00000000000..93517636310 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateKeywordIdeasRequest.java @@ -0,0 +1,379 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for KeywordPlanIdeaService.GenerateKeywordIdeas. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesGenerateKeywordIdeasRequest extends com.google.api.client.json.GenericJson { + + /** + * The aggregate fields to include in response. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonKeywordPlanAggregateMetrics aggregateMetrics; + + /** + * The resource names of the location to target. Maximum is 10. An empty list MAY be used to + * specify all targeting geos. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List geoTargetConstants; + + /** + * The options for historical metrics data. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonHistoricalMetricsOptions historicalMetricsOptions; + + /** + * If true, adult keywords will be included in response. The default value is false. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean includeAdultKeywords; + + /** + * A Keyword and a specific Url to generate ideas from for example, cars, www.example.com/cars. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesKeywordAndUrlSeed keywordAndUrlSeed; + + /** + * The keyword annotations to include in response. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List keywordAnnotation; + + /** + * Targeting network. If not set, Google Search And Partners Network will be used. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String keywordPlanNetwork; + + /** + * A Keyword or phrase to generate ideas from, for example, cars. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesKeywordSeed keywordSeed; + + /** + * The resource name of the language to target. Each keyword belongs to some set of languages; a + * keyword is included if language is one of its languages. If not set, all keywords will be + * included. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String language; + + /** + * Number of results to retrieve in a single page. A maximum of 10,000 results may be returned, if + * the page_size exceeds this, it is ignored. If unspecified, at most 10,000 results will be + * returned. The server may decide to further limit the number of returned resources. If the + * response contains fewer than 10,000 results it may not be assumed as last page of results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer pageSize; + + /** + * Token of the page to retrieve. If not specified, the first page of results will be returned. To + * request next page of results use the value obtained from `next_page_token` in the previous + * response. The request fields must match across pages. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String pageToken; + + /** + * The site to generate ideas from, for example, www.example.com. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesSiteSeed siteSeed; + + /** + * A specific url to generate ideas from, for example, www.example.com/cars. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesUrlSeed urlSeed; + + /** + * The aggregate fields to include in response. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonKeywordPlanAggregateMetrics getAggregateMetrics() { + return aggregateMetrics; + } + + /** + * The aggregate fields to include in response. + * @param aggregateMetrics aggregateMetrics or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateKeywordIdeasRequest setAggregateMetrics(GoogleAdsSearchads360V23CommonKeywordPlanAggregateMetrics aggregateMetrics) { + this.aggregateMetrics = aggregateMetrics; + return this; + } + + /** + * The resource names of the location to target. Maximum is 10. An empty list MAY be used to + * specify all targeting geos. + * @return value or {@code null} for none + */ + public java.util.List getGeoTargetConstants() { + return geoTargetConstants; + } + + /** + * The resource names of the location to target. Maximum is 10. An empty list MAY be used to + * specify all targeting geos. + * @param geoTargetConstants geoTargetConstants or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateKeywordIdeasRequest setGeoTargetConstants(java.util.List geoTargetConstants) { + this.geoTargetConstants = geoTargetConstants; + return this; + } + + /** + * The options for historical metrics data. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonHistoricalMetricsOptions getHistoricalMetricsOptions() { + return historicalMetricsOptions; + } + + /** + * The options for historical metrics data. + * @param historicalMetricsOptions historicalMetricsOptions or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateKeywordIdeasRequest setHistoricalMetricsOptions(GoogleAdsSearchads360V23CommonHistoricalMetricsOptions historicalMetricsOptions) { + this.historicalMetricsOptions = historicalMetricsOptions; + return this; + } + + /** + * If true, adult keywords will be included in response. The default value is false. + * @return value or {@code null} for none + */ + public java.lang.Boolean getIncludeAdultKeywords() { + return includeAdultKeywords; + } + + /** + * If true, adult keywords will be included in response. The default value is false. + * @param includeAdultKeywords includeAdultKeywords or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateKeywordIdeasRequest setIncludeAdultKeywords(java.lang.Boolean includeAdultKeywords) { + this.includeAdultKeywords = includeAdultKeywords; + return this; + } + + /** + * A Keyword and a specific Url to generate ideas from for example, cars, www.example.com/cars. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesKeywordAndUrlSeed getKeywordAndUrlSeed() { + return keywordAndUrlSeed; + } + + /** + * A Keyword and a specific Url to generate ideas from for example, cars, www.example.com/cars. + * @param keywordAndUrlSeed keywordAndUrlSeed or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateKeywordIdeasRequest setKeywordAndUrlSeed(GoogleAdsSearchads360V23ServicesKeywordAndUrlSeed keywordAndUrlSeed) { + this.keywordAndUrlSeed = keywordAndUrlSeed; + return this; + } + + /** + * The keyword annotations to include in response. + * @return value or {@code null} for none + */ + public java.util.List getKeywordAnnotation() { + return keywordAnnotation; + } + + /** + * The keyword annotations to include in response. + * @param keywordAnnotation keywordAnnotation or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateKeywordIdeasRequest setKeywordAnnotation(java.util.List keywordAnnotation) { + this.keywordAnnotation = keywordAnnotation; + return this; + } + + /** + * Targeting network. If not set, Google Search And Partners Network will be used. + * @return value or {@code null} for none + */ + public java.lang.String getKeywordPlanNetwork() { + return keywordPlanNetwork; + } + + /** + * Targeting network. If not set, Google Search And Partners Network will be used. + * @param keywordPlanNetwork keywordPlanNetwork or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateKeywordIdeasRequest setKeywordPlanNetwork(java.lang.String keywordPlanNetwork) { + this.keywordPlanNetwork = keywordPlanNetwork; + return this; + } + + /** + * A Keyword or phrase to generate ideas from, for example, cars. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesKeywordSeed getKeywordSeed() { + return keywordSeed; + } + + /** + * A Keyword or phrase to generate ideas from, for example, cars. + * @param keywordSeed keywordSeed or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateKeywordIdeasRequest setKeywordSeed(GoogleAdsSearchads360V23ServicesKeywordSeed keywordSeed) { + this.keywordSeed = keywordSeed; + return this; + } + + /** + * The resource name of the language to target. Each keyword belongs to some set of languages; a + * keyword is included if language is one of its languages. If not set, all keywords will be + * included. + * @return value or {@code null} for none + */ + public java.lang.String getLanguage() { + return language; + } + + /** + * The resource name of the language to target. Each keyword belongs to some set of languages; a + * keyword is included if language is one of its languages. If not set, all keywords will be + * included. + * @param language language or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateKeywordIdeasRequest setLanguage(java.lang.String language) { + this.language = language; + return this; + } + + /** + * Number of results to retrieve in a single page. A maximum of 10,000 results may be returned, if + * the page_size exceeds this, it is ignored. If unspecified, at most 10,000 results will be + * returned. The server may decide to further limit the number of returned resources. If the + * response contains fewer than 10,000 results it may not be assumed as last page of results. + * @return value or {@code null} for none + */ + public java.lang.Integer getPageSize() { + return pageSize; + } + + /** + * Number of results to retrieve in a single page. A maximum of 10,000 results may be returned, if + * the page_size exceeds this, it is ignored. If unspecified, at most 10,000 results will be + * returned. The server may decide to further limit the number of returned resources. If the + * response contains fewer than 10,000 results it may not be assumed as last page of results. + * @param pageSize pageSize or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateKeywordIdeasRequest setPageSize(java.lang.Integer pageSize) { + this.pageSize = pageSize; + return this; + } + + /** + * Token of the page to retrieve. If not specified, the first page of results will be returned. To + * request next page of results use the value obtained from `next_page_token` in the previous + * response. The request fields must match across pages. + * @return value or {@code null} for none + */ + public java.lang.String getPageToken() { + return pageToken; + } + + /** + * Token of the page to retrieve. If not specified, the first page of results will be returned. To + * request next page of results use the value obtained from `next_page_token` in the previous + * response. The request fields must match across pages. + * @param pageToken pageToken or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateKeywordIdeasRequest setPageToken(java.lang.String pageToken) { + this.pageToken = pageToken; + return this; + } + + /** + * The site to generate ideas from, for example, www.example.com. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSiteSeed getSiteSeed() { + return siteSeed; + } + + /** + * The site to generate ideas from, for example, www.example.com. + * @param siteSeed siteSeed or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateKeywordIdeasRequest setSiteSeed(GoogleAdsSearchads360V23ServicesSiteSeed siteSeed) { + this.siteSeed = siteSeed; + return this; + } + + /** + * A specific url to generate ideas from, for example, www.example.com/cars. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesUrlSeed getUrlSeed() { + return urlSeed; + } + + /** + * A specific url to generate ideas from, for example, www.example.com/cars. + * @param urlSeed urlSeed or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateKeywordIdeasRequest setUrlSeed(GoogleAdsSearchads360V23ServicesUrlSeed urlSeed) { + this.urlSeed = urlSeed; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesGenerateKeywordIdeasRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesGenerateKeywordIdeasRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesGenerateKeywordIdeasRequest clone() { + return (GoogleAdsSearchads360V23ServicesGenerateKeywordIdeasRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateReachForecastRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateReachForecastRequest.java new file mode 100644 index 00000000000..3ff8113d8bf --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateReachForecastRequest.java @@ -0,0 +1,355 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for ReachPlanService.GenerateReachForecast. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesGenerateReachForecastRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. Campaign duration. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesCampaignDuration campaignDuration; + + /** + * Chosen cookie frequency cap to be applied to each planned product. This is equivalent to the + * frequency cap exposed in Google Ads when creating a campaign, it represents the maximum number + * of times an ad can be shown to the same user. If not specified, no cap is applied. This field + * is deprecated in v4 and will eventually be removed. Use cookie_frequency_cap_setting instead. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer cookieFrequencyCap; + + /** + * Chosen cookie frequency cap to be applied to each planned product. This is equivalent to the + * frequency cap exposed in Google Ads when creating a campaign, it represents the maximum number + * of times an ad can be shown to the same user during a specified time interval. If not + * specified, a default of 0 (no cap) is applied. This field replaces the deprecated + * cookie_frequency_cap field. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesFrequencyCap cookieFrequencyCapSetting; + + /** + * The currency code. Three-character ISO 4217 currency code. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String currencyCode; + + /** + * The name of the customer being planned for. This is a user-defined value. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String customerReachGroup; + + /** + * The highest minimum effective frequency (the number of times a person was exposed to the ad) + * value [1-10] to include in Forecast.effective_frequency_breakdowns. If not specified, + * Forecast.effective_frequency_breakdowns will not be provided. The effective frequency value + * provided here will also be used as the minimum effective frequency for the reported reach + * metrics. This field cannot be combined with the min_effective_frequency field. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesEffectiveFrequencyLimit effectiveFrequencyLimit; + + /** + * Controls the forecast metrics returned in the response. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesForecastMetricOptions forecastMetricOptions; + + /** + * Chosen minimum effective frequency (the number of times a person was exposed to the ad) for the + * reported reach metrics [1-10]. This won't affect the targeting, but just the reporting. If not + * specified, a default of 1 is applied. This field cannot be combined with the + * effective_frequency_limit field. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer minEffectiveFrequency; + + /** + * Required. The products to be forecast. The max number of allowed planned products is 15. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List plannedProducts; + + /** + * Optional. Additional information on the application issuing the request. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonAdditionalApplicationInfo reachApplicationInfo; + + /** + * The targeting to be applied to all products selected in the product mix. This is planned + * targeting: execution details might vary based on the advertising product, consult an + * implementation specialist. See specific metrics for details on how targeting affects them. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesTargeting targeting; + + /** + * Required. Campaign duration. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCampaignDuration getCampaignDuration() { + return campaignDuration; + } + + /** + * Required. Campaign duration. + * @param campaignDuration campaignDuration or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateReachForecastRequest setCampaignDuration(GoogleAdsSearchads360V23ServicesCampaignDuration campaignDuration) { + this.campaignDuration = campaignDuration; + return this; + } + + /** + * Chosen cookie frequency cap to be applied to each planned product. This is equivalent to the + * frequency cap exposed in Google Ads when creating a campaign, it represents the maximum number + * of times an ad can be shown to the same user. If not specified, no cap is applied. This field + * is deprecated in v4 and will eventually be removed. Use cookie_frequency_cap_setting instead. + * @return value or {@code null} for none + */ + public java.lang.Integer getCookieFrequencyCap() { + return cookieFrequencyCap; + } + + /** + * Chosen cookie frequency cap to be applied to each planned product. This is equivalent to the + * frequency cap exposed in Google Ads when creating a campaign, it represents the maximum number + * of times an ad can be shown to the same user. If not specified, no cap is applied. This field + * is deprecated in v4 and will eventually be removed. Use cookie_frequency_cap_setting instead. + * @param cookieFrequencyCap cookieFrequencyCap or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateReachForecastRequest setCookieFrequencyCap(java.lang.Integer cookieFrequencyCap) { + this.cookieFrequencyCap = cookieFrequencyCap; + return this; + } + + /** + * Chosen cookie frequency cap to be applied to each planned product. This is equivalent to the + * frequency cap exposed in Google Ads when creating a campaign, it represents the maximum number + * of times an ad can be shown to the same user during a specified time interval. If not + * specified, a default of 0 (no cap) is applied. This field replaces the deprecated + * cookie_frequency_cap field. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesFrequencyCap getCookieFrequencyCapSetting() { + return cookieFrequencyCapSetting; + } + + /** + * Chosen cookie frequency cap to be applied to each planned product. This is equivalent to the + * frequency cap exposed in Google Ads when creating a campaign, it represents the maximum number + * of times an ad can be shown to the same user during a specified time interval. If not + * specified, a default of 0 (no cap) is applied. This field replaces the deprecated + * cookie_frequency_cap field. + * @param cookieFrequencyCapSetting cookieFrequencyCapSetting or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateReachForecastRequest setCookieFrequencyCapSetting(GoogleAdsSearchads360V23ServicesFrequencyCap cookieFrequencyCapSetting) { + this.cookieFrequencyCapSetting = cookieFrequencyCapSetting; + return this; + } + + /** + * The currency code. Three-character ISO 4217 currency code. + * @return value or {@code null} for none + */ + public java.lang.String getCurrencyCode() { + return currencyCode; + } + + /** + * The currency code. Three-character ISO 4217 currency code. + * @param currencyCode currencyCode or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateReachForecastRequest setCurrencyCode(java.lang.String currencyCode) { + this.currencyCode = currencyCode; + return this; + } + + /** + * The name of the customer being planned for. This is a user-defined value. + * @return value or {@code null} for none + */ + public java.lang.String getCustomerReachGroup() { + return customerReachGroup; + } + + /** + * The name of the customer being planned for. This is a user-defined value. + * @param customerReachGroup customerReachGroup or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateReachForecastRequest setCustomerReachGroup(java.lang.String customerReachGroup) { + this.customerReachGroup = customerReachGroup; + return this; + } + + /** + * The highest minimum effective frequency (the number of times a person was exposed to the ad) + * value [1-10] to include in Forecast.effective_frequency_breakdowns. If not specified, + * Forecast.effective_frequency_breakdowns will not be provided. The effective frequency value + * provided here will also be used as the minimum effective frequency for the reported reach + * metrics. This field cannot be combined with the min_effective_frequency field. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesEffectiveFrequencyLimit getEffectiveFrequencyLimit() { + return effectiveFrequencyLimit; + } + + /** + * The highest minimum effective frequency (the number of times a person was exposed to the ad) + * value [1-10] to include in Forecast.effective_frequency_breakdowns. If not specified, + * Forecast.effective_frequency_breakdowns will not be provided. The effective frequency value + * provided here will also be used as the minimum effective frequency for the reported reach + * metrics. This field cannot be combined with the min_effective_frequency field. + * @param effectiveFrequencyLimit effectiveFrequencyLimit or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateReachForecastRequest setEffectiveFrequencyLimit(GoogleAdsSearchads360V23ServicesEffectiveFrequencyLimit effectiveFrequencyLimit) { + this.effectiveFrequencyLimit = effectiveFrequencyLimit; + return this; + } + + /** + * Controls the forecast metrics returned in the response. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesForecastMetricOptions getForecastMetricOptions() { + return forecastMetricOptions; + } + + /** + * Controls the forecast metrics returned in the response. + * @param forecastMetricOptions forecastMetricOptions or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateReachForecastRequest setForecastMetricOptions(GoogleAdsSearchads360V23ServicesForecastMetricOptions forecastMetricOptions) { + this.forecastMetricOptions = forecastMetricOptions; + return this; + } + + /** + * Chosen minimum effective frequency (the number of times a person was exposed to the ad) for the + * reported reach metrics [1-10]. This won't affect the targeting, but just the reporting. If not + * specified, a default of 1 is applied. This field cannot be combined with the + * effective_frequency_limit field. + * @return value or {@code null} for none + */ + public java.lang.Integer getMinEffectiveFrequency() { + return minEffectiveFrequency; + } + + /** + * Chosen minimum effective frequency (the number of times a person was exposed to the ad) for the + * reported reach metrics [1-10]. This won't affect the targeting, but just the reporting. If not + * specified, a default of 1 is applied. This field cannot be combined with the + * effective_frequency_limit field. + * @param minEffectiveFrequency minEffectiveFrequency or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateReachForecastRequest setMinEffectiveFrequency(java.lang.Integer minEffectiveFrequency) { + this.minEffectiveFrequency = minEffectiveFrequency; + return this; + } + + /** + * Required. The products to be forecast. The max number of allowed planned products is 15. + * @return value or {@code null} for none + */ + public java.util.List getPlannedProducts() { + return plannedProducts; + } + + /** + * Required. The products to be forecast. The max number of allowed planned products is 15. + * @param plannedProducts plannedProducts or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateReachForecastRequest setPlannedProducts(java.util.List plannedProducts) { + this.plannedProducts = plannedProducts; + return this; + } + + /** + * Optional. Additional information on the application issuing the request. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAdditionalApplicationInfo getReachApplicationInfo() { + return reachApplicationInfo; + } + + /** + * Optional. Additional information on the application issuing the request. + * @param reachApplicationInfo reachApplicationInfo or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateReachForecastRequest setReachApplicationInfo(GoogleAdsSearchads360V23CommonAdditionalApplicationInfo reachApplicationInfo) { + this.reachApplicationInfo = reachApplicationInfo; + return this; + } + + /** + * The targeting to be applied to all products selected in the product mix. This is planned + * targeting: execution details might vary based on the advertising product, consult an + * implementation specialist. See specific metrics for details on how targeting affects them. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesTargeting getTargeting() { + return targeting; + } + + /** + * The targeting to be applied to all products selected in the product mix. This is planned + * targeting: execution details might vary based on the advertising product, consult an + * implementation specialist. See specific metrics for details on how targeting affects them. + * @param targeting targeting or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateReachForecastRequest setTargeting(GoogleAdsSearchads360V23ServicesTargeting targeting) { + this.targeting = targeting; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesGenerateReachForecastRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesGenerateReachForecastRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesGenerateReachForecastRequest clone() { + return (GoogleAdsSearchads360V23ServicesGenerateReachForecastRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateReachForecastResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateReachForecastResponse.java new file mode 100644 index 00000000000..a34bc771ab9 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateReachForecastResponse.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message containing the generated reach curve. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesGenerateReachForecastResponse extends com.google.api.client.json.GenericJson { + + /** + * Reference on target audiences for this curve. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesOnTargetAudienceMetrics onTargetAudienceMetrics; + + /** + * The generated reach curve for the planned product mix. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesReachCurve reachCurve; + + /** + * Reference on target audiences for this curve. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesOnTargetAudienceMetrics getOnTargetAudienceMetrics() { + return onTargetAudienceMetrics; + } + + /** + * Reference on target audiences for this curve. + * @param onTargetAudienceMetrics onTargetAudienceMetrics or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateReachForecastResponse setOnTargetAudienceMetrics(GoogleAdsSearchads360V23ServicesOnTargetAudienceMetrics onTargetAudienceMetrics) { + this.onTargetAudienceMetrics = onTargetAudienceMetrics; + return this; + } + + /** + * The generated reach curve for the planned product mix. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesReachCurve getReachCurve() { + return reachCurve; + } + + /** + * The generated reach curve for the planned product mix. + * @param reachCurve reachCurve or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateReachForecastResponse setReachCurve(GoogleAdsSearchads360V23ServicesReachCurve reachCurve) { + this.reachCurve = reachCurve; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesGenerateReachForecastResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesGenerateReachForecastResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesGenerateReachForecastResponse clone() { + return (GoogleAdsSearchads360V23ServicesGenerateReachForecastResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequest.java new file mode 100644 index 00000000000..e1e2c231f08 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequest.java @@ -0,0 +1,622 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for RecommendationService.GenerateRecommendations. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequest extends com.google.api.client.json.GenericJson { + + /** + * Optional. Current AdGroup Information. Supports information from a single AdGroup. This field + * is optional for the following recommendation_types: KEYWORD + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List adGroupInfo; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestAdGroupInfo used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestAdGroupInfo.class); + } + + /** + * Required. Advertising channel type of the campaign. The following advertising_channel_types are + * supported for recommendation generation: PERFORMANCE_MAX and SEARCH + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String advertisingChannelType; + + /** + * Optional. Current AssetGroup Information. This field is required for the following + * recommendation_types: CAMPAIGN_BUDGET + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List assetGroupInfo; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestAssetGroupInfo used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestAssetGroupInfo.class); + } + + /** + * Optional. Current bidding information of the campaign. This field is necessary for the + * following recommendation_types: MAXIMIZE_CLICKS_OPT_IN, MAXIMIZE_CONVERSIONS_OPT_IN, + * MAXIMIZE_CONVERSION_VALUE_OPT_IN, SET_TARGET_CPA, SET_TARGET_ROAS, TARGET_CPA_OPT_IN, + * TARGET_ROAS_OPT_IN + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestBiddingInfo biddingInfo; + + /** + * Optional. Current budget information. This field is optional for the following + * recommendation_types: CAMPAIGN_BUDGET + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestBudgetInfo budgetInfo; + + /** + * Optional. Current campaign call asset count. This field is optional for the following + * recommendation_types: CAMPAIGN_BUDGET + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer campaignCallAssetCount; + + /** + * Optional. Current campaign image asset count. This field is optional for the following + * recommendation_types: CAMPAIGN_BUDGET + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer campaignImageAssetCount; + + /** + * Optional. Number of sitelinks on the campaign. This field is necessary for the following + * recommendation_types: SITELINK_ASSET + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer campaignSitelinkCount; + + /** + * Optional. Current conversion tracking status. This field is necessary for the following + * recommendation_types: MAXIMIZE_CLICKS_OPT_IN, MAXIMIZE_CONVERSIONS_OPT_IN, + * MAXIMIZE_CONVERSION_VALUE_OPT_IN, SET_TARGET_CPA, SET_TARGET_ROAS, TARGET_CPA_OPT_IN, + * TARGET_ROAS_OPT_IN + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String conversionTrackingStatus; + + /** + * Optional. Current campaign country codes. This field is required for the following + * recommendation_types: CAMPAIGN_BUDGET if AdvertisingChannelType is SEARCH + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List countryCodes; + + /** + * Optional. Whether or not this customer should be treated as a "new" customer (that is, a + * customer who has not yet created a campaign). Setting this to `true` will cause the backend to + * generate recommendations using a dedicated recommendation model for onboarding new customers, + * as opposed to the default model for existing customers. This is only recommended for customers + * with 0 campaigns. This field is optional for the following recommendation_types: + * CAMPAIGN_BUDGET + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean isNewCustomer; + + /** + * Optional. Current campaign language codes. This field is required for the following + * recommendation_types: CAMPAIGN_BUDGET if AdvertisingChannelType is SEARCH + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List languageCodes; + + /** + * Optional. Merchant Center account ID. This field should only be set when + * advertising_channel_type is PERFORMANCE_MAX. Setting this field causes RecommendationService to + * generate recommendations for Performance Max for retail instead of standard Performance Max. + * This field is optional for the following recommendation_types: CAMPAIGN_BUDGET + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long merchantCenterAccountId; + + /** + * Optional. Current campaign negative location ids. One of this field OR positive_location_ids is + * required for the following recommendation_types: CAMPAIGN_BUDGET if AdvertisingChannelType is + * SEARCH + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.util.List negativeLocationsIds; + + /** + * Optional. Current campaign positive location ids. One of this field OR negative_location_ids is + * required for the following recommendation_types: CAMPAIGN_BUDGET if AdvertisingChannelType is + * SEARCH + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.util.List positiveLocationsIds; + + /** + * Required. List of eligible recommendation_types to generate. If the uploaded criteria isn't + * sufficient to make a recommendation, or the campaign is already in the recommended state, no + * recommendation will be returned for that type. Generally, a recommendation is returned if all + * required fields for that recommendation_type are uploaded, but there are cases where this is + * still not sufficient. The following recommendation_types are supported for recommendation + * generation: KEYWORD, MAXIMIZE_CLICKS_OPT_IN, MAXIMIZE_CONVERSIONS_OPT_IN, + * MAXIMIZE_CONVERSION_VALUE_OPT_IN, SET_TARGET_CPA, SET_TARGET_ROAS, SITELINK_ASSET, + * TARGET_CPA_OPT_IN, TARGET_ROAS_OPT_IN + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List recommendationTypes; + + /** + * Optional. Seed information for Keywords. This field is necessary for the following + * recommendation_types: KEYWORD + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestSeedInfo seedInfo; + + /** + * Optional. If true, the campaign is opted into serving ads on specified placements in the Google + * Display Network. This field is optional for the following recommendation_types: CAMPAIGN_BUDGET + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean targetContentNetwork; + + /** + * Optional. If true, the campaign is opted into serving ads on the Google Partner Network. This + * field is optional for the following recommendation_types: CAMPAIGN_BUDGET + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean targetPartnerSearchNetwork; + + /** + * Optional. Current AdGroup Information. Supports information from a single AdGroup. This field + * is optional for the following recommendation_types: KEYWORD + * @return value or {@code null} for none + */ + public java.util.List getAdGroupInfo() { + return adGroupInfo; + } + + /** + * Optional. Current AdGroup Information. Supports information from a single AdGroup. This field + * is optional for the following recommendation_types: KEYWORD + * @param adGroupInfo adGroupInfo or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequest setAdGroupInfo(java.util.List adGroupInfo) { + this.adGroupInfo = adGroupInfo; + return this; + } + + /** + * Required. Advertising channel type of the campaign. The following advertising_channel_types are + * supported for recommendation generation: PERFORMANCE_MAX and SEARCH + * @return value or {@code null} for none + */ + public java.lang.String getAdvertisingChannelType() { + return advertisingChannelType; + } + + /** + * Required. Advertising channel type of the campaign. The following advertising_channel_types are + * supported for recommendation generation: PERFORMANCE_MAX and SEARCH + * @param advertisingChannelType advertisingChannelType or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequest setAdvertisingChannelType(java.lang.String advertisingChannelType) { + this.advertisingChannelType = advertisingChannelType; + return this; + } + + /** + * Optional. Current AssetGroup Information. This field is required for the following + * recommendation_types: CAMPAIGN_BUDGET + * @return value or {@code null} for none + */ + public java.util.List getAssetGroupInfo() { + return assetGroupInfo; + } + + /** + * Optional. Current AssetGroup Information. This field is required for the following + * recommendation_types: CAMPAIGN_BUDGET + * @param assetGroupInfo assetGroupInfo or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequest setAssetGroupInfo(java.util.List assetGroupInfo) { + this.assetGroupInfo = assetGroupInfo; + return this; + } + + /** + * Optional. Current bidding information of the campaign. This field is necessary for the + * following recommendation_types: MAXIMIZE_CLICKS_OPT_IN, MAXIMIZE_CONVERSIONS_OPT_IN, + * MAXIMIZE_CONVERSION_VALUE_OPT_IN, SET_TARGET_CPA, SET_TARGET_ROAS, TARGET_CPA_OPT_IN, + * TARGET_ROAS_OPT_IN + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestBiddingInfo getBiddingInfo() { + return biddingInfo; + } + + /** + * Optional. Current bidding information of the campaign. This field is necessary for the + * following recommendation_types: MAXIMIZE_CLICKS_OPT_IN, MAXIMIZE_CONVERSIONS_OPT_IN, + * MAXIMIZE_CONVERSION_VALUE_OPT_IN, SET_TARGET_CPA, SET_TARGET_ROAS, TARGET_CPA_OPT_IN, + * TARGET_ROAS_OPT_IN + * @param biddingInfo biddingInfo or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequest setBiddingInfo(GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestBiddingInfo biddingInfo) { + this.biddingInfo = biddingInfo; + return this; + } + + /** + * Optional. Current budget information. This field is optional for the following + * recommendation_types: CAMPAIGN_BUDGET + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestBudgetInfo getBudgetInfo() { + return budgetInfo; + } + + /** + * Optional. Current budget information. This field is optional for the following + * recommendation_types: CAMPAIGN_BUDGET + * @param budgetInfo budgetInfo or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequest setBudgetInfo(GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestBudgetInfo budgetInfo) { + this.budgetInfo = budgetInfo; + return this; + } + + /** + * Optional. Current campaign call asset count. This field is optional for the following + * recommendation_types: CAMPAIGN_BUDGET + * @return value or {@code null} for none + */ + public java.lang.Integer getCampaignCallAssetCount() { + return campaignCallAssetCount; + } + + /** + * Optional. Current campaign call asset count. This field is optional for the following + * recommendation_types: CAMPAIGN_BUDGET + * @param campaignCallAssetCount campaignCallAssetCount or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequest setCampaignCallAssetCount(java.lang.Integer campaignCallAssetCount) { + this.campaignCallAssetCount = campaignCallAssetCount; + return this; + } + + /** + * Optional. Current campaign image asset count. This field is optional for the following + * recommendation_types: CAMPAIGN_BUDGET + * @return value or {@code null} for none + */ + public java.lang.Integer getCampaignImageAssetCount() { + return campaignImageAssetCount; + } + + /** + * Optional. Current campaign image asset count. This field is optional for the following + * recommendation_types: CAMPAIGN_BUDGET + * @param campaignImageAssetCount campaignImageAssetCount or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequest setCampaignImageAssetCount(java.lang.Integer campaignImageAssetCount) { + this.campaignImageAssetCount = campaignImageAssetCount; + return this; + } + + /** + * Optional. Number of sitelinks on the campaign. This field is necessary for the following + * recommendation_types: SITELINK_ASSET + * @return value or {@code null} for none + */ + public java.lang.Integer getCampaignSitelinkCount() { + return campaignSitelinkCount; + } + + /** + * Optional. Number of sitelinks on the campaign. This field is necessary for the following + * recommendation_types: SITELINK_ASSET + * @param campaignSitelinkCount campaignSitelinkCount or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequest setCampaignSitelinkCount(java.lang.Integer campaignSitelinkCount) { + this.campaignSitelinkCount = campaignSitelinkCount; + return this; + } + + /** + * Optional. Current conversion tracking status. This field is necessary for the following + * recommendation_types: MAXIMIZE_CLICKS_OPT_IN, MAXIMIZE_CONVERSIONS_OPT_IN, + * MAXIMIZE_CONVERSION_VALUE_OPT_IN, SET_TARGET_CPA, SET_TARGET_ROAS, TARGET_CPA_OPT_IN, + * TARGET_ROAS_OPT_IN + * @return value or {@code null} for none + */ + public java.lang.String getConversionTrackingStatus() { + return conversionTrackingStatus; + } + + /** + * Optional. Current conversion tracking status. This field is necessary for the following + * recommendation_types: MAXIMIZE_CLICKS_OPT_IN, MAXIMIZE_CONVERSIONS_OPT_IN, + * MAXIMIZE_CONVERSION_VALUE_OPT_IN, SET_TARGET_CPA, SET_TARGET_ROAS, TARGET_CPA_OPT_IN, + * TARGET_ROAS_OPT_IN + * @param conversionTrackingStatus conversionTrackingStatus or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequest setConversionTrackingStatus(java.lang.String conversionTrackingStatus) { + this.conversionTrackingStatus = conversionTrackingStatus; + return this; + } + + /** + * Optional. Current campaign country codes. This field is required for the following + * recommendation_types: CAMPAIGN_BUDGET if AdvertisingChannelType is SEARCH + * @return value or {@code null} for none + */ + public java.util.List getCountryCodes() { + return countryCodes; + } + + /** + * Optional. Current campaign country codes. This field is required for the following + * recommendation_types: CAMPAIGN_BUDGET if AdvertisingChannelType is SEARCH + * @param countryCodes countryCodes or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequest setCountryCodes(java.util.List countryCodes) { + this.countryCodes = countryCodes; + return this; + } + + /** + * Optional. Whether or not this customer should be treated as a "new" customer (that is, a + * customer who has not yet created a campaign). Setting this to `true` will cause the backend to + * generate recommendations using a dedicated recommendation model for onboarding new customers, + * as opposed to the default model for existing customers. This is only recommended for customers + * with 0 campaigns. This field is optional for the following recommendation_types: + * CAMPAIGN_BUDGET + * @return value or {@code null} for none + */ + public java.lang.Boolean getIsNewCustomer() { + return isNewCustomer; + } + + /** + * Optional. Whether or not this customer should be treated as a "new" customer (that is, a + * customer who has not yet created a campaign). Setting this to `true` will cause the backend to + * generate recommendations using a dedicated recommendation model for onboarding new customers, + * as opposed to the default model for existing customers. This is only recommended for customers + * with 0 campaigns. This field is optional for the following recommendation_types: + * CAMPAIGN_BUDGET + * @param isNewCustomer isNewCustomer or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequest setIsNewCustomer(java.lang.Boolean isNewCustomer) { + this.isNewCustomer = isNewCustomer; + return this; + } + + /** + * Optional. Current campaign language codes. This field is required for the following + * recommendation_types: CAMPAIGN_BUDGET if AdvertisingChannelType is SEARCH + * @return value or {@code null} for none + */ + public java.util.List getLanguageCodes() { + return languageCodes; + } + + /** + * Optional. Current campaign language codes. This field is required for the following + * recommendation_types: CAMPAIGN_BUDGET if AdvertisingChannelType is SEARCH + * @param languageCodes languageCodes or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequest setLanguageCodes(java.util.List languageCodes) { + this.languageCodes = languageCodes; + return this; + } + + /** + * Optional. Merchant Center account ID. This field should only be set when + * advertising_channel_type is PERFORMANCE_MAX. Setting this field causes RecommendationService to + * generate recommendations for Performance Max for retail instead of standard Performance Max. + * This field is optional for the following recommendation_types: CAMPAIGN_BUDGET + * @return value or {@code null} for none + */ + public java.lang.Long getMerchantCenterAccountId() { + return merchantCenterAccountId; + } + + /** + * Optional. Merchant Center account ID. This field should only be set when + * advertising_channel_type is PERFORMANCE_MAX. Setting this field causes RecommendationService to + * generate recommendations for Performance Max for retail instead of standard Performance Max. + * This field is optional for the following recommendation_types: CAMPAIGN_BUDGET + * @param merchantCenterAccountId merchantCenterAccountId or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequest setMerchantCenterAccountId(java.lang.Long merchantCenterAccountId) { + this.merchantCenterAccountId = merchantCenterAccountId; + return this; + } + + /** + * Optional. Current campaign negative location ids. One of this field OR positive_location_ids is + * required for the following recommendation_types: CAMPAIGN_BUDGET if AdvertisingChannelType is + * SEARCH + * @return value or {@code null} for none + */ + public java.util.List getNegativeLocationsIds() { + return negativeLocationsIds; + } + + /** + * Optional. Current campaign negative location ids. One of this field OR positive_location_ids is + * required for the following recommendation_types: CAMPAIGN_BUDGET if AdvertisingChannelType is + * SEARCH + * @param negativeLocationsIds negativeLocationsIds or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequest setNegativeLocationsIds(java.util.List negativeLocationsIds) { + this.negativeLocationsIds = negativeLocationsIds; + return this; + } + + /** + * Optional. Current campaign positive location ids. One of this field OR negative_location_ids is + * required for the following recommendation_types: CAMPAIGN_BUDGET if AdvertisingChannelType is + * SEARCH + * @return value or {@code null} for none + */ + public java.util.List getPositiveLocationsIds() { + return positiveLocationsIds; + } + + /** + * Optional. Current campaign positive location ids. One of this field OR negative_location_ids is + * required for the following recommendation_types: CAMPAIGN_BUDGET if AdvertisingChannelType is + * SEARCH + * @param positiveLocationsIds positiveLocationsIds or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequest setPositiveLocationsIds(java.util.List positiveLocationsIds) { + this.positiveLocationsIds = positiveLocationsIds; + return this; + } + + /** + * Required. List of eligible recommendation_types to generate. If the uploaded criteria isn't + * sufficient to make a recommendation, or the campaign is already in the recommended state, no + * recommendation will be returned for that type. Generally, a recommendation is returned if all + * required fields for that recommendation_type are uploaded, but there are cases where this is + * still not sufficient. The following recommendation_types are supported for recommendation + * generation: KEYWORD, MAXIMIZE_CLICKS_OPT_IN, MAXIMIZE_CONVERSIONS_OPT_IN, + * MAXIMIZE_CONVERSION_VALUE_OPT_IN, SET_TARGET_CPA, SET_TARGET_ROAS, SITELINK_ASSET, + * TARGET_CPA_OPT_IN, TARGET_ROAS_OPT_IN + * @return value or {@code null} for none + */ + public java.util.List getRecommendationTypes() { + return recommendationTypes; + } + + /** + * Required. List of eligible recommendation_types to generate. If the uploaded criteria isn't + * sufficient to make a recommendation, or the campaign is already in the recommended state, no + * recommendation will be returned for that type. Generally, a recommendation is returned if all + * required fields for that recommendation_type are uploaded, but there are cases where this is + * still not sufficient. The following recommendation_types are supported for recommendation + * generation: KEYWORD, MAXIMIZE_CLICKS_OPT_IN, MAXIMIZE_CONVERSIONS_OPT_IN, + * MAXIMIZE_CONVERSION_VALUE_OPT_IN, SET_TARGET_CPA, SET_TARGET_ROAS, SITELINK_ASSET, + * TARGET_CPA_OPT_IN, TARGET_ROAS_OPT_IN + * @param recommendationTypes recommendationTypes or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequest setRecommendationTypes(java.util.List recommendationTypes) { + this.recommendationTypes = recommendationTypes; + return this; + } + + /** + * Optional. Seed information for Keywords. This field is necessary for the following + * recommendation_types: KEYWORD + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestSeedInfo getSeedInfo() { + return seedInfo; + } + + /** + * Optional. Seed information for Keywords. This field is necessary for the following + * recommendation_types: KEYWORD + * @param seedInfo seedInfo or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequest setSeedInfo(GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestSeedInfo seedInfo) { + this.seedInfo = seedInfo; + return this; + } + + /** + * Optional. If true, the campaign is opted into serving ads on specified placements in the Google + * Display Network. This field is optional for the following recommendation_types: CAMPAIGN_BUDGET + * @return value or {@code null} for none + */ + public java.lang.Boolean getTargetContentNetwork() { + return targetContentNetwork; + } + + /** + * Optional. If true, the campaign is opted into serving ads on specified placements in the Google + * Display Network. This field is optional for the following recommendation_types: CAMPAIGN_BUDGET + * @param targetContentNetwork targetContentNetwork or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequest setTargetContentNetwork(java.lang.Boolean targetContentNetwork) { + this.targetContentNetwork = targetContentNetwork; + return this; + } + + /** + * Optional. If true, the campaign is opted into serving ads on the Google Partner Network. This + * field is optional for the following recommendation_types: CAMPAIGN_BUDGET + * @return value or {@code null} for none + */ + public java.lang.Boolean getTargetPartnerSearchNetwork() { + return targetPartnerSearchNetwork; + } + + /** + * Optional. If true, the campaign is opted into serving ads on the Google Partner Network. This + * field is optional for the following recommendation_types: CAMPAIGN_BUDGET + * @param targetPartnerSearchNetwork targetPartnerSearchNetwork or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequest setTargetPartnerSearchNetwork(java.lang.Boolean targetPartnerSearchNetwork) { + this.targetPartnerSearchNetwork = targetPartnerSearchNetwork; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequest clone() { + return (GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestAdGroupInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestAdGroupInfo.java new file mode 100644 index 00000000000..4deb7be5aae --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestAdGroupInfo.java @@ -0,0 +1,103 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Current AdGroup Information of the campaign. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestAdGroupInfo extends com.google.api.client.json.GenericJson { + + /** + * Optional. AdGroup Type of the AdGroup. This field is necessary for the following + * recommendation_types if ad_group_info is set: KEYWORD + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String adGroupType; + + /** + * Optional. Current keywords. This field is optional for the following recommendation_types if + * ad_group_info is set: KEYWORD + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List keywords; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonKeywordInfo used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonKeywordInfo.class); + } + + /** + * Optional. AdGroup Type of the AdGroup. This field is necessary for the following + * recommendation_types if ad_group_info is set: KEYWORD + * @return value or {@code null} for none + */ + public java.lang.String getAdGroupType() { + return adGroupType; + } + + /** + * Optional. AdGroup Type of the AdGroup. This field is necessary for the following + * recommendation_types if ad_group_info is set: KEYWORD + * @param adGroupType adGroupType or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestAdGroupInfo setAdGroupType(java.lang.String adGroupType) { + this.adGroupType = adGroupType; + return this; + } + + /** + * Optional. Current keywords. This field is optional for the following recommendation_types if + * ad_group_info is set: KEYWORD + * @return value or {@code null} for none + */ + public java.util.List getKeywords() { + return keywords; + } + + /** + * Optional. Current keywords. This field is optional for the following recommendation_types if + * ad_group_info is set: KEYWORD + * @param keywords keywords or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestAdGroupInfo setKeywords(java.util.List keywords) { + this.keywords = keywords; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestAdGroupInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestAdGroupInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestAdGroupInfo clone() { + return (GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestAdGroupInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestAssetGroupInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestAssetGroupInfo.java new file mode 100644 index 00000000000..63946f8d074 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestAssetGroupInfo.java @@ -0,0 +1,124 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Current AssetGroup information of the campaign. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestAssetGroupInfo extends com.google.api.client.json.GenericJson { + + /** + * Optional. Current descriptions of the asset group. This field is optional for the following + * recommendation_types if asset_group_info is set: CAMPAIGN_BUDGET + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List description; + + /** + * Required. Current url of the asset group. This field is necessary for the following + * recommendation_types if asset_group_info is set: CAMPAIGN_BUDGET + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String finalUrl; + + /** + * Optional. Current headlines of the asset group. This field is optional for the following + * recommendation_types if asset_group_info is set: CAMPAIGN_BUDGET + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List headline; + + /** + * Optional. Current descriptions of the asset group. This field is optional for the following + * recommendation_types if asset_group_info is set: CAMPAIGN_BUDGET + * @return value or {@code null} for none + */ + public java.util.List getDescription() { + return description; + } + + /** + * Optional. Current descriptions of the asset group. This field is optional for the following + * recommendation_types if asset_group_info is set: CAMPAIGN_BUDGET + * @param description description or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestAssetGroupInfo setDescription(java.util.List description) { + this.description = description; + return this; + } + + /** + * Required. Current url of the asset group. This field is necessary for the following + * recommendation_types if asset_group_info is set: CAMPAIGN_BUDGET + * @return value or {@code null} for none + */ + public java.lang.String getFinalUrl() { + return finalUrl; + } + + /** + * Required. Current url of the asset group. This field is necessary for the following + * recommendation_types if asset_group_info is set: CAMPAIGN_BUDGET + * @param finalUrl finalUrl or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestAssetGroupInfo setFinalUrl(java.lang.String finalUrl) { + this.finalUrl = finalUrl; + return this; + } + + /** + * Optional. Current headlines of the asset group. This field is optional for the following + * recommendation_types if asset_group_info is set: CAMPAIGN_BUDGET + * @return value or {@code null} for none + */ + public java.util.List getHeadline() { + return headline; + } + + /** + * Optional. Current headlines of the asset group. This field is optional for the following + * recommendation_types if asset_group_info is set: CAMPAIGN_BUDGET + * @param headline headline or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestAssetGroupInfo setHeadline(java.util.List headline) { + this.headline = headline; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestAssetGroupInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestAssetGroupInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestAssetGroupInfo clone() { + return (GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestAssetGroupInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestBiddingInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestBiddingInfo.java new file mode 100644 index 00000000000..d99825b6d12 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestBiddingInfo.java @@ -0,0 +1,155 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Current bidding information of the campaign. Provides a wrapper for bidding-related signals that + * inform recommendations. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestBiddingInfo extends com.google.api.client.json.GenericJson { + + /** + * Current bidding strategy. This field is necessary for the following recommendation_types: + * MAXIMIZE_CLICKS_OPT_IN, MAXIMIZE_CONVERSIONS_OPT_IN, MAXIMIZE_CONVERSION_VALUE_OPT_IN, + * SET_TARGET_CPA, SET_TARGET_ROAS, TARGET_CPA_OPT_IN, TARGET_ROAS_OPT_IN + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String biddingStrategyType; + + /** + * Current target_cpa in micros. This can be populated for campaigns with a bidding strategy type + * of TARGET_CPA or MAXIMIZE_CONVERSIONS. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long targetCpaMicros; + + /** + * Optional. Current Target Impression Share information of the campaign. This field is necessary + * for the following recommendation_types: CAMPAIGN_BUDGET + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestTargetImpressionShareInfo targetImpressionShareInfo; + + /** + * Current target_roas. This can be populated for campaigns with a bidding strategy type of + * TARGET_ROAS or MAXIMIZE_CONVERSION_VALUE. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double targetRoas; + + /** + * Current bidding strategy. This field is necessary for the following recommendation_types: + * MAXIMIZE_CLICKS_OPT_IN, MAXIMIZE_CONVERSIONS_OPT_IN, MAXIMIZE_CONVERSION_VALUE_OPT_IN, + * SET_TARGET_CPA, SET_TARGET_ROAS, TARGET_CPA_OPT_IN, TARGET_ROAS_OPT_IN + * @return value or {@code null} for none + */ + public java.lang.String getBiddingStrategyType() { + return biddingStrategyType; + } + + /** + * Current bidding strategy. This field is necessary for the following recommendation_types: + * MAXIMIZE_CLICKS_OPT_IN, MAXIMIZE_CONVERSIONS_OPT_IN, MAXIMIZE_CONVERSION_VALUE_OPT_IN, + * SET_TARGET_CPA, SET_TARGET_ROAS, TARGET_CPA_OPT_IN, TARGET_ROAS_OPT_IN + * @param biddingStrategyType biddingStrategyType or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestBiddingInfo setBiddingStrategyType(java.lang.String biddingStrategyType) { + this.biddingStrategyType = biddingStrategyType; + return this; + } + + /** + * Current target_cpa in micros. This can be populated for campaigns with a bidding strategy type + * of TARGET_CPA or MAXIMIZE_CONVERSIONS. + * @return value or {@code null} for none + */ + public java.lang.Long getTargetCpaMicros() { + return targetCpaMicros; + } + + /** + * Current target_cpa in micros. This can be populated for campaigns with a bidding strategy type + * of TARGET_CPA or MAXIMIZE_CONVERSIONS. + * @param targetCpaMicros targetCpaMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestBiddingInfo setTargetCpaMicros(java.lang.Long targetCpaMicros) { + this.targetCpaMicros = targetCpaMicros; + return this; + } + + /** + * Optional. Current Target Impression Share information of the campaign. This field is necessary + * for the following recommendation_types: CAMPAIGN_BUDGET + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestTargetImpressionShareInfo getTargetImpressionShareInfo() { + return targetImpressionShareInfo; + } + + /** + * Optional. Current Target Impression Share information of the campaign. This field is necessary + * for the following recommendation_types: CAMPAIGN_BUDGET + * @param targetImpressionShareInfo targetImpressionShareInfo or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestBiddingInfo setTargetImpressionShareInfo(GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestTargetImpressionShareInfo targetImpressionShareInfo) { + this.targetImpressionShareInfo = targetImpressionShareInfo; + return this; + } + + /** + * Current target_roas. This can be populated for campaigns with a bidding strategy type of + * TARGET_ROAS or MAXIMIZE_CONVERSION_VALUE. + * @return value or {@code null} for none + */ + public java.lang.Double getTargetRoas() { + return targetRoas; + } + + /** + * Current target_roas. This can be populated for campaigns with a bidding strategy type of + * TARGET_ROAS or MAXIMIZE_CONVERSION_VALUE. + * @param targetRoas targetRoas or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestBiddingInfo setTargetRoas(java.lang.Double targetRoas) { + this.targetRoas = targetRoas; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestBiddingInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestBiddingInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestBiddingInfo clone() { + return (GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestBiddingInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestBudgetInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestBudgetInfo.java new file mode 100644 index 00000000000..f19e7c088be --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestBudgetInfo.java @@ -0,0 +1,70 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Current budget information of the campaign. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestBudgetInfo extends com.google.api.client.json.GenericJson { + + /** + * Required. Current budget amount in micros. This field is necessary for the following + * recommendation_types if budget_info is set: CAMPAIGN_BUDGET + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long currentBudget; + + /** + * Required. Current budget amount in micros. This field is necessary for the following + * recommendation_types if budget_info is set: CAMPAIGN_BUDGET + * @return value or {@code null} for none + */ + public java.lang.Long getCurrentBudget() { + return currentBudget; + } + + /** + * Required. Current budget amount in micros. This field is necessary for the following + * recommendation_types if budget_info is set: CAMPAIGN_BUDGET + * @param currentBudget currentBudget or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestBudgetInfo setCurrentBudget(java.lang.Long currentBudget) { + this.currentBudget = currentBudget; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestBudgetInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestBudgetInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestBudgetInfo clone() { + return (GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestBudgetInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestSeedInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestSeedInfo.java new file mode 100644 index 00000000000..8170838bc07 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestSeedInfo.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A keyword seed and a specific url to generate keywords from. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestSeedInfo extends com.google.api.client.json.GenericJson { + + /** + * Optional. Keywords or phrases to generate ideas from, for example: cars or "car dealership near + * me". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List keywordSeeds; + + /** + * A specific url to generate ideas from, for example: www.example.com/cars. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String urlSeed; + + /** + * Optional. Keywords or phrases to generate ideas from, for example: cars or "car dealership near + * me". + * @return value or {@code null} for none + */ + public java.util.List getKeywordSeeds() { + return keywordSeeds; + } + + /** + * Optional. Keywords or phrases to generate ideas from, for example: cars or "car dealership near + * me". + * @param keywordSeeds keywordSeeds or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestSeedInfo setKeywordSeeds(java.util.List keywordSeeds) { + this.keywordSeeds = keywordSeeds; + return this; + } + + /** + * A specific url to generate ideas from, for example: www.example.com/cars. + * @return value or {@code null} for none + */ + public java.lang.String getUrlSeed() { + return urlSeed; + } + + /** + * A specific url to generate ideas from, for example: www.example.com/cars. + * @param urlSeed urlSeed or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestSeedInfo setUrlSeed(java.lang.String urlSeed) { + this.urlSeed = urlSeed; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestSeedInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestSeedInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestSeedInfo clone() { + return (GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestSeedInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestTargetImpressionShareInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestTargetImpressionShareInfo.java new file mode 100644 index 00000000000..1d799aff1fc --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestTargetImpressionShareInfo.java @@ -0,0 +1,133 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Current Target Impression Share information of the campaign. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestTargetImpressionShareInfo extends com.google.api.client.json.GenericJson { + + /** + * Required. The targeted location on the search results page. This is required for campaigns + * where the AdvertisingChannelType is SEARCH and the bidding strategy type is + * TARGET_IMPRESSION_SHARE. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String location; + + /** + * Optional. Ceiling of max CPC bids in micros set by automated bidders. This is optional for + * campaigns with an AdvertisingChannelType of SEARCH and a bidding strategy type of + * TARGET_IMPRESSION_SHARE. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long maxCpcBidCeiling; + + /** + * Required. The chosen fraction of targeted impression share in micros. For example, 1% equals + * 10,000. It must be a value between 1 and 1,000,000. This is required for campaigns with an + * AdvertisingChannelType of SEARCH and a bidding strategy type of TARGET_IMPRESSION_SHARE. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long targetImpressionShareMicros; + + /** + * Required. The targeted location on the search results page. This is required for campaigns + * where the AdvertisingChannelType is SEARCH and the bidding strategy type is + * TARGET_IMPRESSION_SHARE. + * @return value or {@code null} for none + */ + public java.lang.String getLocation() { + return location; + } + + /** + * Required. The targeted location on the search results page. This is required for campaigns + * where the AdvertisingChannelType is SEARCH and the bidding strategy type is + * TARGET_IMPRESSION_SHARE. + * @param location location or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestTargetImpressionShareInfo setLocation(java.lang.String location) { + this.location = location; + return this; + } + + /** + * Optional. Ceiling of max CPC bids in micros set by automated bidders. This is optional for + * campaigns with an AdvertisingChannelType of SEARCH and a bidding strategy type of + * TARGET_IMPRESSION_SHARE. + * @return value or {@code null} for none + */ + public java.lang.Long getMaxCpcBidCeiling() { + return maxCpcBidCeiling; + } + + /** + * Optional. Ceiling of max CPC bids in micros set by automated bidders. This is optional for + * campaigns with an AdvertisingChannelType of SEARCH and a bidding strategy type of + * TARGET_IMPRESSION_SHARE. + * @param maxCpcBidCeiling maxCpcBidCeiling or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestTargetImpressionShareInfo setMaxCpcBidCeiling(java.lang.Long maxCpcBidCeiling) { + this.maxCpcBidCeiling = maxCpcBidCeiling; + return this; + } + + /** + * Required. The chosen fraction of targeted impression share in micros. For example, 1% equals + * 10,000. It must be a value between 1 and 1,000,000. This is required for campaigns with an + * AdvertisingChannelType of SEARCH and a bidding strategy type of TARGET_IMPRESSION_SHARE. + * @return value or {@code null} for none + */ + public java.lang.Long getTargetImpressionShareMicros() { + return targetImpressionShareMicros; + } + + /** + * Required. The chosen fraction of targeted impression share in micros. For example, 1% equals + * 10,000. It must be a value between 1 and 1,000,000. This is required for campaigns with an + * AdvertisingChannelType of SEARCH and a bidding strategy type of TARGET_IMPRESSION_SHARE. + * @param targetImpressionShareMicros targetImpressionShareMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestTargetImpressionShareInfo setTargetImpressionShareMicros(java.lang.Long targetImpressionShareMicros) { + this.targetImpressionShareMicros = targetImpressionShareMicros; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestTargetImpressionShareInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestTargetImpressionShareInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestTargetImpressionShareInfo clone() { + return (GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestTargetImpressionShareInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateRecommendationsResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateRecommendationsResponse.java new file mode 100644 index 00000000000..8e391f23533 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateRecommendationsResponse.java @@ -0,0 +1,79 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for RecommendationService.GenerateRecommendations. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesGenerateRecommendationsResponse extends com.google.api.client.json.GenericJson { + + /** + * List of generated recommendations from the passed in set of requested recommendation_types. If + * there isn't sufficient data to generate a recommendation for the requested + * recommendation_types, the result set won't contain a recommendation for that type. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List recommendations; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ResourcesRecommendation used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ResourcesRecommendation.class); + } + + /** + * List of generated recommendations from the passed in set of requested recommendation_types. If + * there isn't sufficient data to generate a recommendation for the requested + * recommendation_types, the result set won't contain a recommendation for that type. + * @return value or {@code null} for none + */ + public java.util.List getRecommendations() { + return recommendations; + } + + /** + * List of generated recommendations from the passed in set of requested recommendation_types. If + * there isn't sufficient data to generate a recommendation for the requested + * recommendation_types, the result set won't contain a recommendation for that type. + * @param recommendations recommendations or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateRecommendationsResponse setRecommendations(java.util.List recommendations) { + this.recommendations = recommendations; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesGenerateRecommendationsResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesGenerateRecommendationsResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesGenerateRecommendationsResponse clone() { + return (GoogleAdsSearchads360V23ServicesGenerateRecommendationsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateSuggestedTargetingInsightsRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateSuggestedTargetingInsightsRequest.java new file mode 100644 index 00000000000..c3ae1c0b1c3 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateSuggestedTargetingInsightsRequest.java @@ -0,0 +1,142 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for AudienceInsightsService.GenerateSuggestedTargetingInsights. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesGenerateSuggestedTargetingInsightsRequest extends com.google.api.client.json.GenericJson { + + /** + * Provide a seed audience to get suggestions for. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesInsightsAudienceDefinition audienceDefinition; + + /** + * Provide a text description of an audience to get AI-generated targeting suggestions. This can + * take around 5 or more seconds to complete. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesInsightsAudienceDescription audienceDescription; + + /** + * Optional. The name of the customer being planned for. This is a user-defined value. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String customerInsightsGroup; + + /** + * Optional. Additional information on the application issuing the request. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonAdditionalApplicationInfo insightsApplicationInfo; + + /** + * Provide a seed audience to get suggestions for. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesInsightsAudienceDefinition getAudienceDefinition() { + return audienceDefinition; + } + + /** + * Provide a seed audience to get suggestions for. + * @param audienceDefinition audienceDefinition or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateSuggestedTargetingInsightsRequest setAudienceDefinition(GoogleAdsSearchads360V23ServicesInsightsAudienceDefinition audienceDefinition) { + this.audienceDefinition = audienceDefinition; + return this; + } + + /** + * Provide a text description of an audience to get AI-generated targeting suggestions. This can + * take around 5 or more seconds to complete. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesInsightsAudienceDescription getAudienceDescription() { + return audienceDescription; + } + + /** + * Provide a text description of an audience to get AI-generated targeting suggestions. This can + * take around 5 or more seconds to complete. + * @param audienceDescription audienceDescription or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateSuggestedTargetingInsightsRequest setAudienceDescription(GoogleAdsSearchads360V23ServicesInsightsAudienceDescription audienceDescription) { + this.audienceDescription = audienceDescription; + return this; + } + + /** + * Optional. The name of the customer being planned for. This is a user-defined value. + * @return value or {@code null} for none + */ + public java.lang.String getCustomerInsightsGroup() { + return customerInsightsGroup; + } + + /** + * Optional. The name of the customer being planned for. This is a user-defined value. + * @param customerInsightsGroup customerInsightsGroup or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateSuggestedTargetingInsightsRequest setCustomerInsightsGroup(java.lang.String customerInsightsGroup) { + this.customerInsightsGroup = customerInsightsGroup; + return this; + } + + /** + * Optional. Additional information on the application issuing the request. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAdditionalApplicationInfo getInsightsApplicationInfo() { + return insightsApplicationInfo; + } + + /** + * Optional. Additional information on the application issuing the request. + * @param insightsApplicationInfo insightsApplicationInfo or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateSuggestedTargetingInsightsRequest setInsightsApplicationInfo(GoogleAdsSearchads360V23CommonAdditionalApplicationInfo insightsApplicationInfo) { + this.insightsApplicationInfo = insightsApplicationInfo; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesGenerateSuggestedTargetingInsightsRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesGenerateSuggestedTargetingInsightsRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesGenerateSuggestedTargetingInsightsRequest clone() { + return (GoogleAdsSearchads360V23ServicesGenerateSuggestedTargetingInsightsRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateSuggestedTargetingInsightsResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateSuggestedTargetingInsightsResponse.java new file mode 100644 index 00000000000..85f55f42cba --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateSuggestedTargetingInsightsResponse.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for AudienceInsightsService.GenerateSuggestedTargetingInsights. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesGenerateSuggestedTargetingInsightsResponse extends com.google.api.client.json.GenericJson { + + /** + * Suggested insights for targetable audiences. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List suggestions; + + /** + * Suggested insights for targetable audiences. + * @return value or {@code null} for none + */ + public java.util.List getSuggestions() { + return suggestions; + } + + /** + * Suggested insights for targetable audiences. + * @param suggestions suggestions or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateSuggestedTargetingInsightsResponse setSuggestions(java.util.List suggestions) { + this.suggestions = suggestions; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesGenerateSuggestedTargetingInsightsResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesGenerateSuggestedTargetingInsightsResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesGenerateSuggestedTargetingInsightsResponse clone() { + return (GoogleAdsSearchads360V23ServicesGenerateSuggestedTargetingInsightsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateTargetingSuggestionMetricsRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateTargetingSuggestionMetricsRequest.java new file mode 100644 index 00000000000..cd51982d916 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateTargetingSuggestionMetricsRequest.java @@ -0,0 +1,115 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for AudienceInsightsService.GenerateTargetingSuggestionMetrics. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesGenerateTargetingSuggestionMetricsRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. Audiences to request metrics for. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List audiences; + + /** + * Optional. The name of the customer being planned for. This is a user-defined value. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String customerInsightsGroup; + + /** + * Optional. Additional information on the application issuing the request. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonAdditionalApplicationInfo insightsApplicationInfo; + + /** + * Required. Audiences to request metrics for. + * @return value or {@code null} for none + */ + public java.util.List getAudiences() { + return audiences; + } + + /** + * Required. Audiences to request metrics for. + * @param audiences audiences or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateTargetingSuggestionMetricsRequest setAudiences(java.util.List audiences) { + this.audiences = audiences; + return this; + } + + /** + * Optional. The name of the customer being planned for. This is a user-defined value. + * @return value or {@code null} for none + */ + public java.lang.String getCustomerInsightsGroup() { + return customerInsightsGroup; + } + + /** + * Optional. The name of the customer being planned for. This is a user-defined value. + * @param customerInsightsGroup customerInsightsGroup or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateTargetingSuggestionMetricsRequest setCustomerInsightsGroup(java.lang.String customerInsightsGroup) { + this.customerInsightsGroup = customerInsightsGroup; + return this; + } + + /** + * Optional. Additional information on the application issuing the request. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAdditionalApplicationInfo getInsightsApplicationInfo() { + return insightsApplicationInfo; + } + + /** + * Optional. Additional information on the application issuing the request. + * @param insightsApplicationInfo insightsApplicationInfo or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateTargetingSuggestionMetricsRequest setInsightsApplicationInfo(GoogleAdsSearchads360V23CommonAdditionalApplicationInfo insightsApplicationInfo) { + this.insightsApplicationInfo = insightsApplicationInfo; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesGenerateTargetingSuggestionMetricsRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesGenerateTargetingSuggestionMetricsRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesGenerateTargetingSuggestionMetricsRequest clone() { + return (GoogleAdsSearchads360V23ServicesGenerateTargetingSuggestionMetricsRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateTargetingSuggestionMetricsResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateTargetingSuggestionMetricsResponse.java new file mode 100644 index 00000000000..e2a0357f3d4 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGenerateTargetingSuggestionMetricsResponse.java @@ -0,0 +1,70 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for AudienceInsightsService.GenerateTargetingSuggestionMetrics. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesGenerateTargetingSuggestionMetricsResponse extends com.google.api.client.json.GenericJson { + + /** + * Suggested targetable audiences. There will be one suggestion for each + * GenerateTargetingSuggestionMetricsRequest.audiences requested, matching the order requested. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List suggestions; + + /** + * Suggested targetable audiences. There will be one suggestion for each + * GenerateTargetingSuggestionMetricsRequest.audiences requested, matching the order requested. + * @return value or {@code null} for none + */ + public java.util.List getSuggestions() { + return suggestions; + } + + /** + * Suggested targetable audiences. There will be one suggestion for each + * GenerateTargetingSuggestionMetricsRequest.audiences requested, matching the order requested. + * @param suggestions suggestions or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGenerateTargetingSuggestionMetricsResponse setSuggestions(java.util.List suggestions) { + this.suggestions = suggestions; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesGenerateTargetingSuggestionMetricsResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesGenerateTargetingSuggestionMetricsResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesGenerateTargetingSuggestionMetricsResponse clone() { + return (GoogleAdsSearchads360V23ServicesGenerateTargetingSuggestionMetricsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGeoTargetConstantSuggestion.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGeoTargetConstantSuggestion.java new file mode 100644 index 00000000000..9fb0097b45d --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGeoTargetConstantSuggestion.java @@ -0,0 +1,181 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A geo target constant suggestion. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesGeoTargetConstantSuggestion extends com.google.api.client.json.GenericJson { + + /** + * The GeoTargetConstant result. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesGeoTargetConstant geoTargetConstant; + + /** + * The list of parents of the geo target constant. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List geoTargetConstantParents; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ResourcesGeoTargetConstant used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ResourcesGeoTargetConstant.class); + } + + /** + * The language this GeoTargetConstantSuggestion is currently translated to. It affects the name + * of geo target fields. For example, if locale=en, then name=Spain. If locale=es, then + * name=España. The default locale will be returned if no translation exists for the locale in the + * request. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String locale; + + /** + * Approximate user population that will be targeted, rounded to the nearest 100. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long reach; + + /** + * If the request searched by location name, this is the location name that matched the geo + * target. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String searchTerm; + + /** + * The GeoTargetConstant result. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesGeoTargetConstant getGeoTargetConstant() { + return geoTargetConstant; + } + + /** + * The GeoTargetConstant result. + * @param geoTargetConstant geoTargetConstant or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGeoTargetConstantSuggestion setGeoTargetConstant(GoogleAdsSearchads360V23ResourcesGeoTargetConstant geoTargetConstant) { + this.geoTargetConstant = geoTargetConstant; + return this; + } + + /** + * The list of parents of the geo target constant. + * @return value or {@code null} for none + */ + public java.util.List getGeoTargetConstantParents() { + return geoTargetConstantParents; + } + + /** + * The list of parents of the geo target constant. + * @param geoTargetConstantParents geoTargetConstantParents or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGeoTargetConstantSuggestion setGeoTargetConstantParents(java.util.List geoTargetConstantParents) { + this.geoTargetConstantParents = geoTargetConstantParents; + return this; + } + + /** + * The language this GeoTargetConstantSuggestion is currently translated to. It affects the name + * of geo target fields. For example, if locale=en, then name=Spain. If locale=es, then + * name=España. The default locale will be returned if no translation exists for the locale in the + * request. + * @return value or {@code null} for none + */ + public java.lang.String getLocale() { + return locale; + } + + /** + * The language this GeoTargetConstantSuggestion is currently translated to. It affects the name + * of geo target fields. For example, if locale=en, then name=Spain. If locale=es, then + * name=España. The default locale will be returned if no translation exists for the locale in the + * request. + * @param locale locale or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGeoTargetConstantSuggestion setLocale(java.lang.String locale) { + this.locale = locale; + return this; + } + + /** + * Approximate user population that will be targeted, rounded to the nearest 100. + * @return value or {@code null} for none + */ + public java.lang.Long getReach() { + return reach; + } + + /** + * Approximate user population that will be targeted, rounded to the nearest 100. + * @param reach reach or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGeoTargetConstantSuggestion setReach(java.lang.Long reach) { + this.reach = reach; + return this; + } + + /** + * If the request searched by location name, this is the location name that matched the geo + * target. + * @return value or {@code null} for none + */ + public java.lang.String getSearchTerm() { + return searchTerm; + } + + /** + * If the request searched by location name, this is the location name that matched the geo + * target. + * @param searchTerm searchTerm or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGeoTargetConstantSuggestion setSearchTerm(java.lang.String searchTerm) { + this.searchTerm = searchTerm; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesGeoTargetConstantSuggestion set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesGeoTargetConstantSuggestion) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesGeoTargetConstantSuggestion clone() { + return (GoogleAdsSearchads360V23ServicesGeoTargetConstantSuggestion) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGetIdentityVerificationResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGetIdentityVerificationResponse.java new file mode 100644 index 00000000000..44a86f9a25c --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGetIdentityVerificationResponse.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for GetIdentityVerification. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesGetIdentityVerificationResponse extends com.google.api.client.json.GenericJson { + + /** + * List of identity verifications for the customer. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List identityVerification; + + /** + * List of identity verifications for the customer. + * @return value or {@code null} for none + */ + public java.util.List getIdentityVerification() { + return identityVerification; + } + + /** + * List of identity verifications for the customer. + * @param identityVerification identityVerification or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGetIdentityVerificationResponse setIdentityVerification(java.util.List identityVerification) { + this.identityVerification = identityVerification; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesGetIdentityVerificationResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesGetIdentityVerificationResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesGetIdentityVerificationResponse clone() { + return (GoogleAdsSearchads360V23ServicesGetIdentityVerificationResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGetSmartCampaignStatusResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGetSmartCampaignStatusResponse.java new file mode 100644 index 00000000000..0dfd6e59c8c --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGetSmartCampaignStatusResponse.java @@ -0,0 +1,187 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for SmartCampaignSettingService.GetSmartCampaignStatus. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesGetSmartCampaignStatusResponse extends com.google.api.client.json.GenericJson { + + /** + * Details related to Smart campaigns that are eligible to serve. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesSmartCampaignEligibleDetails eligibleDetails; + + /** + * Details related to Smart campaigns that have ended. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesSmartCampaignEndedDetails endedDetails; + + /** + * Details related to Smart campaigns that are ineligible to serve. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesSmartCampaignNotEligibleDetails notEligibleDetails; + + /** + * Details related to paused Smart campaigns. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesSmartCampaignPausedDetails pausedDetails; + + /** + * Details related to removed Smart campaigns. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesSmartCampaignRemovedDetails removedDetails; + + /** + * The status of this Smart campaign. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String smartCampaignStatus; + + /** + * Details related to Smart campaigns that are eligible to serve. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSmartCampaignEligibleDetails getEligibleDetails() { + return eligibleDetails; + } + + /** + * Details related to Smart campaigns that are eligible to serve. + * @param eligibleDetails eligibleDetails or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGetSmartCampaignStatusResponse setEligibleDetails(GoogleAdsSearchads360V23ServicesSmartCampaignEligibleDetails eligibleDetails) { + this.eligibleDetails = eligibleDetails; + return this; + } + + /** + * Details related to Smart campaigns that have ended. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSmartCampaignEndedDetails getEndedDetails() { + return endedDetails; + } + + /** + * Details related to Smart campaigns that have ended. + * @param endedDetails endedDetails or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGetSmartCampaignStatusResponse setEndedDetails(GoogleAdsSearchads360V23ServicesSmartCampaignEndedDetails endedDetails) { + this.endedDetails = endedDetails; + return this; + } + + /** + * Details related to Smart campaigns that are ineligible to serve. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSmartCampaignNotEligibleDetails getNotEligibleDetails() { + return notEligibleDetails; + } + + /** + * Details related to Smart campaigns that are ineligible to serve. + * @param notEligibleDetails notEligibleDetails or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGetSmartCampaignStatusResponse setNotEligibleDetails(GoogleAdsSearchads360V23ServicesSmartCampaignNotEligibleDetails notEligibleDetails) { + this.notEligibleDetails = notEligibleDetails; + return this; + } + + /** + * Details related to paused Smart campaigns. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSmartCampaignPausedDetails getPausedDetails() { + return pausedDetails; + } + + /** + * Details related to paused Smart campaigns. + * @param pausedDetails pausedDetails or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGetSmartCampaignStatusResponse setPausedDetails(GoogleAdsSearchads360V23ServicesSmartCampaignPausedDetails pausedDetails) { + this.pausedDetails = pausedDetails; + return this; + } + + /** + * Details related to removed Smart campaigns. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSmartCampaignRemovedDetails getRemovedDetails() { + return removedDetails; + } + + /** + * Details related to removed Smart campaigns. + * @param removedDetails removedDetails or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGetSmartCampaignStatusResponse setRemovedDetails(GoogleAdsSearchads360V23ServicesSmartCampaignRemovedDetails removedDetails) { + this.removedDetails = removedDetails; + return this; + } + + /** + * The status of this Smart campaign. + * @return value or {@code null} for none + */ + public java.lang.String getSmartCampaignStatus() { + return smartCampaignStatus; + } + + /** + * The status of this Smart campaign. + * @param smartCampaignStatus smartCampaignStatus or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGetSmartCampaignStatusResponse setSmartCampaignStatus(java.lang.String smartCampaignStatus) { + this.smartCampaignStatus = smartCampaignStatus; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesGetSmartCampaignStatusResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesGetSmartCampaignStatusResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesGetSmartCampaignStatusResponse clone() { + return (GoogleAdsSearchads360V23ServicesGetSmartCampaignStatusResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGoalOperation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGoalOperation.java new file mode 100644 index 00000000000..8bad16ce644 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGoalOperation.java @@ -0,0 +1,115 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A single mutate operation on the goal. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesGoalOperation extends com.google.api.client.json.GenericJson { + + /** + * Create a new goal. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesGoal create; + + /** + * Update an existing goal. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesGoal update; + + /** + * FieldMask that determines which resource fields are modified in an update. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String updateMask; + + /** + * Create a new goal. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesGoal getCreate() { + return create; + } + + /** + * Create a new goal. + * @param create create or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGoalOperation setCreate(GoogleAdsSearchads360V23ResourcesGoal create) { + this.create = create; + return this; + } + + /** + * Update an existing goal. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesGoal getUpdate() { + return update; + } + + /** + * Update an existing goal. + * @param update update or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGoalOperation setUpdate(GoogleAdsSearchads360V23ResourcesGoal update) { + this.update = update; + return this; + } + + /** + * FieldMask that determines which resource fields are modified in an update. + * @return value or {@code null} for none + */ + public String getUpdateMask() { + return updateMask; + } + + /** + * FieldMask that determines which resource fields are modified in an update. + * @param updateMask updateMask or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGoalOperation setUpdateMask(String updateMask) { + this.updateMask = updateMask; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesGoalOperation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesGoalOperation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesGoalOperation clone() { + return (GoogleAdsSearchads360V23ServicesGoalOperation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGraduateExperimentRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGraduateExperimentRequest.java new file mode 100644 index 00000000000..dac42aadc38 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGraduateExperimentRequest.java @@ -0,0 +1,103 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for ExperimentService.GraduateExperiment. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesGraduateExperimentRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. List of campaign budget mappings for graduation. Each campaign that appears here will + * graduate, and will be assigned a new budget that is paired with it in the mapping. The maximum + * size is one. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List campaignBudgetMappings; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesCampaignBudgetMapping used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesCampaignBudgetMapping.class); + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean validateOnly; + + /** + * Required. List of campaign budget mappings for graduation. Each campaign that appears here will + * graduate, and will be assigned a new budget that is paired with it in the mapping. The maximum + * size is one. + * @return value or {@code null} for none + */ + public java.util.List getCampaignBudgetMappings() { + return campaignBudgetMappings; + } + + /** + * Required. List of campaign budget mappings for graduation. Each campaign that appears here will + * graduate, and will be assigned a new budget that is paired with it in the mapping. The maximum + * size is one. + * @param campaignBudgetMappings campaignBudgetMappings or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGraduateExperimentRequest setCampaignBudgetMappings(java.util.List campaignBudgetMappings) { + this.campaignBudgetMappings = campaignBudgetMappings; + return this; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @return value or {@code null} for none + */ + public java.lang.Boolean getValidateOnly() { + return validateOnly; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @param validateOnly validateOnly or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGraduateExperimentRequest setValidateOnly(java.lang.Boolean validateOnly) { + this.validateOnly = validateOnly; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesGraduateExperimentRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesGraduateExperimentRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesGraduateExperimentRequest clone() { + return (GoogleAdsSearchads360V23ServicesGraduateExperimentRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesHotelAssetSuggestion.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesHotelAssetSuggestion.java new file mode 100644 index 00000000000..73b994bfe0d --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesHotelAssetSuggestion.java @@ -0,0 +1,211 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Message containing the asset suggestions for a hotel. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesHotelAssetSuggestion extends com.google.api.client.json.GenericJson { + + /** + * Call to action type. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String callToAction; + + /** + * Suggested final URL for an AssetGroup. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String finalUrl; + + /** + * Hotel name in requested language. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String hotelName; + + /** + * Image assets such as landscape/portrait/square, etc. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List imageAssets; + + /** + * Google Places ID of the hotel. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String placeId; + + /** + * The status of the hotel asset suggestion. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String status; + + /** + * Text assets such as headline, description, etc. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List textAssets; + + /** + * Call to action type. + * @return value or {@code null} for none + */ + public java.lang.String getCallToAction() { + return callToAction; + } + + /** + * Call to action type. + * @param callToAction callToAction or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesHotelAssetSuggestion setCallToAction(java.lang.String callToAction) { + this.callToAction = callToAction; + return this; + } + + /** + * Suggested final URL for an AssetGroup. + * @return value or {@code null} for none + */ + public java.lang.String getFinalUrl() { + return finalUrl; + } + + /** + * Suggested final URL for an AssetGroup. + * @param finalUrl finalUrl or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesHotelAssetSuggestion setFinalUrl(java.lang.String finalUrl) { + this.finalUrl = finalUrl; + return this; + } + + /** + * Hotel name in requested language. + * @return value or {@code null} for none + */ + public java.lang.String getHotelName() { + return hotelName; + } + + /** + * Hotel name in requested language. + * @param hotelName hotelName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesHotelAssetSuggestion setHotelName(java.lang.String hotelName) { + this.hotelName = hotelName; + return this; + } + + /** + * Image assets such as landscape/portrait/square, etc. + * @return value or {@code null} for none + */ + public java.util.List getImageAssets() { + return imageAssets; + } + + /** + * Image assets such as landscape/portrait/square, etc. + * @param imageAssets imageAssets or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesHotelAssetSuggestion setImageAssets(java.util.List imageAssets) { + this.imageAssets = imageAssets; + return this; + } + + /** + * Google Places ID of the hotel. + * @return value or {@code null} for none + */ + public java.lang.String getPlaceId() { + return placeId; + } + + /** + * Google Places ID of the hotel. + * @param placeId placeId or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesHotelAssetSuggestion setPlaceId(java.lang.String placeId) { + this.placeId = placeId; + return this; + } + + /** + * The status of the hotel asset suggestion. + * @return value or {@code null} for none + */ + public java.lang.String getStatus() { + return status; + } + + /** + * The status of the hotel asset suggestion. + * @param status status or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesHotelAssetSuggestion setStatus(java.lang.String status) { + this.status = status; + return this; + } + + /** + * Text assets such as headline, description, etc. + * @return value or {@code null} for none + */ + public java.util.List getTextAssets() { + return textAssets; + } + + /** + * Text assets such as headline, description, etc. + * @param textAssets textAssets or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesHotelAssetSuggestion setTextAssets(java.util.List textAssets) { + this.textAssets = textAssets; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesHotelAssetSuggestion set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesHotelAssetSuggestion) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesHotelAssetSuggestion clone() { + return (GoogleAdsSearchads360V23ServicesHotelAssetSuggestion) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesHotelImageAsset.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesHotelImageAsset.java new file mode 100644 index 00000000000..7c564b5fe5c --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesHotelImageAsset.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A single image asset suggestion for a hotel. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesHotelImageAsset extends com.google.api.client.json.GenericJson { + + /** + * The Image asset type. For example, MARKETING_IMAGE, PORTRAIT_MARKETING_IMAGE, etc. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String assetFieldType; + + /** + * URI for the image. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String uri; + + /** + * The Image asset type. For example, MARKETING_IMAGE, PORTRAIT_MARKETING_IMAGE, etc. + * @return value or {@code null} for none + */ + public java.lang.String getAssetFieldType() { + return assetFieldType; + } + + /** + * The Image asset type. For example, MARKETING_IMAGE, PORTRAIT_MARKETING_IMAGE, etc. + * @param assetFieldType assetFieldType or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesHotelImageAsset setAssetFieldType(java.lang.String assetFieldType) { + this.assetFieldType = assetFieldType; + return this; + } + + /** + * URI for the image. + * @return value or {@code null} for none + */ + public java.lang.String getUri() { + return uri; + } + + /** + * URI for the image. + * @param uri uri or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesHotelImageAsset setUri(java.lang.String uri) { + this.uri = uri; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesHotelImageAsset set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesHotelImageAsset) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesHotelImageAsset clone() { + return (GoogleAdsSearchads360V23ServicesHotelImageAsset) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesHotelTextAsset.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesHotelTextAsset.java new file mode 100644 index 00000000000..5ca750a51ac --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesHotelTextAsset.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A single text asset suggestion for a hotel. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesHotelTextAsset extends com.google.api.client.json.GenericJson { + + /** + * The text asset type. For example, HEADLINE, DESCRIPTION, etc. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String assetFieldType; + + /** + * Asset text in requested language. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String text; + + /** + * The text asset type. For example, HEADLINE, DESCRIPTION, etc. + * @return value or {@code null} for none + */ + public java.lang.String getAssetFieldType() { + return assetFieldType; + } + + /** + * The text asset type. For example, HEADLINE, DESCRIPTION, etc. + * @param assetFieldType assetFieldType or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesHotelTextAsset setAssetFieldType(java.lang.String assetFieldType) { + this.assetFieldType = assetFieldType; + return this; + } + + /** + * Asset text in requested language. + * @return value or {@code null} for none + */ + public java.lang.String getText() { + return text; + } + + /** + * Asset text in requested language. + * @param text text or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesHotelTextAsset setText(java.lang.String text) { + this.text = text; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesHotelTextAsset set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesHotelTextAsset) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesHotelTextAsset clone() { + return (GoogleAdsSearchads360V23ServicesHotelTextAsset) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesIdentityVerification.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesIdentityVerification.java new file mode 100644 index 00000000000..20176c93058 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesIdentityVerification.java @@ -0,0 +1,115 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * An identity verification for a customer. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesIdentityVerification extends com.google.api.client.json.GenericJson { + + /** + * The verification requirement for this verification program for this customer. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesIdentityVerificationRequirement identityVerificationRequirement; + + /** + * The verification program type. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String verificationProgram; + + /** + * Information regarding progress for this verification program for this customer. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesIdentityVerificationProgress verificationProgress; + + /** + * The verification requirement for this verification program for this customer. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesIdentityVerificationRequirement getIdentityVerificationRequirement() { + return identityVerificationRequirement; + } + + /** + * The verification requirement for this verification program for this customer. + * @param identityVerificationRequirement identityVerificationRequirement or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesIdentityVerification setIdentityVerificationRequirement(GoogleAdsSearchads360V23ServicesIdentityVerificationRequirement identityVerificationRequirement) { + this.identityVerificationRequirement = identityVerificationRequirement; + return this; + } + + /** + * The verification program type. + * @return value or {@code null} for none + */ + public java.lang.String getVerificationProgram() { + return verificationProgram; + } + + /** + * The verification program type. + * @param verificationProgram verificationProgram or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesIdentityVerification setVerificationProgram(java.lang.String verificationProgram) { + this.verificationProgram = verificationProgram; + return this; + } + + /** + * Information regarding progress for this verification program for this customer. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesIdentityVerificationProgress getVerificationProgress() { + return verificationProgress; + } + + /** + * Information regarding progress for this verification program for this customer. + * @param verificationProgress verificationProgress or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesIdentityVerification setVerificationProgress(GoogleAdsSearchads360V23ServicesIdentityVerificationProgress verificationProgress) { + this.verificationProgress = verificationProgress; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesIdentityVerification set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesIdentityVerification) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesIdentityVerification clone() { + return (GoogleAdsSearchads360V23ServicesIdentityVerification) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesIdentityVerificationProgress.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesIdentityVerificationProgress.java new file mode 100644 index 00000000000..aff5c828cc4 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesIdentityVerificationProgress.java @@ -0,0 +1,115 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Information regarding the verification progress for a verification program type. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesIdentityVerificationProgress extends com.google.api.client.json.GenericJson { + + /** + * Action URL for user to complete verification for the given verification program type. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String actionUrl; + + /** + * The timestamp when the action url will expire in "yyyy-MM-dd HH:mm:ss" format. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String invitationLinkExpirationTime; + + /** + * Current Status (PENDING_USER_ACTION, SUCCESS, FAILURE etc) + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String programStatus; + + /** + * Action URL for user to complete verification for the given verification program type. + * @return value or {@code null} for none + */ + public java.lang.String getActionUrl() { + return actionUrl; + } + + /** + * Action URL for user to complete verification for the given verification program type. + * @param actionUrl actionUrl or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesIdentityVerificationProgress setActionUrl(java.lang.String actionUrl) { + this.actionUrl = actionUrl; + return this; + } + + /** + * The timestamp when the action url will expire in "yyyy-MM-dd HH:mm:ss" format. + * @return value or {@code null} for none + */ + public java.lang.String getInvitationLinkExpirationTime() { + return invitationLinkExpirationTime; + } + + /** + * The timestamp when the action url will expire in "yyyy-MM-dd HH:mm:ss" format. + * @param invitationLinkExpirationTime invitationLinkExpirationTime or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesIdentityVerificationProgress setInvitationLinkExpirationTime(java.lang.String invitationLinkExpirationTime) { + this.invitationLinkExpirationTime = invitationLinkExpirationTime; + return this; + } + + /** + * Current Status (PENDING_USER_ACTION, SUCCESS, FAILURE etc) + * @return value or {@code null} for none + */ + public java.lang.String getProgramStatus() { + return programStatus; + } + + /** + * Current Status (PENDING_USER_ACTION, SUCCESS, FAILURE etc) + * @param programStatus programStatus or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesIdentityVerificationProgress setProgramStatus(java.lang.String programStatus) { + this.programStatus = programStatus; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesIdentityVerificationProgress set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesIdentityVerificationProgress) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesIdentityVerificationProgress clone() { + return (GoogleAdsSearchads360V23ServicesIdentityVerificationProgress) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesIdentityVerificationRequirement.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesIdentityVerificationRequirement.java new file mode 100644 index 00000000000..37cf75ec15d --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesIdentityVerificationRequirement.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Information regarding the verification requirement for a verification program type. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesIdentityVerificationRequirement extends com.google.api.client.json.GenericJson { + + /** + * The deadline to submit verification. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String verificationCompletionDeadlineTime; + + /** + * The deadline to start verification in "yyyy-MM-dd HH:mm:ss" format. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String verificationStartDeadlineTime; + + /** + * The deadline to submit verification. + * @return value or {@code null} for none + */ + public java.lang.String getVerificationCompletionDeadlineTime() { + return verificationCompletionDeadlineTime; + } + + /** + * The deadline to submit verification. + * @param verificationCompletionDeadlineTime verificationCompletionDeadlineTime or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesIdentityVerificationRequirement setVerificationCompletionDeadlineTime(java.lang.String verificationCompletionDeadlineTime) { + this.verificationCompletionDeadlineTime = verificationCompletionDeadlineTime; + return this; + } + + /** + * The deadline to start verification in "yyyy-MM-dd HH:mm:ss" format. + * @return value or {@code null} for none + */ + public java.lang.String getVerificationStartDeadlineTime() { + return verificationStartDeadlineTime; + } + + /** + * The deadline to start verification in "yyyy-MM-dd HH:mm:ss" format. + * @param verificationStartDeadlineTime verificationStartDeadlineTime or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesIdentityVerificationRequirement setVerificationStartDeadlineTime(java.lang.String verificationStartDeadlineTime) { + this.verificationStartDeadlineTime = verificationStartDeadlineTime; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesIdentityVerificationRequirement set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesIdentityVerificationRequirement) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesIdentityVerificationRequirement clone() { + return (GoogleAdsSearchads360V23ServicesIdentityVerificationRequirement) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesIncentive.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesIncentive.java new file mode 100644 index 00000000000..ec4c6891a5d --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesIncentive.java @@ -0,0 +1,148 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * An incentive that a user can claim for their account. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesIncentive extends com.google.api.client.json.GenericJson { + + /** + * The incentive ID of this incentive. This is used to identify which incentive is selected by the + * user in the CYO flow. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long incentiveId; + + /** + * The URL of the terms and conditions for THIS incentive offer ONLY. This is different from the + * terms_and_conditions_url field in AcquisitionIncentiveOffer which is a combination of all the + * Incentive offers in a CYO offer. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String incentiveTermsAndConditionsUrl; + + /** + * The requirement for this incentive. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesIncentiveRequirement requirement; + + /** + * The type of the incentive. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String type; + + /** + * The incentive ID of this incentive. This is used to identify which incentive is selected by the + * user in the CYO flow. + * @return value or {@code null} for none + */ + public java.lang.Long getIncentiveId() { + return incentiveId; + } + + /** + * The incentive ID of this incentive. This is used to identify which incentive is selected by the + * user in the CYO flow. + * @param incentiveId incentiveId or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesIncentive setIncentiveId(java.lang.Long incentiveId) { + this.incentiveId = incentiveId; + return this; + } + + /** + * The URL of the terms and conditions for THIS incentive offer ONLY. This is different from the + * terms_and_conditions_url field in AcquisitionIncentiveOffer which is a combination of all the + * Incentive offers in a CYO offer. + * @return value or {@code null} for none + */ + public java.lang.String getIncentiveTermsAndConditionsUrl() { + return incentiveTermsAndConditionsUrl; + } + + /** + * The URL of the terms and conditions for THIS incentive offer ONLY. This is different from the + * terms_and_conditions_url field in AcquisitionIncentiveOffer which is a combination of all the + * Incentive offers in a CYO offer. + * @param incentiveTermsAndConditionsUrl incentiveTermsAndConditionsUrl or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesIncentive setIncentiveTermsAndConditionsUrl(java.lang.String incentiveTermsAndConditionsUrl) { + this.incentiveTermsAndConditionsUrl = incentiveTermsAndConditionsUrl; + return this; + } + + /** + * The requirement for this incentive. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesIncentiveRequirement getRequirement() { + return requirement; + } + + /** + * The requirement for this incentive. + * @param requirement requirement or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesIncentive setRequirement(GoogleAdsSearchads360V23ServicesIncentiveRequirement requirement) { + this.requirement = requirement; + return this; + } + + /** + * The type of the incentive. + * @return value or {@code null} for none + */ + public java.lang.String getType() { + return type; + } + + /** + * The type of the incentive. + * @param type type or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesIncentive setType(java.lang.String type) { + this.type = type; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesIncentive set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesIncentive) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesIncentive clone() { + return (GoogleAdsSearchads360V23ServicesIncentive) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesIncentiveOffer.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesIncentiveOffer.java new file mode 100644 index 00000000000..94a310095f2 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesIncentiveOffer.java @@ -0,0 +1,116 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * An acquisition incentive offer for a user. An offer means how the user is treated. An offer can + * have no incentive or multiple incentives. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesIncentiveOffer extends com.google.api.client.json.GenericJson { + + /** + * Optional. The URL of the terms and conditions for the incentive offer. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String consolidatedTermsAndConditionsUrl; + + /** + * CYO incentives. Set when type is CYO_INCENTIVE. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesCyoIncentives cyoIncentives; + + /** + * Required. The type of this acquisition incentive offer. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String type; + + /** + * Optional. The URL of the terms and conditions for the incentive offer. + * @return value or {@code null} for none + */ + public java.lang.String getConsolidatedTermsAndConditionsUrl() { + return consolidatedTermsAndConditionsUrl; + } + + /** + * Optional. The URL of the terms and conditions for the incentive offer. + * @param consolidatedTermsAndConditionsUrl consolidatedTermsAndConditionsUrl or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesIncentiveOffer setConsolidatedTermsAndConditionsUrl(java.lang.String consolidatedTermsAndConditionsUrl) { + this.consolidatedTermsAndConditionsUrl = consolidatedTermsAndConditionsUrl; + return this; + } + + /** + * CYO incentives. Set when type is CYO_INCENTIVE. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCyoIncentives getCyoIncentives() { + return cyoIncentives; + } + + /** + * CYO incentives. Set when type is CYO_INCENTIVE. + * @param cyoIncentives cyoIncentives or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesIncentiveOffer setCyoIncentives(GoogleAdsSearchads360V23ServicesCyoIncentives cyoIncentives) { + this.cyoIncentives = cyoIncentives; + return this; + } + + /** + * Required. The type of this acquisition incentive offer. + * @return value or {@code null} for none + */ + public java.lang.String getType() { + return type; + } + + /** + * Required. The type of this acquisition incentive offer. + * @param type type or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesIncentiveOffer setType(java.lang.String type) { + this.type = type; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesIncentiveOffer set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesIncentiveOffer) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesIncentiveOffer clone() { + return (GoogleAdsSearchads360V23ServicesIncentiveOffer) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesIncentiveRequirement.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesIncentiveRequirement.java new file mode 100644 index 00000000000..7e7e3635503 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesIncentiveRequirement.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Requirement for an incentive. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesIncentiveRequirement extends com.google.api.client.json.GenericJson { + + /** + * Optional. Spend requirement for an incentive. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesIncentiveRequirementSpend spend; + + /** + * Optional. Spend requirement for an incentive. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesIncentiveRequirementSpend getSpend() { + return spend; + } + + /** + * Optional. Spend requirement for an incentive. + * @param spend spend or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesIncentiveRequirement setSpend(GoogleAdsSearchads360V23ServicesIncentiveRequirementSpend spend) { + this.spend = spend; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesIncentiveRequirement set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesIncentiveRequirement) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesIncentiveRequirement clone() { + return (GoogleAdsSearchads360V23ServicesIncentiveRequirement) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesIncentiveRequirementSpend.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesIncentiveRequirementSpend.java new file mode 100644 index 00000000000..3bcafd417eb --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesIncentiveRequirementSpend.java @@ -0,0 +1,97 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Spend requirements for an incentive. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesIncentiveRequirementSpend extends com.google.api.client.json.GenericJson { + + /** + * Required. Amount in free spend that user will be granted after spending target amount. + * Denominated in the currency of the country passed in the get request. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleTypeMoney awardAmount; + + /** + * Required. Amount that user must spend to receive the award amount. Denominated in the currency + * of the country passed in the get request. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleTypeMoney requiredAmount; + + /** + * Required. Amount in free spend that user will be granted after spending target amount. + * Denominated in the currency of the country passed in the get request. + * @return value or {@code null} for none + */ + public GoogleTypeMoney getAwardAmount() { + return awardAmount; + } + + /** + * Required. Amount in free spend that user will be granted after spending target amount. + * Denominated in the currency of the country passed in the get request. + * @param awardAmount awardAmount or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesIncentiveRequirementSpend setAwardAmount(GoogleTypeMoney awardAmount) { + this.awardAmount = awardAmount; + return this; + } + + /** + * Required. Amount that user must spend to receive the award amount. Denominated in the currency + * of the country passed in the get request. + * @return value or {@code null} for none + */ + public GoogleTypeMoney getRequiredAmount() { + return requiredAmount; + } + + /** + * Required. Amount that user must spend to receive the award amount. Denominated in the currency + * of the country passed in the get request. + * @param requiredAmount requiredAmount or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesIncentiveRequirementSpend setRequiredAmount(GoogleTypeMoney requiredAmount) { + this.requiredAmount = requiredAmount; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesIncentiveRequirementSpend set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesIncentiveRequirementSpend) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesIncentiveRequirementSpend clone() { + return (GoogleAdsSearchads360V23ServicesIncentiveRequirementSpend) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesIndustryVerticalInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesIndustryVerticalInfo.java new file mode 100644 index 00000000000..8bf5b2dd532 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesIndustryVerticalInfo.java @@ -0,0 +1,115 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The information associated with an Industry Vertical. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesIndustryVerticalInfo extends com.google.api.client.json.GenericJson { + + /** + * The unique identifier of the Industry Vertical. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long industryVerticalId; + + /** + * The name of the Industry Vertical. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String industryVerticalName; + + /** + * The unique identifier of the parent Industry Vertical, if exists. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long parentIndustryVerticalId; + + /** + * The unique identifier of the Industry Vertical. + * @return value or {@code null} for none + */ + public java.lang.Long getIndustryVerticalId() { + return industryVerticalId; + } + + /** + * The unique identifier of the Industry Vertical. + * @param industryVerticalId industryVerticalId or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesIndustryVerticalInfo setIndustryVerticalId(java.lang.Long industryVerticalId) { + this.industryVerticalId = industryVerticalId; + return this; + } + + /** + * The name of the Industry Vertical. + * @return value or {@code null} for none + */ + public java.lang.String getIndustryVerticalName() { + return industryVerticalName; + } + + /** + * The name of the Industry Vertical. + * @param industryVerticalName industryVerticalName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesIndustryVerticalInfo setIndustryVerticalName(java.lang.String industryVerticalName) { + this.industryVerticalName = industryVerticalName; + return this; + } + + /** + * The unique identifier of the parent Industry Vertical, if exists. + * @return value or {@code null} for none + */ + public java.lang.Long getParentIndustryVerticalId() { + return parentIndustryVerticalId; + } + + /** + * The unique identifier of the parent Industry Vertical, if exists. + * @param parentIndustryVerticalId parentIndustryVerticalId or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesIndustryVerticalInfo setParentIndustryVerticalId(java.lang.Long parentIndustryVerticalId) { + this.parentIndustryVerticalId = parentIndustryVerticalId; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesIndustryVerticalInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesIndustryVerticalInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesIndustryVerticalInfo clone() { + return (GoogleAdsSearchads360V23ServicesIndustryVerticalInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesInsightsAudience.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesInsightsAudience.java new file mode 100644 index 00000000000..cdd68b5f041 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesInsightsAudience.java @@ -0,0 +1,314 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A set of users, defined by various characteristics, for which insights can be requested in + * AudienceInsightsService. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesInsightsAudience extends com.google.api.client.json.GenericJson { + + /** + * Age ranges for the audience. If absent, the audience represents all people over 18 that match + * the other attributes. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List ageRanges; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonAgeRangeInfo used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonAgeRangeInfo.class); + } + + /** + * Required. The countries for the audience. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List countryLocations; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonLocationInfo used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonLocationInfo.class); + } + + /** + * Gender for the audience. If absent, the audience does not restrict by gender. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonGenderInfo gender; + + /** + * Household income percentile ranges for the audience. If absent, the audience does not restrict + * by household income range. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List incomeRanges; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonIncomeRangeInfo used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonIncomeRangeInfo.class); + } + + /** + * Lineups representing the YouTube content viewed by the audience. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List lineups; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonAudienceInsightsLineup used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonAudienceInsightsLineup.class); + } + + /** + * Parental status for the audience. If absent, the audience does not restrict by parental status. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonParentalStatusInfo parentalStatus; + + /** + * Sub-country geographic location attributes. If present, each of these must be contained in one + * of the countries in this audience. If absent, the audience is geographically to the + * country_locations and no further. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List subCountryLocations; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonLocationInfo used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonLocationInfo.class); + } + + /** + * A combination of entity, category and user interest attributes defining the audience. The + * combination has a logical AND-of-ORs structure: Attributes within each + * InsightsAudienceAttributeGroup are combined with OR, and the combinations themselves are + * combined together with AND. For example, the expression (Entity OR Affinity) AND (In-Market OR + * Category) can be formed using two InsightsAudienceAttributeGroups with two Attributes each. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List topicAudienceCombinations; + + /** + * User list to be targeted by the audience. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonUserListInfo userList; + + /** + * Age ranges for the audience. If absent, the audience represents all people over 18 that match + * the other attributes. + * @return value or {@code null} for none + */ + public java.util.List getAgeRanges() { + return ageRanges; + } + + /** + * Age ranges for the audience. If absent, the audience represents all people over 18 that match + * the other attributes. + * @param ageRanges ageRanges or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesInsightsAudience setAgeRanges(java.util.List ageRanges) { + this.ageRanges = ageRanges; + return this; + } + + /** + * Required. The countries for the audience. + * @return value or {@code null} for none + */ + public java.util.List getCountryLocations() { + return countryLocations; + } + + /** + * Required. The countries for the audience. + * @param countryLocations countryLocations or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesInsightsAudience setCountryLocations(java.util.List countryLocations) { + this.countryLocations = countryLocations; + return this; + } + + /** + * Gender for the audience. If absent, the audience does not restrict by gender. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonGenderInfo getGender() { + return gender; + } + + /** + * Gender for the audience. If absent, the audience does not restrict by gender. + * @param gender gender or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesInsightsAudience setGender(GoogleAdsSearchads360V23CommonGenderInfo gender) { + this.gender = gender; + return this; + } + + /** + * Household income percentile ranges for the audience. If absent, the audience does not restrict + * by household income range. + * @return value or {@code null} for none + */ + public java.util.List getIncomeRanges() { + return incomeRanges; + } + + /** + * Household income percentile ranges for the audience. If absent, the audience does not restrict + * by household income range. + * @param incomeRanges incomeRanges or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesInsightsAudience setIncomeRanges(java.util.List incomeRanges) { + this.incomeRanges = incomeRanges; + return this; + } + + /** + * Lineups representing the YouTube content viewed by the audience. + * @return value or {@code null} for none + */ + public java.util.List getLineups() { + return lineups; + } + + /** + * Lineups representing the YouTube content viewed by the audience. + * @param lineups lineups or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesInsightsAudience setLineups(java.util.List lineups) { + this.lineups = lineups; + return this; + } + + /** + * Parental status for the audience. If absent, the audience does not restrict by parental status. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonParentalStatusInfo getParentalStatus() { + return parentalStatus; + } + + /** + * Parental status for the audience. If absent, the audience does not restrict by parental status. + * @param parentalStatus parentalStatus or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesInsightsAudience setParentalStatus(GoogleAdsSearchads360V23CommonParentalStatusInfo parentalStatus) { + this.parentalStatus = parentalStatus; + return this; + } + + /** + * Sub-country geographic location attributes. If present, each of these must be contained in one + * of the countries in this audience. If absent, the audience is geographically to the + * country_locations and no further. + * @return value or {@code null} for none + */ + public java.util.List getSubCountryLocations() { + return subCountryLocations; + } + + /** + * Sub-country geographic location attributes. If present, each of these must be contained in one + * of the countries in this audience. If absent, the audience is geographically to the + * country_locations and no further. + * @param subCountryLocations subCountryLocations or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesInsightsAudience setSubCountryLocations(java.util.List subCountryLocations) { + this.subCountryLocations = subCountryLocations; + return this; + } + + /** + * A combination of entity, category and user interest attributes defining the audience. The + * combination has a logical AND-of-ORs structure: Attributes within each + * InsightsAudienceAttributeGroup are combined with OR, and the combinations themselves are + * combined together with AND. For example, the expression (Entity OR Affinity) AND (In-Market OR + * Category) can be formed using two InsightsAudienceAttributeGroups with two Attributes each. + * @return value or {@code null} for none + */ + public java.util.List getTopicAudienceCombinations() { + return topicAudienceCombinations; + } + + /** + * A combination of entity, category and user interest attributes defining the audience. The + * combination has a logical AND-of-ORs structure: Attributes within each + * InsightsAudienceAttributeGroup are combined with OR, and the combinations themselves are + * combined together with AND. For example, the expression (Entity OR Affinity) AND (In-Market OR + * Category) can be formed using two InsightsAudienceAttributeGroups with two Attributes each. + * @param topicAudienceCombinations topicAudienceCombinations or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesInsightsAudience setTopicAudienceCombinations(java.util.List topicAudienceCombinations) { + this.topicAudienceCombinations = topicAudienceCombinations; + return this; + } + + /** + * User list to be targeted by the audience. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUserListInfo getUserList() { + return userList; + } + + /** + * User list to be targeted by the audience. + * @param userList userList or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesInsightsAudience setUserList(GoogleAdsSearchads360V23CommonUserListInfo userList) { + this.userList = userList; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesInsightsAudience set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesInsightsAudience) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesInsightsAudience clone() { + return (GoogleAdsSearchads360V23ServicesInsightsAudience) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesInsightsAudienceAttributeGroup.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesInsightsAudienceAttributeGroup.java new file mode 100644 index 00000000000..dcaeea448e5 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesInsightsAudienceAttributeGroup.java @@ -0,0 +1,79 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A list of AudienceInsightsAttributes. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesInsightsAudienceAttributeGroup extends com.google.api.client.json.GenericJson { + + /** + * Required. A collection of audience attributes to be combined with logical OR. Attributes need + * not all be the same dimension. Only Knowledge Graph entities, Product & Service Categories, and + * Affinity and In-Market audiences are supported in this context. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List attributes; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonAudienceInsightsAttribute used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonAudienceInsightsAttribute.class); + } + + /** + * Required. A collection of audience attributes to be combined with logical OR. Attributes need + * not all be the same dimension. Only Knowledge Graph entities, Product & Service Categories, and + * Affinity and In-Market audiences are supported in this context. + * @return value or {@code null} for none + */ + public java.util.List getAttributes() { + return attributes; + } + + /** + * Required. A collection of audience attributes to be combined with logical OR. Attributes need + * not all be the same dimension. Only Knowledge Graph entities, Product & Service Categories, and + * Affinity and In-Market audiences are supported in this context. + * @param attributes attributes or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesInsightsAudienceAttributeGroup setAttributes(java.util.List attributes) { + this.attributes = attributes; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesInsightsAudienceAttributeGroup set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesInsightsAudienceAttributeGroup) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesInsightsAudienceAttributeGroup clone() { + return (GoogleAdsSearchads360V23ServicesInsightsAudienceAttributeGroup) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesInsightsAudienceDefinition.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesInsightsAudienceDefinition.java new file mode 100644 index 00000000000..f98cf72473d --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesInsightsAudienceDefinition.java @@ -0,0 +1,122 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A structured definition of the audience of interest for which insights are being requested in + * AudienceInsightsService. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesInsightsAudienceDefinition extends com.google.api.client.json.GenericJson { + + /** + * Required. The audience of interest for which insights are being requested. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesInsightsAudience audience; + + /** + * Optional. The baseline audience. The default, if unspecified, is all people in the same country + * as the audience of interest. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesInsightsAudience baselineAudience; + + /** + * Optional. The one-month range of historical data to use for insights, in the format "yyyy-mm". + * If unset, insights will be returned for the last thirty days of data. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String dataMonth; + + /** + * Required. The audience of interest for which insights are being requested. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesInsightsAudience getAudience() { + return audience; + } + + /** + * Required. The audience of interest for which insights are being requested. + * @param audience audience or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesInsightsAudienceDefinition setAudience(GoogleAdsSearchads360V23ServicesInsightsAudience audience) { + this.audience = audience; + return this; + } + + /** + * Optional. The baseline audience. The default, if unspecified, is all people in the same country + * as the audience of interest. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesInsightsAudience getBaselineAudience() { + return baselineAudience; + } + + /** + * Optional. The baseline audience. The default, if unspecified, is all people in the same country + * as the audience of interest. + * @param baselineAudience baselineAudience or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesInsightsAudienceDefinition setBaselineAudience(GoogleAdsSearchads360V23ServicesInsightsAudience baselineAudience) { + this.baselineAudience = baselineAudience; + return this; + } + + /** + * Optional. The one-month range of historical data to use for insights, in the format "yyyy-mm". + * If unset, insights will be returned for the last thirty days of data. + * @return value or {@code null} for none + */ + public java.lang.String getDataMonth() { + return dataMonth; + } + + /** + * Optional. The one-month range of historical data to use for insights, in the format "yyyy-mm". + * If unset, insights will be returned for the last thirty days of data. + * @param dataMonth dataMonth or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesInsightsAudienceDefinition setDataMonth(java.lang.String dataMonth) { + this.dataMonth = dataMonth; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesInsightsAudienceDefinition set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesInsightsAudienceDefinition) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesInsightsAudienceDefinition clone() { + return (GoogleAdsSearchads360V23ServicesInsightsAudienceDefinition) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesInsightsAudienceDescription.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesInsightsAudienceDescription.java new file mode 100644 index 00000000000..88ce9b4004f --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesInsightsAudienceDescription.java @@ -0,0 +1,152 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A text description of the audience of interest for which insights are being requested in + * AudienceInsightsService. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesInsightsAudienceDescription extends com.google.api.client.json.GenericJson { + + /** + * Required. An English language text description of an audience to get suggestions for. Maximum + * length is 2000 characters. For example, "Women in their 30s who love to travel". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String audienceDescription; + + /** + * Optional. An optional list of audience dimensions to return. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesAudienceInsightsDimensions audienceDimensions; + + /** + * Required. The countries for the audience. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List countryLocations; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonLocationInfo used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonLocationInfo.class); + } + + /** + * Optional. An optional marketing objective which will influence the type of suggestions + * produced. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String marketingObjective; + + /** + * Required. An English language text description of an audience to get suggestions for. Maximum + * length is 2000 characters. For example, "Women in their 30s who love to travel". + * @return value or {@code null} for none + */ + public java.lang.String getAudienceDescription() { + return audienceDescription; + } + + /** + * Required. An English language text description of an audience to get suggestions for. Maximum + * length is 2000 characters. For example, "Women in their 30s who love to travel". + * @param audienceDescription audienceDescription or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesInsightsAudienceDescription setAudienceDescription(java.lang.String audienceDescription) { + this.audienceDescription = audienceDescription; + return this; + } + + /** + * Optional. An optional list of audience dimensions to return. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAudienceInsightsDimensions getAudienceDimensions() { + return audienceDimensions; + } + + /** + * Optional. An optional list of audience dimensions to return. + * @param audienceDimensions audienceDimensions or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesInsightsAudienceDescription setAudienceDimensions(GoogleAdsSearchads360V23ServicesAudienceInsightsDimensions audienceDimensions) { + this.audienceDimensions = audienceDimensions; + return this; + } + + /** + * Required. The countries for the audience. + * @return value or {@code null} for none + */ + public java.util.List getCountryLocations() { + return countryLocations; + } + + /** + * Required. The countries for the audience. + * @param countryLocations countryLocations or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesInsightsAudienceDescription setCountryLocations(java.util.List countryLocations) { + this.countryLocations = countryLocations; + return this; + } + + /** + * Optional. An optional marketing objective which will influence the type of suggestions + * produced. + * @return value or {@code null} for none + */ + public java.lang.String getMarketingObjective() { + return marketingObjective; + } + + /** + * Optional. An optional marketing objective which will influence the type of suggestions + * produced. + * @param marketingObjective marketingObjective or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesInsightsAudienceDescription setMarketingObjective(java.lang.String marketingObjective) { + this.marketingObjective = marketingObjective; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesInsightsAudienceDescription set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesInsightsAudienceDescription) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesInsightsAudienceDescription clone() { + return (GoogleAdsSearchads360V23ServicesInsightsAudienceDescription) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesKeywordAndUrlSeed.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesKeywordAndUrlSeed.java new file mode 100644 index 00000000000..daffeedb29c --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesKeywordAndUrlSeed.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Keyword And Url Seed + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesKeywordAndUrlSeed extends com.google.api.client.json.GenericJson { + + /** + * Requires at least one keyword and no more than 20 keywords. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List keywords; + + /** + * The URL to crawl in order to generate keyword ideas. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String url; + + /** + * Requires at least one keyword and no more than 20 keywords. + * @return value or {@code null} for none + */ + public java.util.List getKeywords() { + return keywords; + } + + /** + * Requires at least one keyword and no more than 20 keywords. + * @param keywords keywords or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesKeywordAndUrlSeed setKeywords(java.util.List keywords) { + this.keywords = keywords; + return this; + } + + /** + * The URL to crawl in order to generate keyword ideas. + * @return value or {@code null} for none + */ + public java.lang.String getUrl() { + return url; + } + + /** + * The URL to crawl in order to generate keyword ideas. + * @param url url or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesKeywordAndUrlSeed setUrl(java.lang.String url) { + this.url = url; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesKeywordAndUrlSeed set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesKeywordAndUrlSeed) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesKeywordAndUrlSeed clone() { + return (GoogleAdsSearchads360V23ServicesKeywordAndUrlSeed) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesKeywordForecastMetrics.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesKeywordForecastMetrics.java new file mode 100644 index 00000000000..bff5029a27f --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesKeywordForecastMetrics.java @@ -0,0 +1,235 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The forecast metrics for the planless keyword campaign. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesKeywordForecastMetrics extends com.google.api.client.json.GenericJson { + + /** + * Average cost per acquisition calculated as cost_micros / conversions. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long averageCpaMicros; + + /** + * The average cpc. Available only if clicks > 0. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long averageCpcMicros; + + /** + * The average click through rate. Available only if impressions > 0. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double clickThroughRate; + + /** + * The total number of clicks. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double clicks; + + /** + * Forecasted conversion rate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double conversionRate; + + /** + * Forecasted number of conversions: clicks * conversion_rate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double conversions; + + /** + * The total cost. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long costMicros; + + /** + * The total number of impressions. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double impressions; + + /** + * Average cost per acquisition calculated as cost_micros / conversions. + * @return value or {@code null} for none + */ + public java.lang.Long getAverageCpaMicros() { + return averageCpaMicros; + } + + /** + * Average cost per acquisition calculated as cost_micros / conversions. + * @param averageCpaMicros averageCpaMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesKeywordForecastMetrics setAverageCpaMicros(java.lang.Long averageCpaMicros) { + this.averageCpaMicros = averageCpaMicros; + return this; + } + + /** + * The average cpc. Available only if clicks > 0. + * @return value or {@code null} for none + */ + public java.lang.Long getAverageCpcMicros() { + return averageCpcMicros; + } + + /** + * The average cpc. Available only if clicks > 0. + * @param averageCpcMicros averageCpcMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesKeywordForecastMetrics setAverageCpcMicros(java.lang.Long averageCpcMicros) { + this.averageCpcMicros = averageCpcMicros; + return this; + } + + /** + * The average click through rate. Available only if impressions > 0. + * @return value or {@code null} for none + */ + public java.lang.Double getClickThroughRate() { + return clickThroughRate; + } + + /** + * The average click through rate. Available only if impressions > 0. + * @param clickThroughRate clickThroughRate or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesKeywordForecastMetrics setClickThroughRate(java.lang.Double clickThroughRate) { + this.clickThroughRate = clickThroughRate; + return this; + } + + /** + * The total number of clicks. + * @return value or {@code null} for none + */ + public java.lang.Double getClicks() { + return clicks; + } + + /** + * The total number of clicks. + * @param clicks clicks or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesKeywordForecastMetrics setClicks(java.lang.Double clicks) { + this.clicks = clicks; + return this; + } + + /** + * Forecasted conversion rate. + * @return value or {@code null} for none + */ + public java.lang.Double getConversionRate() { + return conversionRate; + } + + /** + * Forecasted conversion rate. + * @param conversionRate conversionRate or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesKeywordForecastMetrics setConversionRate(java.lang.Double conversionRate) { + this.conversionRate = conversionRate; + return this; + } + + /** + * Forecasted number of conversions: clicks * conversion_rate. + * @return value or {@code null} for none + */ + public java.lang.Double getConversions() { + return conversions; + } + + /** + * Forecasted number of conversions: clicks * conversion_rate. + * @param conversions conversions or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesKeywordForecastMetrics setConversions(java.lang.Double conversions) { + this.conversions = conversions; + return this; + } + + /** + * The total cost. + * @return value or {@code null} for none + */ + public java.lang.Long getCostMicros() { + return costMicros; + } + + /** + * The total cost. + * @param costMicros costMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesKeywordForecastMetrics setCostMicros(java.lang.Long costMicros) { + this.costMicros = costMicros; + return this; + } + + /** + * The total number of impressions. + * @return value or {@code null} for none + */ + public java.lang.Double getImpressions() { + return impressions; + } + + /** + * The total number of impressions. + * @param impressions impressions or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesKeywordForecastMetrics setImpressions(java.lang.Double impressions) { + this.impressions = impressions; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesKeywordForecastMetrics set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesKeywordForecastMetrics) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesKeywordForecastMetrics clone() { + return (GoogleAdsSearchads360V23ServicesKeywordForecastMetrics) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesKeywordPlanAdGroupKeywordOperation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesKeywordPlanAdGroupKeywordOperation.java new file mode 100644 index 00000000000..23379e2d260 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesKeywordPlanAdGroupKeywordOperation.java @@ -0,0 +1,142 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A single operation (create, update, remove) on a Keyword Plan ad group keyword. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesKeywordPlanAdGroupKeywordOperation extends com.google.api.client.json.GenericJson { + + /** + * Create operation: No resource name is expected for the new Keyword Plan ad group keyword. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesKeywordPlanAdGroupKeyword create; + + /** + * Remove operation: A resource name for the removed Keyword Plan ad group keyword is expected, in + * this format: `customers/{customer_id}/keywordPlanAdGroupKeywords/{kp_ad_group_keyword_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String remove; + + /** + * Update operation: The Keyword Plan ad group keyword is expected to have a valid resource name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesKeywordPlanAdGroupKeyword update; + + /** + * The FieldMask that determines which resource fields are modified in an update. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String updateMask; + + /** + * Create operation: No resource name is expected for the new Keyword Plan ad group keyword. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesKeywordPlanAdGroupKeyword getCreate() { + return create; + } + + /** + * Create operation: No resource name is expected for the new Keyword Plan ad group keyword. + * @param create create or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesKeywordPlanAdGroupKeywordOperation setCreate(GoogleAdsSearchads360V23ResourcesKeywordPlanAdGroupKeyword create) { + this.create = create; + return this; + } + + /** + * Remove operation: A resource name for the removed Keyword Plan ad group keyword is expected, in + * this format: `customers/{customer_id}/keywordPlanAdGroupKeywords/{kp_ad_group_keyword_id}` + * @return value or {@code null} for none + */ + public java.lang.String getRemove() { + return remove; + } + + /** + * Remove operation: A resource name for the removed Keyword Plan ad group keyword is expected, in + * this format: `customers/{customer_id}/keywordPlanAdGroupKeywords/{kp_ad_group_keyword_id}` + * @param remove remove or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesKeywordPlanAdGroupKeywordOperation setRemove(java.lang.String remove) { + this.remove = remove; + return this; + } + + /** + * Update operation: The Keyword Plan ad group keyword is expected to have a valid resource name. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesKeywordPlanAdGroupKeyword getUpdate() { + return update; + } + + /** + * Update operation: The Keyword Plan ad group keyword is expected to have a valid resource name. + * @param update update or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesKeywordPlanAdGroupKeywordOperation setUpdate(GoogleAdsSearchads360V23ResourcesKeywordPlanAdGroupKeyword update) { + this.update = update; + return this; + } + + /** + * The FieldMask that determines which resource fields are modified in an update. + * @return value or {@code null} for none + */ + public String getUpdateMask() { + return updateMask; + } + + /** + * The FieldMask that determines which resource fields are modified in an update. + * @param updateMask updateMask or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesKeywordPlanAdGroupKeywordOperation setUpdateMask(String updateMask) { + this.updateMask = updateMask; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesKeywordPlanAdGroupKeywordOperation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesKeywordPlanAdGroupKeywordOperation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesKeywordPlanAdGroupKeywordOperation clone() { + return (GoogleAdsSearchads360V23ServicesKeywordPlanAdGroupKeywordOperation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesKeywordPlanAdGroupOperation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesKeywordPlanAdGroupOperation.java new file mode 100644 index 00000000000..fd2ad15afb6 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesKeywordPlanAdGroupOperation.java @@ -0,0 +1,142 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A single operation (create, update, remove) on a Keyword Plan ad group. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesKeywordPlanAdGroupOperation extends com.google.api.client.json.GenericJson { + + /** + * Create operation: No resource name is expected for the new Keyword Plan ad group. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesKeywordPlanAdGroup create; + + /** + * Remove operation: A resource name for the removed Keyword Plan ad group is expected, in this + * format: `customers/{customer_id}/keywordPlanAdGroups/{kp_ad_group_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String remove; + + /** + * Update operation: The Keyword Plan ad group is expected to have a valid resource name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesKeywordPlanAdGroup update; + + /** + * The FieldMask that determines which resource fields are modified in an update. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String updateMask; + + /** + * Create operation: No resource name is expected for the new Keyword Plan ad group. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesKeywordPlanAdGroup getCreate() { + return create; + } + + /** + * Create operation: No resource name is expected for the new Keyword Plan ad group. + * @param create create or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesKeywordPlanAdGroupOperation setCreate(GoogleAdsSearchads360V23ResourcesKeywordPlanAdGroup create) { + this.create = create; + return this; + } + + /** + * Remove operation: A resource name for the removed Keyword Plan ad group is expected, in this + * format: `customers/{customer_id}/keywordPlanAdGroups/{kp_ad_group_id}` + * @return value or {@code null} for none + */ + public java.lang.String getRemove() { + return remove; + } + + /** + * Remove operation: A resource name for the removed Keyword Plan ad group is expected, in this + * format: `customers/{customer_id}/keywordPlanAdGroups/{kp_ad_group_id}` + * @param remove remove or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesKeywordPlanAdGroupOperation setRemove(java.lang.String remove) { + this.remove = remove; + return this; + } + + /** + * Update operation: The Keyword Plan ad group is expected to have a valid resource name. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesKeywordPlanAdGroup getUpdate() { + return update; + } + + /** + * Update operation: The Keyword Plan ad group is expected to have a valid resource name. + * @param update update or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesKeywordPlanAdGroupOperation setUpdate(GoogleAdsSearchads360V23ResourcesKeywordPlanAdGroup update) { + this.update = update; + return this; + } + + /** + * The FieldMask that determines which resource fields are modified in an update. + * @return value or {@code null} for none + */ + public String getUpdateMask() { + return updateMask; + } + + /** + * The FieldMask that determines which resource fields are modified in an update. + * @param updateMask updateMask or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesKeywordPlanAdGroupOperation setUpdateMask(String updateMask) { + this.updateMask = updateMask; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesKeywordPlanAdGroupOperation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesKeywordPlanAdGroupOperation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesKeywordPlanAdGroupOperation clone() { + return (GoogleAdsSearchads360V23ServicesKeywordPlanAdGroupOperation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesKeywordPlanCampaignKeywordOperation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesKeywordPlanCampaignKeywordOperation.java new file mode 100644 index 00000000000..1b54d207e1e --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesKeywordPlanCampaignKeywordOperation.java @@ -0,0 +1,142 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A single operation (create, update, remove) on a Keyword Plan campaign keyword. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesKeywordPlanCampaignKeywordOperation extends com.google.api.client.json.GenericJson { + + /** + * Create operation: No resource name is expected for the new Keyword Plan campaign keyword. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesKeywordPlanCampaignKeyword create; + + /** + * Remove operation: A resource name for the removed Keyword Plan campaign keywords expected in + * this format: `customers/{customer_id}/keywordPlanCampaignKeywords/{kp_campaign_keyword_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String remove; + + /** + * Update operation: The Keyword Plan campaign keyword expected to have a valid resource name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesKeywordPlanCampaignKeyword update; + + /** + * The FieldMask that determines which resource fields are modified in an update. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String updateMask; + + /** + * Create operation: No resource name is expected for the new Keyword Plan campaign keyword. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesKeywordPlanCampaignKeyword getCreate() { + return create; + } + + /** + * Create operation: No resource name is expected for the new Keyword Plan campaign keyword. + * @param create create or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesKeywordPlanCampaignKeywordOperation setCreate(GoogleAdsSearchads360V23ResourcesKeywordPlanCampaignKeyword create) { + this.create = create; + return this; + } + + /** + * Remove operation: A resource name for the removed Keyword Plan campaign keywords expected in + * this format: `customers/{customer_id}/keywordPlanCampaignKeywords/{kp_campaign_keyword_id}` + * @return value or {@code null} for none + */ + public java.lang.String getRemove() { + return remove; + } + + /** + * Remove operation: A resource name for the removed Keyword Plan campaign keywords expected in + * this format: `customers/{customer_id}/keywordPlanCampaignKeywords/{kp_campaign_keyword_id}` + * @param remove remove or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesKeywordPlanCampaignKeywordOperation setRemove(java.lang.String remove) { + this.remove = remove; + return this; + } + + /** + * Update operation: The Keyword Plan campaign keyword expected to have a valid resource name. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesKeywordPlanCampaignKeyword getUpdate() { + return update; + } + + /** + * Update operation: The Keyword Plan campaign keyword expected to have a valid resource name. + * @param update update or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesKeywordPlanCampaignKeywordOperation setUpdate(GoogleAdsSearchads360V23ResourcesKeywordPlanCampaignKeyword update) { + this.update = update; + return this; + } + + /** + * The FieldMask that determines which resource fields are modified in an update. + * @return value or {@code null} for none + */ + public String getUpdateMask() { + return updateMask; + } + + /** + * The FieldMask that determines which resource fields are modified in an update. + * @param updateMask updateMask or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesKeywordPlanCampaignKeywordOperation setUpdateMask(String updateMask) { + this.updateMask = updateMask; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesKeywordPlanCampaignKeywordOperation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesKeywordPlanCampaignKeywordOperation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesKeywordPlanCampaignKeywordOperation clone() { + return (GoogleAdsSearchads360V23ServicesKeywordPlanCampaignKeywordOperation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesKeywordPlanCampaignOperation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesKeywordPlanCampaignOperation.java new file mode 100644 index 00000000000..4ac57300997 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesKeywordPlanCampaignOperation.java @@ -0,0 +1,142 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A single operation (create, update, remove) on a Keyword Plan campaign. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesKeywordPlanCampaignOperation extends com.google.api.client.json.GenericJson { + + /** + * Create operation: No resource name is expected for the new Keyword Plan campaign. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesKeywordPlanCampaign create; + + /** + * Remove operation: A resource name for the removed Keyword Plan campaign is expected, in this + * format: `customers/{customer_id}/keywordPlanCampaigns/{keywordPlan_campaign_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String remove; + + /** + * Update operation: The Keyword Plan campaign is expected to have a valid resource name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesKeywordPlanCampaign update; + + /** + * The FieldMask that determines which resource fields are modified in an update. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String updateMask; + + /** + * Create operation: No resource name is expected for the new Keyword Plan campaign. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesKeywordPlanCampaign getCreate() { + return create; + } + + /** + * Create operation: No resource name is expected for the new Keyword Plan campaign. + * @param create create or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesKeywordPlanCampaignOperation setCreate(GoogleAdsSearchads360V23ResourcesKeywordPlanCampaign create) { + this.create = create; + return this; + } + + /** + * Remove operation: A resource name for the removed Keyword Plan campaign is expected, in this + * format: `customers/{customer_id}/keywordPlanCampaigns/{keywordPlan_campaign_id}` + * @return value or {@code null} for none + */ + public java.lang.String getRemove() { + return remove; + } + + /** + * Remove operation: A resource name for the removed Keyword Plan campaign is expected, in this + * format: `customers/{customer_id}/keywordPlanCampaigns/{keywordPlan_campaign_id}` + * @param remove remove or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesKeywordPlanCampaignOperation setRemove(java.lang.String remove) { + this.remove = remove; + return this; + } + + /** + * Update operation: The Keyword Plan campaign is expected to have a valid resource name. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesKeywordPlanCampaign getUpdate() { + return update; + } + + /** + * Update operation: The Keyword Plan campaign is expected to have a valid resource name. + * @param update update or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesKeywordPlanCampaignOperation setUpdate(GoogleAdsSearchads360V23ResourcesKeywordPlanCampaign update) { + this.update = update; + return this; + } + + /** + * The FieldMask that determines which resource fields are modified in an update. + * @return value or {@code null} for none + */ + public String getUpdateMask() { + return updateMask; + } + + /** + * The FieldMask that determines which resource fields are modified in an update. + * @param updateMask updateMask or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesKeywordPlanCampaignOperation setUpdateMask(String updateMask) { + this.updateMask = updateMask; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesKeywordPlanCampaignOperation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesKeywordPlanCampaignOperation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesKeywordPlanCampaignOperation clone() { + return (GoogleAdsSearchads360V23ServicesKeywordPlanCampaignOperation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesKeywordPlanOperation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesKeywordPlanOperation.java new file mode 100644 index 00000000000..d22ebda3ab2 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesKeywordPlanOperation.java @@ -0,0 +1,142 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A single operation (create, update, remove) on a keyword plan. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesKeywordPlanOperation extends com.google.api.client.json.GenericJson { + + /** + * Create operation: No resource name is expected for the new keyword plan. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesKeywordPlan create; + + /** + * Remove operation: A resource name for the removed keyword plan is expected in this format: + * `customers/{customer_id}/keywordPlans/{keyword_plan_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String remove; + + /** + * Update operation: The keyword plan is expected to have a valid resource name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesKeywordPlan update; + + /** + * The FieldMask that determines which resource fields are modified in an update. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String updateMask; + + /** + * Create operation: No resource name is expected for the new keyword plan. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesKeywordPlan getCreate() { + return create; + } + + /** + * Create operation: No resource name is expected for the new keyword plan. + * @param create create or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesKeywordPlanOperation setCreate(GoogleAdsSearchads360V23ResourcesKeywordPlan create) { + this.create = create; + return this; + } + + /** + * Remove operation: A resource name for the removed keyword plan is expected in this format: + * `customers/{customer_id}/keywordPlans/{keyword_plan_id}` + * @return value or {@code null} for none + */ + public java.lang.String getRemove() { + return remove; + } + + /** + * Remove operation: A resource name for the removed keyword plan is expected in this format: + * `customers/{customer_id}/keywordPlans/{keyword_plan_id}` + * @param remove remove or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesKeywordPlanOperation setRemove(java.lang.String remove) { + this.remove = remove; + return this; + } + + /** + * Update operation: The keyword plan is expected to have a valid resource name. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesKeywordPlan getUpdate() { + return update; + } + + /** + * Update operation: The keyword plan is expected to have a valid resource name. + * @param update update or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesKeywordPlanOperation setUpdate(GoogleAdsSearchads360V23ResourcesKeywordPlan update) { + this.update = update; + return this; + } + + /** + * The FieldMask that determines which resource fields are modified in an update. + * @return value or {@code null} for none + */ + public String getUpdateMask() { + return updateMask; + } + + /** + * The FieldMask that determines which resource fields are modified in an update. + * @param updateMask updateMask or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesKeywordPlanOperation setUpdateMask(String updateMask) { + this.updateMask = updateMask; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesKeywordPlanOperation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesKeywordPlanOperation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesKeywordPlanOperation clone() { + return (GoogleAdsSearchads360V23ServicesKeywordPlanOperation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesKeywordSeed.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesKeywordSeed.java new file mode 100644 index 00000000000..2cafad233a8 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesKeywordSeed.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Keyword Seed + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesKeywordSeed extends com.google.api.client.json.GenericJson { + + /** + * Requires at least one keyword and no more than 20 keywords. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List keywords; + + /** + * Requires at least one keyword and no more than 20 keywords. + * @return value or {@code null} for none + */ + public java.util.List getKeywords() { + return keywords; + } + + /** + * Requires at least one keyword and no more than 20 keywords. + * @param keywords keywords or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesKeywordSeed setKeywords(java.util.List keywords) { + this.keywords = keywords; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesKeywordSeed set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesKeywordSeed) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesKeywordSeed clone() { + return (GoogleAdsSearchads360V23ServicesKeywordSeed) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesLabelOperation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesLabelOperation.java new file mode 100644 index 00000000000..ac6d44fc41e --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesLabelOperation.java @@ -0,0 +1,142 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A single operation (create, remove, update) on a label. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesLabelOperation extends com.google.api.client.json.GenericJson { + + /** + * Create operation: No resource name is expected for the new label. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesLabel create; + + /** + * Remove operation: A resource name for the label being removed, in this format: + * `customers/{customer_id}/labels/{label_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String remove; + + /** + * Update operation: The label is expected to have a valid resource name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesLabel update; + + /** + * FieldMask that determines which resource fields are modified in an update. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String updateMask; + + /** + * Create operation: No resource name is expected for the new label. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLabel getCreate() { + return create; + } + + /** + * Create operation: No resource name is expected for the new label. + * @param create create or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesLabelOperation setCreate(GoogleAdsSearchads360V23ResourcesLabel create) { + this.create = create; + return this; + } + + /** + * Remove operation: A resource name for the label being removed, in this format: + * `customers/{customer_id}/labels/{label_id}` + * @return value or {@code null} for none + */ + public java.lang.String getRemove() { + return remove; + } + + /** + * Remove operation: A resource name for the label being removed, in this format: + * `customers/{customer_id}/labels/{label_id}` + * @param remove remove or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesLabelOperation setRemove(java.lang.String remove) { + this.remove = remove; + return this; + } + + /** + * Update operation: The label is expected to have a valid resource name. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLabel getUpdate() { + return update; + } + + /** + * Update operation: The label is expected to have a valid resource name. + * @param update update or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesLabelOperation setUpdate(GoogleAdsSearchads360V23ResourcesLabel update) { + this.update = update; + return this; + } + + /** + * FieldMask that determines which resource fields are modified in an update. + * @return value or {@code null} for none + */ + public String getUpdateMask() { + return updateMask; + } + + /** + * FieldMask that determines which resource fields are modified in an update. + * @param updateMask updateMask or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesLabelOperation setUpdateMask(String updateMask) { + this.updateMask = updateMask; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesLabelOperation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesLabelOperation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesLabelOperation clone() { + return (GoogleAdsSearchads360V23ServicesLabelOperation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListAccessibleCustomersResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListAccessibleCustomersResponse.java new file mode 100644 index 00000000000..122e60402e2 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListAccessibleCustomersResponse.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for CustomerService.ListAccessibleCustomers. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesListAccessibleCustomersResponse extends com.google.api.client.json.GenericJson { + + /** + * Resource name of customers directly accessible by the user authenticating the call. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List resourceNames; + + /** + * Resource name of customers directly accessible by the user authenticating the call. + * @return value or {@code null} for none + */ + public java.util.List getResourceNames() { + return resourceNames; + } + + /** + * Resource name of customers directly accessible by the user authenticating the call. + * @param resourceNames resourceNames or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesListAccessibleCustomersResponse setResourceNames(java.util.List resourceNames) { + this.resourceNames = resourceNames; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesListAccessibleCustomersResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesListAccessibleCustomersResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesListAccessibleCustomersResponse clone() { + return (GoogleAdsSearchads360V23ServicesListAccessibleCustomersResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListAudienceInsightsAttributesRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListAudienceInsightsAttributesRequest.java new file mode 100644 index 00000000000..48ef51465c2 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListAudienceInsightsAttributesRequest.java @@ -0,0 +1,226 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for AudienceInsightsService.ListAudienceInsightsAttributes. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesListAudienceInsightsAttributesRequest extends com.google.api.client.json.GenericJson { + + /** + * The name of the customer being planned for. This is a user-defined value. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String customerInsightsGroup; + + /** + * Required. The types of attributes to be returned. Supported dimensions are CATEGORY, + * KNOWLEDGE_GRAPH, GEO_TARGET_COUNTRY, SUB_COUNTRY_LOCATION, YOUTUBE_LINEUP, + * AFFINITY_USER_INTEREST, IN_MARKET_USER_INTEREST, . + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List dimensions; + + /** + * Optional. Additional information on the application issuing the request. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonAdditionalApplicationInfo insightsApplicationInfo; + + /** + * If SUB_COUNTRY_LOCATION attributes are one of the requested dimensions and this field is + * present, then the SUB_COUNTRY_LOCATION attributes returned will be located in these countries. + * If this field is absent, then location attributes are not filtered by country. Setting this + * field when SUB_COUNTRY_LOCATION attributes are not requested will return an error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List locationCountryFilters; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonLocationInfo used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonLocationInfo.class); + } + + /** + * Required. A free text query. If the requested dimensions include Attributes CATEGORY or + * KNOWLEDGE_GRAPH, then the attributes returned for those dimensions will match or be related to + * this string. For other dimensions, this field is ignored and all available attributes are + * returned. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String queryText; + + /** + * If present, potential YouTube reach estimates within the specified market will be returned for + * attributes for which they are available. Reach is only available for the AGE_RANGE, GENDER, + * AFFINITY_USER_INTEREST and IN_MARKET_USER_INTEREST dimensions, and may not be available for + * every attribute of those dimensions in every market. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonLocationInfo youtubeReachLocation; + + /** + * The name of the customer being planned for. This is a user-defined value. + * @return value or {@code null} for none + */ + public java.lang.String getCustomerInsightsGroup() { + return customerInsightsGroup; + } + + /** + * The name of the customer being planned for. This is a user-defined value. + * @param customerInsightsGroup customerInsightsGroup or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesListAudienceInsightsAttributesRequest setCustomerInsightsGroup(java.lang.String customerInsightsGroup) { + this.customerInsightsGroup = customerInsightsGroup; + return this; + } + + /** + * Required. The types of attributes to be returned. Supported dimensions are CATEGORY, + * KNOWLEDGE_GRAPH, GEO_TARGET_COUNTRY, SUB_COUNTRY_LOCATION, YOUTUBE_LINEUP, + * AFFINITY_USER_INTEREST, IN_MARKET_USER_INTEREST, . + * @return value or {@code null} for none + */ + public java.util.List getDimensions() { + return dimensions; + } + + /** + * Required. The types of attributes to be returned. Supported dimensions are CATEGORY, + * KNOWLEDGE_GRAPH, GEO_TARGET_COUNTRY, SUB_COUNTRY_LOCATION, YOUTUBE_LINEUP, + * AFFINITY_USER_INTEREST, IN_MARKET_USER_INTEREST, . + * @param dimensions dimensions or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesListAudienceInsightsAttributesRequest setDimensions(java.util.List dimensions) { + this.dimensions = dimensions; + return this; + } + + /** + * Optional. Additional information on the application issuing the request. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAdditionalApplicationInfo getInsightsApplicationInfo() { + return insightsApplicationInfo; + } + + /** + * Optional. Additional information on the application issuing the request. + * @param insightsApplicationInfo insightsApplicationInfo or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesListAudienceInsightsAttributesRequest setInsightsApplicationInfo(GoogleAdsSearchads360V23CommonAdditionalApplicationInfo insightsApplicationInfo) { + this.insightsApplicationInfo = insightsApplicationInfo; + return this; + } + + /** + * If SUB_COUNTRY_LOCATION attributes are one of the requested dimensions and this field is + * present, then the SUB_COUNTRY_LOCATION attributes returned will be located in these countries. + * If this field is absent, then location attributes are not filtered by country. Setting this + * field when SUB_COUNTRY_LOCATION attributes are not requested will return an error. + * @return value or {@code null} for none + */ + public java.util.List getLocationCountryFilters() { + return locationCountryFilters; + } + + /** + * If SUB_COUNTRY_LOCATION attributes are one of the requested dimensions and this field is + * present, then the SUB_COUNTRY_LOCATION attributes returned will be located in these countries. + * If this field is absent, then location attributes are not filtered by country. Setting this + * field when SUB_COUNTRY_LOCATION attributes are not requested will return an error. + * @param locationCountryFilters locationCountryFilters or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesListAudienceInsightsAttributesRequest setLocationCountryFilters(java.util.List locationCountryFilters) { + this.locationCountryFilters = locationCountryFilters; + return this; + } + + /** + * Required. A free text query. If the requested dimensions include Attributes CATEGORY or + * KNOWLEDGE_GRAPH, then the attributes returned for those dimensions will match or be related to + * this string. For other dimensions, this field is ignored and all available attributes are + * returned. + * @return value or {@code null} for none + */ + public java.lang.String getQueryText() { + return queryText; + } + + /** + * Required. A free text query. If the requested dimensions include Attributes CATEGORY or + * KNOWLEDGE_GRAPH, then the attributes returned for those dimensions will match or be related to + * this string. For other dimensions, this field is ignored and all available attributes are + * returned. + * @param queryText queryText or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesListAudienceInsightsAttributesRequest setQueryText(java.lang.String queryText) { + this.queryText = queryText; + return this; + } + + /** + * If present, potential YouTube reach estimates within the specified market will be returned for + * attributes for which they are available. Reach is only available for the AGE_RANGE, GENDER, + * AFFINITY_USER_INTEREST and IN_MARKET_USER_INTEREST dimensions, and may not be available for + * every attribute of those dimensions in every market. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonLocationInfo getYoutubeReachLocation() { + return youtubeReachLocation; + } + + /** + * If present, potential YouTube reach estimates within the specified market will be returned for + * attributes for which they are available. Reach is only available for the AGE_RANGE, GENDER, + * AFFINITY_USER_INTEREST and IN_MARKET_USER_INTEREST dimensions, and may not be available for + * every attribute of those dimensions in every market. + * @param youtubeReachLocation youtubeReachLocation or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesListAudienceInsightsAttributesRequest setYoutubeReachLocation(GoogleAdsSearchads360V23CommonLocationInfo youtubeReachLocation) { + this.youtubeReachLocation = youtubeReachLocation; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesListAudienceInsightsAttributesRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesListAudienceInsightsAttributesRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesListAudienceInsightsAttributesRequest clone() { + return (GoogleAdsSearchads360V23ServicesListAudienceInsightsAttributesRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListAudienceInsightsAttributesResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListAudienceInsightsAttributesResponse.java new file mode 100644 index 00000000000..3c2a97047e8 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListAudienceInsightsAttributesResponse.java @@ -0,0 +1,73 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for AudienceInsightsService.ListAudienceInsightsAttributes. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesListAudienceInsightsAttributesResponse extends com.google.api.client.json.GenericJson { + + /** + * The attributes matching the search query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List attributes; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonAudienceInsightsAttributeMetadata used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonAudienceInsightsAttributeMetadata.class); + } + + /** + * The attributes matching the search query. + * @return value or {@code null} for none + */ + public java.util.List getAttributes() { + return attributes; + } + + /** + * The attributes matching the search query. + * @param attributes attributes or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesListAudienceInsightsAttributesResponse setAttributes(java.util.List attributes) { + this.attributes = attributes; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesListAudienceInsightsAttributesResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesListAudienceInsightsAttributesResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesListAudienceInsightsAttributesResponse clone() { + return (GoogleAdsSearchads360V23ServicesListAudienceInsightsAttributesResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListBatchJobResultsResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListBatchJobResultsResponse.java new file mode 100644 index 00000000000..41dc56b7e4d --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListBatchJobResultsResponse.java @@ -0,0 +1,103 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for BatchJobService.ListBatchJobResults. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesListBatchJobResultsResponse extends com.google.api.client.json.GenericJson { + + /** + * Pagination token used to retrieve the next page of results. Pass the content of this string as + * the `page_token` attribute of the next request. `next_page_token` is not returned for the last + * page. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String nextPageToken; + + /** + * The list of rows that matched the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List results; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesBatchJobResult used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesBatchJobResult.class); + } + + /** + * Pagination token used to retrieve the next page of results. Pass the content of this string as + * the `page_token` attribute of the next request. `next_page_token` is not returned for the last + * page. + * @return value or {@code null} for none + */ + public java.lang.String getNextPageToken() { + return nextPageToken; + } + + /** + * Pagination token used to retrieve the next page of results. Pass the content of this string as + * the `page_token` attribute of the next request. `next_page_token` is not returned for the last + * page. + * @param nextPageToken nextPageToken or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesListBatchJobResultsResponse setNextPageToken(java.lang.String nextPageToken) { + this.nextPageToken = nextPageToken; + return this; + } + + /** + * The list of rows that matched the query. + * @return value or {@code null} for none + */ + public java.util.List getResults() { + return results; + } + + /** + * The list of rows that matched the query. + * @param results results or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesListBatchJobResultsResponse setResults(java.util.List results) { + this.results = results; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesListBatchJobResultsResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesListBatchJobResultsResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesListBatchJobResultsResponse clone() { + return (GoogleAdsSearchads360V23ServicesListBatchJobResultsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListBenchmarksAvailableDatesRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListBenchmarksAvailableDatesRequest.java new file mode 100644 index 00000000000..993ba3f075d --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListBenchmarksAvailableDatesRequest.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for BenchmarksService.ListBenchmarksAvailableDates. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesListBenchmarksAvailableDatesRequest extends com.google.api.client.json.GenericJson { + + /** + * Additional information on the application issuing the request. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonAdditionalApplicationInfo applicationInfo; + + /** + * Additional information on the application issuing the request. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAdditionalApplicationInfo getApplicationInfo() { + return applicationInfo; + } + + /** + * Additional information on the application issuing the request. + * @param applicationInfo applicationInfo or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesListBenchmarksAvailableDatesRequest setApplicationInfo(GoogleAdsSearchads360V23CommonAdditionalApplicationInfo applicationInfo) { + this.applicationInfo = applicationInfo; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesListBenchmarksAvailableDatesRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesListBenchmarksAvailableDatesRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesListBenchmarksAvailableDatesRequest clone() { + return (GoogleAdsSearchads360V23ServicesListBenchmarksAvailableDatesRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListBenchmarksAvailableDatesResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListBenchmarksAvailableDatesResponse.java new file mode 100644 index 00000000000..2326012302a --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListBenchmarksAvailableDatesResponse.java @@ -0,0 +1,70 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for BenchmarksService.ListBenchmarksAvailableDates. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesListBenchmarksAvailableDatesResponse extends com.google.api.client.json.GenericJson { + + /** + * The dates that support benchmarks metrics. Data is supported for any dates within this date + * range inclusive. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonDateRange supportedDates; + + /** + * The dates that support benchmarks metrics. Data is supported for any dates within this date + * range inclusive. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDateRange getSupportedDates() { + return supportedDates; + } + + /** + * The dates that support benchmarks metrics. Data is supported for any dates within this date + * range inclusive. + * @param supportedDates supportedDates or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesListBenchmarksAvailableDatesResponse setSupportedDates(GoogleAdsSearchads360V23CommonDateRange supportedDates) { + this.supportedDates = supportedDates; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesListBenchmarksAvailableDatesResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesListBenchmarksAvailableDatesResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesListBenchmarksAvailableDatesResponse clone() { + return (GoogleAdsSearchads360V23ServicesListBenchmarksAvailableDatesResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListBenchmarksLocationsRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListBenchmarksLocationsRequest.java new file mode 100644 index 00000000000..772e606ef81 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListBenchmarksLocationsRequest.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for BenchmarksService.ListBenchmarksLocations. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesListBenchmarksLocationsRequest extends com.google.api.client.json.GenericJson { + + /** + * Additional information on the application issuing the request. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonAdditionalApplicationInfo applicationInfo; + + /** + * Additional information on the application issuing the request. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAdditionalApplicationInfo getApplicationInfo() { + return applicationInfo; + } + + /** + * Additional information on the application issuing the request. + * @param applicationInfo applicationInfo or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesListBenchmarksLocationsRequest setApplicationInfo(GoogleAdsSearchads360V23CommonAdditionalApplicationInfo applicationInfo) { + this.applicationInfo = applicationInfo; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesListBenchmarksLocationsRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesListBenchmarksLocationsRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesListBenchmarksLocationsRequest clone() { + return (GoogleAdsSearchads360V23ServicesListBenchmarksLocationsRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListBenchmarksLocationsResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListBenchmarksLocationsResponse.java new file mode 100644 index 00000000000..f6d4fcda1ea --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListBenchmarksLocationsResponse.java @@ -0,0 +1,73 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for BenchmarksService.ListBenchmarksLocations. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesListBenchmarksLocationsResponse extends com.google.api.client.json.GenericJson { + + /** + * The list of locations supported for benchmarks data. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List benchmarksLocations; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesBenchmarksLocation used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesBenchmarksLocation.class); + } + + /** + * The list of locations supported for benchmarks data. + * @return value or {@code null} for none + */ + public java.util.List getBenchmarksLocations() { + return benchmarksLocations; + } + + /** + * The list of locations supported for benchmarks data. + * @param benchmarksLocations benchmarksLocations or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesListBenchmarksLocationsResponse setBenchmarksLocations(java.util.List benchmarksLocations) { + this.benchmarksLocations = benchmarksLocations; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesListBenchmarksLocationsResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesListBenchmarksLocationsResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesListBenchmarksLocationsResponse clone() { + return (GoogleAdsSearchads360V23ServicesListBenchmarksLocationsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListBenchmarksProductsRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListBenchmarksProductsRequest.java new file mode 100644 index 00000000000..71db270c8d3 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListBenchmarksProductsRequest.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for BenchmarksService.ListBenchmarksProducts. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesListBenchmarksProductsRequest extends com.google.api.client.json.GenericJson { + + /** + * Additional information on the application issuing the request. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonAdditionalApplicationInfo applicationInfo; + + /** + * Additional information on the application issuing the request. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAdditionalApplicationInfo getApplicationInfo() { + return applicationInfo; + } + + /** + * Additional information on the application issuing the request. + * @param applicationInfo applicationInfo or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesListBenchmarksProductsRequest setApplicationInfo(GoogleAdsSearchads360V23CommonAdditionalApplicationInfo applicationInfo) { + this.applicationInfo = applicationInfo; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesListBenchmarksProductsRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesListBenchmarksProductsRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesListBenchmarksProductsRequest clone() { + return (GoogleAdsSearchads360V23ServicesListBenchmarksProductsRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListBenchmarksProductsResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListBenchmarksProductsResponse.java new file mode 100644 index 00000000000..5082a84d790 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListBenchmarksProductsResponse.java @@ -0,0 +1,73 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for BenchmarksService.ListBenchmarksProducts. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesListBenchmarksProductsResponse extends com.google.api.client.json.GenericJson { + + /** + * The list of products available for benchmarks data. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List benchmarksProducts; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesBenchmarksProductMetadata used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesBenchmarksProductMetadata.class); + } + + /** + * The list of products available for benchmarks data. + * @return value or {@code null} for none + */ + public java.util.List getBenchmarksProducts() { + return benchmarksProducts; + } + + /** + * The list of products available for benchmarks data. + * @param benchmarksProducts benchmarksProducts or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesListBenchmarksProductsResponse setBenchmarksProducts(java.util.List benchmarksProducts) { + this.benchmarksProducts = benchmarksProducts; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesListBenchmarksProductsResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesListBenchmarksProductsResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesListBenchmarksProductsResponse clone() { + return (GoogleAdsSearchads360V23ServicesListBenchmarksProductsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListBenchmarksSourcesRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListBenchmarksSourcesRequest.java new file mode 100644 index 00000000000..a4faf91ac7f --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListBenchmarksSourcesRequest.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for BenchmarksService.ListBenchmarksSources. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesListBenchmarksSourcesRequest extends com.google.api.client.json.GenericJson { + + /** + * Additional information on the application issuing the request. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonAdditionalApplicationInfo applicationInfo; + + /** + * Required. The types of benchmarks sources to be returned (for example, INDUSTRY_VERTICAL). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List benchmarksSources; + + /** + * Additional information on the application issuing the request. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAdditionalApplicationInfo getApplicationInfo() { + return applicationInfo; + } + + /** + * Additional information on the application issuing the request. + * @param applicationInfo applicationInfo or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesListBenchmarksSourcesRequest setApplicationInfo(GoogleAdsSearchads360V23CommonAdditionalApplicationInfo applicationInfo) { + this.applicationInfo = applicationInfo; + return this; + } + + /** + * Required. The types of benchmarks sources to be returned (for example, INDUSTRY_VERTICAL). + * @return value or {@code null} for none + */ + public java.util.List getBenchmarksSources() { + return benchmarksSources; + } + + /** + * Required. The types of benchmarks sources to be returned (for example, INDUSTRY_VERTICAL). + * @param benchmarksSources benchmarksSources or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesListBenchmarksSourcesRequest setBenchmarksSources(java.util.List benchmarksSources) { + this.benchmarksSources = benchmarksSources; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesListBenchmarksSourcesRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesListBenchmarksSourcesRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesListBenchmarksSourcesRequest clone() { + return (GoogleAdsSearchads360V23ServicesListBenchmarksSourcesRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListBenchmarksSourcesResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListBenchmarksSourcesResponse.java new file mode 100644 index 00000000000..499e2b1fb62 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListBenchmarksSourcesResponse.java @@ -0,0 +1,73 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for BenchmarksService.ListBenchmarksSources. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesListBenchmarksSourcesResponse extends com.google.api.client.json.GenericJson { + + /** + * The list of available source used to generate benchmarks data for. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List benchmarksSources; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesBenchmarksSourceMetadata used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesBenchmarksSourceMetadata.class); + } + + /** + * The list of available source used to generate benchmarks data for. + * @return value or {@code null} for none + */ + public java.util.List getBenchmarksSources() { + return benchmarksSources; + } + + /** + * The list of available source used to generate benchmarks data for. + * @param benchmarksSources benchmarksSources or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesListBenchmarksSourcesResponse setBenchmarksSources(java.util.List benchmarksSources) { + this.benchmarksSources = benchmarksSources; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesListBenchmarksSourcesResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesListBenchmarksSourcesResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesListBenchmarksSourcesResponse clone() { + return (GoogleAdsSearchads360V23ServicesListBenchmarksSourcesResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListCampaignDraftAsyncErrorsResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListCampaignDraftAsyncErrorsResponse.java new file mode 100644 index 00000000000..5d90a605b87 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListCampaignDraftAsyncErrorsResponse.java @@ -0,0 +1,97 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for CampaignDraftService.ListCampaignDraftAsyncErrors. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesListCampaignDraftAsyncErrorsResponse extends com.google.api.client.json.GenericJson { + + /** + * Details of the errors when performing the asynchronous operation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List errors; + + /** + * Pagination token used to retrieve the next page of results. Pass the content of this string as + * the `page_token` attribute of the next request. `next_page_token` is not returned for the last + * page. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String nextPageToken; + + /** + * Details of the errors when performing the asynchronous operation. + * @return value or {@code null} for none + */ + public java.util.List getErrors() { + return errors; + } + + /** + * Details of the errors when performing the asynchronous operation. + * @param errors errors or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesListCampaignDraftAsyncErrorsResponse setErrors(java.util.List errors) { + this.errors = errors; + return this; + } + + /** + * Pagination token used to retrieve the next page of results. Pass the content of this string as + * the `page_token` attribute of the next request. `next_page_token` is not returned for the last + * page. + * @return value or {@code null} for none + */ + public java.lang.String getNextPageToken() { + return nextPageToken; + } + + /** + * Pagination token used to retrieve the next page of results. Pass the content of this string as + * the `page_token` attribute of the next request. `next_page_token` is not returned for the last + * page. + * @param nextPageToken nextPageToken or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesListCampaignDraftAsyncErrorsResponse setNextPageToken(java.lang.String nextPageToken) { + this.nextPageToken = nextPageToken; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesListCampaignDraftAsyncErrorsResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesListCampaignDraftAsyncErrorsResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesListCampaignDraftAsyncErrorsResponse clone() { + return (GoogleAdsSearchads360V23ServicesListCampaignDraftAsyncErrorsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListCustomColumnsResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListCustomColumnsResponse.java new file mode 100644 index 00000000000..7a9cc0611f6 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListCustomColumnsResponse.java @@ -0,0 +1,73 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for fetching all custom columns associated with a customer. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesListCustomColumnsResponse extends com.google.api.client.json.GenericJson { + + /** + * The CustomColumns owned by the provided customer. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List customColumns; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ResourcesCustomColumn used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ResourcesCustomColumn.class); + } + + /** + * The CustomColumns owned by the provided customer. + * @return value or {@code null} for none + */ + public java.util.List getCustomColumns() { + return customColumns; + } + + /** + * The CustomColumns owned by the provided customer. + * @param customColumns customColumns or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesListCustomColumnsResponse setCustomColumns(java.util.List customColumns) { + this.customColumns = customColumns; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesListCustomColumnsResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesListCustomColumnsResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesListCustomColumnsResponse clone() { + return (GoogleAdsSearchads360V23ServicesListCustomColumnsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListExperimentAsyncErrorsResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListExperimentAsyncErrorsResponse.java new file mode 100644 index 00000000000..60a38bd49cd --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListExperimentAsyncErrorsResponse.java @@ -0,0 +1,97 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for ExperimentService.ListExperimentAsyncErrors. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesListExperimentAsyncErrorsResponse extends com.google.api.client.json.GenericJson { + + /** + * details of the errors when performing the asynchronous operation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List errors; + + /** + * Pagination token used to retrieve the next page of results. Pass the content of this string as + * the `page_token` attribute of the next request. `next_page_token` is not returned for the last + * page. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String nextPageToken; + + /** + * details of the errors when performing the asynchronous operation. + * @return value or {@code null} for none + */ + public java.util.List getErrors() { + return errors; + } + + /** + * details of the errors when performing the asynchronous operation. + * @param errors errors or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesListExperimentAsyncErrorsResponse setErrors(java.util.List errors) { + this.errors = errors; + return this; + } + + /** + * Pagination token used to retrieve the next page of results. Pass the content of this string as + * the `page_token` attribute of the next request. `next_page_token` is not returned for the last + * page. + * @return value or {@code null} for none + */ + public java.lang.String getNextPageToken() { + return nextPageToken; + } + + /** + * Pagination token used to retrieve the next page of results. Pass the content of this string as + * the `page_token` attribute of the next request. `next_page_token` is not returned for the last + * page. + * @param nextPageToken nextPageToken or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesListExperimentAsyncErrorsResponse setNextPageToken(java.lang.String nextPageToken) { + this.nextPageToken = nextPageToken; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesListExperimentAsyncErrorsResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesListExperimentAsyncErrorsResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesListExperimentAsyncErrorsResponse clone() { + return (GoogleAdsSearchads360V23ServicesListExperimentAsyncErrorsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListInsightsEligibleDatesRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListInsightsEligibleDatesRequest.java new file mode 100644 index 00000000000..eb71d02f2fd --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListInsightsEligibleDatesRequest.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for AudienceInsightsService.ListInsightsEligibleDates. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesListInsightsEligibleDatesRequest extends com.google.api.client.json.GenericJson { + + /** + * Optional. Additional information on the application issuing the request. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonAdditionalApplicationInfo insightsApplicationInfo; + + /** + * Optional. Additional information on the application issuing the request. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAdditionalApplicationInfo getInsightsApplicationInfo() { + return insightsApplicationInfo; + } + + /** + * Optional. Additional information on the application issuing the request. + * @param insightsApplicationInfo insightsApplicationInfo or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesListInsightsEligibleDatesRequest setInsightsApplicationInfo(GoogleAdsSearchads360V23CommonAdditionalApplicationInfo insightsApplicationInfo) { + this.insightsApplicationInfo = insightsApplicationInfo; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesListInsightsEligibleDatesRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesListInsightsEligibleDatesRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesListInsightsEligibleDatesRequest clone() { + return (GoogleAdsSearchads360V23ServicesListInsightsEligibleDatesRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListInsightsEligibleDatesResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListInsightsEligibleDatesResponse.java new file mode 100644 index 00000000000..df94d256138 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListInsightsEligibleDatesResponse.java @@ -0,0 +1,100 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for AudienceInsightsService.ListInsightsEligibleDates. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesListInsightsEligibleDatesResponse extends com.google.api.client.json.GenericJson { + + /** + * The months for which AudienceInsights data is currently available, each represented as a string + * in the form "YYYY-MM". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List dataMonths; + + /** + * The actual dates covered by the "last 30 days" date range that will be used implicitly for + * AudienceInsightsService.GenerateAudienceCompositionInsights requests that have no data_month + * set. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonDateRange lastThirtyDays; + + /** + * The months for which AudienceInsights data is currently available, each represented as a string + * in the form "YYYY-MM". + * @return value or {@code null} for none + */ + public java.util.List getDataMonths() { + return dataMonths; + } + + /** + * The months for which AudienceInsights data is currently available, each represented as a string + * in the form "YYYY-MM". + * @param dataMonths dataMonths or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesListInsightsEligibleDatesResponse setDataMonths(java.util.List dataMonths) { + this.dataMonths = dataMonths; + return this; + } + + /** + * The actual dates covered by the "last 30 days" date range that will be used implicitly for + * AudienceInsightsService.GenerateAudienceCompositionInsights requests that have no data_month + * set. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonDateRange getLastThirtyDays() { + return lastThirtyDays; + } + + /** + * The actual dates covered by the "last 30 days" date range that will be used implicitly for + * AudienceInsightsService.GenerateAudienceCompositionInsights requests that have no data_month + * set. + * @param lastThirtyDays lastThirtyDays or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesListInsightsEligibleDatesResponse setLastThirtyDays(GoogleAdsSearchads360V23CommonDateRange lastThirtyDays) { + this.lastThirtyDays = lastThirtyDays; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesListInsightsEligibleDatesResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesListInsightsEligibleDatesResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesListInsightsEligibleDatesResponse clone() { + return (GoogleAdsSearchads360V23ServicesListInsightsEligibleDatesResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListInvoicesResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListInvoicesResponse.java new file mode 100644 index 00000000000..ab5969b7bdd --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListInvoicesResponse.java @@ -0,0 +1,73 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for InvoiceService.ListInvoices. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesListInvoicesResponse extends com.google.api.client.json.GenericJson { + + /** + * The list of invoices that match the billing setup and time period. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List invoices; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ResourcesInvoice used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ResourcesInvoice.class); + } + + /** + * The list of invoices that match the billing setup and time period. + * @return value or {@code null} for none + */ + public java.util.List getInvoices() { + return invoices; + } + + /** + * The list of invoices that match the billing setup and time period. + * @param invoices invoices or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesListInvoicesResponse setInvoices(java.util.List invoices) { + this.invoices = invoices; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesListInvoicesResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesListInvoicesResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesListInvoicesResponse clone() { + return (GoogleAdsSearchads360V23ServicesListInvoicesResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListPaymentsAccountsResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListPaymentsAccountsResponse.java new file mode 100644 index 00000000000..7ec2dd1f68d --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListPaymentsAccountsResponse.java @@ -0,0 +1,73 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for PaymentsAccountService.ListPaymentsAccounts. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesListPaymentsAccountsResponse extends com.google.api.client.json.GenericJson { + + /** + * The list of accessible payments accounts. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List paymentsAccounts; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ResourcesPaymentsAccount used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ResourcesPaymentsAccount.class); + } + + /** + * The list of accessible payments accounts. + * @return value or {@code null} for none + */ + public java.util.List getPaymentsAccounts() { + return paymentsAccounts; + } + + /** + * The list of accessible payments accounts. + * @param paymentsAccounts paymentsAccounts or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesListPaymentsAccountsResponse setPaymentsAccounts(java.util.List paymentsAccounts) { + this.paymentsAccounts = paymentsAccounts; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesListPaymentsAccountsResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesListPaymentsAccountsResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesListPaymentsAccountsResponse clone() { + return (GoogleAdsSearchads360V23ServicesListPaymentsAccountsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListPlannableLocationsRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListPlannableLocationsRequest.java new file mode 100644 index 00000000000..c23aa01a183 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListPlannableLocationsRequest.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for ReachPlanService.ListPlannableLocations. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesListPlannableLocationsRequest extends com.google.api.client.json.GenericJson { + + /** + * Optional. Additional information on the application issuing the request. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonAdditionalApplicationInfo reachApplicationInfo; + + /** + * Optional. Additional information on the application issuing the request. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAdditionalApplicationInfo getReachApplicationInfo() { + return reachApplicationInfo; + } + + /** + * Optional. Additional information on the application issuing the request. + * @param reachApplicationInfo reachApplicationInfo or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesListPlannableLocationsRequest setReachApplicationInfo(GoogleAdsSearchads360V23CommonAdditionalApplicationInfo reachApplicationInfo) { + this.reachApplicationInfo = reachApplicationInfo; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesListPlannableLocationsRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesListPlannableLocationsRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesListPlannableLocationsRequest clone() { + return (GoogleAdsSearchads360V23ServicesListPlannableLocationsRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListPlannableLocationsResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListPlannableLocationsResponse.java new file mode 100644 index 00000000000..369a11c51ee --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListPlannableLocationsResponse.java @@ -0,0 +1,70 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The list of plannable locations. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesListPlannableLocationsResponse extends com.google.api.client.json.GenericJson { + + /** + * The list of locations available for planning. See https://developers.google.com/google- + * ads/api/reference/data/geotargets for sample locations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List plannableLocations; + + /** + * The list of locations available for planning. See https://developers.google.com/google- + * ads/api/reference/data/geotargets for sample locations. + * @return value or {@code null} for none + */ + public java.util.List getPlannableLocations() { + return plannableLocations; + } + + /** + * The list of locations available for planning. See https://developers.google.com/google- + * ads/api/reference/data/geotargets for sample locations. + * @param plannableLocations plannableLocations or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesListPlannableLocationsResponse setPlannableLocations(java.util.List plannableLocations) { + this.plannableLocations = plannableLocations; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesListPlannableLocationsResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesListPlannableLocationsResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesListPlannableLocationsResponse clone() { + return (GoogleAdsSearchads360V23ServicesListPlannableLocationsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListPlannableProductsRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListPlannableProductsRequest.java new file mode 100644 index 00000000000..ea08472db98 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListPlannableProductsRequest.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request to list available products in a given location. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesListPlannableProductsRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The ID of the selected location for planning. To list the available plannable + * location IDs use ReachPlanService.ListPlannableLocations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String plannableLocationId; + + /** + * Optional. Additional information on the application issuing the request. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonAdditionalApplicationInfo reachApplicationInfo; + + /** + * Required. The ID of the selected location for planning. To list the available plannable + * location IDs use ReachPlanService.ListPlannableLocations. + * @return value or {@code null} for none + */ + public java.lang.String getPlannableLocationId() { + return plannableLocationId; + } + + /** + * Required. The ID of the selected location for planning. To list the available plannable + * location IDs use ReachPlanService.ListPlannableLocations. + * @param plannableLocationId plannableLocationId or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesListPlannableProductsRequest setPlannableLocationId(java.lang.String plannableLocationId) { + this.plannableLocationId = plannableLocationId; + return this; + } + + /** + * Optional. Additional information on the application issuing the request. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAdditionalApplicationInfo getReachApplicationInfo() { + return reachApplicationInfo; + } + + /** + * Optional. Additional information on the application issuing the request. + * @param reachApplicationInfo reachApplicationInfo or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesListPlannableProductsRequest setReachApplicationInfo(GoogleAdsSearchads360V23CommonAdditionalApplicationInfo reachApplicationInfo) { + this.reachApplicationInfo = reachApplicationInfo; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesListPlannableProductsRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesListPlannableProductsRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesListPlannableProductsRequest clone() { + return (GoogleAdsSearchads360V23ServicesListPlannableProductsRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListPlannableProductsResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListPlannableProductsResponse.java new file mode 100644 index 00000000000..2fb5b0a750a --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListPlannableProductsResponse.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A response with all available products. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesListPlannableProductsResponse extends com.google.api.client.json.GenericJson { + + /** + * The list of products available for planning and related targeting metadata. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List productMetadata; + + /** + * The list of products available for planning and related targeting metadata. + * @return value or {@code null} for none + */ + public java.util.List getProductMetadata() { + return productMetadata; + } + + /** + * The list of products available for planning and related targeting metadata. + * @param productMetadata productMetadata or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesListPlannableProductsResponse setProductMetadata(java.util.List productMetadata) { + this.productMetadata = productMetadata; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesListPlannableProductsResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesListPlannableProductsResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesListPlannableProductsResponse clone() { + return (GoogleAdsSearchads360V23ServicesListPlannableProductsResponse) super.clone(); + } + +} From ae93e4aedc556a6cfdf30f49b6ce687db74bf787 Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Wed, 3 Jun 2026 18:43:38 -0700 Subject: [PATCH 11/14] chore: regenerate searchads360 client --- ...icesListPlannableUserInterestsRequest.java | 178 ++++++++++++++++++ ...cesListPlannableUserInterestsResponse.java | 67 +++++++ ...ServicesListPlannableUserListsRequest.java | 116 ++++++++++++ ...ervicesListPlannableUserListsResponse.java | 67 +++++++ ...60V23ServicesManualCpcBiddingStrategy.java | 100 ++++++++++ ...ServicesMaximizeClicksBiddingStrategy.java | 97 ++++++++++ ...cesMaximizeConversionsBiddingStrategy.java | 70 +++++++ ...archads360V23ServicesMetricAttributes.java | 97 ++++++++++ ...0V23ServicesMetricAttributesAttribute.java | 91 +++++++++ ...ogleAdsSearchads360V23ServicesMetrics.java | 67 +++++++ ...s360V23ServicesMoveManagerLinkRequest.java | 121 ++++++++++++ ...360V23ServicesMoveManagerLinkResponse.java | 70 +++++++ ...cesMutateAccountBudgetProposalRequest.java | 91 +++++++++ ...esMutateAccountBudgetProposalResponse.java | 67 +++++++ ...icesMutateAccountBudgetProposalResult.java | 67 +++++++ ...60V23ServicesMutateAccountLinkRequest.java | 121 ++++++++++++ ...0V23ServicesMutateAccountLinkResponse.java | 97 ++++++++++ ...360V23ServicesMutateAccountLinkResult.java | 67 +++++++ ...V23ServicesMutateAdGroupAdLabelResult.java | 67 +++++++ ...3ServicesMutateAdGroupAdLabelsRequest.java | 127 +++++++++++++ ...ServicesMutateAdGroupAdLabelsResponse.java | 103 ++++++++++ ...ds360V23ServicesMutateAdGroupAdResult.java | 94 +++++++++ ...360V23ServicesMutateAdGroupAdsRequest.java | 154 +++++++++++++++ ...60V23ServicesMutateAdGroupAdsResponse.java | 103 ++++++++++ ...60V23ServicesMutateAdGroupAssetResult.java | 94 +++++++++ ...23ServicesMutateAdGroupAssetSetResult.java | 94 +++++++++ ...ServicesMutateAdGroupAssetSetsRequest.java | 154 +++++++++++++++ ...ervicesMutateAdGroupAssetSetsResponse.java | 103 ++++++++++ ...V23ServicesMutateAdGroupAssetsRequest.java | 154 +++++++++++++++ ...23ServicesMutateAdGroupAssetsResponse.java | 103 ++++++++++ ...ervicesMutateAdGroupBidModifierResult.java | 94 +++++++++ ...vicesMutateAdGroupBidModifiersRequest.java | 154 +++++++++++++++ ...icesMutateAdGroupBidModifiersResponse.java | 103 ++++++++++ ...3ServicesMutateAdGroupCriteriaRequest.java | 154 +++++++++++++++ ...ServicesMutateAdGroupCriteriaResponse.java | 97 ++++++++++ ...utateAdGroupCriterionCustomizerResult.java | 94 +++++++++ ...ateAdGroupCriterionCustomizersRequest.java | 154 +++++++++++++++ ...teAdGroupCriterionCustomizersResponse.java | 103 ++++++++++ ...icesMutateAdGroupCriterionLabelResult.java | 67 +++++++ ...esMutateAdGroupCriterionLabelsRequest.java | 127 +++++++++++++ ...sMutateAdGroupCriterionLabelsResponse.java | 103 ++++++++++ ...3ServicesMutateAdGroupCriterionResult.java | 94 +++++++++ ...ServicesMutateAdGroupCustomizerResult.java | 94 +++++++++ ...rvicesMutateAdGroupCustomizersRequest.java | 154 +++++++++++++++ ...vicesMutateAdGroupCustomizersResponse.java | 103 ++++++++++ ...60V23ServicesMutateAdGroupLabelResult.java | 67 +++++++ ...V23ServicesMutateAdGroupLabelsRequest.java | 127 +++++++++++++ ...23ServicesMutateAdGroupLabelsResponse.java | 103 ++++++++++ ...hads360V23ServicesMutateAdGroupResult.java | 94 +++++++++ ...ds360V23ServicesMutateAdGroupsRequest.java | 154 +++++++++++++++ ...s360V23ServicesMutateAdGroupsResponse.java | 103 ++++++++++ ...360V23ServicesMutateAdParameterResult.java | 94 +++++++++ ...0V23ServicesMutateAdParametersRequest.java | 154 +++++++++++++++ ...V23ServicesMutateAdParametersResponse.java | 103 ++++++++++ ...Searchads360V23ServicesMutateAdResult.java | 94 +++++++++ ...archads360V23ServicesMutateAdsRequest.java | 154 +++++++++++++++ ...rchads360V23ServicesMutateAdsResponse.java | 103 ++++++++++ ...23ServicesMutateAssetGroupAssetResult.java | 67 +++++++ ...ServicesMutateAssetGroupAssetsRequest.java | 127 +++++++++++++ ...ervicesMutateAssetGroupAssetsResponse.java | 103 ++++++++++ ...ateAssetGroupListingGroupFilterResult.java | 94 +++++++++ ...eAssetGroupListingGroupFiltersRequest.java | 125 ++++++++++++ ...AssetGroupListingGroupFiltersResponse.java | 73 +++++++ ...s360V23ServicesMutateAssetGroupResult.java | 67 +++++++ ...3ServicesMutateAssetGroupSignalResult.java | 94 +++++++++ ...ervicesMutateAssetGroupSignalsRequest.java | 154 +++++++++++++++ ...rvicesMutateAssetGroupSignalsResponse.java | 103 ++++++++++ ...60V23ServicesMutateAssetGroupsRequest.java | 97 ++++++++++ ...0V23ServicesMutateAssetGroupsResponse.java | 103 ++++++++++ ...rchads360V23ServicesMutateAssetResult.java | 94 +++++++++ ...0V23ServicesMutateAssetSetAssetResult.java | 94 +++++++++ ...23ServicesMutateAssetSetAssetsRequest.java | 154 +++++++++++++++ ...3ServicesMutateAssetSetAssetsResponse.java | 103 ++++++++++ ...ads360V23ServicesMutateAssetSetResult.java | 94 +++++++++ ...s360V23ServicesMutateAssetSetsRequest.java | 154 +++++++++++++++ ...360V23ServicesMutateAssetSetsResponse.java | 103 ++++++++++ ...hads360V23ServicesMutateAssetsRequest.java | 154 +++++++++++++++ ...ads360V23ServicesMutateAssetsResponse.java | 103 ++++++++++ ...ads360V23ServicesMutateAudienceResult.java | 94 +++++++++ ...s360V23ServicesMutateAudiencesRequest.java | 154 +++++++++++++++ ...360V23ServicesMutateAudiencesResponse.java | 103 ++++++++++ ...ds360V23ServicesMutateBatchJobRequest.java | 67 +++++++ ...s360V23ServicesMutateBatchJobResponse.java | 67 +++++++ ...ads360V23ServicesMutateBatchJobResult.java | 67 +++++++ ...cesMutateBiddingDataExclusionsRequest.java | 154 +++++++++++++++ ...esMutateBiddingDataExclusionsResponse.java | 97 ++++++++++ ...icesMutateBiddingDataExclusionsResult.java | 94 +++++++++ ...eBiddingSeasonalityAdjustmentsRequest.java | 154 +++++++++++++++ ...BiddingSeasonalityAdjustmentsResponse.java | 97 ++++++++++ ...teBiddingSeasonalityAdjustmentsResult.java | 94 +++++++++ ...ervicesMutateBiddingStrategiesRequest.java | 154 +++++++++++++++ ...rvicesMutateBiddingStrategiesResponse.java | 97 ++++++++++ ...23ServicesMutateBiddingStrategyResult.java | 94 +++++++++ ...0V23ServicesMutateBillingSetupRequest.java | 67 +++++++ ...V23ServicesMutateBillingSetupResponse.java | 67 +++++++ ...60V23ServicesMutateBillingSetupResult.java | 67 +++++++ ...0V23ServicesMutateCampaignAssetResult.java | 94 +++++++++ ...3ServicesMutateCampaignAssetSetResult.java | 94 +++++++++ ...ervicesMutateCampaignAssetSetsRequest.java | 154 +++++++++++++++ ...rvicesMutateCampaignAssetSetsResponse.java | 103 ++++++++++ 100 files changed, 10539 insertions(+) create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListPlannableUserInterestsRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListPlannableUserInterestsResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListPlannableUserListsRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListPlannableUserListsResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesManualCpcBiddingStrategy.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMaximizeClicksBiddingStrategy.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMaximizeConversionsBiddingStrategy.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMetricAttributes.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMetricAttributesAttribute.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMetrics.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMoveManagerLinkRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMoveManagerLinkResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAccountBudgetProposalRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAccountBudgetProposalResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAccountBudgetProposalResult.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAccountLinkRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAccountLinkResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAccountLinkResult.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupAdLabelResult.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupAdLabelsRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupAdLabelsResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupAdResult.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupAdsRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupAdsResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupAssetResult.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupAssetSetResult.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupAssetSetsRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupAssetSetsResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupAssetsRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupAssetsResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupBidModifierResult.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupBidModifiersRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupBidModifiersResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupCriteriaRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupCriteriaResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionCustomizerResult.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionCustomizersRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionCustomizersResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionLabelResult.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionLabelsRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionLabelsResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionResult.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupCustomizerResult.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupCustomizersRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupCustomizersResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupLabelResult.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupLabelsRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupLabelsResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupResult.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupsRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupsResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdParameterResult.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdParametersRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdParametersResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdResult.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdsRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdsResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAssetGroupAssetResult.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAssetGroupAssetsRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAssetGroupAssetsResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAssetGroupListingGroupFilterResult.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAssetGroupListingGroupFiltersRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAssetGroupListingGroupFiltersResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAssetGroupResult.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAssetGroupSignalResult.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAssetGroupSignalsRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAssetGroupSignalsResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAssetGroupsRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAssetGroupsResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAssetResult.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAssetSetAssetResult.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAssetSetAssetsRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAssetSetAssetsResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAssetSetResult.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAssetSetsRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAssetSetsResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAssetsRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAssetsResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAudienceResult.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAudiencesRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAudiencesResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateBatchJobRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateBatchJobResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateBatchJobResult.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateBiddingDataExclusionsRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateBiddingDataExclusionsResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateBiddingDataExclusionsResult.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateBiddingSeasonalityAdjustmentsRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateBiddingSeasonalityAdjustmentsResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateBiddingSeasonalityAdjustmentsResult.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateBiddingStrategiesRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateBiddingStrategiesResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateBiddingStrategyResult.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateBillingSetupRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateBillingSetupResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateBillingSetupResult.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignAssetResult.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignAssetSetResult.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignAssetSetsRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignAssetSetsResponse.java diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListPlannableUserInterestsRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListPlannableUserInterestsRequest.java new file mode 100644 index 00000000000..592d295c6d5 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListPlannableUserInterestsRequest.java @@ -0,0 +1,178 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for ReachPlanService.ListPlannableUserInterests. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesListPlannableUserInterestsRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The ID of the customer. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** + * A filter by user interest name. If set, only user interests with a name containing the literal + * string (case insensitive) in the filter will be returned. Maximum length is 200 characters. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String nameQuery; + + /** + * A filter by user interest path. If set, only user interests with a path containing the literal + * string (case insensitive) in the filter will be returned. Maximum length is 200 characters. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String pathQuery; + + /** + * Optional. Additional information on the application issuing the request. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonAdditionalApplicationInfo reachApplicationInfo; + + /** + * Optional. A filter by user interest type. If set, only user interests with a type listed in the + * filter will be returned. If not set, user interests of all supported types will be returned. + * Supported user interest types are AFFINITY and IN_MARKET. Each type must be specified at most + * once. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List userInterestTaxonomyTypes; + + /** + * Required. The ID of the customer. + * @return value or {@code null} for none + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** + * Required. The ID of the customer. + * @param customerId customerId or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesListPlannableUserInterestsRequest setCustomerId(java.lang.String customerId) { + this.customerId = customerId; + return this; + } + + /** + * A filter by user interest name. If set, only user interests with a name containing the literal + * string (case insensitive) in the filter will be returned. Maximum length is 200 characters. + * @return value or {@code null} for none + */ + public java.lang.String getNameQuery() { + return nameQuery; + } + + /** + * A filter by user interest name. If set, only user interests with a name containing the literal + * string (case insensitive) in the filter will be returned. Maximum length is 200 characters. + * @param nameQuery nameQuery or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesListPlannableUserInterestsRequest setNameQuery(java.lang.String nameQuery) { + this.nameQuery = nameQuery; + return this; + } + + /** + * A filter by user interest path. If set, only user interests with a path containing the literal + * string (case insensitive) in the filter will be returned. Maximum length is 200 characters. + * @return value or {@code null} for none + */ + public java.lang.String getPathQuery() { + return pathQuery; + } + + /** + * A filter by user interest path. If set, only user interests with a path containing the literal + * string (case insensitive) in the filter will be returned. Maximum length is 200 characters. + * @param pathQuery pathQuery or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesListPlannableUserInterestsRequest setPathQuery(java.lang.String pathQuery) { + this.pathQuery = pathQuery; + return this; + } + + /** + * Optional. Additional information on the application issuing the request. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAdditionalApplicationInfo getReachApplicationInfo() { + return reachApplicationInfo; + } + + /** + * Optional. Additional information on the application issuing the request. + * @param reachApplicationInfo reachApplicationInfo or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesListPlannableUserInterestsRequest setReachApplicationInfo(GoogleAdsSearchads360V23CommonAdditionalApplicationInfo reachApplicationInfo) { + this.reachApplicationInfo = reachApplicationInfo; + return this; + } + + /** + * Optional. A filter by user interest type. If set, only user interests with a type listed in the + * filter will be returned. If not set, user interests of all supported types will be returned. + * Supported user interest types are AFFINITY and IN_MARKET. Each type must be specified at most + * once. + * @return value or {@code null} for none + */ + public java.util.List getUserInterestTaxonomyTypes() { + return userInterestTaxonomyTypes; + } + + /** + * Optional. A filter by user interest type. If set, only user interests with a type listed in the + * filter will be returned. If not set, user interests of all supported types will be returned. + * Supported user interest types are AFFINITY and IN_MARKET. Each type must be specified at most + * once. + * @param userInterestTaxonomyTypes userInterestTaxonomyTypes or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesListPlannableUserInterestsRequest setUserInterestTaxonomyTypes(java.util.List userInterestTaxonomyTypes) { + this.userInterestTaxonomyTypes = userInterestTaxonomyTypes; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesListPlannableUserInterestsRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesListPlannableUserInterestsRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesListPlannableUserInterestsRequest clone() { + return (GoogleAdsSearchads360V23ServicesListPlannableUserInterestsRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListPlannableUserInterestsResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListPlannableUserInterestsResponse.java new file mode 100644 index 00000000000..8e23d3fba7e --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListPlannableUserInterestsResponse.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for ReachPlanService.ListPlannableUserInterests. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesListPlannableUserInterestsResponse extends com.google.api.client.json.GenericJson { + + /** + * The list of plannable user interests. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List plannableUserInterests; + + /** + * The list of plannable user interests. + * @return value or {@code null} for none + */ + public java.util.List getPlannableUserInterests() { + return plannableUserInterests; + } + + /** + * The list of plannable user interests. + * @param plannableUserInterests plannableUserInterests or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesListPlannableUserInterestsResponse setPlannableUserInterests(java.util.List plannableUserInterests) { + this.plannableUserInterests = plannableUserInterests; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesListPlannableUserInterestsResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesListPlannableUserInterestsResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesListPlannableUserInterestsResponse clone() { + return (GoogleAdsSearchads360V23ServicesListPlannableUserInterestsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListPlannableUserListsRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListPlannableUserListsRequest.java new file mode 100644 index 00000000000..8a6db2436c5 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListPlannableUserListsRequest.java @@ -0,0 +1,116 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for ReachPlanService.ListPlannableUserLists that lists the available user lists + * for a customer. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesListPlannableUserListsRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The ID of the customer. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** + * The name of the customer being planned for. This is a user-defined value. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String customerReachGroup; + + /** + * Optional. Additional information on the application issuing the request. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonAdditionalApplicationInfo reachApplicationInfo; + + /** + * Required. The ID of the customer. + * @return value or {@code null} for none + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** + * Required. The ID of the customer. + * @param customerId customerId or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesListPlannableUserListsRequest setCustomerId(java.lang.String customerId) { + this.customerId = customerId; + return this; + } + + /** + * The name of the customer being planned for. This is a user-defined value. + * @return value or {@code null} for none + */ + public java.lang.String getCustomerReachGroup() { + return customerReachGroup; + } + + /** + * The name of the customer being planned for. This is a user-defined value. + * @param customerReachGroup customerReachGroup or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesListPlannableUserListsRequest setCustomerReachGroup(java.lang.String customerReachGroup) { + this.customerReachGroup = customerReachGroup; + return this; + } + + /** + * Optional. Additional information on the application issuing the request. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonAdditionalApplicationInfo getReachApplicationInfo() { + return reachApplicationInfo; + } + + /** + * Optional. Additional information on the application issuing the request. + * @param reachApplicationInfo reachApplicationInfo or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesListPlannableUserListsRequest setReachApplicationInfo(GoogleAdsSearchads360V23CommonAdditionalApplicationInfo reachApplicationInfo) { + this.reachApplicationInfo = reachApplicationInfo; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesListPlannableUserListsRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesListPlannableUserListsRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesListPlannableUserListsRequest clone() { + return (GoogleAdsSearchads360V23ServicesListPlannableUserListsRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListPlannableUserListsResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListPlannableUserListsResponse.java new file mode 100644 index 00000000000..2569e2f22b8 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesListPlannableUserListsResponse.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A response with all available user lists with their plannable status. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesListPlannableUserListsResponse extends com.google.api.client.json.GenericJson { + + /** + * The list of user lists available for planning and related targeting metadata. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List plannableUserLists; + + /** + * The list of user lists available for planning and related targeting metadata. + * @return value or {@code null} for none + */ + public java.util.List getPlannableUserLists() { + return plannableUserLists; + } + + /** + * The list of user lists available for planning and related targeting metadata. + * @param plannableUserLists plannableUserLists or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesListPlannableUserListsResponse setPlannableUserLists(java.util.List plannableUserLists) { + this.plannableUserLists = plannableUserLists; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesListPlannableUserListsResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesListPlannableUserListsResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesListPlannableUserListsResponse clone() { + return (GoogleAdsSearchads360V23ServicesListPlannableUserListsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesManualCpcBiddingStrategy.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesManualCpcBiddingStrategy.java new file mode 100644 index 00000000000..28bc5c8877b --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesManualCpcBiddingStrategy.java @@ -0,0 +1,100 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Manual CPC Bidding Strategy. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesManualCpcBiddingStrategy extends com.google.api.client.json.GenericJson { + + /** + * Campaign level budget in micros. If set, a minimum value is enforced for the local currency + * used in the campaign. An error will occur showing the minimum value if this field is set too + * low. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long dailyBudgetMicros; + + /** + * Required. A bid in micros to be applied to ad groups within the campaign for a manual CPC + * bidding strategy. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long maxCpcBidMicros; + + /** + * Campaign level budget in micros. If set, a minimum value is enforced for the local currency + * used in the campaign. An error will occur showing the minimum value if this field is set too + * low. + * @return value or {@code null} for none + */ + public java.lang.Long getDailyBudgetMicros() { + return dailyBudgetMicros; + } + + /** + * Campaign level budget in micros. If set, a minimum value is enforced for the local currency + * used in the campaign. An error will occur showing the minimum value if this field is set too + * low. + * @param dailyBudgetMicros dailyBudgetMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesManualCpcBiddingStrategy setDailyBudgetMicros(java.lang.Long dailyBudgetMicros) { + this.dailyBudgetMicros = dailyBudgetMicros; + return this; + } + + /** + * Required. A bid in micros to be applied to ad groups within the campaign for a manual CPC + * bidding strategy. + * @return value or {@code null} for none + */ + public java.lang.Long getMaxCpcBidMicros() { + return maxCpcBidMicros; + } + + /** + * Required. A bid in micros to be applied to ad groups within the campaign for a manual CPC + * bidding strategy. + * @param maxCpcBidMicros maxCpcBidMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesManualCpcBiddingStrategy setMaxCpcBidMicros(java.lang.Long maxCpcBidMicros) { + this.maxCpcBidMicros = maxCpcBidMicros; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesManualCpcBiddingStrategy set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesManualCpcBiddingStrategy) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesManualCpcBiddingStrategy clone() { + return (GoogleAdsSearchads360V23ServicesManualCpcBiddingStrategy) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMaximizeClicksBiddingStrategy.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMaximizeClicksBiddingStrategy.java new file mode 100644 index 00000000000..ab5f782bc39 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMaximizeClicksBiddingStrategy.java @@ -0,0 +1,97 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Maximize Clicks Bidding Strategy. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMaximizeClicksBiddingStrategy extends com.google.api.client.json.GenericJson { + + /** + * Required. The daily target spend in micros to be used for estimation. A minimum value is + * enforced for the local currency used in the campaign. An error will occur showing the minimum + * value if this field is set too low. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long dailyTargetSpendMicros; + + /** + * Ceiling on max CPC bids in micros. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long maxCpcBidCeilingMicros; + + /** + * Required. The daily target spend in micros to be used for estimation. A minimum value is + * enforced for the local currency used in the campaign. An error will occur showing the minimum + * value if this field is set too low. + * @return value or {@code null} for none + */ + public java.lang.Long getDailyTargetSpendMicros() { + return dailyTargetSpendMicros; + } + + /** + * Required. The daily target spend in micros to be used for estimation. A minimum value is + * enforced for the local currency used in the campaign. An error will occur showing the minimum + * value if this field is set too low. + * @param dailyTargetSpendMicros dailyTargetSpendMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMaximizeClicksBiddingStrategy setDailyTargetSpendMicros(java.lang.Long dailyTargetSpendMicros) { + this.dailyTargetSpendMicros = dailyTargetSpendMicros; + return this; + } + + /** + * Ceiling on max CPC bids in micros. + * @return value or {@code null} for none + */ + public java.lang.Long getMaxCpcBidCeilingMicros() { + return maxCpcBidCeilingMicros; + } + + /** + * Ceiling on max CPC bids in micros. + * @param maxCpcBidCeilingMicros maxCpcBidCeilingMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMaximizeClicksBiddingStrategy setMaxCpcBidCeilingMicros(java.lang.Long maxCpcBidCeilingMicros) { + this.maxCpcBidCeilingMicros = maxCpcBidCeilingMicros; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMaximizeClicksBiddingStrategy set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMaximizeClicksBiddingStrategy) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMaximizeClicksBiddingStrategy clone() { + return (GoogleAdsSearchads360V23ServicesMaximizeClicksBiddingStrategy) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMaximizeConversionsBiddingStrategy.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMaximizeConversionsBiddingStrategy.java new file mode 100644 index 00000000000..ea153a99d70 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMaximizeConversionsBiddingStrategy.java @@ -0,0 +1,70 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Maximize Conversions Bidding Strategy. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMaximizeConversionsBiddingStrategy extends com.google.api.client.json.GenericJson { + + /** + * Required. The daily target spend in micros to be used for estimation. This value must be + * greater than zero. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long dailyTargetSpendMicros; + + /** + * Required. The daily target spend in micros to be used for estimation. This value must be + * greater than zero. + * @return value or {@code null} for none + */ + public java.lang.Long getDailyTargetSpendMicros() { + return dailyTargetSpendMicros; + } + + /** + * Required. The daily target spend in micros to be used for estimation. This value must be + * greater than zero. + * @param dailyTargetSpendMicros dailyTargetSpendMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMaximizeConversionsBiddingStrategy setDailyTargetSpendMicros(java.lang.Long dailyTargetSpendMicros) { + this.dailyTargetSpendMicros = dailyTargetSpendMicros; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMaximizeConversionsBiddingStrategy set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMaximizeConversionsBiddingStrategy) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMaximizeConversionsBiddingStrategy clone() { + return (GoogleAdsSearchads360V23ServicesMaximizeConversionsBiddingStrategy) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMetricAttributes.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMetricAttributes.java new file mode 100644 index 00000000000..c2475b294a1 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMetricAttributes.java @@ -0,0 +1,97 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Indicates the attributes of metrics. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMetricAttributes extends com.google.api.client.json.GenericJson { + + /** + * The attributes of the metric. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List attributes; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesMetricAttributesAttribute used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesMetricAttributesAttribute.class); + } + + /** + * The name of the metric. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * The attributes of the metric. + * @return value or {@code null} for none + */ + public java.util.List getAttributes() { + return attributes; + } + + /** + * The attributes of the metric. + * @param attributes attributes or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMetricAttributes setAttributes(java.util.List attributes) { + this.attributes = attributes; + return this; + } + + /** + * The name of the metric. + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * The name of the metric. + * @param name name or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMetricAttributes setName(java.lang.String name) { + this.name = name; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMetricAttributes set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMetricAttributes) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMetricAttributes clone() { + return (GoogleAdsSearchads360V23ServicesMetricAttributes) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMetricAttributesAttribute.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMetricAttributesAttribute.java new file mode 100644 index 00000000000..36598c52ef9 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMetricAttributesAttribute.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The attribute of the metric in key value pair format. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMetricAttributesAttribute extends com.google.api.client.json.GenericJson { + + /** + * The key of the attribute. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String key; + + /** + * The value of the attribute. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String value; + + /** + * The key of the attribute. + * @return value or {@code null} for none + */ + public java.lang.String getKey() { + return key; + } + + /** + * The key of the attribute. + * @param key key or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMetricAttributesAttribute setKey(java.lang.String key) { + this.key = key; + return this; + } + + /** + * The value of the attribute. + * @return value or {@code null} for none + */ + public java.lang.String getValue() { + return value; + } + + /** + * The value of the attribute. + * @param value value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMetricAttributesAttribute setValue(java.lang.String value) { + this.value = value; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMetricAttributesAttribute set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMetricAttributesAttribute) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMetricAttributesAttribute clone() { + return (GoogleAdsSearchads360V23ServicesMetricAttributesAttribute) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMetrics.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMetrics.java new file mode 100644 index 00000000000..91b0deceeb9 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMetrics.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * All metrics returned against a criteria. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMetrics extends com.google.api.client.json.GenericJson { + + /** + * Average rate metrics calculated by dividing one metric by another. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesRateMetrics averageRateMetrics; + + /** + * Average rate metrics calculated by dividing one metric by another. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesRateMetrics getAverageRateMetrics() { + return averageRateMetrics; + } + + /** + * Average rate metrics calculated by dividing one metric by another. + * @param averageRateMetrics averageRateMetrics or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMetrics setAverageRateMetrics(GoogleAdsSearchads360V23ServicesRateMetrics averageRateMetrics) { + this.averageRateMetrics = averageRateMetrics; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMetrics set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMetrics) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMetrics clone() { + return (GoogleAdsSearchads360V23ServicesMetrics) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMoveManagerLinkRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMoveManagerLinkRequest.java new file mode 100644 index 00000000000..fbce7e20cfb --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMoveManagerLinkRequest.java @@ -0,0 +1,121 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for CustomerManagerLinkService.MoveManagerLink. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMoveManagerLinkRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The resource name of the new manager customer that the client wants to move to. + * Customer resource names have the format: "customers/{customer_id}" + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String newManager; + + /** + * Required. The resource name of the previous CustomerManagerLink. The resource name has the + * form: `customers/{customer_id}/customerManagerLinks/{manager_customer_id}~{manager_link_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String previousCustomerManagerLink; + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean validateOnly; + + /** + * Required. The resource name of the new manager customer that the client wants to move to. + * Customer resource names have the format: "customers/{customer_id}" + * @return value or {@code null} for none + */ + public java.lang.String getNewManager() { + return newManager; + } + + /** + * Required. The resource name of the new manager customer that the client wants to move to. + * Customer resource names have the format: "customers/{customer_id}" + * @param newManager newManager or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMoveManagerLinkRequest setNewManager(java.lang.String newManager) { + this.newManager = newManager; + return this; + } + + /** + * Required. The resource name of the previous CustomerManagerLink. The resource name has the + * form: `customers/{customer_id}/customerManagerLinks/{manager_customer_id}~{manager_link_id}` + * @return value or {@code null} for none + */ + public java.lang.String getPreviousCustomerManagerLink() { + return previousCustomerManagerLink; + } + + /** + * Required. The resource name of the previous CustomerManagerLink. The resource name has the + * form: `customers/{customer_id}/customerManagerLinks/{manager_customer_id}~{manager_link_id}` + * @param previousCustomerManagerLink previousCustomerManagerLink or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMoveManagerLinkRequest setPreviousCustomerManagerLink(java.lang.String previousCustomerManagerLink) { + this.previousCustomerManagerLink = previousCustomerManagerLink; + return this; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @return value or {@code null} for none + */ + public java.lang.Boolean getValidateOnly() { + return validateOnly; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @param validateOnly validateOnly or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMoveManagerLinkRequest setValidateOnly(java.lang.Boolean validateOnly) { + this.validateOnly = validateOnly; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMoveManagerLinkRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMoveManagerLinkRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMoveManagerLinkRequest clone() { + return (GoogleAdsSearchads360V23ServicesMoveManagerLinkRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMoveManagerLinkResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMoveManagerLinkResponse.java new file mode 100644 index 00000000000..1839fe079b6 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMoveManagerLinkResponse.java @@ -0,0 +1,70 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for a CustomerManagerLink moveManagerLink. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMoveManagerLinkResponse extends com.google.api.client.json.GenericJson { + + /** + * Returned for successful operations. Represents a CustomerManagerLink resource of the newly + * created link between client customer and new manager customer. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Returned for successful operations. Represents a CustomerManagerLink resource of the newly + * created link between client customer and new manager customer. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Returned for successful operations. Represents a CustomerManagerLink resource of the newly + * created link between client customer and new manager customer. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMoveManagerLinkResponse setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMoveManagerLinkResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMoveManagerLinkResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMoveManagerLinkResponse clone() { + return (GoogleAdsSearchads360V23ServicesMoveManagerLinkResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAccountBudgetProposalRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAccountBudgetProposalRequest.java new file mode 100644 index 00000000000..5569b4d8907 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAccountBudgetProposalRequest.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for AccountBudgetProposalService.MutateAccountBudgetProposal. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateAccountBudgetProposalRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The operation to perform on an individual account-level budget proposal. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesAccountBudgetProposalOperation operation; + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean validateOnly; + + /** + * Required. The operation to perform on an individual account-level budget proposal. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAccountBudgetProposalOperation getOperation() { + return operation; + } + + /** + * Required. The operation to perform on an individual account-level budget proposal. + * @param operation operation or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAccountBudgetProposalRequest setOperation(GoogleAdsSearchads360V23ServicesAccountBudgetProposalOperation operation) { + this.operation = operation; + return this; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @return value or {@code null} for none + */ + public java.lang.Boolean getValidateOnly() { + return validateOnly; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @param validateOnly validateOnly or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAccountBudgetProposalRequest setValidateOnly(java.lang.Boolean validateOnly) { + this.validateOnly = validateOnly; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAccountBudgetProposalRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateAccountBudgetProposalRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAccountBudgetProposalRequest clone() { + return (GoogleAdsSearchads360V23ServicesMutateAccountBudgetProposalRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAccountBudgetProposalResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAccountBudgetProposalResponse.java new file mode 100644 index 00000000000..b29b492da0c --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAccountBudgetProposalResponse.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for account-level budget mutate operations. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateAccountBudgetProposalResponse extends com.google.api.client.json.GenericJson { + + /** + * The result of the mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesMutateAccountBudgetProposalResult result; + + /** + * The result of the mutate. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAccountBudgetProposalResult getResult() { + return result; + } + + /** + * The result of the mutate. + * @param result result or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAccountBudgetProposalResponse setResult(GoogleAdsSearchads360V23ServicesMutateAccountBudgetProposalResult result) { + this.result = result; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAccountBudgetProposalResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateAccountBudgetProposalResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAccountBudgetProposalResponse clone() { + return (GoogleAdsSearchads360V23ServicesMutateAccountBudgetProposalResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAccountBudgetProposalResult.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAccountBudgetProposalResult.java new file mode 100644 index 00000000000..4718e147331 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAccountBudgetProposalResult.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The result for the account budget proposal mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateAccountBudgetProposalResult extends com.google.api.client.json.GenericJson { + + /** + * Returned for successful operations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Returned for successful operations. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Returned for successful operations. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAccountBudgetProposalResult setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAccountBudgetProposalResult set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateAccountBudgetProposalResult) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAccountBudgetProposalResult clone() { + return (GoogleAdsSearchads360V23ServicesMutateAccountBudgetProposalResult) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAccountLinkRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAccountLinkRequest.java new file mode 100644 index 00000000000..30f44836da5 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAccountLinkRequest.java @@ -0,0 +1,121 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for AccountLinkService.MutateAccountLink. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateAccountLinkRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The operation to perform on the link. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesAccountLinkOperation operation; + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean partialFailure; + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean validateOnly; + + /** + * Required. The operation to perform on the link. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAccountLinkOperation getOperation() { + return operation; + } + + /** + * Required. The operation to perform on the link. + * @param operation operation or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAccountLinkRequest setOperation(GoogleAdsSearchads360V23ServicesAccountLinkOperation operation) { + this.operation = operation; + return this; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @return value or {@code null} for none + */ + public java.lang.Boolean getPartialFailure() { + return partialFailure; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @param partialFailure partialFailure or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAccountLinkRequest setPartialFailure(java.lang.Boolean partialFailure) { + this.partialFailure = partialFailure; + return this; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @return value or {@code null} for none + */ + public java.lang.Boolean getValidateOnly() { + return validateOnly; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @param validateOnly validateOnly or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAccountLinkRequest setValidateOnly(java.lang.Boolean validateOnly) { + this.validateOnly = validateOnly; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAccountLinkRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateAccountLinkRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAccountLinkRequest clone() { + return (GoogleAdsSearchads360V23ServicesMutateAccountLinkRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAccountLinkResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAccountLinkResponse.java new file mode 100644 index 00000000000..302594a79f7 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAccountLinkResponse.java @@ -0,0 +1,97 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for account link mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateAccountLinkResponse extends com.google.api.client.json.GenericJson { + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleRpcStatus partialFailureError; + + /** + * Result for the mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesMutateAccountLinkResult result; + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @return value or {@code null} for none + */ + public GoogleRpcStatus getPartialFailureError() { + return partialFailureError; + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @param partialFailureError partialFailureError or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAccountLinkResponse setPartialFailureError(GoogleRpcStatus partialFailureError) { + this.partialFailureError = partialFailureError; + return this; + } + + /** + * Result for the mutate. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAccountLinkResult getResult() { + return result; + } + + /** + * Result for the mutate. + * @param result result or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAccountLinkResponse setResult(GoogleAdsSearchads360V23ServicesMutateAccountLinkResult result) { + this.result = result; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAccountLinkResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateAccountLinkResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAccountLinkResponse clone() { + return (GoogleAdsSearchads360V23ServicesMutateAccountLinkResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAccountLinkResult.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAccountLinkResult.java new file mode 100644 index 00000000000..807a4ef4870 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAccountLinkResult.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The result for the account link mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateAccountLinkResult extends com.google.api.client.json.GenericJson { + + /** + * Returned for successful operations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Returned for successful operations. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Returned for successful operations. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAccountLinkResult setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAccountLinkResult set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateAccountLinkResult) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAccountLinkResult clone() { + return (GoogleAdsSearchads360V23ServicesMutateAccountLinkResult) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupAdLabelResult.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupAdLabelResult.java new file mode 100644 index 00000000000..8a2f9402647 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupAdLabelResult.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The result for an ad group ad label mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateAdGroupAdLabelResult extends com.google.api.client.json.GenericJson { + + /** + * Returned for successful operations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Returned for successful operations. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Returned for successful operations. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdGroupAdLabelResult setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAdGroupAdLabelResult set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateAdGroupAdLabelResult) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAdGroupAdLabelResult clone() { + return (GoogleAdsSearchads360V23ServicesMutateAdGroupAdLabelResult) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupAdLabelsRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupAdLabelsRequest.java new file mode 100644 index 00000000000..33fb4d876e8 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupAdLabelsRequest.java @@ -0,0 +1,127 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for AdGroupAdLabelService.MutateAdGroupAdLabels. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateAdGroupAdLabelsRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The list of operations to perform on ad group ad labels. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List operations; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesAdGroupAdLabelOperation used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesAdGroupAdLabelOperation.class); + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean partialFailure; + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean validateOnly; + + /** + * Required. The list of operations to perform on ad group ad labels. + * @return value or {@code null} for none + */ + public java.util.List getOperations() { + return operations; + } + + /** + * Required. The list of operations to perform on ad group ad labels. + * @param operations operations or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdGroupAdLabelsRequest setOperations(java.util.List operations) { + this.operations = operations; + return this; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @return value or {@code null} for none + */ + public java.lang.Boolean getPartialFailure() { + return partialFailure; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @param partialFailure partialFailure or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdGroupAdLabelsRequest setPartialFailure(java.lang.Boolean partialFailure) { + this.partialFailure = partialFailure; + return this; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @return value or {@code null} for none + */ + public java.lang.Boolean getValidateOnly() { + return validateOnly; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @param validateOnly validateOnly or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdGroupAdLabelsRequest setValidateOnly(java.lang.Boolean validateOnly) { + this.validateOnly = validateOnly; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAdGroupAdLabelsRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateAdGroupAdLabelsRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAdGroupAdLabelsRequest clone() { + return (GoogleAdsSearchads360V23ServicesMutateAdGroupAdLabelsRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupAdLabelsResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupAdLabelsResponse.java new file mode 100644 index 00000000000..a2d5d413869 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupAdLabelsResponse.java @@ -0,0 +1,103 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for an ad group ad labels mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateAdGroupAdLabelsResponse extends com.google.api.client.json.GenericJson { + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleRpcStatus partialFailureError; + + /** + * All results for the mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List results; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesMutateAdGroupAdLabelResult used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesMutateAdGroupAdLabelResult.class); + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @return value or {@code null} for none + */ + public GoogleRpcStatus getPartialFailureError() { + return partialFailureError; + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @param partialFailureError partialFailureError or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdGroupAdLabelsResponse setPartialFailureError(GoogleRpcStatus partialFailureError) { + this.partialFailureError = partialFailureError; + return this; + } + + /** + * All results for the mutate. + * @return value or {@code null} for none + */ + public java.util.List getResults() { + return results; + } + + /** + * All results for the mutate. + * @param results results or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdGroupAdLabelsResponse setResults(java.util.List results) { + this.results = results; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAdGroupAdLabelsResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateAdGroupAdLabelsResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAdGroupAdLabelsResponse clone() { + return (GoogleAdsSearchads360V23ServicesMutateAdGroupAdLabelsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupAdResult.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupAdResult.java new file mode 100644 index 00000000000..e84bcb9d944 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupAdResult.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The result for the ad mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateAdGroupAdResult extends com.google.api.client.json.GenericJson { + + /** + * The mutated ad group ad with only mutable fields after mutate. The field will only be returned + * when response_content_type is set to "MUTABLE_RESOURCE". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAdGroupAd adGroupAd; + + /** + * The resource name returned for successful operations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * The mutated ad group ad with only mutable fields after mutate. The field will only be returned + * when response_content_type is set to "MUTABLE_RESOURCE". + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupAd getAdGroupAd() { + return adGroupAd; + } + + /** + * The mutated ad group ad with only mutable fields after mutate. The field will only be returned + * when response_content_type is set to "MUTABLE_RESOURCE". + * @param adGroupAd adGroupAd or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdGroupAdResult setAdGroupAd(GoogleAdsSearchads360V23ResourcesAdGroupAd adGroupAd) { + this.adGroupAd = adGroupAd; + return this; + } + + /** + * The resource name returned for successful operations. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * The resource name returned for successful operations. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdGroupAdResult setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAdGroupAdResult set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateAdGroupAdResult) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAdGroupAdResult clone() { + return (GoogleAdsSearchads360V23ServicesMutateAdGroupAdResult) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupAdsRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupAdsRequest.java new file mode 100644 index 00000000000..b4d2076097a --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupAdsRequest.java @@ -0,0 +1,154 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for AdGroupAdService.MutateAdGroupAds. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateAdGroupAdsRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The list of operations to perform on individual ads. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List operations; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesAdGroupAdOperation used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesAdGroupAdOperation.class); + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean partialFailure; + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String responseContentType; + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean validateOnly; + + /** + * Required. The list of operations to perform on individual ads. + * @return value or {@code null} for none + */ + public java.util.List getOperations() { + return operations; + } + + /** + * Required. The list of operations to perform on individual ads. + * @param operations operations or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdGroupAdsRequest setOperations(java.util.List operations) { + this.operations = operations; + return this; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @return value or {@code null} for none + */ + public java.lang.Boolean getPartialFailure() { + return partialFailure; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @param partialFailure partialFailure or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdGroupAdsRequest setPartialFailure(java.lang.Boolean partialFailure) { + this.partialFailure = partialFailure; + return this; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * @return value or {@code null} for none + */ + public java.lang.String getResponseContentType() { + return responseContentType; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * @param responseContentType responseContentType or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdGroupAdsRequest setResponseContentType(java.lang.String responseContentType) { + this.responseContentType = responseContentType; + return this; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @return value or {@code null} for none + */ + public java.lang.Boolean getValidateOnly() { + return validateOnly; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @param validateOnly validateOnly or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdGroupAdsRequest setValidateOnly(java.lang.Boolean validateOnly) { + this.validateOnly = validateOnly; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAdGroupAdsRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateAdGroupAdsRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAdGroupAdsRequest clone() { + return (GoogleAdsSearchads360V23ServicesMutateAdGroupAdsRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupAdsResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupAdsResponse.java new file mode 100644 index 00000000000..32479c2f75d --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupAdsResponse.java @@ -0,0 +1,103 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for an ad group ad mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateAdGroupAdsResponse extends com.google.api.client.json.GenericJson { + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleRpcStatus partialFailureError; + + /** + * All results for the mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List results; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesMutateAdGroupAdResult used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesMutateAdGroupAdResult.class); + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @return value or {@code null} for none + */ + public GoogleRpcStatus getPartialFailureError() { + return partialFailureError; + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @param partialFailureError partialFailureError or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdGroupAdsResponse setPartialFailureError(GoogleRpcStatus partialFailureError) { + this.partialFailureError = partialFailureError; + return this; + } + + /** + * All results for the mutate. + * @return value or {@code null} for none + */ + public java.util.List getResults() { + return results; + } + + /** + * All results for the mutate. + * @param results results or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdGroupAdsResponse setResults(java.util.List results) { + this.results = results; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAdGroupAdsResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateAdGroupAdsResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAdGroupAdsResponse clone() { + return (GoogleAdsSearchads360V23ServicesMutateAdGroupAdsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupAssetResult.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupAssetResult.java new file mode 100644 index 00000000000..a46b92e858b --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupAssetResult.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The result for the ad group asset mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateAdGroupAssetResult extends com.google.api.client.json.GenericJson { + + /** + * The mutated ad group asset with only mutable fields after mutate. The field will only be + * returned when response_content_type is set to "MUTABLE_RESOURCE". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAdGroupAsset adGroupAsset; + + /** + * Returned for successful operations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * The mutated ad group asset with only mutable fields after mutate. The field will only be + * returned when response_content_type is set to "MUTABLE_RESOURCE". + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupAsset getAdGroupAsset() { + return adGroupAsset; + } + + /** + * The mutated ad group asset with only mutable fields after mutate. The field will only be + * returned when response_content_type is set to "MUTABLE_RESOURCE". + * @param adGroupAsset adGroupAsset or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdGroupAssetResult setAdGroupAsset(GoogleAdsSearchads360V23ResourcesAdGroupAsset adGroupAsset) { + this.adGroupAsset = adGroupAsset; + return this; + } + + /** + * Returned for successful operations. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Returned for successful operations. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdGroupAssetResult setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAdGroupAssetResult set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateAdGroupAssetResult) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAdGroupAssetResult clone() { + return (GoogleAdsSearchads360V23ServicesMutateAdGroupAssetResult) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupAssetSetResult.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupAssetSetResult.java new file mode 100644 index 00000000000..c6fd0212f4d --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupAssetSetResult.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The result for the ad group asset set mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateAdGroupAssetSetResult extends com.google.api.client.json.GenericJson { + + /** + * The mutated ad group asset set with only mutable fields after mutate. The field will only be + * returned when response_content_type is set to "MUTABLE_RESOURCE". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAdGroupAssetSet adGroupAssetSet; + + /** + * Returned for successful operations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * The mutated ad group asset set with only mutable fields after mutate. The field will only be + * returned when response_content_type is set to "MUTABLE_RESOURCE". + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupAssetSet getAdGroupAssetSet() { + return adGroupAssetSet; + } + + /** + * The mutated ad group asset set with only mutable fields after mutate. The field will only be + * returned when response_content_type is set to "MUTABLE_RESOURCE". + * @param adGroupAssetSet adGroupAssetSet or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdGroupAssetSetResult setAdGroupAssetSet(GoogleAdsSearchads360V23ResourcesAdGroupAssetSet adGroupAssetSet) { + this.adGroupAssetSet = adGroupAssetSet; + return this; + } + + /** + * Returned for successful operations. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Returned for successful operations. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdGroupAssetSetResult setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAdGroupAssetSetResult set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateAdGroupAssetSetResult) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAdGroupAssetSetResult clone() { + return (GoogleAdsSearchads360V23ServicesMutateAdGroupAssetSetResult) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupAssetSetsRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupAssetSetsRequest.java new file mode 100644 index 00000000000..9f8fa4a21d6 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupAssetSetsRequest.java @@ -0,0 +1,154 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for AdGroupAssetSetService.MutateAdGroupAssetSets. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateAdGroupAssetSetsRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The list of operations to perform on individual ad group asset sets. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List operations; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesAdGroupAssetSetOperation used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesAdGroupAssetSetOperation.class); + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean partialFailure; + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String responseContentType; + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean validateOnly; + + /** + * Required. The list of operations to perform on individual ad group asset sets. + * @return value or {@code null} for none + */ + public java.util.List getOperations() { + return operations; + } + + /** + * Required. The list of operations to perform on individual ad group asset sets. + * @param operations operations or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdGroupAssetSetsRequest setOperations(java.util.List operations) { + this.operations = operations; + return this; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @return value or {@code null} for none + */ + public java.lang.Boolean getPartialFailure() { + return partialFailure; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @param partialFailure partialFailure or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdGroupAssetSetsRequest setPartialFailure(java.lang.Boolean partialFailure) { + this.partialFailure = partialFailure; + return this; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * @return value or {@code null} for none + */ + public java.lang.String getResponseContentType() { + return responseContentType; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * @param responseContentType responseContentType or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdGroupAssetSetsRequest setResponseContentType(java.lang.String responseContentType) { + this.responseContentType = responseContentType; + return this; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @return value or {@code null} for none + */ + public java.lang.Boolean getValidateOnly() { + return validateOnly; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @param validateOnly validateOnly or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdGroupAssetSetsRequest setValidateOnly(java.lang.Boolean validateOnly) { + this.validateOnly = validateOnly; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAdGroupAssetSetsRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateAdGroupAssetSetsRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAdGroupAssetSetsRequest clone() { + return (GoogleAdsSearchads360V23ServicesMutateAdGroupAssetSetsRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupAssetSetsResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupAssetSetsResponse.java new file mode 100644 index 00000000000..8d9f8b26338 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupAssetSetsResponse.java @@ -0,0 +1,103 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for an ad group asset set mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateAdGroupAssetSetsResponse extends com.google.api.client.json.GenericJson { + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (e.g. auth errors), we return an RPC level error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleRpcStatus partialFailureError; + + /** + * All results for the mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List results; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesMutateAdGroupAssetSetResult used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesMutateAdGroupAssetSetResult.class); + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (e.g. auth errors), we return an RPC level error. + * @return value or {@code null} for none + */ + public GoogleRpcStatus getPartialFailureError() { + return partialFailureError; + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (e.g. auth errors), we return an RPC level error. + * @param partialFailureError partialFailureError or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdGroupAssetSetsResponse setPartialFailureError(GoogleRpcStatus partialFailureError) { + this.partialFailureError = partialFailureError; + return this; + } + + /** + * All results for the mutate. + * @return value or {@code null} for none + */ + public java.util.List getResults() { + return results; + } + + /** + * All results for the mutate. + * @param results results or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdGroupAssetSetsResponse setResults(java.util.List results) { + this.results = results; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAdGroupAssetSetsResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateAdGroupAssetSetsResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAdGroupAssetSetsResponse clone() { + return (GoogleAdsSearchads360V23ServicesMutateAdGroupAssetSetsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupAssetsRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupAssetsRequest.java new file mode 100644 index 00000000000..a0a28fec50f --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupAssetsRequest.java @@ -0,0 +1,154 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for AdGroupAssetService.MutateAdGroupAssets. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateAdGroupAssetsRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The list of operations to perform on individual ad group assets. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List operations; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesAdGroupAssetOperation used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesAdGroupAssetOperation.class); + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean partialFailure; + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String responseContentType; + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean validateOnly; + + /** + * Required. The list of operations to perform on individual ad group assets. + * @return value or {@code null} for none + */ + public java.util.List getOperations() { + return operations; + } + + /** + * Required. The list of operations to perform on individual ad group assets. + * @param operations operations or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdGroupAssetsRequest setOperations(java.util.List operations) { + this.operations = operations; + return this; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @return value or {@code null} for none + */ + public java.lang.Boolean getPartialFailure() { + return partialFailure; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @param partialFailure partialFailure or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdGroupAssetsRequest setPartialFailure(java.lang.Boolean partialFailure) { + this.partialFailure = partialFailure; + return this; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * @return value or {@code null} for none + */ + public java.lang.String getResponseContentType() { + return responseContentType; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * @param responseContentType responseContentType or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdGroupAssetsRequest setResponseContentType(java.lang.String responseContentType) { + this.responseContentType = responseContentType; + return this; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @return value or {@code null} for none + */ + public java.lang.Boolean getValidateOnly() { + return validateOnly; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @param validateOnly validateOnly or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdGroupAssetsRequest setValidateOnly(java.lang.Boolean validateOnly) { + this.validateOnly = validateOnly; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAdGroupAssetsRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateAdGroupAssetsRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAdGroupAssetsRequest clone() { + return (GoogleAdsSearchads360V23ServicesMutateAdGroupAssetsRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupAssetsResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupAssetsResponse.java new file mode 100644 index 00000000000..32da1da0a84 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupAssetsResponse.java @@ -0,0 +1,103 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for an ad group asset mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateAdGroupAssetsResponse extends com.google.api.client.json.GenericJson { + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleRpcStatus partialFailureError; + + /** + * All results for the mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List results; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesMutateAdGroupAssetResult used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesMutateAdGroupAssetResult.class); + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @return value or {@code null} for none + */ + public GoogleRpcStatus getPartialFailureError() { + return partialFailureError; + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @param partialFailureError partialFailureError or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdGroupAssetsResponse setPartialFailureError(GoogleRpcStatus partialFailureError) { + this.partialFailureError = partialFailureError; + return this; + } + + /** + * All results for the mutate. + * @return value or {@code null} for none + */ + public java.util.List getResults() { + return results; + } + + /** + * All results for the mutate. + * @param results results or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdGroupAssetsResponse setResults(java.util.List results) { + this.results = results; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAdGroupAssetsResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateAdGroupAssetsResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAdGroupAssetsResponse clone() { + return (GoogleAdsSearchads360V23ServicesMutateAdGroupAssetsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupBidModifierResult.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupBidModifierResult.java new file mode 100644 index 00000000000..8983c5f4936 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupBidModifierResult.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The result for the criterion mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateAdGroupBidModifierResult extends com.google.api.client.json.GenericJson { + + /** + * The mutated ad group bid modifier with only mutable fields after mutate. The field will only be + * returned when response_content_type is set to "MUTABLE_RESOURCE". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAdGroupBidModifier adGroupBidModifier; + + /** + * Returned for successful operations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * The mutated ad group bid modifier with only mutable fields after mutate. The field will only be + * returned when response_content_type is set to "MUTABLE_RESOURCE". + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupBidModifier getAdGroupBidModifier() { + return adGroupBidModifier; + } + + /** + * The mutated ad group bid modifier with only mutable fields after mutate. The field will only be + * returned when response_content_type is set to "MUTABLE_RESOURCE". + * @param adGroupBidModifier adGroupBidModifier or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdGroupBidModifierResult setAdGroupBidModifier(GoogleAdsSearchads360V23ResourcesAdGroupBidModifier adGroupBidModifier) { + this.adGroupBidModifier = adGroupBidModifier; + return this; + } + + /** + * Returned for successful operations. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Returned for successful operations. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdGroupBidModifierResult setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAdGroupBidModifierResult set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateAdGroupBidModifierResult) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAdGroupBidModifierResult clone() { + return (GoogleAdsSearchads360V23ServicesMutateAdGroupBidModifierResult) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupBidModifiersRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupBidModifiersRequest.java new file mode 100644 index 00000000000..9fa2be2107a --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupBidModifiersRequest.java @@ -0,0 +1,154 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for AdGroupBidModifierService.MutateAdGroupBidModifiers. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateAdGroupBidModifiersRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The list of operations to perform on individual ad group bid modifiers. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List operations; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesAdGroupBidModifierOperation used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesAdGroupBidModifierOperation.class); + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean partialFailure; + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String responseContentType; + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean validateOnly; + + /** + * Required. The list of operations to perform on individual ad group bid modifiers. + * @return value or {@code null} for none + */ + public java.util.List getOperations() { + return operations; + } + + /** + * Required. The list of operations to perform on individual ad group bid modifiers. + * @param operations operations or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdGroupBidModifiersRequest setOperations(java.util.List operations) { + this.operations = operations; + return this; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @return value or {@code null} for none + */ + public java.lang.Boolean getPartialFailure() { + return partialFailure; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @param partialFailure partialFailure or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdGroupBidModifiersRequest setPartialFailure(java.lang.Boolean partialFailure) { + this.partialFailure = partialFailure; + return this; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * @return value or {@code null} for none + */ + public java.lang.String getResponseContentType() { + return responseContentType; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * @param responseContentType responseContentType or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdGroupBidModifiersRequest setResponseContentType(java.lang.String responseContentType) { + this.responseContentType = responseContentType; + return this; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @return value or {@code null} for none + */ + public java.lang.Boolean getValidateOnly() { + return validateOnly; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @param validateOnly validateOnly or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdGroupBidModifiersRequest setValidateOnly(java.lang.Boolean validateOnly) { + this.validateOnly = validateOnly; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAdGroupBidModifiersRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateAdGroupBidModifiersRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAdGroupBidModifiersRequest clone() { + return (GoogleAdsSearchads360V23ServicesMutateAdGroupBidModifiersRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupBidModifiersResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupBidModifiersResponse.java new file mode 100644 index 00000000000..88ac4f8757a --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupBidModifiersResponse.java @@ -0,0 +1,103 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for ad group bid modifiers mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateAdGroupBidModifiersResponse extends com.google.api.client.json.GenericJson { + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleRpcStatus partialFailureError; + + /** + * All results for the mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List results; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesMutateAdGroupBidModifierResult used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesMutateAdGroupBidModifierResult.class); + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @return value or {@code null} for none + */ + public GoogleRpcStatus getPartialFailureError() { + return partialFailureError; + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @param partialFailureError partialFailureError or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdGroupBidModifiersResponse setPartialFailureError(GoogleRpcStatus partialFailureError) { + this.partialFailureError = partialFailureError; + return this; + } + + /** + * All results for the mutate. + * @return value or {@code null} for none + */ + public java.util.List getResults() { + return results; + } + + /** + * All results for the mutate. + * @param results results or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdGroupBidModifiersResponse setResults(java.util.List results) { + this.results = results; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAdGroupBidModifiersResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateAdGroupBidModifiersResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAdGroupBidModifiersResponse clone() { + return (GoogleAdsSearchads360V23ServicesMutateAdGroupBidModifiersResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupCriteriaRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupCriteriaRequest.java new file mode 100644 index 00000000000..b461f3685e9 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupCriteriaRequest.java @@ -0,0 +1,154 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for AdGroupCriterionService.MutateAdGroupCriteria. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateAdGroupCriteriaRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The list of operations to perform on individual criteria. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List operations; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesAdGroupCriterionOperation used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesAdGroupCriterionOperation.class); + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean partialFailure; + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String responseContentType; + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean validateOnly; + + /** + * Required. The list of operations to perform on individual criteria. + * @return value or {@code null} for none + */ + public java.util.List getOperations() { + return operations; + } + + /** + * Required. The list of operations to perform on individual criteria. + * @param operations operations or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdGroupCriteriaRequest setOperations(java.util.List operations) { + this.operations = operations; + return this; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @return value or {@code null} for none + */ + public java.lang.Boolean getPartialFailure() { + return partialFailure; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @param partialFailure partialFailure or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdGroupCriteriaRequest setPartialFailure(java.lang.Boolean partialFailure) { + this.partialFailure = partialFailure; + return this; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * @return value or {@code null} for none + */ + public java.lang.String getResponseContentType() { + return responseContentType; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * @param responseContentType responseContentType or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdGroupCriteriaRequest setResponseContentType(java.lang.String responseContentType) { + this.responseContentType = responseContentType; + return this; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @return value or {@code null} for none + */ + public java.lang.Boolean getValidateOnly() { + return validateOnly; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @param validateOnly validateOnly or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdGroupCriteriaRequest setValidateOnly(java.lang.Boolean validateOnly) { + this.validateOnly = validateOnly; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAdGroupCriteriaRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateAdGroupCriteriaRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAdGroupCriteriaRequest clone() { + return (GoogleAdsSearchads360V23ServicesMutateAdGroupCriteriaRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupCriteriaResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupCriteriaResponse.java new file mode 100644 index 00000000000..4c145fa67ac --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupCriteriaResponse.java @@ -0,0 +1,97 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for an ad group criterion mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateAdGroupCriteriaResponse extends com.google.api.client.json.GenericJson { + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleRpcStatus partialFailureError; + + /** + * All results for the mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List results; + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @return value or {@code null} for none + */ + public GoogleRpcStatus getPartialFailureError() { + return partialFailureError; + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @param partialFailureError partialFailureError or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdGroupCriteriaResponse setPartialFailureError(GoogleRpcStatus partialFailureError) { + this.partialFailureError = partialFailureError; + return this; + } + + /** + * All results for the mutate. + * @return value or {@code null} for none + */ + public java.util.List getResults() { + return results; + } + + /** + * All results for the mutate. + * @param results results or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdGroupCriteriaResponse setResults(java.util.List results) { + this.results = results; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAdGroupCriteriaResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateAdGroupCriteriaResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAdGroupCriteriaResponse clone() { + return (GoogleAdsSearchads360V23ServicesMutateAdGroupCriteriaResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionCustomizerResult.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionCustomizerResult.java new file mode 100644 index 00000000000..6ec02064692 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionCustomizerResult.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The result for the ad group criterion customizer mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionCustomizerResult extends com.google.api.client.json.GenericJson { + + /** + * The mutated AdGroupCriterionCustomizer with only mutable fields after mutate. The field will + * only be returned when response_content_type is set to "MUTABLE_RESOURCE". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAdGroupCriterionCustomizer adGroupCriterionCustomizer; + + /** + * Returned for successful operations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * The mutated AdGroupCriterionCustomizer with only mutable fields after mutate. The field will + * only be returned when response_content_type is set to "MUTABLE_RESOURCE". + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterionCustomizer getAdGroupCriterionCustomizer() { + return adGroupCriterionCustomizer; + } + + /** + * The mutated AdGroupCriterionCustomizer with only mutable fields after mutate. The field will + * only be returned when response_content_type is set to "MUTABLE_RESOURCE". + * @param adGroupCriterionCustomizer adGroupCriterionCustomizer or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionCustomizerResult setAdGroupCriterionCustomizer(GoogleAdsSearchads360V23ResourcesAdGroupCriterionCustomizer adGroupCriterionCustomizer) { + this.adGroupCriterionCustomizer = adGroupCriterionCustomizer; + return this; + } + + /** + * Returned for successful operations. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Returned for successful operations. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionCustomizerResult setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionCustomizerResult set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionCustomizerResult) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionCustomizerResult clone() { + return (GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionCustomizerResult) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionCustomizersRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionCustomizersRequest.java new file mode 100644 index 00000000000..b910ac7353c --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionCustomizersRequest.java @@ -0,0 +1,154 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for AdGroupCriterionCustomizerService.MutateAdGroupCriterionCustomizers. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionCustomizersRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The list of operations to perform on individual ad group criterion customizers. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List operations; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesAdGroupCriterionCustomizerOperation used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesAdGroupCriterionCustomizerOperation.class); + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean partialFailure; + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String responseContentType; + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean validateOnly; + + /** + * Required. The list of operations to perform on individual ad group criterion customizers. + * @return value or {@code null} for none + */ + public java.util.List getOperations() { + return operations; + } + + /** + * Required. The list of operations to perform on individual ad group criterion customizers. + * @param operations operations or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionCustomizersRequest setOperations(java.util.List operations) { + this.operations = operations; + return this; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @return value or {@code null} for none + */ + public java.lang.Boolean getPartialFailure() { + return partialFailure; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @param partialFailure partialFailure or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionCustomizersRequest setPartialFailure(java.lang.Boolean partialFailure) { + this.partialFailure = partialFailure; + return this; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * @return value or {@code null} for none + */ + public java.lang.String getResponseContentType() { + return responseContentType; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * @param responseContentType responseContentType or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionCustomizersRequest setResponseContentType(java.lang.String responseContentType) { + this.responseContentType = responseContentType; + return this; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @return value or {@code null} for none + */ + public java.lang.Boolean getValidateOnly() { + return validateOnly; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @param validateOnly validateOnly or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionCustomizersRequest setValidateOnly(java.lang.Boolean validateOnly) { + this.validateOnly = validateOnly; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionCustomizersRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionCustomizersRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionCustomizersRequest clone() { + return (GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionCustomizersRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionCustomizersResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionCustomizersResponse.java new file mode 100644 index 00000000000..22dd9312143 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionCustomizersResponse.java @@ -0,0 +1,103 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for an ad group criterion customizer mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionCustomizersResponse extends com.google.api.client.json.GenericJson { + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleRpcStatus partialFailureError; + + /** + * All results for the mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List results; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionCustomizerResult used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionCustomizerResult.class); + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @return value or {@code null} for none + */ + public GoogleRpcStatus getPartialFailureError() { + return partialFailureError; + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @param partialFailureError partialFailureError or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionCustomizersResponse setPartialFailureError(GoogleRpcStatus partialFailureError) { + this.partialFailureError = partialFailureError; + return this; + } + + /** + * All results for the mutate. + * @return value or {@code null} for none + */ + public java.util.List getResults() { + return results; + } + + /** + * All results for the mutate. + * @param results results or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionCustomizersResponse setResults(java.util.List results) { + this.results = results; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionCustomizersResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionCustomizersResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionCustomizersResponse clone() { + return (GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionCustomizersResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionLabelResult.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionLabelResult.java new file mode 100644 index 00000000000..11bbacbd351 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionLabelResult.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The result for an ad group criterion label mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionLabelResult extends com.google.api.client.json.GenericJson { + + /** + * Returned for successful operations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Returned for successful operations. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Returned for successful operations. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionLabelResult setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionLabelResult set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionLabelResult) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionLabelResult clone() { + return (GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionLabelResult) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionLabelsRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionLabelsRequest.java new file mode 100644 index 00000000000..422024681f3 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionLabelsRequest.java @@ -0,0 +1,127 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for AdGroupCriterionLabelService.MutateAdGroupCriterionLabels. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionLabelsRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The list of operations to perform on ad group criterion labels. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List operations; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesAdGroupCriterionLabelOperation used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesAdGroupCriterionLabelOperation.class); + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean partialFailure; + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean validateOnly; + + /** + * Required. The list of operations to perform on ad group criterion labels. + * @return value or {@code null} for none + */ + public java.util.List getOperations() { + return operations; + } + + /** + * Required. The list of operations to perform on ad group criterion labels. + * @param operations operations or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionLabelsRequest setOperations(java.util.List operations) { + this.operations = operations; + return this; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @return value or {@code null} for none + */ + public java.lang.Boolean getPartialFailure() { + return partialFailure; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @param partialFailure partialFailure or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionLabelsRequest setPartialFailure(java.lang.Boolean partialFailure) { + this.partialFailure = partialFailure; + return this; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @return value or {@code null} for none + */ + public java.lang.Boolean getValidateOnly() { + return validateOnly; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @param validateOnly validateOnly or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionLabelsRequest setValidateOnly(java.lang.Boolean validateOnly) { + this.validateOnly = validateOnly; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionLabelsRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionLabelsRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionLabelsRequest clone() { + return (GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionLabelsRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionLabelsResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionLabelsResponse.java new file mode 100644 index 00000000000..0ce0b637894 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionLabelsResponse.java @@ -0,0 +1,103 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for an ad group criterion labels mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionLabelsResponse extends com.google.api.client.json.GenericJson { + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleRpcStatus partialFailureError; + + /** + * All results for the mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List results; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionLabelResult used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionLabelResult.class); + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @return value or {@code null} for none + */ + public GoogleRpcStatus getPartialFailureError() { + return partialFailureError; + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @param partialFailureError partialFailureError or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionLabelsResponse setPartialFailureError(GoogleRpcStatus partialFailureError) { + this.partialFailureError = partialFailureError; + return this; + } + + /** + * All results for the mutate. + * @return value or {@code null} for none + */ + public java.util.List getResults() { + return results; + } + + /** + * All results for the mutate. + * @param results results or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionLabelsResponse setResults(java.util.List results) { + this.results = results; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionLabelsResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionLabelsResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionLabelsResponse clone() { + return (GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionLabelsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionResult.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionResult.java new file mode 100644 index 00000000000..e9c0c47610b --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionResult.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The result for the criterion mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionResult extends com.google.api.client.json.GenericJson { + + /** + * The mutated ad group criterion with only mutable fields after mutate. The field will only be + * returned when response_content_type is set to "MUTABLE_RESOURCE". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAdGroupCriterion adGroupCriterion; + + /** + * Returned for successful operations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * The mutated ad group criterion with only mutable fields after mutate. The field will only be + * returned when response_content_type is set to "MUTABLE_RESOURCE". + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterion getAdGroupCriterion() { + return adGroupCriterion; + } + + /** + * The mutated ad group criterion with only mutable fields after mutate. The field will only be + * returned when response_content_type is set to "MUTABLE_RESOURCE". + * @param adGroupCriterion adGroupCriterion or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionResult setAdGroupCriterion(GoogleAdsSearchads360V23ResourcesAdGroupCriterion adGroupCriterion) { + this.adGroupCriterion = adGroupCriterion; + return this; + } + + /** + * Returned for successful operations. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Returned for successful operations. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionResult setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionResult set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionResult) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionResult clone() { + return (GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionResult) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupCustomizerResult.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupCustomizerResult.java new file mode 100644 index 00000000000..2548a0870fe --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupCustomizerResult.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The result for the ad group customizer mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateAdGroupCustomizerResult extends com.google.api.client.json.GenericJson { + + /** + * The mutated AdGroupCustomizer with only mutable fields after mutate. The field will only be + * returned when response_content_type is set to "MUTABLE_RESOURCE". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAdGroupCustomizer adGroupCustomizer; + + /** + * Returned for successful operations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * The mutated AdGroupCustomizer with only mutable fields after mutate. The field will only be + * returned when response_content_type is set to "MUTABLE_RESOURCE". + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCustomizer getAdGroupCustomizer() { + return adGroupCustomizer; + } + + /** + * The mutated AdGroupCustomizer with only mutable fields after mutate. The field will only be + * returned when response_content_type is set to "MUTABLE_RESOURCE". + * @param adGroupCustomizer adGroupCustomizer or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdGroupCustomizerResult setAdGroupCustomizer(GoogleAdsSearchads360V23ResourcesAdGroupCustomizer adGroupCustomizer) { + this.adGroupCustomizer = adGroupCustomizer; + return this; + } + + /** + * Returned for successful operations. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Returned for successful operations. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdGroupCustomizerResult setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAdGroupCustomizerResult set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateAdGroupCustomizerResult) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAdGroupCustomizerResult clone() { + return (GoogleAdsSearchads360V23ServicesMutateAdGroupCustomizerResult) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupCustomizersRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupCustomizersRequest.java new file mode 100644 index 00000000000..8486bcae8e6 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupCustomizersRequest.java @@ -0,0 +1,154 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for AdGroupCustomizerService.MutateAdGroupCustomizers. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateAdGroupCustomizersRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The list of operations to perform on individual ad group customizers. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List operations; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesAdGroupCustomizerOperation used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesAdGroupCustomizerOperation.class); + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean partialFailure; + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String responseContentType; + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean validateOnly; + + /** + * Required. The list of operations to perform on individual ad group customizers. + * @return value or {@code null} for none + */ + public java.util.List getOperations() { + return operations; + } + + /** + * Required. The list of operations to perform on individual ad group customizers. + * @param operations operations or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdGroupCustomizersRequest setOperations(java.util.List operations) { + this.operations = operations; + return this; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @return value or {@code null} for none + */ + public java.lang.Boolean getPartialFailure() { + return partialFailure; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @param partialFailure partialFailure or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdGroupCustomizersRequest setPartialFailure(java.lang.Boolean partialFailure) { + this.partialFailure = partialFailure; + return this; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * @return value or {@code null} for none + */ + public java.lang.String getResponseContentType() { + return responseContentType; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * @param responseContentType responseContentType or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdGroupCustomizersRequest setResponseContentType(java.lang.String responseContentType) { + this.responseContentType = responseContentType; + return this; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @return value or {@code null} for none + */ + public java.lang.Boolean getValidateOnly() { + return validateOnly; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @param validateOnly validateOnly or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdGroupCustomizersRequest setValidateOnly(java.lang.Boolean validateOnly) { + this.validateOnly = validateOnly; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAdGroupCustomizersRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateAdGroupCustomizersRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAdGroupCustomizersRequest clone() { + return (GoogleAdsSearchads360V23ServicesMutateAdGroupCustomizersRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupCustomizersResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupCustomizersResponse.java new file mode 100644 index 00000000000..f1c7b5fcc78 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupCustomizersResponse.java @@ -0,0 +1,103 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for an ad group customizer mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateAdGroupCustomizersResponse extends com.google.api.client.json.GenericJson { + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleRpcStatus partialFailureError; + + /** + * All results for the mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List results; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesMutateAdGroupCustomizerResult used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesMutateAdGroupCustomizerResult.class); + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @return value or {@code null} for none + */ + public GoogleRpcStatus getPartialFailureError() { + return partialFailureError; + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @param partialFailureError partialFailureError or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdGroupCustomizersResponse setPartialFailureError(GoogleRpcStatus partialFailureError) { + this.partialFailureError = partialFailureError; + return this; + } + + /** + * All results for the mutate. + * @return value or {@code null} for none + */ + public java.util.List getResults() { + return results; + } + + /** + * All results for the mutate. + * @param results results or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdGroupCustomizersResponse setResults(java.util.List results) { + this.results = results; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAdGroupCustomizersResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateAdGroupCustomizersResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAdGroupCustomizersResponse clone() { + return (GoogleAdsSearchads360V23ServicesMutateAdGroupCustomizersResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupLabelResult.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupLabelResult.java new file mode 100644 index 00000000000..662cac134fe --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupLabelResult.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The result for an ad group label mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateAdGroupLabelResult extends com.google.api.client.json.GenericJson { + + /** + * Returned for successful operations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Returned for successful operations. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Returned for successful operations. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdGroupLabelResult setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAdGroupLabelResult set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateAdGroupLabelResult) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAdGroupLabelResult clone() { + return (GoogleAdsSearchads360V23ServicesMutateAdGroupLabelResult) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupLabelsRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupLabelsRequest.java new file mode 100644 index 00000000000..b02e2907e45 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupLabelsRequest.java @@ -0,0 +1,127 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for AdGroupLabelService.MutateAdGroupLabels. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateAdGroupLabelsRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The list of operations to perform on ad group labels. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List operations; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesAdGroupLabelOperation used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesAdGroupLabelOperation.class); + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean partialFailure; + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean validateOnly; + + /** + * Required. The list of operations to perform on ad group labels. + * @return value or {@code null} for none + */ + public java.util.List getOperations() { + return operations; + } + + /** + * Required. The list of operations to perform on ad group labels. + * @param operations operations or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdGroupLabelsRequest setOperations(java.util.List operations) { + this.operations = operations; + return this; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @return value or {@code null} for none + */ + public java.lang.Boolean getPartialFailure() { + return partialFailure; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @param partialFailure partialFailure or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdGroupLabelsRequest setPartialFailure(java.lang.Boolean partialFailure) { + this.partialFailure = partialFailure; + return this; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @return value or {@code null} for none + */ + public java.lang.Boolean getValidateOnly() { + return validateOnly; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @param validateOnly validateOnly or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdGroupLabelsRequest setValidateOnly(java.lang.Boolean validateOnly) { + this.validateOnly = validateOnly; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAdGroupLabelsRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateAdGroupLabelsRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAdGroupLabelsRequest clone() { + return (GoogleAdsSearchads360V23ServicesMutateAdGroupLabelsRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupLabelsResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupLabelsResponse.java new file mode 100644 index 00000000000..140a1dc3fb2 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupLabelsResponse.java @@ -0,0 +1,103 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for an ad group labels mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateAdGroupLabelsResponse extends com.google.api.client.json.GenericJson { + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleRpcStatus partialFailureError; + + /** + * All results for the mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List results; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesMutateAdGroupLabelResult used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesMutateAdGroupLabelResult.class); + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @return value or {@code null} for none + */ + public GoogleRpcStatus getPartialFailureError() { + return partialFailureError; + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @param partialFailureError partialFailureError or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdGroupLabelsResponse setPartialFailureError(GoogleRpcStatus partialFailureError) { + this.partialFailureError = partialFailureError; + return this; + } + + /** + * All results for the mutate. + * @return value or {@code null} for none + */ + public java.util.List getResults() { + return results; + } + + /** + * All results for the mutate. + * @param results results or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdGroupLabelsResponse setResults(java.util.List results) { + this.results = results; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAdGroupLabelsResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateAdGroupLabelsResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAdGroupLabelsResponse clone() { + return (GoogleAdsSearchads360V23ServicesMutateAdGroupLabelsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupResult.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupResult.java new file mode 100644 index 00000000000..80af71ddb9f --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupResult.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The result for the ad group mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateAdGroupResult extends com.google.api.client.json.GenericJson { + + /** + * The mutated ad group with only mutable fields after mutate. The field will only be returned + * when response_content_type is set to "MUTABLE_RESOURCE". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAdGroup adGroup; + + /** + * Returned for successful operations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * The mutated ad group with only mutable fields after mutate. The field will only be returned + * when response_content_type is set to "MUTABLE_RESOURCE". + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroup getAdGroup() { + return adGroup; + } + + /** + * The mutated ad group with only mutable fields after mutate. The field will only be returned + * when response_content_type is set to "MUTABLE_RESOURCE". + * @param adGroup adGroup or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdGroupResult setAdGroup(GoogleAdsSearchads360V23ResourcesAdGroup adGroup) { + this.adGroup = adGroup; + return this; + } + + /** + * Returned for successful operations. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Returned for successful operations. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdGroupResult setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAdGroupResult set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateAdGroupResult) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAdGroupResult clone() { + return (GoogleAdsSearchads360V23ServicesMutateAdGroupResult) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupsRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupsRequest.java new file mode 100644 index 00000000000..68fd8889099 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupsRequest.java @@ -0,0 +1,154 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for AdGroupService.MutateAdGroups. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateAdGroupsRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The list of operations to perform on individual ad groups. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List operations; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesAdGroupOperation used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesAdGroupOperation.class); + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean partialFailure; + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String responseContentType; + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean validateOnly; + + /** + * Required. The list of operations to perform on individual ad groups. + * @return value or {@code null} for none + */ + public java.util.List getOperations() { + return operations; + } + + /** + * Required. The list of operations to perform on individual ad groups. + * @param operations operations or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdGroupsRequest setOperations(java.util.List operations) { + this.operations = operations; + return this; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @return value or {@code null} for none + */ + public java.lang.Boolean getPartialFailure() { + return partialFailure; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @param partialFailure partialFailure or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdGroupsRequest setPartialFailure(java.lang.Boolean partialFailure) { + this.partialFailure = partialFailure; + return this; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * @return value or {@code null} for none + */ + public java.lang.String getResponseContentType() { + return responseContentType; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * @param responseContentType responseContentType or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdGroupsRequest setResponseContentType(java.lang.String responseContentType) { + this.responseContentType = responseContentType; + return this; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @return value or {@code null} for none + */ + public java.lang.Boolean getValidateOnly() { + return validateOnly; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @param validateOnly validateOnly or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdGroupsRequest setValidateOnly(java.lang.Boolean validateOnly) { + this.validateOnly = validateOnly; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAdGroupsRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateAdGroupsRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAdGroupsRequest clone() { + return (GoogleAdsSearchads360V23ServicesMutateAdGroupsRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupsResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupsResponse.java new file mode 100644 index 00000000000..02854c79993 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdGroupsResponse.java @@ -0,0 +1,103 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for an ad group mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateAdGroupsResponse extends com.google.api.client.json.GenericJson { + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleRpcStatus partialFailureError; + + /** + * All results for the mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List results; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesMutateAdGroupResult used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesMutateAdGroupResult.class); + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @return value or {@code null} for none + */ + public GoogleRpcStatus getPartialFailureError() { + return partialFailureError; + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @param partialFailureError partialFailureError or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdGroupsResponse setPartialFailureError(GoogleRpcStatus partialFailureError) { + this.partialFailureError = partialFailureError; + return this; + } + + /** + * All results for the mutate. + * @return value or {@code null} for none + */ + public java.util.List getResults() { + return results; + } + + /** + * All results for the mutate. + * @param results results or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdGroupsResponse setResults(java.util.List results) { + this.results = results; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAdGroupsResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateAdGroupsResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAdGroupsResponse clone() { + return (GoogleAdsSearchads360V23ServicesMutateAdGroupsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdParameterResult.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdParameterResult.java new file mode 100644 index 00000000000..f792d411155 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdParameterResult.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The result for the ad parameter mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateAdParameterResult extends com.google.api.client.json.GenericJson { + + /** + * The mutated AdParameter with only mutable fields after mutate. The field will only be returned + * when response_content_type is set to "MUTABLE_RESOURCE". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAdParameter adParameter; + + /** + * The resource name returned for successful operations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * The mutated AdParameter with only mutable fields after mutate. The field will only be returned + * when response_content_type is set to "MUTABLE_RESOURCE". + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdParameter getAdParameter() { + return adParameter; + } + + /** + * The mutated AdParameter with only mutable fields after mutate. The field will only be returned + * when response_content_type is set to "MUTABLE_RESOURCE". + * @param adParameter adParameter or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdParameterResult setAdParameter(GoogleAdsSearchads360V23ResourcesAdParameter adParameter) { + this.adParameter = adParameter; + return this; + } + + /** + * The resource name returned for successful operations. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * The resource name returned for successful operations. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdParameterResult setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAdParameterResult set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateAdParameterResult) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAdParameterResult clone() { + return (GoogleAdsSearchads360V23ServicesMutateAdParameterResult) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdParametersRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdParametersRequest.java new file mode 100644 index 00000000000..7be1bf35883 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdParametersRequest.java @@ -0,0 +1,154 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for AdParameterService.MutateAdParameters + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateAdParametersRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The list of operations to perform on individual ad parameters. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List operations; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesAdParameterOperation used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesAdParameterOperation.class); + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean partialFailure; + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String responseContentType; + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean validateOnly; + + /** + * Required. The list of operations to perform on individual ad parameters. + * @return value or {@code null} for none + */ + public java.util.List getOperations() { + return operations; + } + + /** + * Required. The list of operations to perform on individual ad parameters. + * @param operations operations or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdParametersRequest setOperations(java.util.List operations) { + this.operations = operations; + return this; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @return value or {@code null} for none + */ + public java.lang.Boolean getPartialFailure() { + return partialFailure; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @param partialFailure partialFailure or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdParametersRequest setPartialFailure(java.lang.Boolean partialFailure) { + this.partialFailure = partialFailure; + return this; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * @return value or {@code null} for none + */ + public java.lang.String getResponseContentType() { + return responseContentType; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * @param responseContentType responseContentType or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdParametersRequest setResponseContentType(java.lang.String responseContentType) { + this.responseContentType = responseContentType; + return this; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @return value or {@code null} for none + */ + public java.lang.Boolean getValidateOnly() { + return validateOnly; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @param validateOnly validateOnly or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdParametersRequest setValidateOnly(java.lang.Boolean validateOnly) { + this.validateOnly = validateOnly; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAdParametersRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateAdParametersRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAdParametersRequest clone() { + return (GoogleAdsSearchads360V23ServicesMutateAdParametersRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdParametersResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdParametersResponse.java new file mode 100644 index 00000000000..e2aaca4ea2a --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdParametersResponse.java @@ -0,0 +1,103 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for an ad parameter mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateAdParametersResponse extends com.google.api.client.json.GenericJson { + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleRpcStatus partialFailureError; + + /** + * All results for the mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List results; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesMutateAdParameterResult used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesMutateAdParameterResult.class); + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @return value or {@code null} for none + */ + public GoogleRpcStatus getPartialFailureError() { + return partialFailureError; + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @param partialFailureError partialFailureError or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdParametersResponse setPartialFailureError(GoogleRpcStatus partialFailureError) { + this.partialFailureError = partialFailureError; + return this; + } + + /** + * All results for the mutate. + * @return value or {@code null} for none + */ + public java.util.List getResults() { + return results; + } + + /** + * All results for the mutate. + * @param results results or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdParametersResponse setResults(java.util.List results) { + this.results = results; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAdParametersResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateAdParametersResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAdParametersResponse clone() { + return (GoogleAdsSearchads360V23ServicesMutateAdParametersResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdResult.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdResult.java new file mode 100644 index 00000000000..a552fe5366e --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdResult.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The result for the ad mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateAdResult extends com.google.api.client.json.GenericJson { + + /** + * The mutated ad with only mutable fields after mutate. The field will only be returned when + * response_content_type is set to "MUTABLE_RESOURCE". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAd ad; + + /** + * The resource name returned for successful operations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * The mutated ad with only mutable fields after mutate. The field will only be returned when + * response_content_type is set to "MUTABLE_RESOURCE". + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAd getAd() { + return ad; + } + + /** + * The mutated ad with only mutable fields after mutate. The field will only be returned when + * response_content_type is set to "MUTABLE_RESOURCE". + * @param ad ad or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdResult setAd(GoogleAdsSearchads360V23ResourcesAd ad) { + this.ad = ad; + return this; + } + + /** + * The resource name returned for successful operations. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * The resource name returned for successful operations. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdResult setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAdResult set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateAdResult) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAdResult clone() { + return (GoogleAdsSearchads360V23ServicesMutateAdResult) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdsRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdsRequest.java new file mode 100644 index 00000000000..d3f7121967a --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdsRequest.java @@ -0,0 +1,154 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for AdService.MutateAds. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateAdsRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The list of operations to perform on individual ads. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List operations; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesAdOperation used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesAdOperation.class); + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean partialFailure; + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String responseContentType; + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean validateOnly; + + /** + * Required. The list of operations to perform on individual ads. + * @return value or {@code null} for none + */ + public java.util.List getOperations() { + return operations; + } + + /** + * Required. The list of operations to perform on individual ads. + * @param operations operations or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdsRequest setOperations(java.util.List operations) { + this.operations = operations; + return this; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @return value or {@code null} for none + */ + public java.lang.Boolean getPartialFailure() { + return partialFailure; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @param partialFailure partialFailure or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdsRequest setPartialFailure(java.lang.Boolean partialFailure) { + this.partialFailure = partialFailure; + return this; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * @return value or {@code null} for none + */ + public java.lang.String getResponseContentType() { + return responseContentType; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * @param responseContentType responseContentType or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdsRequest setResponseContentType(java.lang.String responseContentType) { + this.responseContentType = responseContentType; + return this; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @return value or {@code null} for none + */ + public java.lang.Boolean getValidateOnly() { + return validateOnly; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @param validateOnly validateOnly or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdsRequest setValidateOnly(java.lang.Boolean validateOnly) { + this.validateOnly = validateOnly; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAdsRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateAdsRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAdsRequest clone() { + return (GoogleAdsSearchads360V23ServicesMutateAdsRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdsResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdsResponse.java new file mode 100644 index 00000000000..6f8ea444b52 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAdsResponse.java @@ -0,0 +1,103 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for an ad mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateAdsResponse extends com.google.api.client.json.GenericJson { + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleRpcStatus partialFailureError; + + /** + * All results for the mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List results; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesMutateAdResult used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesMutateAdResult.class); + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @return value or {@code null} for none + */ + public GoogleRpcStatus getPartialFailureError() { + return partialFailureError; + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @param partialFailureError partialFailureError or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdsResponse setPartialFailureError(GoogleRpcStatus partialFailureError) { + this.partialFailureError = partialFailureError; + return this; + } + + /** + * All results for the mutate. + * @return value or {@code null} for none + */ + public java.util.List getResults() { + return results; + } + + /** + * All results for the mutate. + * @param results results or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdsResponse setResults(java.util.List results) { + this.results = results; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAdsResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateAdsResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAdsResponse clone() { + return (GoogleAdsSearchads360V23ServicesMutateAdsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAssetGroupAssetResult.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAssetGroupAssetResult.java new file mode 100644 index 00000000000..93be92c2d5d --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAssetGroupAssetResult.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The result for the asset group asset mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateAssetGroupAssetResult extends com.google.api.client.json.GenericJson { + + /** + * Returned for successful operations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Returned for successful operations. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Returned for successful operations. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAssetGroupAssetResult setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAssetGroupAssetResult set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateAssetGroupAssetResult) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAssetGroupAssetResult clone() { + return (GoogleAdsSearchads360V23ServicesMutateAssetGroupAssetResult) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAssetGroupAssetsRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAssetGroupAssetsRequest.java new file mode 100644 index 00000000000..37db74ddc29 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAssetGroupAssetsRequest.java @@ -0,0 +1,127 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for AssetGroupAssetService.MutateAssetGroupAssets. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateAssetGroupAssetsRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The list of operations to perform on individual asset group assets. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List operations; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesAssetGroupAssetOperation used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesAssetGroupAssetOperation.class); + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean partialFailure; + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean validateOnly; + + /** + * Required. The list of operations to perform on individual asset group assets. + * @return value or {@code null} for none + */ + public java.util.List getOperations() { + return operations; + } + + /** + * Required. The list of operations to perform on individual asset group assets. + * @param operations operations or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAssetGroupAssetsRequest setOperations(java.util.List operations) { + this.operations = operations; + return this; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @return value or {@code null} for none + */ + public java.lang.Boolean getPartialFailure() { + return partialFailure; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @param partialFailure partialFailure or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAssetGroupAssetsRequest setPartialFailure(java.lang.Boolean partialFailure) { + this.partialFailure = partialFailure; + return this; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @return value or {@code null} for none + */ + public java.lang.Boolean getValidateOnly() { + return validateOnly; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @param validateOnly validateOnly or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAssetGroupAssetsRequest setValidateOnly(java.lang.Boolean validateOnly) { + this.validateOnly = validateOnly; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAssetGroupAssetsRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateAssetGroupAssetsRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAssetGroupAssetsRequest clone() { + return (GoogleAdsSearchads360V23ServicesMutateAssetGroupAssetsRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAssetGroupAssetsResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAssetGroupAssetsResponse.java new file mode 100644 index 00000000000..59288f03227 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAssetGroupAssetsResponse.java @@ -0,0 +1,103 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for an asset group asset mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateAssetGroupAssetsResponse extends com.google.api.client.json.GenericJson { + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleRpcStatus partialFailureError; + + /** + * All results for the mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List results; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesMutateAssetGroupAssetResult used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesMutateAssetGroupAssetResult.class); + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @return value or {@code null} for none + */ + public GoogleRpcStatus getPartialFailureError() { + return partialFailureError; + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @param partialFailureError partialFailureError or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAssetGroupAssetsResponse setPartialFailureError(GoogleRpcStatus partialFailureError) { + this.partialFailureError = partialFailureError; + return this; + } + + /** + * All results for the mutate. + * @return value or {@code null} for none + */ + public java.util.List getResults() { + return results; + } + + /** + * All results for the mutate. + * @param results results or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAssetGroupAssetsResponse setResults(java.util.List results) { + this.results = results; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAssetGroupAssetsResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateAssetGroupAssetsResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAssetGroupAssetsResponse clone() { + return (GoogleAdsSearchads360V23ServicesMutateAssetGroupAssetsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAssetGroupListingGroupFilterResult.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAssetGroupListingGroupFilterResult.java new file mode 100644 index 00000000000..6eb92551558 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAssetGroupListingGroupFilterResult.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The result for the asset group listing group filter mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateAssetGroupListingGroupFilterResult extends com.google.api.client.json.GenericJson { + + /** + * The mutated AssetGroupListingGroupFilter with only mutable fields after mutate. The field will + * only be returned when response_content_type is set to "MUTABLE_RESOURCE". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAssetGroupListingGroupFilter assetGroupListingGroupFilter; + + /** + * Returned for successful operations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * The mutated AssetGroupListingGroupFilter with only mutable fields after mutate. The field will + * only be returned when response_content_type is set to "MUTABLE_RESOURCE". + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetGroupListingGroupFilter getAssetGroupListingGroupFilter() { + return assetGroupListingGroupFilter; + } + + /** + * The mutated AssetGroupListingGroupFilter with only mutable fields after mutate. The field will + * only be returned when response_content_type is set to "MUTABLE_RESOURCE". + * @param assetGroupListingGroupFilter assetGroupListingGroupFilter or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAssetGroupListingGroupFilterResult setAssetGroupListingGroupFilter(GoogleAdsSearchads360V23ResourcesAssetGroupListingGroupFilter assetGroupListingGroupFilter) { + this.assetGroupListingGroupFilter = assetGroupListingGroupFilter; + return this; + } + + /** + * Returned for successful operations. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Returned for successful operations. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAssetGroupListingGroupFilterResult setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAssetGroupListingGroupFilterResult set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateAssetGroupListingGroupFilterResult) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAssetGroupListingGroupFilterResult clone() { + return (GoogleAdsSearchads360V23ServicesMutateAssetGroupListingGroupFilterResult) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAssetGroupListingGroupFiltersRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAssetGroupListingGroupFiltersRequest.java new file mode 100644 index 00000000000..b58071a79d5 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAssetGroupListingGroupFiltersRequest.java @@ -0,0 +1,125 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for AssetGroupListingGroupFilterService.MutateAssetGroupListingGroupFilters. + * partial_failure is not supported because the tree needs to be validated together. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateAssetGroupListingGroupFiltersRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The list of operations to perform on individual asset group listing group filters. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List operations; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesAssetGroupListingGroupFilterOperation used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesAssetGroupListingGroupFilterOperation.class); + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String responseContentType; + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean validateOnly; + + /** + * Required. The list of operations to perform on individual asset group listing group filters. + * @return value or {@code null} for none + */ + public java.util.List getOperations() { + return operations; + } + + /** + * Required. The list of operations to perform on individual asset group listing group filters. + * @param operations operations or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAssetGroupListingGroupFiltersRequest setOperations(java.util.List operations) { + this.operations = operations; + return this; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * @return value or {@code null} for none + */ + public java.lang.String getResponseContentType() { + return responseContentType; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * @param responseContentType responseContentType or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAssetGroupListingGroupFiltersRequest setResponseContentType(java.lang.String responseContentType) { + this.responseContentType = responseContentType; + return this; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @return value or {@code null} for none + */ + public java.lang.Boolean getValidateOnly() { + return validateOnly; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @param validateOnly validateOnly or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAssetGroupListingGroupFiltersRequest setValidateOnly(java.lang.Boolean validateOnly) { + this.validateOnly = validateOnly; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAssetGroupListingGroupFiltersRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateAssetGroupListingGroupFiltersRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAssetGroupListingGroupFiltersRequest clone() { + return (GoogleAdsSearchads360V23ServicesMutateAssetGroupListingGroupFiltersRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAssetGroupListingGroupFiltersResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAssetGroupListingGroupFiltersResponse.java new file mode 100644 index 00000000000..78ab12b4c66 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAssetGroupListingGroupFiltersResponse.java @@ -0,0 +1,73 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for an asset group listing group filter mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateAssetGroupListingGroupFiltersResponse extends com.google.api.client.json.GenericJson { + + /** + * All results for the mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List results; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesMutateAssetGroupListingGroupFilterResult used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesMutateAssetGroupListingGroupFilterResult.class); + } + + /** + * All results for the mutate. + * @return value or {@code null} for none + */ + public java.util.List getResults() { + return results; + } + + /** + * All results for the mutate. + * @param results results or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAssetGroupListingGroupFiltersResponse setResults(java.util.List results) { + this.results = results; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAssetGroupListingGroupFiltersResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateAssetGroupListingGroupFiltersResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAssetGroupListingGroupFiltersResponse clone() { + return (GoogleAdsSearchads360V23ServicesMutateAssetGroupListingGroupFiltersResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAssetGroupResult.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAssetGroupResult.java new file mode 100644 index 00000000000..5ea57eebb42 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAssetGroupResult.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The result for the asset group mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateAssetGroupResult extends com.google.api.client.json.GenericJson { + + /** + * Returned for successful operations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Returned for successful operations. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Returned for successful operations. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAssetGroupResult setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAssetGroupResult set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateAssetGroupResult) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAssetGroupResult clone() { + return (GoogleAdsSearchads360V23ServicesMutateAssetGroupResult) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAssetGroupSignalResult.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAssetGroupSignalResult.java new file mode 100644 index 00000000000..8cdb53b31f8 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAssetGroupSignalResult.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The result for the asset group signal mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateAssetGroupSignalResult extends com.google.api.client.json.GenericJson { + + /** + * The mutated AssetGroupSignal with only mutable fields after mutate. The field will only be + * returned when response_content_type is set to "MUTABLE_RESOURCE". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAssetGroupSignal assetGroupSignal; + + /** + * Returned for successful operations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * The mutated AssetGroupSignal with only mutable fields after mutate. The field will only be + * returned when response_content_type is set to "MUTABLE_RESOURCE". + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetGroupSignal getAssetGroupSignal() { + return assetGroupSignal; + } + + /** + * The mutated AssetGroupSignal with only mutable fields after mutate. The field will only be + * returned when response_content_type is set to "MUTABLE_RESOURCE". + * @param assetGroupSignal assetGroupSignal or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAssetGroupSignalResult setAssetGroupSignal(GoogleAdsSearchads360V23ResourcesAssetGroupSignal assetGroupSignal) { + this.assetGroupSignal = assetGroupSignal; + return this; + } + + /** + * Returned for successful operations. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Returned for successful operations. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAssetGroupSignalResult setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAssetGroupSignalResult set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateAssetGroupSignalResult) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAssetGroupSignalResult clone() { + return (GoogleAdsSearchads360V23ServicesMutateAssetGroupSignalResult) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAssetGroupSignalsRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAssetGroupSignalsRequest.java new file mode 100644 index 00000000000..ef2b85b86e4 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAssetGroupSignalsRequest.java @@ -0,0 +1,154 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for AssetGroupSignalService.MutateAssetGroupSignals. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateAssetGroupSignalsRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The list of operations to perform on individual asset group signals. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List operations; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesAssetGroupSignalOperation used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesAssetGroupSignalOperation.class); + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean partialFailure; + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String responseContentType; + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean validateOnly; + + /** + * Required. The list of operations to perform on individual asset group signals. + * @return value or {@code null} for none + */ + public java.util.List getOperations() { + return operations; + } + + /** + * Required. The list of operations to perform on individual asset group signals. + * @param operations operations or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAssetGroupSignalsRequest setOperations(java.util.List operations) { + this.operations = operations; + return this; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @return value or {@code null} for none + */ + public java.lang.Boolean getPartialFailure() { + return partialFailure; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @param partialFailure partialFailure or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAssetGroupSignalsRequest setPartialFailure(java.lang.Boolean partialFailure) { + this.partialFailure = partialFailure; + return this; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * @return value or {@code null} for none + */ + public java.lang.String getResponseContentType() { + return responseContentType; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * @param responseContentType responseContentType or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAssetGroupSignalsRequest setResponseContentType(java.lang.String responseContentType) { + this.responseContentType = responseContentType; + return this; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @return value or {@code null} for none + */ + public java.lang.Boolean getValidateOnly() { + return validateOnly; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @param validateOnly validateOnly or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAssetGroupSignalsRequest setValidateOnly(java.lang.Boolean validateOnly) { + this.validateOnly = validateOnly; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAssetGroupSignalsRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateAssetGroupSignalsRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAssetGroupSignalsRequest clone() { + return (GoogleAdsSearchads360V23ServicesMutateAssetGroupSignalsRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAssetGroupSignalsResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAssetGroupSignalsResponse.java new file mode 100644 index 00000000000..c8e5d709833 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAssetGroupSignalsResponse.java @@ -0,0 +1,103 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for an asset group signal mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateAssetGroupSignalsResponse extends com.google.api.client.json.GenericJson { + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleRpcStatus partialFailureError; + + /** + * All results for the mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List results; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesMutateAssetGroupSignalResult used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesMutateAssetGroupSignalResult.class); + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @return value or {@code null} for none + */ + public GoogleRpcStatus getPartialFailureError() { + return partialFailureError; + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @param partialFailureError partialFailureError or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAssetGroupSignalsResponse setPartialFailureError(GoogleRpcStatus partialFailureError) { + this.partialFailureError = partialFailureError; + return this; + } + + /** + * All results for the mutate. + * @return value or {@code null} for none + */ + public java.util.List getResults() { + return results; + } + + /** + * All results for the mutate. + * @param results results or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAssetGroupSignalsResponse setResults(java.util.List results) { + this.results = results; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAssetGroupSignalsResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateAssetGroupSignalsResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAssetGroupSignalsResponse clone() { + return (GoogleAdsSearchads360V23ServicesMutateAssetGroupSignalsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAssetGroupsRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAssetGroupsRequest.java new file mode 100644 index 00000000000..ed488479d8c --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAssetGroupsRequest.java @@ -0,0 +1,97 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for AssetGroupService.MutateAssetGroups. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateAssetGroupsRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The list of operations to perform on individual asset groups. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List operations; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesAssetGroupOperation used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesAssetGroupOperation.class); + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean validateOnly; + + /** + * Required. The list of operations to perform on individual asset groups. + * @return value or {@code null} for none + */ + public java.util.List getOperations() { + return operations; + } + + /** + * Required. The list of operations to perform on individual asset groups. + * @param operations operations or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAssetGroupsRequest setOperations(java.util.List operations) { + this.operations = operations; + return this; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @return value or {@code null} for none + */ + public java.lang.Boolean getValidateOnly() { + return validateOnly; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @param validateOnly validateOnly or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAssetGroupsRequest setValidateOnly(java.lang.Boolean validateOnly) { + this.validateOnly = validateOnly; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAssetGroupsRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateAssetGroupsRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAssetGroupsRequest clone() { + return (GoogleAdsSearchads360V23ServicesMutateAssetGroupsRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAssetGroupsResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAssetGroupsResponse.java new file mode 100644 index 00000000000..31e35a8bbc0 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAssetGroupsResponse.java @@ -0,0 +1,103 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for an asset group mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateAssetGroupsResponse extends com.google.api.client.json.GenericJson { + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleRpcStatus partialFailureError; + + /** + * All results for the mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List results; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesMutateAssetGroupResult used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesMutateAssetGroupResult.class); + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @return value or {@code null} for none + */ + public GoogleRpcStatus getPartialFailureError() { + return partialFailureError; + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @param partialFailureError partialFailureError or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAssetGroupsResponse setPartialFailureError(GoogleRpcStatus partialFailureError) { + this.partialFailureError = partialFailureError; + return this; + } + + /** + * All results for the mutate. + * @return value or {@code null} for none + */ + public java.util.List getResults() { + return results; + } + + /** + * All results for the mutate. + * @param results results or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAssetGroupsResponse setResults(java.util.List results) { + this.results = results; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAssetGroupsResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateAssetGroupsResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAssetGroupsResponse clone() { + return (GoogleAdsSearchads360V23ServicesMutateAssetGroupsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAssetResult.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAssetResult.java new file mode 100644 index 00000000000..90508f490d4 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAssetResult.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The result for the asset mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateAssetResult extends com.google.api.client.json.GenericJson { + + /** + * The mutated asset with only mutable fields after mutate. The field will only be returned when + * response_content_type is set to "MUTABLE_RESOURCE". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAsset asset; + + /** + * The resource name returned for successful operations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * The mutated asset with only mutable fields after mutate. The field will only be returned when + * response_content_type is set to "MUTABLE_RESOURCE". + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAsset getAsset() { + return asset; + } + + /** + * The mutated asset with only mutable fields after mutate. The field will only be returned when + * response_content_type is set to "MUTABLE_RESOURCE". + * @param asset asset or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAssetResult setAsset(GoogleAdsSearchads360V23ResourcesAsset asset) { + this.asset = asset; + return this; + } + + /** + * The resource name returned for successful operations. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * The resource name returned for successful operations. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAssetResult setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAssetResult set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateAssetResult) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAssetResult clone() { + return (GoogleAdsSearchads360V23ServicesMutateAssetResult) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAssetSetAssetResult.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAssetSetAssetResult.java new file mode 100644 index 00000000000..3205b8b1245 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAssetSetAssetResult.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The result for the asset set asset mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateAssetSetAssetResult extends com.google.api.client.json.GenericJson { + + /** + * The mutated asset set asset with only mutable fields after mutate. The field will only be + * returned when response_content_type is set to "MUTABLE_RESOURCE". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAssetSetAsset assetSetAsset; + + /** + * Returned for successful operations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * The mutated asset set asset with only mutable fields after mutate. The field will only be + * returned when response_content_type is set to "MUTABLE_RESOURCE". + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetSetAsset getAssetSetAsset() { + return assetSetAsset; + } + + /** + * The mutated asset set asset with only mutable fields after mutate. The field will only be + * returned when response_content_type is set to "MUTABLE_RESOURCE". + * @param assetSetAsset assetSetAsset or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAssetSetAssetResult setAssetSetAsset(GoogleAdsSearchads360V23ResourcesAssetSetAsset assetSetAsset) { + this.assetSetAsset = assetSetAsset; + return this; + } + + /** + * Returned for successful operations. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Returned for successful operations. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAssetSetAssetResult setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAssetSetAssetResult set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateAssetSetAssetResult) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAssetSetAssetResult clone() { + return (GoogleAdsSearchads360V23ServicesMutateAssetSetAssetResult) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAssetSetAssetsRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAssetSetAssetsRequest.java new file mode 100644 index 00000000000..43325840da4 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAssetSetAssetsRequest.java @@ -0,0 +1,154 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for AssetSetAssetService.MutateAssetSetAssets. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateAssetSetAssetsRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The list of operations to perform on individual asset set assets. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List operations; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesAssetSetAssetOperation used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesAssetSetAssetOperation.class); + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean partialFailure; + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String responseContentType; + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean validateOnly; + + /** + * Required. The list of operations to perform on individual asset set assets. + * @return value or {@code null} for none + */ + public java.util.List getOperations() { + return operations; + } + + /** + * Required. The list of operations to perform on individual asset set assets. + * @param operations operations or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAssetSetAssetsRequest setOperations(java.util.List operations) { + this.operations = operations; + return this; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @return value or {@code null} for none + */ + public java.lang.Boolean getPartialFailure() { + return partialFailure; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @param partialFailure partialFailure or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAssetSetAssetsRequest setPartialFailure(java.lang.Boolean partialFailure) { + this.partialFailure = partialFailure; + return this; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * @return value or {@code null} for none + */ + public java.lang.String getResponseContentType() { + return responseContentType; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * @param responseContentType responseContentType or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAssetSetAssetsRequest setResponseContentType(java.lang.String responseContentType) { + this.responseContentType = responseContentType; + return this; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @return value or {@code null} for none + */ + public java.lang.Boolean getValidateOnly() { + return validateOnly; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @param validateOnly validateOnly or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAssetSetAssetsRequest setValidateOnly(java.lang.Boolean validateOnly) { + this.validateOnly = validateOnly; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAssetSetAssetsRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateAssetSetAssetsRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAssetSetAssetsRequest clone() { + return (GoogleAdsSearchads360V23ServicesMutateAssetSetAssetsRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAssetSetAssetsResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAssetSetAssetsResponse.java new file mode 100644 index 00000000000..c0f170e58e4 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAssetSetAssetsResponse.java @@ -0,0 +1,103 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for an asset set asset mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateAssetSetAssetsResponse extends com.google.api.client.json.GenericJson { + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleRpcStatus partialFailureError; + + /** + * All results for the mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List results; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesMutateAssetSetAssetResult used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesMutateAssetSetAssetResult.class); + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @return value or {@code null} for none + */ + public GoogleRpcStatus getPartialFailureError() { + return partialFailureError; + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @param partialFailureError partialFailureError or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAssetSetAssetsResponse setPartialFailureError(GoogleRpcStatus partialFailureError) { + this.partialFailureError = partialFailureError; + return this; + } + + /** + * All results for the mutate. + * @return value or {@code null} for none + */ + public java.util.List getResults() { + return results; + } + + /** + * All results for the mutate. + * @param results results or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAssetSetAssetsResponse setResults(java.util.List results) { + this.results = results; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAssetSetAssetsResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateAssetSetAssetsResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAssetSetAssetsResponse clone() { + return (GoogleAdsSearchads360V23ServicesMutateAssetSetAssetsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAssetSetResult.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAssetSetResult.java new file mode 100644 index 00000000000..150ebdcaf12 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAssetSetResult.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The result for the asset set mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateAssetSetResult extends com.google.api.client.json.GenericJson { + + /** + * The mutated asset set with only mutable fields after mutate. The field will only be returned + * when response_content_type is set to "MUTABLE_RESOURCE". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAssetSet assetSet; + + /** + * Returned for successful operations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * The mutated asset set with only mutable fields after mutate. The field will only be returned + * when response_content_type is set to "MUTABLE_RESOURCE". + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetSet getAssetSet() { + return assetSet; + } + + /** + * The mutated asset set with only mutable fields after mutate. The field will only be returned + * when response_content_type is set to "MUTABLE_RESOURCE". + * @param assetSet assetSet or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAssetSetResult setAssetSet(GoogleAdsSearchads360V23ResourcesAssetSet assetSet) { + this.assetSet = assetSet; + return this; + } + + /** + * Returned for successful operations. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Returned for successful operations. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAssetSetResult setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAssetSetResult set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateAssetSetResult) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAssetSetResult clone() { + return (GoogleAdsSearchads360V23ServicesMutateAssetSetResult) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAssetSetsRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAssetSetsRequest.java new file mode 100644 index 00000000000..54c3fee192f --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAssetSetsRequest.java @@ -0,0 +1,154 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for AssetSetService.MutateAssetSets. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateAssetSetsRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The list of operations to perform on individual asset sets. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List operations; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesAssetSetOperation used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesAssetSetOperation.class); + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean partialFailure; + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String responseContentType; + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean validateOnly; + + /** + * Required. The list of operations to perform on individual asset sets. + * @return value or {@code null} for none + */ + public java.util.List getOperations() { + return operations; + } + + /** + * Required. The list of operations to perform on individual asset sets. + * @param operations operations or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAssetSetsRequest setOperations(java.util.List operations) { + this.operations = operations; + return this; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @return value or {@code null} for none + */ + public java.lang.Boolean getPartialFailure() { + return partialFailure; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @param partialFailure partialFailure or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAssetSetsRequest setPartialFailure(java.lang.Boolean partialFailure) { + this.partialFailure = partialFailure; + return this; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * @return value or {@code null} for none + */ + public java.lang.String getResponseContentType() { + return responseContentType; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * @param responseContentType responseContentType or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAssetSetsRequest setResponseContentType(java.lang.String responseContentType) { + this.responseContentType = responseContentType; + return this; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @return value or {@code null} for none + */ + public java.lang.Boolean getValidateOnly() { + return validateOnly; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @param validateOnly validateOnly or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAssetSetsRequest setValidateOnly(java.lang.Boolean validateOnly) { + this.validateOnly = validateOnly; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAssetSetsRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateAssetSetsRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAssetSetsRequest clone() { + return (GoogleAdsSearchads360V23ServicesMutateAssetSetsRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAssetSetsResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAssetSetsResponse.java new file mode 100644 index 00000000000..64a8f9e83b8 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAssetSetsResponse.java @@ -0,0 +1,103 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for an asset set mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateAssetSetsResponse extends com.google.api.client.json.GenericJson { + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleRpcStatus partialFailureError; + + /** + * All results for the mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List results; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesMutateAssetSetResult used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesMutateAssetSetResult.class); + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @return value or {@code null} for none + */ + public GoogleRpcStatus getPartialFailureError() { + return partialFailureError; + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @param partialFailureError partialFailureError or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAssetSetsResponse setPartialFailureError(GoogleRpcStatus partialFailureError) { + this.partialFailureError = partialFailureError; + return this; + } + + /** + * All results for the mutate. + * @return value or {@code null} for none + */ + public java.util.List getResults() { + return results; + } + + /** + * All results for the mutate. + * @param results results or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAssetSetsResponse setResults(java.util.List results) { + this.results = results; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAssetSetsResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateAssetSetsResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAssetSetsResponse clone() { + return (GoogleAdsSearchads360V23ServicesMutateAssetSetsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAssetsRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAssetsRequest.java new file mode 100644 index 00000000000..b932af14aa9 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAssetsRequest.java @@ -0,0 +1,154 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for AssetService.MutateAssets + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateAssetsRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The list of operations to perform on individual assets. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List operations; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesAssetOperation used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesAssetOperation.class); + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean partialFailure; + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String responseContentType; + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean validateOnly; + + /** + * Required. The list of operations to perform on individual assets. + * @return value or {@code null} for none + */ + public java.util.List getOperations() { + return operations; + } + + /** + * Required. The list of operations to perform on individual assets. + * @param operations operations or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAssetsRequest setOperations(java.util.List operations) { + this.operations = operations; + return this; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @return value or {@code null} for none + */ + public java.lang.Boolean getPartialFailure() { + return partialFailure; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @param partialFailure partialFailure or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAssetsRequest setPartialFailure(java.lang.Boolean partialFailure) { + this.partialFailure = partialFailure; + return this; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * @return value or {@code null} for none + */ + public java.lang.String getResponseContentType() { + return responseContentType; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * @param responseContentType responseContentType or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAssetsRequest setResponseContentType(java.lang.String responseContentType) { + this.responseContentType = responseContentType; + return this; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @return value or {@code null} for none + */ + public java.lang.Boolean getValidateOnly() { + return validateOnly; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @param validateOnly validateOnly or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAssetsRequest setValidateOnly(java.lang.Boolean validateOnly) { + this.validateOnly = validateOnly; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAssetsRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateAssetsRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAssetsRequest clone() { + return (GoogleAdsSearchads360V23ServicesMutateAssetsRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAssetsResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAssetsResponse.java new file mode 100644 index 00000000000..5536977ee3e --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAssetsResponse.java @@ -0,0 +1,103 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for an asset mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateAssetsResponse extends com.google.api.client.json.GenericJson { + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleRpcStatus partialFailureError; + + /** + * All results for the mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List results; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesMutateAssetResult used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesMutateAssetResult.class); + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @return value or {@code null} for none + */ + public GoogleRpcStatus getPartialFailureError() { + return partialFailureError; + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @param partialFailureError partialFailureError or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAssetsResponse setPartialFailureError(GoogleRpcStatus partialFailureError) { + this.partialFailureError = partialFailureError; + return this; + } + + /** + * All results for the mutate. + * @return value or {@code null} for none + */ + public java.util.List getResults() { + return results; + } + + /** + * All results for the mutate. + * @param results results or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAssetsResponse setResults(java.util.List results) { + this.results = results; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAssetsResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateAssetsResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAssetsResponse clone() { + return (GoogleAdsSearchads360V23ServicesMutateAssetsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAudienceResult.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAudienceResult.java new file mode 100644 index 00000000000..df319a84df0 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAudienceResult.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The result for the audience mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateAudienceResult extends com.google.api.client.json.GenericJson { + + /** + * The mutated Audience with only mutable fields after mutate. The field will only be returned + * when response_content_type is set to "MUTABLE_RESOURCE". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAudience audience; + + /** + * Returned for successful operations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * The mutated Audience with only mutable fields after mutate. The field will only be returned + * when response_content_type is set to "MUTABLE_RESOURCE". + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAudience getAudience() { + return audience; + } + + /** + * The mutated Audience with only mutable fields after mutate. The field will only be returned + * when response_content_type is set to "MUTABLE_RESOURCE". + * @param audience audience or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAudienceResult setAudience(GoogleAdsSearchads360V23ResourcesAudience audience) { + this.audience = audience; + return this; + } + + /** + * Returned for successful operations. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Returned for successful operations. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAudienceResult setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAudienceResult set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateAudienceResult) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAudienceResult clone() { + return (GoogleAdsSearchads360V23ServicesMutateAudienceResult) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAudiencesRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAudiencesRequest.java new file mode 100644 index 00000000000..3c3f492f61d --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAudiencesRequest.java @@ -0,0 +1,154 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for AudienceService.MutateAudiences. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateAudiencesRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The list of operations to perform on individual audiences. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List operations; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesAudienceOperation used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesAudienceOperation.class); + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean partialFailure; + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String responseContentType; + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean validateOnly; + + /** + * Required. The list of operations to perform on individual audiences. + * @return value or {@code null} for none + */ + public java.util.List getOperations() { + return operations; + } + + /** + * Required. The list of operations to perform on individual audiences. + * @param operations operations or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAudiencesRequest setOperations(java.util.List operations) { + this.operations = operations; + return this; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @return value or {@code null} for none + */ + public java.lang.Boolean getPartialFailure() { + return partialFailure; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @param partialFailure partialFailure or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAudiencesRequest setPartialFailure(java.lang.Boolean partialFailure) { + this.partialFailure = partialFailure; + return this; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * @return value or {@code null} for none + */ + public java.lang.String getResponseContentType() { + return responseContentType; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * @param responseContentType responseContentType or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAudiencesRequest setResponseContentType(java.lang.String responseContentType) { + this.responseContentType = responseContentType; + return this; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @return value or {@code null} for none + */ + public java.lang.Boolean getValidateOnly() { + return validateOnly; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @param validateOnly validateOnly or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAudiencesRequest setValidateOnly(java.lang.Boolean validateOnly) { + this.validateOnly = validateOnly; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAudiencesRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateAudiencesRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAudiencesRequest clone() { + return (GoogleAdsSearchads360V23ServicesMutateAudiencesRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAudiencesResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAudiencesResponse.java new file mode 100644 index 00000000000..751e8794c15 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateAudiencesResponse.java @@ -0,0 +1,103 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for an audience mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateAudiencesResponse extends com.google.api.client.json.GenericJson { + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleRpcStatus partialFailureError; + + /** + * All results for the mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List results; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesMutateAudienceResult used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesMutateAudienceResult.class); + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @return value or {@code null} for none + */ + public GoogleRpcStatus getPartialFailureError() { + return partialFailureError; + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @param partialFailureError partialFailureError or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAudiencesResponse setPartialFailureError(GoogleRpcStatus partialFailureError) { + this.partialFailureError = partialFailureError; + return this; + } + + /** + * All results for the mutate. + * @return value or {@code null} for none + */ + public java.util.List getResults() { + return results; + } + + /** + * All results for the mutate. + * @param results results or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAudiencesResponse setResults(java.util.List results) { + this.results = results; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAudiencesResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateAudiencesResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateAudiencesResponse clone() { + return (GoogleAdsSearchads360V23ServicesMutateAudiencesResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateBatchJobRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateBatchJobRequest.java new file mode 100644 index 00000000000..b01e52c5bcb --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateBatchJobRequest.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for BatchJobService.MutateBatchJob. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateBatchJobRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The operation to perform on an individual batch job. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesBatchJobOperation operation; + + /** + * Required. The operation to perform on an individual batch job. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesBatchJobOperation getOperation() { + return operation; + } + + /** + * Required. The operation to perform on an individual batch job. + * @param operation operation or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateBatchJobRequest setOperation(GoogleAdsSearchads360V23ServicesBatchJobOperation operation) { + this.operation = operation; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateBatchJobRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateBatchJobRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateBatchJobRequest clone() { + return (GoogleAdsSearchads360V23ServicesMutateBatchJobRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateBatchJobResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateBatchJobResponse.java new file mode 100644 index 00000000000..158c5cc56f8 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateBatchJobResponse.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for BatchJobService.MutateBatchJob. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateBatchJobResponse extends com.google.api.client.json.GenericJson { + + /** + * The result for the mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesMutateBatchJobResult result; + + /** + * The result for the mutate. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateBatchJobResult getResult() { + return result; + } + + /** + * The result for the mutate. + * @param result result or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateBatchJobResponse setResult(GoogleAdsSearchads360V23ServicesMutateBatchJobResult result) { + this.result = result; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateBatchJobResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateBatchJobResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateBatchJobResponse clone() { + return (GoogleAdsSearchads360V23ServicesMutateBatchJobResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateBatchJobResult.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateBatchJobResult.java new file mode 100644 index 00000000000..b4d5df7a6ed --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateBatchJobResult.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The result for the batch job mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateBatchJobResult extends com.google.api.client.json.GenericJson { + + /** + * The resource name of the batch job. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * The resource name of the batch job. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * The resource name of the batch job. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateBatchJobResult setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateBatchJobResult set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateBatchJobResult) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateBatchJobResult clone() { + return (GoogleAdsSearchads360V23ServicesMutateBatchJobResult) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateBiddingDataExclusionsRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateBiddingDataExclusionsRequest.java new file mode 100644 index 00000000000..5847c301e5f --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateBiddingDataExclusionsRequest.java @@ -0,0 +1,154 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for BiddingDataExclusionService.MutateBiddingDataExclusions. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateBiddingDataExclusionsRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The list of operations to perform on individual data exclusions. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List operations; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesBiddingDataExclusionOperation used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesBiddingDataExclusionOperation.class); + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean partialFailure; + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String responseContentType; + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean validateOnly; + + /** + * Required. The list of operations to perform on individual data exclusions. + * @return value or {@code null} for none + */ + public java.util.List getOperations() { + return operations; + } + + /** + * Required. The list of operations to perform on individual data exclusions. + * @param operations operations or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateBiddingDataExclusionsRequest setOperations(java.util.List operations) { + this.operations = operations; + return this; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @return value or {@code null} for none + */ + public java.lang.Boolean getPartialFailure() { + return partialFailure; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @param partialFailure partialFailure or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateBiddingDataExclusionsRequest setPartialFailure(java.lang.Boolean partialFailure) { + this.partialFailure = partialFailure; + return this; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * @return value or {@code null} for none + */ + public java.lang.String getResponseContentType() { + return responseContentType; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * @param responseContentType responseContentType or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateBiddingDataExclusionsRequest setResponseContentType(java.lang.String responseContentType) { + this.responseContentType = responseContentType; + return this; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @return value or {@code null} for none + */ + public java.lang.Boolean getValidateOnly() { + return validateOnly; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @param validateOnly validateOnly or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateBiddingDataExclusionsRequest setValidateOnly(java.lang.Boolean validateOnly) { + this.validateOnly = validateOnly; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateBiddingDataExclusionsRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateBiddingDataExclusionsRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateBiddingDataExclusionsRequest clone() { + return (GoogleAdsSearchads360V23ServicesMutateBiddingDataExclusionsRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateBiddingDataExclusionsResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateBiddingDataExclusionsResponse.java new file mode 100644 index 00000000000..fd330f7a54b --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateBiddingDataExclusionsResponse.java @@ -0,0 +1,97 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for data exclusions mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateBiddingDataExclusionsResponse extends com.google.api.client.json.GenericJson { + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleRpcStatus partialFailureError; + + /** + * All results for the mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List results; + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @return value or {@code null} for none + */ + public GoogleRpcStatus getPartialFailureError() { + return partialFailureError; + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @param partialFailureError partialFailureError or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateBiddingDataExclusionsResponse setPartialFailureError(GoogleRpcStatus partialFailureError) { + this.partialFailureError = partialFailureError; + return this; + } + + /** + * All results for the mutate. + * @return value or {@code null} for none + */ + public java.util.List getResults() { + return results; + } + + /** + * All results for the mutate. + * @param results results or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateBiddingDataExclusionsResponse setResults(java.util.List results) { + this.results = results; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateBiddingDataExclusionsResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateBiddingDataExclusionsResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateBiddingDataExclusionsResponse clone() { + return (GoogleAdsSearchads360V23ServicesMutateBiddingDataExclusionsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateBiddingDataExclusionsResult.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateBiddingDataExclusionsResult.java new file mode 100644 index 00000000000..a3e42dfdbb3 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateBiddingDataExclusionsResult.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The result for the data exclusion mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateBiddingDataExclusionsResult extends com.google.api.client.json.GenericJson { + + /** + * The mutated bidding data exclusion with only mutable fields after mutate. The field will only + * be returned when response_content_type is set to "MUTABLE_RESOURCE". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesBiddingDataExclusion biddingDataExclusion; + + /** + * Returned for successful operations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * The mutated bidding data exclusion with only mutable fields after mutate. The field will only + * be returned when response_content_type is set to "MUTABLE_RESOURCE". + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBiddingDataExclusion getBiddingDataExclusion() { + return biddingDataExclusion; + } + + /** + * The mutated bidding data exclusion with only mutable fields after mutate. The field will only + * be returned when response_content_type is set to "MUTABLE_RESOURCE". + * @param biddingDataExclusion biddingDataExclusion or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateBiddingDataExclusionsResult setBiddingDataExclusion(GoogleAdsSearchads360V23ResourcesBiddingDataExclusion biddingDataExclusion) { + this.biddingDataExclusion = biddingDataExclusion; + return this; + } + + /** + * Returned for successful operations. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Returned for successful operations. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateBiddingDataExclusionsResult setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateBiddingDataExclusionsResult set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateBiddingDataExclusionsResult) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateBiddingDataExclusionsResult clone() { + return (GoogleAdsSearchads360V23ServicesMutateBiddingDataExclusionsResult) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateBiddingSeasonalityAdjustmentsRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateBiddingSeasonalityAdjustmentsRequest.java new file mode 100644 index 00000000000..6c1e761697f --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateBiddingSeasonalityAdjustmentsRequest.java @@ -0,0 +1,154 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for BiddingSeasonalityAdjustmentService.MutateBiddingSeasonalityAdjustments. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateBiddingSeasonalityAdjustmentsRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The list of operations to perform on individual seasonality adjustments. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List operations; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesBiddingSeasonalityAdjustmentOperation used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesBiddingSeasonalityAdjustmentOperation.class); + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean partialFailure; + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String responseContentType; + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean validateOnly; + + /** + * Required. The list of operations to perform on individual seasonality adjustments. + * @return value or {@code null} for none + */ + public java.util.List getOperations() { + return operations; + } + + /** + * Required. The list of operations to perform on individual seasonality adjustments. + * @param operations operations or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateBiddingSeasonalityAdjustmentsRequest setOperations(java.util.List operations) { + this.operations = operations; + return this; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @return value or {@code null} for none + */ + public java.lang.Boolean getPartialFailure() { + return partialFailure; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @param partialFailure partialFailure or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateBiddingSeasonalityAdjustmentsRequest setPartialFailure(java.lang.Boolean partialFailure) { + this.partialFailure = partialFailure; + return this; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * @return value or {@code null} for none + */ + public java.lang.String getResponseContentType() { + return responseContentType; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * @param responseContentType responseContentType or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateBiddingSeasonalityAdjustmentsRequest setResponseContentType(java.lang.String responseContentType) { + this.responseContentType = responseContentType; + return this; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @return value or {@code null} for none + */ + public java.lang.Boolean getValidateOnly() { + return validateOnly; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @param validateOnly validateOnly or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateBiddingSeasonalityAdjustmentsRequest setValidateOnly(java.lang.Boolean validateOnly) { + this.validateOnly = validateOnly; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateBiddingSeasonalityAdjustmentsRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateBiddingSeasonalityAdjustmentsRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateBiddingSeasonalityAdjustmentsRequest clone() { + return (GoogleAdsSearchads360V23ServicesMutateBiddingSeasonalityAdjustmentsRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateBiddingSeasonalityAdjustmentsResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateBiddingSeasonalityAdjustmentsResponse.java new file mode 100644 index 00000000000..1fc410ad392 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateBiddingSeasonalityAdjustmentsResponse.java @@ -0,0 +1,97 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for seasonality adjustments mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateBiddingSeasonalityAdjustmentsResponse extends com.google.api.client.json.GenericJson { + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleRpcStatus partialFailureError; + + /** + * All results for the mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List results; + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @return value or {@code null} for none + */ + public GoogleRpcStatus getPartialFailureError() { + return partialFailureError; + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @param partialFailureError partialFailureError or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateBiddingSeasonalityAdjustmentsResponse setPartialFailureError(GoogleRpcStatus partialFailureError) { + this.partialFailureError = partialFailureError; + return this; + } + + /** + * All results for the mutate. + * @return value or {@code null} for none + */ + public java.util.List getResults() { + return results; + } + + /** + * All results for the mutate. + * @param results results or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateBiddingSeasonalityAdjustmentsResponse setResults(java.util.List results) { + this.results = results; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateBiddingSeasonalityAdjustmentsResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateBiddingSeasonalityAdjustmentsResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateBiddingSeasonalityAdjustmentsResponse clone() { + return (GoogleAdsSearchads360V23ServicesMutateBiddingSeasonalityAdjustmentsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateBiddingSeasonalityAdjustmentsResult.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateBiddingSeasonalityAdjustmentsResult.java new file mode 100644 index 00000000000..c99c74e4795 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateBiddingSeasonalityAdjustmentsResult.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The result for the seasonality adjustment mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateBiddingSeasonalityAdjustmentsResult extends com.google.api.client.json.GenericJson { + + /** + * The mutated bidding seasonality adjustment with only mutable fields after mutate. The field + * will only be returned when response_content_type is set to "MUTABLE_RESOURCE". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesBiddingSeasonalityAdjustment biddingSeasonalityAdjustment; + + /** + * Returned for successful operations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * The mutated bidding seasonality adjustment with only mutable fields after mutate. The field + * will only be returned when response_content_type is set to "MUTABLE_RESOURCE". + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBiddingSeasonalityAdjustment getBiddingSeasonalityAdjustment() { + return biddingSeasonalityAdjustment; + } + + /** + * The mutated bidding seasonality adjustment with only mutable fields after mutate. The field + * will only be returned when response_content_type is set to "MUTABLE_RESOURCE". + * @param biddingSeasonalityAdjustment biddingSeasonalityAdjustment or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateBiddingSeasonalityAdjustmentsResult setBiddingSeasonalityAdjustment(GoogleAdsSearchads360V23ResourcesBiddingSeasonalityAdjustment biddingSeasonalityAdjustment) { + this.biddingSeasonalityAdjustment = biddingSeasonalityAdjustment; + return this; + } + + /** + * Returned for successful operations. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Returned for successful operations. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateBiddingSeasonalityAdjustmentsResult setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateBiddingSeasonalityAdjustmentsResult set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateBiddingSeasonalityAdjustmentsResult) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateBiddingSeasonalityAdjustmentsResult clone() { + return (GoogleAdsSearchads360V23ServicesMutateBiddingSeasonalityAdjustmentsResult) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateBiddingStrategiesRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateBiddingStrategiesRequest.java new file mode 100644 index 00000000000..9517fe1d3bf --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateBiddingStrategiesRequest.java @@ -0,0 +1,154 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for BiddingStrategyService.MutateBiddingStrategies. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateBiddingStrategiesRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The list of operations to perform on individual bidding strategies. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List operations; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesBiddingStrategyOperation used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesBiddingStrategyOperation.class); + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean partialFailure; + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String responseContentType; + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean validateOnly; + + /** + * Required. The list of operations to perform on individual bidding strategies. + * @return value or {@code null} for none + */ + public java.util.List getOperations() { + return operations; + } + + /** + * Required. The list of operations to perform on individual bidding strategies. + * @param operations operations or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateBiddingStrategiesRequest setOperations(java.util.List operations) { + this.operations = operations; + return this; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @return value or {@code null} for none + */ + public java.lang.Boolean getPartialFailure() { + return partialFailure; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @param partialFailure partialFailure or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateBiddingStrategiesRequest setPartialFailure(java.lang.Boolean partialFailure) { + this.partialFailure = partialFailure; + return this; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * @return value or {@code null} for none + */ + public java.lang.String getResponseContentType() { + return responseContentType; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * @param responseContentType responseContentType or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateBiddingStrategiesRequest setResponseContentType(java.lang.String responseContentType) { + this.responseContentType = responseContentType; + return this; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @return value or {@code null} for none + */ + public java.lang.Boolean getValidateOnly() { + return validateOnly; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @param validateOnly validateOnly or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateBiddingStrategiesRequest setValidateOnly(java.lang.Boolean validateOnly) { + this.validateOnly = validateOnly; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateBiddingStrategiesRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateBiddingStrategiesRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateBiddingStrategiesRequest clone() { + return (GoogleAdsSearchads360V23ServicesMutateBiddingStrategiesRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateBiddingStrategiesResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateBiddingStrategiesResponse.java new file mode 100644 index 00000000000..8554e7d8f73 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateBiddingStrategiesResponse.java @@ -0,0 +1,97 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for bidding strategy mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateBiddingStrategiesResponse extends com.google.api.client.json.GenericJson { + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleRpcStatus partialFailureError; + + /** + * All results for the mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List results; + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @return value or {@code null} for none + */ + public GoogleRpcStatus getPartialFailureError() { + return partialFailureError; + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @param partialFailureError partialFailureError or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateBiddingStrategiesResponse setPartialFailureError(GoogleRpcStatus partialFailureError) { + this.partialFailureError = partialFailureError; + return this; + } + + /** + * All results for the mutate. + * @return value or {@code null} for none + */ + public java.util.List getResults() { + return results; + } + + /** + * All results for the mutate. + * @param results results or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateBiddingStrategiesResponse setResults(java.util.List results) { + this.results = results; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateBiddingStrategiesResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateBiddingStrategiesResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateBiddingStrategiesResponse clone() { + return (GoogleAdsSearchads360V23ServicesMutateBiddingStrategiesResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateBiddingStrategyResult.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateBiddingStrategyResult.java new file mode 100644 index 00000000000..3c3e2be0022 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateBiddingStrategyResult.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The result for the bidding strategy mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateBiddingStrategyResult extends com.google.api.client.json.GenericJson { + + /** + * The mutated bidding strategy with only mutable fields after mutate. The field will only be + * returned when response_content_type is set to "MUTABLE_RESOURCE". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesBiddingStrategy biddingStrategy; + + /** + * Returned for successful operations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * The mutated bidding strategy with only mutable fields after mutate. The field will only be + * returned when response_content_type is set to "MUTABLE_RESOURCE". + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBiddingStrategy getBiddingStrategy() { + return biddingStrategy; + } + + /** + * The mutated bidding strategy with only mutable fields after mutate. The field will only be + * returned when response_content_type is set to "MUTABLE_RESOURCE". + * @param biddingStrategy biddingStrategy or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateBiddingStrategyResult setBiddingStrategy(GoogleAdsSearchads360V23ResourcesBiddingStrategy biddingStrategy) { + this.biddingStrategy = biddingStrategy; + return this; + } + + /** + * Returned for successful operations. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Returned for successful operations. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateBiddingStrategyResult setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateBiddingStrategyResult set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateBiddingStrategyResult) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateBiddingStrategyResult clone() { + return (GoogleAdsSearchads360V23ServicesMutateBiddingStrategyResult) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateBillingSetupRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateBillingSetupRequest.java new file mode 100644 index 00000000000..bfeb6dc6d06 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateBillingSetupRequest.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for billing setup mutate operations. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateBillingSetupRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The operation to perform. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesBillingSetupOperation operation; + + /** + * Required. The operation to perform. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesBillingSetupOperation getOperation() { + return operation; + } + + /** + * Required. The operation to perform. + * @param operation operation or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateBillingSetupRequest setOperation(GoogleAdsSearchads360V23ServicesBillingSetupOperation operation) { + this.operation = operation; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateBillingSetupRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateBillingSetupRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateBillingSetupRequest clone() { + return (GoogleAdsSearchads360V23ServicesMutateBillingSetupRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateBillingSetupResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateBillingSetupResponse.java new file mode 100644 index 00000000000..d737c7bdc5a --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateBillingSetupResponse.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for a billing setup operation. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateBillingSetupResponse extends com.google.api.client.json.GenericJson { + + /** + * A result that identifies the resource affected by the mutate request. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesMutateBillingSetupResult result; + + /** + * A result that identifies the resource affected by the mutate request. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateBillingSetupResult getResult() { + return result; + } + + /** + * A result that identifies the resource affected by the mutate request. + * @param result result or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateBillingSetupResponse setResult(GoogleAdsSearchads360V23ServicesMutateBillingSetupResult result) { + this.result = result; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateBillingSetupResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateBillingSetupResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateBillingSetupResponse clone() { + return (GoogleAdsSearchads360V23ServicesMutateBillingSetupResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateBillingSetupResult.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateBillingSetupResult.java new file mode 100644 index 00000000000..e821fbc611f --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateBillingSetupResult.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Result for a single billing setup mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateBillingSetupResult extends com.google.api.client.json.GenericJson { + + /** + * Returned for successful operations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Returned for successful operations. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Returned for successful operations. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateBillingSetupResult setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateBillingSetupResult set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateBillingSetupResult) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateBillingSetupResult clone() { + return (GoogleAdsSearchads360V23ServicesMutateBillingSetupResult) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignAssetResult.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignAssetResult.java new file mode 100644 index 00000000000..25ee13e1311 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignAssetResult.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The result for the campaign asset mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateCampaignAssetResult extends com.google.api.client.json.GenericJson { + + /** + * The mutated campaign asset with only mutable fields after mutate. The field will only be + * returned when response_content_type is set to "MUTABLE_RESOURCE". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCampaignAsset campaignAsset; + + /** + * Returned for successful operations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * The mutated campaign asset with only mutable fields after mutate. The field will only be + * returned when response_content_type is set to "MUTABLE_RESOURCE". + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignAsset getCampaignAsset() { + return campaignAsset; + } + + /** + * The mutated campaign asset with only mutable fields after mutate. The field will only be + * returned when response_content_type is set to "MUTABLE_RESOURCE". + * @param campaignAsset campaignAsset or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignAssetResult setCampaignAsset(GoogleAdsSearchads360V23ResourcesCampaignAsset campaignAsset) { + this.campaignAsset = campaignAsset; + return this; + } + + /** + * Returned for successful operations. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Returned for successful operations. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignAssetResult setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCampaignAssetResult set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateCampaignAssetResult) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCampaignAssetResult clone() { + return (GoogleAdsSearchads360V23ServicesMutateCampaignAssetResult) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignAssetSetResult.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignAssetSetResult.java new file mode 100644 index 00000000000..1bc98adf9af --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignAssetSetResult.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The result for the campaign asset set mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateCampaignAssetSetResult extends com.google.api.client.json.GenericJson { + + /** + * The mutated campaign asset set with only mutable fields after mutate. The field will only be + * returned when response_content_type is set to "MUTABLE_RESOURCE". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCampaignAssetSet campaignAssetSet; + + /** + * Returned for successful operations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * The mutated campaign asset set with only mutable fields after mutate. The field will only be + * returned when response_content_type is set to "MUTABLE_RESOURCE". + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignAssetSet getCampaignAssetSet() { + return campaignAssetSet; + } + + /** + * The mutated campaign asset set with only mutable fields after mutate. The field will only be + * returned when response_content_type is set to "MUTABLE_RESOURCE". + * @param campaignAssetSet campaignAssetSet or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignAssetSetResult setCampaignAssetSet(GoogleAdsSearchads360V23ResourcesCampaignAssetSet campaignAssetSet) { + this.campaignAssetSet = campaignAssetSet; + return this; + } + + /** + * Returned for successful operations. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Returned for successful operations. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignAssetSetResult setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCampaignAssetSetResult set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateCampaignAssetSetResult) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCampaignAssetSetResult clone() { + return (GoogleAdsSearchads360V23ServicesMutateCampaignAssetSetResult) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignAssetSetsRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignAssetSetsRequest.java new file mode 100644 index 00000000000..3962a088734 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignAssetSetsRequest.java @@ -0,0 +1,154 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for CampaignAssetSetService.MutateCampaignAssetSets. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateCampaignAssetSetsRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The list of operations to perform on individual campaign asset sets. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List operations; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesCampaignAssetSetOperation used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesCampaignAssetSetOperation.class); + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean partialFailure; + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String responseContentType; + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean validateOnly; + + /** + * Required. The list of operations to perform on individual campaign asset sets. + * @return value or {@code null} for none + */ + public java.util.List getOperations() { + return operations; + } + + /** + * Required. The list of operations to perform on individual campaign asset sets. + * @param operations operations or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignAssetSetsRequest setOperations(java.util.List operations) { + this.operations = operations; + return this; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @return value or {@code null} for none + */ + public java.lang.Boolean getPartialFailure() { + return partialFailure; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @param partialFailure partialFailure or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignAssetSetsRequest setPartialFailure(java.lang.Boolean partialFailure) { + this.partialFailure = partialFailure; + return this; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * @return value or {@code null} for none + */ + public java.lang.String getResponseContentType() { + return responseContentType; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * @param responseContentType responseContentType or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignAssetSetsRequest setResponseContentType(java.lang.String responseContentType) { + this.responseContentType = responseContentType; + return this; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @return value or {@code null} for none + */ + public java.lang.Boolean getValidateOnly() { + return validateOnly; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @param validateOnly validateOnly or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignAssetSetsRequest setValidateOnly(java.lang.Boolean validateOnly) { + this.validateOnly = validateOnly; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCampaignAssetSetsRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateCampaignAssetSetsRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCampaignAssetSetsRequest clone() { + return (GoogleAdsSearchads360V23ServicesMutateCampaignAssetSetsRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignAssetSetsResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignAssetSetsResponse.java new file mode 100644 index 00000000000..d1a4d72164e --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignAssetSetsResponse.java @@ -0,0 +1,103 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for a campaign asset set mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateCampaignAssetSetsResponse extends com.google.api.client.json.GenericJson { + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleRpcStatus partialFailureError; + + /** + * All results for the mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List results; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesMutateCampaignAssetSetResult used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesMutateCampaignAssetSetResult.class); + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @return value or {@code null} for none + */ + public GoogleRpcStatus getPartialFailureError() { + return partialFailureError; + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @param partialFailureError partialFailureError or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignAssetSetsResponse setPartialFailureError(GoogleRpcStatus partialFailureError) { + this.partialFailureError = partialFailureError; + return this; + } + + /** + * All results for the mutate. + * @return value or {@code null} for none + */ + public java.util.List getResults() { + return results; + } + + /** + * All results for the mutate. + * @param results results or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignAssetSetsResponse setResults(java.util.List results) { + this.results = results; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCampaignAssetSetsResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateCampaignAssetSetsResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCampaignAssetSetsResponse clone() { + return (GoogleAdsSearchads360V23ServicesMutateCampaignAssetSetsResponse) super.clone(); + } + +} From 29dcfd6f8ba3b2cb51eb8a0cf06f5da2c6405a7e Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Wed, 3 Jun 2026 18:43:40 -0700 Subject: [PATCH 12/14] chore: regenerate searchads360 client --- ...23ServicesMutateCampaignAssetsRequest.java | 154 ++++++++++++++++++ ...3ServicesMutateCampaignAssetsResponse.java | 103 ++++++++++++ ...rvicesMutateCampaignBidModifierResult.java | 94 +++++++++++ ...icesMutateCampaignBidModifiersRequest.java | 154 ++++++++++++++++++ ...cesMutateCampaignBidModifiersResponse.java | 103 ++++++++++++ ...V23ServicesMutateCampaignBudgetResult.java | 94 +++++++++++ ...3ServicesMutateCampaignBudgetsRequest.java | 154 ++++++++++++++++++ ...ServicesMutateCampaignBudgetsResponse.java | 103 ++++++++++++ ...cesMutateCampaignConversionGoalResult.java | 67 ++++++++ ...sMutateCampaignConversionGoalsRequest.java | 97 +++++++++++ ...MutateCampaignConversionGoalsResponse.java | 73 +++++++++ ...ServicesMutateCampaignCriteriaRequest.java | 154 ++++++++++++++++++ ...ervicesMutateCampaignCriteriaResponse.java | 97 +++++++++++ ...ServicesMutateCampaignCriterionResult.java | 94 +++++++++++ ...ervicesMutateCampaignCustomizerResult.java | 94 +++++++++++ ...vicesMutateCampaignCustomizersRequest.java | 154 ++++++++++++++++++ ...icesMutateCampaignCustomizersResponse.java | 103 ++++++++++++ ...0V23ServicesMutateCampaignDraftResult.java | 94 +++++++++++ ...23ServicesMutateCampaignDraftsRequest.java | 154 ++++++++++++++++++ ...3ServicesMutateCampaignDraftsResponse.java | 103 ++++++++++++ ...ervicesMutateCampaignGoalConfigResult.java | 67 ++++++++ ...vicesMutateCampaignGoalConfigsRequest.java | 130 +++++++++++++++ ...icesMutateCampaignGoalConfigsResponse.java | 97 +++++++++++ ...0V23ServicesMutateCampaignGroupResult.java | 94 +++++++++++ ...23ServicesMutateCampaignGroupsRequest.java | 154 ++++++++++++++++++ ...3ServicesMutateCampaignGroupsResponse.java | 103 ++++++++++++ ...0V23ServicesMutateCampaignLabelResult.java | 67 ++++++++ ...23ServicesMutateCampaignLabelsRequest.java | 127 +++++++++++++++ ...3ServicesMutateCampaignLabelsResponse.java | 103 ++++++++++++ ...ads360V23ServicesMutateCampaignResult.java | 94 +++++++++++ ...ServicesMutateCampaignSharedSetResult.java | 94 +++++++++++ ...rvicesMutateCampaignSharedSetsRequest.java | 154 ++++++++++++++++++ ...vicesMutateCampaignSharedSetsResponse.java | 103 ++++++++++++ ...s360V23ServicesMutateCampaignsRequest.java | 154 ++++++++++++++++++ ...360V23ServicesMutateCampaignsResponse.java | 103 ++++++++++++ ...3ServicesMutateConversionActionResult.java | 94 +++++++++++ ...ervicesMutateConversionActionsRequest.java | 154 ++++++++++++++++++ ...rvicesMutateConversionActionsResponse.java | 103 ++++++++++++ ...sMutateConversionCustomVariableResult.java | 94 +++++++++++ ...utateConversionCustomVariablesRequest.java | 154 ++++++++++++++++++ ...tateConversionCustomVariablesResponse.java | 103 ++++++++++++ ...ateConversionGoalCampaignConfigResult.java | 94 +++++++++++ ...eConversionGoalCampaignConfigsRequest.java | 124 ++++++++++++++ ...ConversionGoalCampaignConfigsResponse.java | 73 +++++++++ ...rvicesMutateConversionValueRuleResult.java | 94 +++++++++++ ...cesMutateConversionValueRuleSetResult.java | 94 +++++++++++ ...sMutateConversionValueRuleSetsRequest.java | 154 ++++++++++++++++++ ...MutateConversionValueRuleSetsResponse.java | 103 ++++++++++++ ...icesMutateConversionValueRulesRequest.java | 154 ++++++++++++++++++ ...cesMutateConversionValueRulesResponse.java | 103 ++++++++++++ ...V23ServicesMutateCustomAudienceResult.java | 67 ++++++++ ...3ServicesMutateCustomAudiencesRequest.java | 97 +++++++++++ ...ServicesMutateCustomAudiencesResponse.java | 73 +++++++++ ...vicesMutateCustomConversionGoalResult.java | 94 +++++++++++ ...cesMutateCustomConversionGoalsRequest.java | 124 ++++++++++++++ ...esMutateCustomConversionGoalsResponse.java | 73 +++++++++ ...V23ServicesMutateCustomInterestResult.java | 67 ++++++++ ...3ServicesMutateCustomInterestsRequest.java | 97 +++++++++++ ...ServicesMutateCustomInterestsResponse.java | 73 +++++++++ ...0V23ServicesMutateCustomerAssetResult.java | 94 +++++++++++ ...3ServicesMutateCustomerAssetSetResult.java | 94 +++++++++++ ...ervicesMutateCustomerAssetSetsRequest.java | 154 ++++++++++++++++++ ...rvicesMutateCustomerAssetSetsResponse.java | 103 ++++++++++++ ...23ServicesMutateCustomerAssetsRequest.java | 154 ++++++++++++++++++ ...3ServicesMutateCustomerAssetsResponse.java | 103 ++++++++++++ ...rvicesMutateCustomerClientLinkRequest.java | 91 +++++++++++ ...vicesMutateCustomerClientLinkResponse.java | 67 ++++++++ ...ervicesMutateCustomerClientLinkResult.java | 67 ++++++++ ...cesMutateCustomerConversionGoalResult.java | 67 ++++++++ ...sMutateCustomerConversionGoalsRequest.java | 97 +++++++++++ ...MutateCustomerConversionGoalsResponse.java | 73 +++++++++ ...ervicesMutateCustomerCustomizerResult.java | 94 +++++++++++ ...vicesMutateCustomerCustomizersRequest.java | 154 ++++++++++++++++++ ...icesMutateCustomerCustomizersResponse.java | 103 ++++++++++++ ...0V23ServicesMutateCustomerLabelResult.java | 67 ++++++++ ...23ServicesMutateCustomerLabelsRequest.java | 127 +++++++++++++++ ...3ServicesMutateCustomerLabelsResponse.java | 103 ++++++++++++ ...vicesMutateCustomerManagerLinkRequest.java | 97 +++++++++++ ...icesMutateCustomerManagerLinkResponse.java | 67 ++++++++ ...rvicesMutateCustomerManagerLinkResult.java | 67 ++++++++ ...MutateCustomerNegativeCriteriaRequest.java | 154 ++++++++++++++++++ ...utateCustomerNegativeCriteriaResponse.java | 97 +++++++++++ ...sMutateCustomerNegativeCriteriaResult.java | 94 +++++++++++ ...ds360V23ServicesMutateCustomerRequest.java | 118 ++++++++++++++ ...s360V23ServicesMutateCustomerResponse.java | 67 ++++++++ ...ads360V23ServicesMutateCustomerResult.java | 94 +++++++++++ ...AdNetworkConversionValueSchemaRequest.java | 119 ++++++++++++++ ...dNetworkConversionValueSchemaResponse.java | 94 +++++++++++ ...kAdNetworkConversionValueSchemaResult.java | 91 +++++++++++ ...teCustomerUserAccessInvitationRequest.java | 67 ++++++++ ...eCustomerUserAccessInvitationResponse.java | 67 ++++++++ ...ateCustomerUserAccessInvitationResult.java | 67 ++++++++ ...rvicesMutateCustomerUserAccessRequest.java | 67 ++++++++ ...vicesMutateCustomerUserAccessResponse.java | 67 ++++++++ ...ervicesMutateCustomerUserAccessResult.java | 67 ++++++++ ...rvicesMutateCustomizerAttributeResult.java | 94 +++++++++++ ...icesMutateCustomizerAttributesRequest.java | 154 ++++++++++++++++++ ...cesMutateCustomizerAttributesResponse.java | 103 ++++++++++++ ...0V23ServicesMutateExperimentArmResult.java | 94 +++++++++++ ...23ServicesMutateExperimentArmsRequest.java | 154 ++++++++++++++++++ 100 files changed, 10319 insertions(+) create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignAssetsRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignAssetsResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignBidModifierResult.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignBidModifiersRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignBidModifiersResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignBudgetResult.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignBudgetsRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignBudgetsResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignConversionGoalResult.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignConversionGoalsRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignConversionGoalsResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignCriteriaRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignCriteriaResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignCriterionResult.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignCustomizerResult.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignCustomizersRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignCustomizersResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignDraftResult.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignDraftsRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignDraftsResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignGoalConfigResult.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignGoalConfigsRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignGoalConfigsResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignGroupResult.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignGroupsRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignGroupsResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignLabelResult.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignLabelsRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignLabelsResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignResult.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignSharedSetResult.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignSharedSetsRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignSharedSetsResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignsRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignsResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateConversionActionResult.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateConversionActionsRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateConversionActionsResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateConversionCustomVariableResult.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateConversionCustomVariablesRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateConversionCustomVariablesResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateConversionGoalCampaignConfigResult.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateConversionGoalCampaignConfigsRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateConversionGoalCampaignConfigsResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateConversionValueRuleResult.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateConversionValueRuleSetResult.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateConversionValueRuleSetsRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateConversionValueRuleSetsResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateConversionValueRulesRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateConversionValueRulesResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomAudienceResult.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomAudiencesRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomAudiencesResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomConversionGoalResult.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomConversionGoalsRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomConversionGoalsResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomInterestResult.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomInterestsRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomInterestsResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerAssetResult.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerAssetSetResult.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerAssetSetsRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerAssetSetsResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerAssetsRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerAssetsResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerClientLinkRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerClientLinkResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerClientLinkResult.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerConversionGoalResult.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerConversionGoalsRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerConversionGoalsResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerCustomizerResult.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerCustomizersRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerCustomizersResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerLabelResult.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerLabelsRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerLabelsResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerManagerLinkRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerManagerLinkResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerManagerLinkResult.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerNegativeCriteriaRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerNegativeCriteriaResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerNegativeCriteriaResult.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerResult.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerSkAdNetworkConversionValueSchemaRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerSkAdNetworkConversionValueSchemaResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerSkAdNetworkConversionValueSchemaResult.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerUserAccessInvitationRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerUserAccessInvitationResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerUserAccessInvitationResult.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerUserAccessRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerUserAccessResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerUserAccessResult.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomizerAttributeResult.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomizerAttributesRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomizerAttributesResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateExperimentArmResult.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateExperimentArmsRequest.java diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignAssetsRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignAssetsRequest.java new file mode 100644 index 00000000000..5e45e2cac0f --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignAssetsRequest.java @@ -0,0 +1,154 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for CampaignAssetService.MutateCampaignAssets. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateCampaignAssetsRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The list of operations to perform on individual campaign assets. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List operations; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesCampaignAssetOperation used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesCampaignAssetOperation.class); + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean partialFailure; + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String responseContentType; + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean validateOnly; + + /** + * Required. The list of operations to perform on individual campaign assets. + * @return value or {@code null} for none + */ + public java.util.List getOperations() { + return operations; + } + + /** + * Required. The list of operations to perform on individual campaign assets. + * @param operations operations or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignAssetsRequest setOperations(java.util.List operations) { + this.operations = operations; + return this; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @return value or {@code null} for none + */ + public java.lang.Boolean getPartialFailure() { + return partialFailure; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @param partialFailure partialFailure or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignAssetsRequest setPartialFailure(java.lang.Boolean partialFailure) { + this.partialFailure = partialFailure; + return this; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * @return value or {@code null} for none + */ + public java.lang.String getResponseContentType() { + return responseContentType; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * @param responseContentType responseContentType or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignAssetsRequest setResponseContentType(java.lang.String responseContentType) { + this.responseContentType = responseContentType; + return this; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @return value or {@code null} for none + */ + public java.lang.Boolean getValidateOnly() { + return validateOnly; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @param validateOnly validateOnly or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignAssetsRequest setValidateOnly(java.lang.Boolean validateOnly) { + this.validateOnly = validateOnly; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCampaignAssetsRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateCampaignAssetsRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCampaignAssetsRequest clone() { + return (GoogleAdsSearchads360V23ServicesMutateCampaignAssetsRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignAssetsResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignAssetsResponse.java new file mode 100644 index 00000000000..c166c28b14a --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignAssetsResponse.java @@ -0,0 +1,103 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for a campaign asset mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateCampaignAssetsResponse extends com.google.api.client.json.GenericJson { + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleRpcStatus partialFailureError; + + /** + * All results for the mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List results; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesMutateCampaignAssetResult used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesMutateCampaignAssetResult.class); + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @return value or {@code null} for none + */ + public GoogleRpcStatus getPartialFailureError() { + return partialFailureError; + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @param partialFailureError partialFailureError or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignAssetsResponse setPartialFailureError(GoogleRpcStatus partialFailureError) { + this.partialFailureError = partialFailureError; + return this; + } + + /** + * All results for the mutate. + * @return value or {@code null} for none + */ + public java.util.List getResults() { + return results; + } + + /** + * All results for the mutate. + * @param results results or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignAssetsResponse setResults(java.util.List results) { + this.results = results; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCampaignAssetsResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateCampaignAssetsResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCampaignAssetsResponse clone() { + return (GoogleAdsSearchads360V23ServicesMutateCampaignAssetsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignBidModifierResult.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignBidModifierResult.java new file mode 100644 index 00000000000..e0bdff151fd --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignBidModifierResult.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The result for the criterion mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateCampaignBidModifierResult extends com.google.api.client.json.GenericJson { + + /** + * The mutated campaign bid modifier with only mutable fields after mutate. The field will only be + * returned when response_content_type is set to "MUTABLE_RESOURCE". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCampaignBidModifier campaignBidModifier; + + /** + * Returned for successful operations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * The mutated campaign bid modifier with only mutable fields after mutate. The field will only be + * returned when response_content_type is set to "MUTABLE_RESOURCE". + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignBidModifier getCampaignBidModifier() { + return campaignBidModifier; + } + + /** + * The mutated campaign bid modifier with only mutable fields after mutate. The field will only be + * returned when response_content_type is set to "MUTABLE_RESOURCE". + * @param campaignBidModifier campaignBidModifier or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignBidModifierResult setCampaignBidModifier(GoogleAdsSearchads360V23ResourcesCampaignBidModifier campaignBidModifier) { + this.campaignBidModifier = campaignBidModifier; + return this; + } + + /** + * Returned for successful operations. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Returned for successful operations. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignBidModifierResult setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCampaignBidModifierResult set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateCampaignBidModifierResult) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCampaignBidModifierResult clone() { + return (GoogleAdsSearchads360V23ServicesMutateCampaignBidModifierResult) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignBidModifiersRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignBidModifiersRequest.java new file mode 100644 index 00000000000..9e06265ea93 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignBidModifiersRequest.java @@ -0,0 +1,154 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for CampaignBidModifierService.MutateCampaignBidModifiers. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateCampaignBidModifiersRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The list of operations to perform on individual campaign bid modifiers. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List operations; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesCampaignBidModifierOperation used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesCampaignBidModifierOperation.class); + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean partialFailure; + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String responseContentType; + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean validateOnly; + + /** + * Required. The list of operations to perform on individual campaign bid modifiers. + * @return value or {@code null} for none + */ + public java.util.List getOperations() { + return operations; + } + + /** + * Required. The list of operations to perform on individual campaign bid modifiers. + * @param operations operations or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignBidModifiersRequest setOperations(java.util.List operations) { + this.operations = operations; + return this; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @return value or {@code null} for none + */ + public java.lang.Boolean getPartialFailure() { + return partialFailure; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @param partialFailure partialFailure or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignBidModifiersRequest setPartialFailure(java.lang.Boolean partialFailure) { + this.partialFailure = partialFailure; + return this; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * @return value or {@code null} for none + */ + public java.lang.String getResponseContentType() { + return responseContentType; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * @param responseContentType responseContentType or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignBidModifiersRequest setResponseContentType(java.lang.String responseContentType) { + this.responseContentType = responseContentType; + return this; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @return value or {@code null} for none + */ + public java.lang.Boolean getValidateOnly() { + return validateOnly; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @param validateOnly validateOnly or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignBidModifiersRequest setValidateOnly(java.lang.Boolean validateOnly) { + this.validateOnly = validateOnly; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCampaignBidModifiersRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateCampaignBidModifiersRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCampaignBidModifiersRequest clone() { + return (GoogleAdsSearchads360V23ServicesMutateCampaignBidModifiersRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignBidModifiersResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignBidModifiersResponse.java new file mode 100644 index 00000000000..410dd2ada79 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignBidModifiersResponse.java @@ -0,0 +1,103 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for campaign bid modifiers mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateCampaignBidModifiersResponse extends com.google.api.client.json.GenericJson { + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleRpcStatus partialFailureError; + + /** + * All results for the mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List results; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesMutateCampaignBidModifierResult used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesMutateCampaignBidModifierResult.class); + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @return value or {@code null} for none + */ + public GoogleRpcStatus getPartialFailureError() { + return partialFailureError; + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @param partialFailureError partialFailureError or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignBidModifiersResponse setPartialFailureError(GoogleRpcStatus partialFailureError) { + this.partialFailureError = partialFailureError; + return this; + } + + /** + * All results for the mutate. + * @return value or {@code null} for none + */ + public java.util.List getResults() { + return results; + } + + /** + * All results for the mutate. + * @param results results or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignBidModifiersResponse setResults(java.util.List results) { + this.results = results; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCampaignBidModifiersResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateCampaignBidModifiersResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCampaignBidModifiersResponse clone() { + return (GoogleAdsSearchads360V23ServicesMutateCampaignBidModifiersResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignBudgetResult.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignBudgetResult.java new file mode 100644 index 00000000000..1e2405347e8 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignBudgetResult.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The result for the campaign budget mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateCampaignBudgetResult extends com.google.api.client.json.GenericJson { + + /** + * The mutated campaign budget with only mutable fields after mutate. The field will only be + * returned when response_content_type is set to "MUTABLE_RESOURCE". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCampaignBudget campaignBudget; + + /** + * Returned for successful operations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * The mutated campaign budget with only mutable fields after mutate. The field will only be + * returned when response_content_type is set to "MUTABLE_RESOURCE". + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignBudget getCampaignBudget() { + return campaignBudget; + } + + /** + * The mutated campaign budget with only mutable fields after mutate. The field will only be + * returned when response_content_type is set to "MUTABLE_RESOURCE". + * @param campaignBudget campaignBudget or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignBudgetResult setCampaignBudget(GoogleAdsSearchads360V23ResourcesCampaignBudget campaignBudget) { + this.campaignBudget = campaignBudget; + return this; + } + + /** + * Returned for successful operations. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Returned for successful operations. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignBudgetResult setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCampaignBudgetResult set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateCampaignBudgetResult) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCampaignBudgetResult clone() { + return (GoogleAdsSearchads360V23ServicesMutateCampaignBudgetResult) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignBudgetsRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignBudgetsRequest.java new file mode 100644 index 00000000000..fa15226a81d --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignBudgetsRequest.java @@ -0,0 +1,154 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for CampaignBudgetService.MutateCampaignBudgets. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateCampaignBudgetsRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The list of operations to perform on individual campaign budgets. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List operations; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesCampaignBudgetOperation used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesCampaignBudgetOperation.class); + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean partialFailure; + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String responseContentType; + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean validateOnly; + + /** + * Required. The list of operations to perform on individual campaign budgets. + * @return value or {@code null} for none + */ + public java.util.List getOperations() { + return operations; + } + + /** + * Required. The list of operations to perform on individual campaign budgets. + * @param operations operations or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignBudgetsRequest setOperations(java.util.List operations) { + this.operations = operations; + return this; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @return value or {@code null} for none + */ + public java.lang.Boolean getPartialFailure() { + return partialFailure; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @param partialFailure partialFailure or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignBudgetsRequest setPartialFailure(java.lang.Boolean partialFailure) { + this.partialFailure = partialFailure; + return this; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * @return value or {@code null} for none + */ + public java.lang.String getResponseContentType() { + return responseContentType; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * @param responseContentType responseContentType or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignBudgetsRequest setResponseContentType(java.lang.String responseContentType) { + this.responseContentType = responseContentType; + return this; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @return value or {@code null} for none + */ + public java.lang.Boolean getValidateOnly() { + return validateOnly; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @param validateOnly validateOnly or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignBudgetsRequest setValidateOnly(java.lang.Boolean validateOnly) { + this.validateOnly = validateOnly; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCampaignBudgetsRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateCampaignBudgetsRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCampaignBudgetsRequest clone() { + return (GoogleAdsSearchads360V23ServicesMutateCampaignBudgetsRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignBudgetsResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignBudgetsResponse.java new file mode 100644 index 00000000000..6c1f8b3c550 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignBudgetsResponse.java @@ -0,0 +1,103 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for campaign budget mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateCampaignBudgetsResponse extends com.google.api.client.json.GenericJson { + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleRpcStatus partialFailureError; + + /** + * All results for the mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List results; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesMutateCampaignBudgetResult used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesMutateCampaignBudgetResult.class); + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @return value or {@code null} for none + */ + public GoogleRpcStatus getPartialFailureError() { + return partialFailureError; + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @param partialFailureError partialFailureError or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignBudgetsResponse setPartialFailureError(GoogleRpcStatus partialFailureError) { + this.partialFailureError = partialFailureError; + return this; + } + + /** + * All results for the mutate. + * @return value or {@code null} for none + */ + public java.util.List getResults() { + return results; + } + + /** + * All results for the mutate. + * @param results results or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignBudgetsResponse setResults(java.util.List results) { + this.results = results; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCampaignBudgetsResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateCampaignBudgetsResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCampaignBudgetsResponse clone() { + return (GoogleAdsSearchads360V23ServicesMutateCampaignBudgetsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignConversionGoalResult.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignConversionGoalResult.java new file mode 100644 index 00000000000..68153722f6d --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignConversionGoalResult.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The result for the campaign conversion goal mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateCampaignConversionGoalResult extends com.google.api.client.json.GenericJson { + + /** + * Returned for successful operations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Returned for successful operations. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Returned for successful operations. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignConversionGoalResult setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCampaignConversionGoalResult set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateCampaignConversionGoalResult) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCampaignConversionGoalResult clone() { + return (GoogleAdsSearchads360V23ServicesMutateCampaignConversionGoalResult) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignConversionGoalsRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignConversionGoalsRequest.java new file mode 100644 index 00000000000..8037a365295 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignConversionGoalsRequest.java @@ -0,0 +1,97 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for CampaignConversionGoalService.MutateCampaignConversionGoals. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateCampaignConversionGoalsRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The list of operations to perform on individual campaign conversion goal. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List operations; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesCampaignConversionGoalOperation used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesCampaignConversionGoalOperation.class); + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean validateOnly; + + /** + * Required. The list of operations to perform on individual campaign conversion goal. + * @return value or {@code null} for none + */ + public java.util.List getOperations() { + return operations; + } + + /** + * Required. The list of operations to perform on individual campaign conversion goal. + * @param operations operations or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignConversionGoalsRequest setOperations(java.util.List operations) { + this.operations = operations; + return this; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @return value or {@code null} for none + */ + public java.lang.Boolean getValidateOnly() { + return validateOnly; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @param validateOnly validateOnly or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignConversionGoalsRequest setValidateOnly(java.lang.Boolean validateOnly) { + this.validateOnly = validateOnly; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCampaignConversionGoalsRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateCampaignConversionGoalsRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCampaignConversionGoalsRequest clone() { + return (GoogleAdsSearchads360V23ServicesMutateCampaignConversionGoalsRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignConversionGoalsResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignConversionGoalsResponse.java new file mode 100644 index 00000000000..116a82cf2da --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignConversionGoalsResponse.java @@ -0,0 +1,73 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for a campaign conversion goal mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateCampaignConversionGoalsResponse extends com.google.api.client.json.GenericJson { + + /** + * All results for the mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List results; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesMutateCampaignConversionGoalResult used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesMutateCampaignConversionGoalResult.class); + } + + /** + * All results for the mutate. + * @return value or {@code null} for none + */ + public java.util.List getResults() { + return results; + } + + /** + * All results for the mutate. + * @param results results or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignConversionGoalsResponse setResults(java.util.List results) { + this.results = results; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCampaignConversionGoalsResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateCampaignConversionGoalsResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCampaignConversionGoalsResponse clone() { + return (GoogleAdsSearchads360V23ServicesMutateCampaignConversionGoalsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignCriteriaRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignCriteriaRequest.java new file mode 100644 index 00000000000..c2b8576e26e --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignCriteriaRequest.java @@ -0,0 +1,154 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for CampaignCriterionService.MutateCampaignCriteria. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateCampaignCriteriaRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The list of operations to perform on individual criteria. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List operations; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesCampaignCriterionOperation used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesCampaignCriterionOperation.class); + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean partialFailure; + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String responseContentType; + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean validateOnly; + + /** + * Required. The list of operations to perform on individual criteria. + * @return value or {@code null} for none + */ + public java.util.List getOperations() { + return operations; + } + + /** + * Required. The list of operations to perform on individual criteria. + * @param operations operations or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignCriteriaRequest setOperations(java.util.List operations) { + this.operations = operations; + return this; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @return value or {@code null} for none + */ + public java.lang.Boolean getPartialFailure() { + return partialFailure; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @param partialFailure partialFailure or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignCriteriaRequest setPartialFailure(java.lang.Boolean partialFailure) { + this.partialFailure = partialFailure; + return this; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * @return value or {@code null} for none + */ + public java.lang.String getResponseContentType() { + return responseContentType; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * @param responseContentType responseContentType or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignCriteriaRequest setResponseContentType(java.lang.String responseContentType) { + this.responseContentType = responseContentType; + return this; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @return value or {@code null} for none + */ + public java.lang.Boolean getValidateOnly() { + return validateOnly; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @param validateOnly validateOnly or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignCriteriaRequest setValidateOnly(java.lang.Boolean validateOnly) { + this.validateOnly = validateOnly; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCampaignCriteriaRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateCampaignCriteriaRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCampaignCriteriaRequest clone() { + return (GoogleAdsSearchads360V23ServicesMutateCampaignCriteriaRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignCriteriaResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignCriteriaResponse.java new file mode 100644 index 00000000000..f15b4ee0a36 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignCriteriaResponse.java @@ -0,0 +1,97 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for campaign criterion mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateCampaignCriteriaResponse extends com.google.api.client.json.GenericJson { + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleRpcStatus partialFailureError; + + /** + * All results for the mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List results; + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @return value or {@code null} for none + */ + public GoogleRpcStatus getPartialFailureError() { + return partialFailureError; + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @param partialFailureError partialFailureError or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignCriteriaResponse setPartialFailureError(GoogleRpcStatus partialFailureError) { + this.partialFailureError = partialFailureError; + return this; + } + + /** + * All results for the mutate. + * @return value or {@code null} for none + */ + public java.util.List getResults() { + return results; + } + + /** + * All results for the mutate. + * @param results results or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignCriteriaResponse setResults(java.util.List results) { + this.results = results; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCampaignCriteriaResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateCampaignCriteriaResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCampaignCriteriaResponse clone() { + return (GoogleAdsSearchads360V23ServicesMutateCampaignCriteriaResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignCriterionResult.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignCriterionResult.java new file mode 100644 index 00000000000..d9b7aa71288 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignCriterionResult.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The result for the criterion mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateCampaignCriterionResult extends com.google.api.client.json.GenericJson { + + /** + * The mutated campaign criterion with only mutable fields after mutate. The field will only be + * returned when response_content_type is set to "MUTABLE_RESOURCE". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCampaignCriterion campaignCriterion; + + /** + * Returned for successful operations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * The mutated campaign criterion with only mutable fields after mutate. The field will only be + * returned when response_content_type is set to "MUTABLE_RESOURCE". + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignCriterion getCampaignCriterion() { + return campaignCriterion; + } + + /** + * The mutated campaign criterion with only mutable fields after mutate. The field will only be + * returned when response_content_type is set to "MUTABLE_RESOURCE". + * @param campaignCriterion campaignCriterion or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignCriterionResult setCampaignCriterion(GoogleAdsSearchads360V23ResourcesCampaignCriterion campaignCriterion) { + this.campaignCriterion = campaignCriterion; + return this; + } + + /** + * Returned for successful operations. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Returned for successful operations. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignCriterionResult setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCampaignCriterionResult set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateCampaignCriterionResult) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCampaignCriterionResult clone() { + return (GoogleAdsSearchads360V23ServicesMutateCampaignCriterionResult) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignCustomizerResult.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignCustomizerResult.java new file mode 100644 index 00000000000..88bce93a4d4 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignCustomizerResult.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The result for the campaign customizer mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateCampaignCustomizerResult extends com.google.api.client.json.GenericJson { + + /** + * The mutated CampaignCustomizer with only mutable fields after mutate. The field will only be + * returned when response_content_type is set to "MUTABLE_RESOURCE". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCampaignCustomizer campaignCustomizer; + + /** + * Returned for successful operations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * The mutated CampaignCustomizer with only mutable fields after mutate. The field will only be + * returned when response_content_type is set to "MUTABLE_RESOURCE". + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignCustomizer getCampaignCustomizer() { + return campaignCustomizer; + } + + /** + * The mutated CampaignCustomizer with only mutable fields after mutate. The field will only be + * returned when response_content_type is set to "MUTABLE_RESOURCE". + * @param campaignCustomizer campaignCustomizer or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignCustomizerResult setCampaignCustomizer(GoogleAdsSearchads360V23ResourcesCampaignCustomizer campaignCustomizer) { + this.campaignCustomizer = campaignCustomizer; + return this; + } + + /** + * Returned for successful operations. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Returned for successful operations. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignCustomizerResult setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCampaignCustomizerResult set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateCampaignCustomizerResult) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCampaignCustomizerResult clone() { + return (GoogleAdsSearchads360V23ServicesMutateCampaignCustomizerResult) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignCustomizersRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignCustomizersRequest.java new file mode 100644 index 00000000000..bb848194c5c --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignCustomizersRequest.java @@ -0,0 +1,154 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for CampaignCustomizerService.MutateCampaignCustomizers. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateCampaignCustomizersRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The list of operations to perform on individual campaign customizers. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List operations; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesCampaignCustomizerOperation used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesCampaignCustomizerOperation.class); + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean partialFailure; + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String responseContentType; + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean validateOnly; + + /** + * Required. The list of operations to perform on individual campaign customizers. + * @return value or {@code null} for none + */ + public java.util.List getOperations() { + return operations; + } + + /** + * Required. The list of operations to perform on individual campaign customizers. + * @param operations operations or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignCustomizersRequest setOperations(java.util.List operations) { + this.operations = operations; + return this; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @return value or {@code null} for none + */ + public java.lang.Boolean getPartialFailure() { + return partialFailure; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @param partialFailure partialFailure or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignCustomizersRequest setPartialFailure(java.lang.Boolean partialFailure) { + this.partialFailure = partialFailure; + return this; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * @return value or {@code null} for none + */ + public java.lang.String getResponseContentType() { + return responseContentType; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * @param responseContentType responseContentType or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignCustomizersRequest setResponseContentType(java.lang.String responseContentType) { + this.responseContentType = responseContentType; + return this; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @return value or {@code null} for none + */ + public java.lang.Boolean getValidateOnly() { + return validateOnly; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @param validateOnly validateOnly or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignCustomizersRequest setValidateOnly(java.lang.Boolean validateOnly) { + this.validateOnly = validateOnly; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCampaignCustomizersRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateCampaignCustomizersRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCampaignCustomizersRequest clone() { + return (GoogleAdsSearchads360V23ServicesMutateCampaignCustomizersRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignCustomizersResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignCustomizersResponse.java new file mode 100644 index 00000000000..81eeb1f1bd0 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignCustomizersResponse.java @@ -0,0 +1,103 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for a campaign customizer mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateCampaignCustomizersResponse extends com.google.api.client.json.GenericJson { + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleRpcStatus partialFailureError; + + /** + * All results for the mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List results; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesMutateCampaignCustomizerResult used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesMutateCampaignCustomizerResult.class); + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @return value or {@code null} for none + */ + public GoogleRpcStatus getPartialFailureError() { + return partialFailureError; + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @param partialFailureError partialFailureError or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignCustomizersResponse setPartialFailureError(GoogleRpcStatus partialFailureError) { + this.partialFailureError = partialFailureError; + return this; + } + + /** + * All results for the mutate. + * @return value or {@code null} for none + */ + public java.util.List getResults() { + return results; + } + + /** + * All results for the mutate. + * @param results results or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignCustomizersResponse setResults(java.util.List results) { + this.results = results; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCampaignCustomizersResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateCampaignCustomizersResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCampaignCustomizersResponse clone() { + return (GoogleAdsSearchads360V23ServicesMutateCampaignCustomizersResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignDraftResult.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignDraftResult.java new file mode 100644 index 00000000000..8898034a50b --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignDraftResult.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The result for the campaign draft mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateCampaignDraftResult extends com.google.api.client.json.GenericJson { + + /** + * The mutated campaign draft with only mutable fields after mutate. The field will only be + * returned when response_content_type is set to "MUTABLE_RESOURCE". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCampaignDraft campaignDraft; + + /** + * Returned for successful operations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * The mutated campaign draft with only mutable fields after mutate. The field will only be + * returned when response_content_type is set to "MUTABLE_RESOURCE". + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignDraft getCampaignDraft() { + return campaignDraft; + } + + /** + * The mutated campaign draft with only mutable fields after mutate. The field will only be + * returned when response_content_type is set to "MUTABLE_RESOURCE". + * @param campaignDraft campaignDraft or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignDraftResult setCampaignDraft(GoogleAdsSearchads360V23ResourcesCampaignDraft campaignDraft) { + this.campaignDraft = campaignDraft; + return this; + } + + /** + * Returned for successful operations. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Returned for successful operations. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignDraftResult setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCampaignDraftResult set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateCampaignDraftResult) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCampaignDraftResult clone() { + return (GoogleAdsSearchads360V23ServicesMutateCampaignDraftResult) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignDraftsRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignDraftsRequest.java new file mode 100644 index 00000000000..393240b1c2a --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignDraftsRequest.java @@ -0,0 +1,154 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for CampaignDraftService.MutateCampaignDrafts. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateCampaignDraftsRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The list of operations to perform on individual campaign drafts. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List operations; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesCampaignDraftOperation used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesCampaignDraftOperation.class); + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean partialFailure; + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String responseContentType; + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean validateOnly; + + /** + * Required. The list of operations to perform on individual campaign drafts. + * @return value or {@code null} for none + */ + public java.util.List getOperations() { + return operations; + } + + /** + * Required. The list of operations to perform on individual campaign drafts. + * @param operations operations or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignDraftsRequest setOperations(java.util.List operations) { + this.operations = operations; + return this; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @return value or {@code null} for none + */ + public java.lang.Boolean getPartialFailure() { + return partialFailure; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @param partialFailure partialFailure or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignDraftsRequest setPartialFailure(java.lang.Boolean partialFailure) { + this.partialFailure = partialFailure; + return this; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * @return value or {@code null} for none + */ + public java.lang.String getResponseContentType() { + return responseContentType; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * @param responseContentType responseContentType or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignDraftsRequest setResponseContentType(java.lang.String responseContentType) { + this.responseContentType = responseContentType; + return this; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @return value or {@code null} for none + */ + public java.lang.Boolean getValidateOnly() { + return validateOnly; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @param validateOnly validateOnly or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignDraftsRequest setValidateOnly(java.lang.Boolean validateOnly) { + this.validateOnly = validateOnly; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCampaignDraftsRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateCampaignDraftsRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCampaignDraftsRequest clone() { + return (GoogleAdsSearchads360V23ServicesMutateCampaignDraftsRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignDraftsResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignDraftsResponse.java new file mode 100644 index 00000000000..15f07e7adf4 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignDraftsResponse.java @@ -0,0 +1,103 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for campaign draft mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateCampaignDraftsResponse extends com.google.api.client.json.GenericJson { + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleRpcStatus partialFailureError; + + /** + * All results for the mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List results; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesMutateCampaignDraftResult used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesMutateCampaignDraftResult.class); + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @return value or {@code null} for none + */ + public GoogleRpcStatus getPartialFailureError() { + return partialFailureError; + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @param partialFailureError partialFailureError or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignDraftsResponse setPartialFailureError(GoogleRpcStatus partialFailureError) { + this.partialFailureError = partialFailureError; + return this; + } + + /** + * All results for the mutate. + * @return value or {@code null} for none + */ + public java.util.List getResults() { + return results; + } + + /** + * All results for the mutate. + * @param results results or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignDraftsResponse setResults(java.util.List results) { + this.results = results; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCampaignDraftsResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateCampaignDraftsResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCampaignDraftsResponse clone() { + return (GoogleAdsSearchads360V23ServicesMutateCampaignDraftsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignGoalConfigResult.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignGoalConfigResult.java new file mode 100644 index 00000000000..5fbb9a369db --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignGoalConfigResult.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The result for the campaign goal config mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateCampaignGoalConfigResult extends com.google.api.client.json.GenericJson { + + /** + * Returned for successful operations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Returned for successful operations. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Returned for successful operations. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignGoalConfigResult setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCampaignGoalConfigResult set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateCampaignGoalConfigResult) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCampaignGoalConfigResult clone() { + return (GoogleAdsSearchads360V23ServicesMutateCampaignGoalConfigResult) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignGoalConfigsRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignGoalConfigsRequest.java new file mode 100644 index 00000000000..a91b066aeed --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignGoalConfigsRequest.java @@ -0,0 +1,130 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for CampaignGoalConfigService.MutateCampaignGoalConfigs. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateCampaignGoalConfigsRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The list of operations to perform on the campaign goal configs. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List operations; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesCampaignGoalConfigOperation used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesCampaignGoalConfigOperation.class); + } + + /** + * Optional. If true, successful operations will be carried out and invalid operations will return + * errors. If false, all operations will be carried out in one transaction if and only if they are + * all valid. Default is false. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean partialFailure; + + /** + * Optional. If true, the request is validated but not executed. Only errors are returned, not + * results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean validateOnly; + + /** + * Required. The list of operations to perform on the campaign goal configs. + * @return value or {@code null} for none + */ + public java.util.List getOperations() { + return operations; + } + + /** + * Required. The list of operations to perform on the campaign goal configs. + * @param operations operations or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignGoalConfigsRequest setOperations(java.util.List operations) { + this.operations = operations; + return this; + } + + /** + * Optional. If true, successful operations will be carried out and invalid operations will return + * errors. If false, all operations will be carried out in one transaction if and only if they are + * all valid. Default is false. + * @return value or {@code null} for none + */ + public java.lang.Boolean getPartialFailure() { + return partialFailure; + } + + /** + * Optional. If true, successful operations will be carried out and invalid operations will return + * errors. If false, all operations will be carried out in one transaction if and only if they are + * all valid. Default is false. + * @param partialFailure partialFailure or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignGoalConfigsRequest setPartialFailure(java.lang.Boolean partialFailure) { + this.partialFailure = partialFailure; + return this; + } + + /** + * Optional. If true, the request is validated but not executed. Only errors are returned, not + * results. + * @return value or {@code null} for none + */ + public java.lang.Boolean getValidateOnly() { + return validateOnly; + } + + /** + * Optional. If true, the request is validated but not executed. Only errors are returned, not + * results. + * @param validateOnly validateOnly or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignGoalConfigsRequest setValidateOnly(java.lang.Boolean validateOnly) { + this.validateOnly = validateOnly; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCampaignGoalConfigsRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateCampaignGoalConfigsRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCampaignGoalConfigsRequest clone() { + return (GoogleAdsSearchads360V23ServicesMutateCampaignGoalConfigsRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignGoalConfigsResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignGoalConfigsResponse.java new file mode 100644 index 00000000000..5e28c565198 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignGoalConfigsResponse.java @@ -0,0 +1,97 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for a campaign goal config mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateCampaignGoalConfigsResponse extends com.google.api.client.json.GenericJson { + + /** + * Errors that pertain to operation failures in the partial failure mode. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleRpcStatus partialFailureError; + + /** + * All results for the mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List results; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesMutateCampaignGoalConfigResult used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesMutateCampaignGoalConfigResult.class); + } + + /** + * Errors that pertain to operation failures in the partial failure mode. + * @return value or {@code null} for none + */ + public GoogleRpcStatus getPartialFailureError() { + return partialFailureError; + } + + /** + * Errors that pertain to operation failures in the partial failure mode. + * @param partialFailureError partialFailureError or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignGoalConfigsResponse setPartialFailureError(GoogleRpcStatus partialFailureError) { + this.partialFailureError = partialFailureError; + return this; + } + + /** + * All results for the mutate. + * @return value or {@code null} for none + */ + public java.util.List getResults() { + return results; + } + + /** + * All results for the mutate. + * @param results results or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignGoalConfigsResponse setResults(java.util.List results) { + this.results = results; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCampaignGoalConfigsResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateCampaignGoalConfigsResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCampaignGoalConfigsResponse clone() { + return (GoogleAdsSearchads360V23ServicesMutateCampaignGoalConfigsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignGroupResult.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignGroupResult.java new file mode 100644 index 00000000000..a103aa48073 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignGroupResult.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The result for the campaign group mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateCampaignGroupResult extends com.google.api.client.json.GenericJson { + + /** + * The mutated campaign group with only mutable fields after mutate. The field will only be + * returned when response_content_type is set to "MUTABLE_RESOURCE". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCampaignGroup campaignGroup; + + /** + * Required. Returned for successful operations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * The mutated campaign group with only mutable fields after mutate. The field will only be + * returned when response_content_type is set to "MUTABLE_RESOURCE". + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignGroup getCampaignGroup() { + return campaignGroup; + } + + /** + * The mutated campaign group with only mutable fields after mutate. The field will only be + * returned when response_content_type is set to "MUTABLE_RESOURCE". + * @param campaignGroup campaignGroup or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignGroupResult setCampaignGroup(GoogleAdsSearchads360V23ResourcesCampaignGroup campaignGroup) { + this.campaignGroup = campaignGroup; + return this; + } + + /** + * Required. Returned for successful operations. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Required. Returned for successful operations. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignGroupResult setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCampaignGroupResult set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateCampaignGroupResult) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCampaignGroupResult clone() { + return (GoogleAdsSearchads360V23ServicesMutateCampaignGroupResult) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignGroupsRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignGroupsRequest.java new file mode 100644 index 00000000000..a83a2c922d4 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignGroupsRequest.java @@ -0,0 +1,154 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for CampaignGroupService.MutateCampaignGroups. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateCampaignGroupsRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The list of operations to perform on individual campaign groups. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List operations; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesCampaignGroupOperation used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesCampaignGroupOperation.class); + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean partialFailure; + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String responseContentType; + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean validateOnly; + + /** + * Required. The list of operations to perform on individual campaign groups. + * @return value or {@code null} for none + */ + public java.util.List getOperations() { + return operations; + } + + /** + * Required. The list of operations to perform on individual campaign groups. + * @param operations operations or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignGroupsRequest setOperations(java.util.List operations) { + this.operations = operations; + return this; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @return value or {@code null} for none + */ + public java.lang.Boolean getPartialFailure() { + return partialFailure; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @param partialFailure partialFailure or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignGroupsRequest setPartialFailure(java.lang.Boolean partialFailure) { + this.partialFailure = partialFailure; + return this; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * @return value or {@code null} for none + */ + public java.lang.String getResponseContentType() { + return responseContentType; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * @param responseContentType responseContentType or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignGroupsRequest setResponseContentType(java.lang.String responseContentType) { + this.responseContentType = responseContentType; + return this; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @return value or {@code null} for none + */ + public java.lang.Boolean getValidateOnly() { + return validateOnly; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @param validateOnly validateOnly or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignGroupsRequest setValidateOnly(java.lang.Boolean validateOnly) { + this.validateOnly = validateOnly; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCampaignGroupsRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateCampaignGroupsRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCampaignGroupsRequest clone() { + return (GoogleAdsSearchads360V23ServicesMutateCampaignGroupsRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignGroupsResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignGroupsResponse.java new file mode 100644 index 00000000000..26e743dd39f --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignGroupsResponse.java @@ -0,0 +1,103 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for campaign group mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateCampaignGroupsResponse extends com.google.api.client.json.GenericJson { + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleRpcStatus partialFailureError; + + /** + * All results for the mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List results; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesMutateCampaignGroupResult used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesMutateCampaignGroupResult.class); + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @return value or {@code null} for none + */ + public GoogleRpcStatus getPartialFailureError() { + return partialFailureError; + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @param partialFailureError partialFailureError or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignGroupsResponse setPartialFailureError(GoogleRpcStatus partialFailureError) { + this.partialFailureError = partialFailureError; + return this; + } + + /** + * All results for the mutate. + * @return value or {@code null} for none + */ + public java.util.List getResults() { + return results; + } + + /** + * All results for the mutate. + * @param results results or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignGroupsResponse setResults(java.util.List results) { + this.results = results; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCampaignGroupsResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateCampaignGroupsResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCampaignGroupsResponse clone() { + return (GoogleAdsSearchads360V23ServicesMutateCampaignGroupsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignLabelResult.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignLabelResult.java new file mode 100644 index 00000000000..4c7279749ad --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignLabelResult.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The result for a campaign label mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateCampaignLabelResult extends com.google.api.client.json.GenericJson { + + /** + * Returned for successful operations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Returned for successful operations. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Returned for successful operations. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignLabelResult setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCampaignLabelResult set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateCampaignLabelResult) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCampaignLabelResult clone() { + return (GoogleAdsSearchads360V23ServicesMutateCampaignLabelResult) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignLabelsRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignLabelsRequest.java new file mode 100644 index 00000000000..00df0ca30c2 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignLabelsRequest.java @@ -0,0 +1,127 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for CampaignLabelService.MutateCampaignLabels. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateCampaignLabelsRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The list of operations to perform on campaign-label relationships. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List operations; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesCampaignLabelOperation used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesCampaignLabelOperation.class); + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean partialFailure; + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean validateOnly; + + /** + * Required. The list of operations to perform on campaign-label relationships. + * @return value or {@code null} for none + */ + public java.util.List getOperations() { + return operations; + } + + /** + * Required. The list of operations to perform on campaign-label relationships. + * @param operations operations or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignLabelsRequest setOperations(java.util.List operations) { + this.operations = operations; + return this; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @return value or {@code null} for none + */ + public java.lang.Boolean getPartialFailure() { + return partialFailure; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @param partialFailure partialFailure or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignLabelsRequest setPartialFailure(java.lang.Boolean partialFailure) { + this.partialFailure = partialFailure; + return this; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @return value or {@code null} for none + */ + public java.lang.Boolean getValidateOnly() { + return validateOnly; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @param validateOnly validateOnly or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignLabelsRequest setValidateOnly(java.lang.Boolean validateOnly) { + this.validateOnly = validateOnly; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCampaignLabelsRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateCampaignLabelsRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCampaignLabelsRequest clone() { + return (GoogleAdsSearchads360V23ServicesMutateCampaignLabelsRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignLabelsResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignLabelsResponse.java new file mode 100644 index 00000000000..45aa0275953 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignLabelsResponse.java @@ -0,0 +1,103 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for a campaign labels mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateCampaignLabelsResponse extends com.google.api.client.json.GenericJson { + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleRpcStatus partialFailureError; + + /** + * All results for the mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List results; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesMutateCampaignLabelResult used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesMutateCampaignLabelResult.class); + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @return value or {@code null} for none + */ + public GoogleRpcStatus getPartialFailureError() { + return partialFailureError; + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @param partialFailureError partialFailureError or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignLabelsResponse setPartialFailureError(GoogleRpcStatus partialFailureError) { + this.partialFailureError = partialFailureError; + return this; + } + + /** + * All results for the mutate. + * @return value or {@code null} for none + */ + public java.util.List getResults() { + return results; + } + + /** + * All results for the mutate. + * @param results results or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignLabelsResponse setResults(java.util.List results) { + this.results = results; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCampaignLabelsResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateCampaignLabelsResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCampaignLabelsResponse clone() { + return (GoogleAdsSearchads360V23ServicesMutateCampaignLabelsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignResult.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignResult.java new file mode 100644 index 00000000000..4498fc90d01 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignResult.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The result for the campaign mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateCampaignResult extends com.google.api.client.json.GenericJson { + + /** + * The mutated campaign with only mutable fields after mutate. The field will only be returned + * when response_content_type is set to "MUTABLE_RESOURCE". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCampaign campaign; + + /** + * Returned for successful operations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * The mutated campaign with only mutable fields after mutate. The field will only be returned + * when response_content_type is set to "MUTABLE_RESOURCE". + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaign getCampaign() { + return campaign; + } + + /** + * The mutated campaign with only mutable fields after mutate. The field will only be returned + * when response_content_type is set to "MUTABLE_RESOURCE". + * @param campaign campaign or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignResult setCampaign(GoogleAdsSearchads360V23ResourcesCampaign campaign) { + this.campaign = campaign; + return this; + } + + /** + * Returned for successful operations. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Returned for successful operations. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignResult setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCampaignResult set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateCampaignResult) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCampaignResult clone() { + return (GoogleAdsSearchads360V23ServicesMutateCampaignResult) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignSharedSetResult.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignSharedSetResult.java new file mode 100644 index 00000000000..6df7423594e --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignSharedSetResult.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The result for the campaign shared set mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateCampaignSharedSetResult extends com.google.api.client.json.GenericJson { + + /** + * The mutated campaign shared set with only mutable fields after mutate. The field will only be + * returned when response_content_type is set to "MUTABLE_RESOURCE". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCampaignSharedSet campaignSharedSet; + + /** + * Returned for successful operations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * The mutated campaign shared set with only mutable fields after mutate. The field will only be + * returned when response_content_type is set to "MUTABLE_RESOURCE". + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignSharedSet getCampaignSharedSet() { + return campaignSharedSet; + } + + /** + * The mutated campaign shared set with only mutable fields after mutate. The field will only be + * returned when response_content_type is set to "MUTABLE_RESOURCE". + * @param campaignSharedSet campaignSharedSet or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignSharedSetResult setCampaignSharedSet(GoogleAdsSearchads360V23ResourcesCampaignSharedSet campaignSharedSet) { + this.campaignSharedSet = campaignSharedSet; + return this; + } + + /** + * Returned for successful operations. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Returned for successful operations. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignSharedSetResult setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCampaignSharedSetResult set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateCampaignSharedSetResult) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCampaignSharedSetResult clone() { + return (GoogleAdsSearchads360V23ServicesMutateCampaignSharedSetResult) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignSharedSetsRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignSharedSetsRequest.java new file mode 100644 index 00000000000..1598b4ade22 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignSharedSetsRequest.java @@ -0,0 +1,154 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for CampaignSharedSetService.MutateCampaignSharedSets. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateCampaignSharedSetsRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The list of operations to perform on individual campaign shared sets. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List operations; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesCampaignSharedSetOperation used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesCampaignSharedSetOperation.class); + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean partialFailure; + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String responseContentType; + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean validateOnly; + + /** + * Required. The list of operations to perform on individual campaign shared sets. + * @return value or {@code null} for none + */ + public java.util.List getOperations() { + return operations; + } + + /** + * Required. The list of operations to perform on individual campaign shared sets. + * @param operations operations or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignSharedSetsRequest setOperations(java.util.List operations) { + this.operations = operations; + return this; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @return value or {@code null} for none + */ + public java.lang.Boolean getPartialFailure() { + return partialFailure; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @param partialFailure partialFailure or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignSharedSetsRequest setPartialFailure(java.lang.Boolean partialFailure) { + this.partialFailure = partialFailure; + return this; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * @return value or {@code null} for none + */ + public java.lang.String getResponseContentType() { + return responseContentType; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * @param responseContentType responseContentType or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignSharedSetsRequest setResponseContentType(java.lang.String responseContentType) { + this.responseContentType = responseContentType; + return this; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @return value or {@code null} for none + */ + public java.lang.Boolean getValidateOnly() { + return validateOnly; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @param validateOnly validateOnly or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignSharedSetsRequest setValidateOnly(java.lang.Boolean validateOnly) { + this.validateOnly = validateOnly; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCampaignSharedSetsRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateCampaignSharedSetsRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCampaignSharedSetsRequest clone() { + return (GoogleAdsSearchads360V23ServicesMutateCampaignSharedSetsRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignSharedSetsResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignSharedSetsResponse.java new file mode 100644 index 00000000000..5ca8f4bc32b --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignSharedSetsResponse.java @@ -0,0 +1,103 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for a campaign shared set mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateCampaignSharedSetsResponse extends com.google.api.client.json.GenericJson { + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleRpcStatus partialFailureError; + + /** + * All results for the mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List results; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesMutateCampaignSharedSetResult used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesMutateCampaignSharedSetResult.class); + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @return value or {@code null} for none + */ + public GoogleRpcStatus getPartialFailureError() { + return partialFailureError; + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @param partialFailureError partialFailureError or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignSharedSetsResponse setPartialFailureError(GoogleRpcStatus partialFailureError) { + this.partialFailureError = partialFailureError; + return this; + } + + /** + * All results for the mutate. + * @return value or {@code null} for none + */ + public java.util.List getResults() { + return results; + } + + /** + * All results for the mutate. + * @param results results or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignSharedSetsResponse setResults(java.util.List results) { + this.results = results; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCampaignSharedSetsResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateCampaignSharedSetsResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCampaignSharedSetsResponse clone() { + return (GoogleAdsSearchads360V23ServicesMutateCampaignSharedSetsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignsRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignsRequest.java new file mode 100644 index 00000000000..1f6459449ad --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignsRequest.java @@ -0,0 +1,154 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for CampaignService.MutateCampaigns. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateCampaignsRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The list of operations to perform on individual campaigns. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List operations; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesCampaignOperation used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesCampaignOperation.class); + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean partialFailure; + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String responseContentType; + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean validateOnly; + + /** + * Required. The list of operations to perform on individual campaigns. + * @return value or {@code null} for none + */ + public java.util.List getOperations() { + return operations; + } + + /** + * Required. The list of operations to perform on individual campaigns. + * @param operations operations or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignsRequest setOperations(java.util.List operations) { + this.operations = operations; + return this; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @return value or {@code null} for none + */ + public java.lang.Boolean getPartialFailure() { + return partialFailure; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @param partialFailure partialFailure or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignsRequest setPartialFailure(java.lang.Boolean partialFailure) { + this.partialFailure = partialFailure; + return this; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * @return value or {@code null} for none + */ + public java.lang.String getResponseContentType() { + return responseContentType; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * @param responseContentType responseContentType or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignsRequest setResponseContentType(java.lang.String responseContentType) { + this.responseContentType = responseContentType; + return this; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @return value or {@code null} for none + */ + public java.lang.Boolean getValidateOnly() { + return validateOnly; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @param validateOnly validateOnly or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignsRequest setValidateOnly(java.lang.Boolean validateOnly) { + this.validateOnly = validateOnly; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCampaignsRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateCampaignsRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCampaignsRequest clone() { + return (GoogleAdsSearchads360V23ServicesMutateCampaignsRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignsResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignsResponse.java new file mode 100644 index 00000000000..b03af706269 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCampaignsResponse.java @@ -0,0 +1,103 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for campaign mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateCampaignsResponse extends com.google.api.client.json.GenericJson { + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleRpcStatus partialFailureError; + + /** + * All results for the mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List results; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesMutateCampaignResult used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesMutateCampaignResult.class); + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @return value or {@code null} for none + */ + public GoogleRpcStatus getPartialFailureError() { + return partialFailureError; + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @param partialFailureError partialFailureError or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignsResponse setPartialFailureError(GoogleRpcStatus partialFailureError) { + this.partialFailureError = partialFailureError; + return this; + } + + /** + * All results for the mutate. + * @return value or {@code null} for none + */ + public java.util.List getResults() { + return results; + } + + /** + * All results for the mutate. + * @param results results or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignsResponse setResults(java.util.List results) { + this.results = results; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCampaignsResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateCampaignsResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCampaignsResponse clone() { + return (GoogleAdsSearchads360V23ServicesMutateCampaignsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateConversionActionResult.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateConversionActionResult.java new file mode 100644 index 00000000000..f2c081ddffb --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateConversionActionResult.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The result for the conversion action mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateConversionActionResult extends com.google.api.client.json.GenericJson { + + /** + * The mutated conversion action with only mutable fields after mutate. The field will only be + * returned when response_content_type is set to "MUTABLE_RESOURCE". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesConversionAction conversionAction; + + /** + * Returned for successful operations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * The mutated conversion action with only mutable fields after mutate. The field will only be + * returned when response_content_type is set to "MUTABLE_RESOURCE". + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionAction getConversionAction() { + return conversionAction; + } + + /** + * The mutated conversion action with only mutable fields after mutate. The field will only be + * returned when response_content_type is set to "MUTABLE_RESOURCE". + * @param conversionAction conversionAction or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateConversionActionResult setConversionAction(GoogleAdsSearchads360V23ResourcesConversionAction conversionAction) { + this.conversionAction = conversionAction; + return this; + } + + /** + * Returned for successful operations. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Returned for successful operations. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateConversionActionResult setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateConversionActionResult set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateConversionActionResult) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateConversionActionResult clone() { + return (GoogleAdsSearchads360V23ServicesMutateConversionActionResult) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateConversionActionsRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateConversionActionsRequest.java new file mode 100644 index 00000000000..1467b250e47 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateConversionActionsRequest.java @@ -0,0 +1,154 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for ConversionActionService.MutateConversionActions. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateConversionActionsRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The list of operations to perform on individual conversion actions. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List operations; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesConversionActionOperation used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesConversionActionOperation.class); + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean partialFailure; + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String responseContentType; + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean validateOnly; + + /** + * Required. The list of operations to perform on individual conversion actions. + * @return value or {@code null} for none + */ + public java.util.List getOperations() { + return operations; + } + + /** + * Required. The list of operations to perform on individual conversion actions. + * @param operations operations or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateConversionActionsRequest setOperations(java.util.List operations) { + this.operations = operations; + return this; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @return value or {@code null} for none + */ + public java.lang.Boolean getPartialFailure() { + return partialFailure; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @param partialFailure partialFailure or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateConversionActionsRequest setPartialFailure(java.lang.Boolean partialFailure) { + this.partialFailure = partialFailure; + return this; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * @return value or {@code null} for none + */ + public java.lang.String getResponseContentType() { + return responseContentType; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * @param responseContentType responseContentType or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateConversionActionsRequest setResponseContentType(java.lang.String responseContentType) { + this.responseContentType = responseContentType; + return this; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @return value or {@code null} for none + */ + public java.lang.Boolean getValidateOnly() { + return validateOnly; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @param validateOnly validateOnly or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateConversionActionsRequest setValidateOnly(java.lang.Boolean validateOnly) { + this.validateOnly = validateOnly; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateConversionActionsRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateConversionActionsRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateConversionActionsRequest clone() { + return (GoogleAdsSearchads360V23ServicesMutateConversionActionsRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateConversionActionsResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateConversionActionsResponse.java new file mode 100644 index 00000000000..e2f31b6e6ca --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateConversionActionsResponse.java @@ -0,0 +1,103 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for ConversionActionService.MutateConversionActions. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateConversionActionsResponse extends com.google.api.client.json.GenericJson { + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleRpcStatus partialFailureError; + + /** + * All results for the mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List results; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesMutateConversionActionResult used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesMutateConversionActionResult.class); + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @return value or {@code null} for none + */ + public GoogleRpcStatus getPartialFailureError() { + return partialFailureError; + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @param partialFailureError partialFailureError or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateConversionActionsResponse setPartialFailureError(GoogleRpcStatus partialFailureError) { + this.partialFailureError = partialFailureError; + return this; + } + + /** + * All results for the mutate. + * @return value or {@code null} for none + */ + public java.util.List getResults() { + return results; + } + + /** + * All results for the mutate. + * @param results results or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateConversionActionsResponse setResults(java.util.List results) { + this.results = results; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateConversionActionsResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateConversionActionsResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateConversionActionsResponse clone() { + return (GoogleAdsSearchads360V23ServicesMutateConversionActionsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateConversionCustomVariableResult.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateConversionCustomVariableResult.java new file mode 100644 index 00000000000..a3ed605677a --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateConversionCustomVariableResult.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The result for the conversion custom variable mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateConversionCustomVariableResult extends com.google.api.client.json.GenericJson { + + /** + * The mutated conversion custom variable with only mutable fields after mutate. The field will + * only be returned when response_content_type is set to "MUTABLE_RESOURCE". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesConversionCustomVariable conversionCustomVariable; + + /** + * Returned for successful operations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * The mutated conversion custom variable with only mutable fields after mutate. The field will + * only be returned when response_content_type is set to "MUTABLE_RESOURCE". + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionCustomVariable getConversionCustomVariable() { + return conversionCustomVariable; + } + + /** + * The mutated conversion custom variable with only mutable fields after mutate. The field will + * only be returned when response_content_type is set to "MUTABLE_RESOURCE". + * @param conversionCustomVariable conversionCustomVariable or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateConversionCustomVariableResult setConversionCustomVariable(GoogleAdsSearchads360V23ResourcesConversionCustomVariable conversionCustomVariable) { + this.conversionCustomVariable = conversionCustomVariable; + return this; + } + + /** + * Returned for successful operations. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Returned for successful operations. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateConversionCustomVariableResult setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateConversionCustomVariableResult set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateConversionCustomVariableResult) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateConversionCustomVariableResult clone() { + return (GoogleAdsSearchads360V23ServicesMutateConversionCustomVariableResult) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateConversionCustomVariablesRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateConversionCustomVariablesRequest.java new file mode 100644 index 00000000000..c6886bda23a --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateConversionCustomVariablesRequest.java @@ -0,0 +1,154 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for ConversionCustomVariableService.MutateConversionCustomVariables. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateConversionCustomVariablesRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The list of operations to perform on individual conversion custom variables. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List operations; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesConversionCustomVariableOperation used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesConversionCustomVariableOperation.class); + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean partialFailure; + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String responseContentType; + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean validateOnly; + + /** + * Required. The list of operations to perform on individual conversion custom variables. + * @return value or {@code null} for none + */ + public java.util.List getOperations() { + return operations; + } + + /** + * Required. The list of operations to perform on individual conversion custom variables. + * @param operations operations or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateConversionCustomVariablesRequest setOperations(java.util.List operations) { + this.operations = operations; + return this; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @return value or {@code null} for none + */ + public java.lang.Boolean getPartialFailure() { + return partialFailure; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @param partialFailure partialFailure or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateConversionCustomVariablesRequest setPartialFailure(java.lang.Boolean partialFailure) { + this.partialFailure = partialFailure; + return this; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * @return value or {@code null} for none + */ + public java.lang.String getResponseContentType() { + return responseContentType; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * @param responseContentType responseContentType or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateConversionCustomVariablesRequest setResponseContentType(java.lang.String responseContentType) { + this.responseContentType = responseContentType; + return this; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @return value or {@code null} for none + */ + public java.lang.Boolean getValidateOnly() { + return validateOnly; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @param validateOnly validateOnly or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateConversionCustomVariablesRequest setValidateOnly(java.lang.Boolean validateOnly) { + this.validateOnly = validateOnly; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateConversionCustomVariablesRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateConversionCustomVariablesRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateConversionCustomVariablesRequest clone() { + return (GoogleAdsSearchads360V23ServicesMutateConversionCustomVariablesRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateConversionCustomVariablesResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateConversionCustomVariablesResponse.java new file mode 100644 index 00000000000..84fa6b1366d --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateConversionCustomVariablesResponse.java @@ -0,0 +1,103 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for ConversionCustomVariableService.MutateConversionCustomVariables. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateConversionCustomVariablesResponse extends com.google.api.client.json.GenericJson { + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleRpcStatus partialFailureError; + + /** + * All results for the mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List results; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesMutateConversionCustomVariableResult used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesMutateConversionCustomVariableResult.class); + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @return value or {@code null} for none + */ + public GoogleRpcStatus getPartialFailureError() { + return partialFailureError; + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @param partialFailureError partialFailureError or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateConversionCustomVariablesResponse setPartialFailureError(GoogleRpcStatus partialFailureError) { + this.partialFailureError = partialFailureError; + return this; + } + + /** + * All results for the mutate. + * @return value or {@code null} for none + */ + public java.util.List getResults() { + return results; + } + + /** + * All results for the mutate. + * @param results results or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateConversionCustomVariablesResponse setResults(java.util.List results) { + this.results = results; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateConversionCustomVariablesResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateConversionCustomVariablesResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateConversionCustomVariablesResponse clone() { + return (GoogleAdsSearchads360V23ServicesMutateConversionCustomVariablesResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateConversionGoalCampaignConfigResult.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateConversionGoalCampaignConfigResult.java new file mode 100644 index 00000000000..bbeb06e244b --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateConversionGoalCampaignConfigResult.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The result for the conversion goal campaign config mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateConversionGoalCampaignConfigResult extends com.google.api.client.json.GenericJson { + + /** + * The mutated ConversionGoalCampaignConfig with only mutable fields after mutate. The field will + * only be returned when response_content_type is set to "MUTABLE_RESOURCE". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesConversionGoalCampaignConfig conversionGoalCampaignConfig; + + /** + * Returned for successful operations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * The mutated ConversionGoalCampaignConfig with only mutable fields after mutate. The field will + * only be returned when response_content_type is set to "MUTABLE_RESOURCE". + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionGoalCampaignConfig getConversionGoalCampaignConfig() { + return conversionGoalCampaignConfig; + } + + /** + * The mutated ConversionGoalCampaignConfig with only mutable fields after mutate. The field will + * only be returned when response_content_type is set to "MUTABLE_RESOURCE". + * @param conversionGoalCampaignConfig conversionGoalCampaignConfig or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateConversionGoalCampaignConfigResult setConversionGoalCampaignConfig(GoogleAdsSearchads360V23ResourcesConversionGoalCampaignConfig conversionGoalCampaignConfig) { + this.conversionGoalCampaignConfig = conversionGoalCampaignConfig; + return this; + } + + /** + * Returned for successful operations. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Returned for successful operations. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateConversionGoalCampaignConfigResult setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateConversionGoalCampaignConfigResult set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateConversionGoalCampaignConfigResult) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateConversionGoalCampaignConfigResult clone() { + return (GoogleAdsSearchads360V23ServicesMutateConversionGoalCampaignConfigResult) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateConversionGoalCampaignConfigsRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateConversionGoalCampaignConfigsRequest.java new file mode 100644 index 00000000000..4e6705ec955 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateConversionGoalCampaignConfigsRequest.java @@ -0,0 +1,124 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for ConversionGoalCampaignConfigService.MutateConversionGoalCampaignConfigs. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateConversionGoalCampaignConfigsRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The list of operations to perform on individual conversion goal campaign config. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List operations; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesConversionGoalCampaignConfigOperation used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesConversionGoalCampaignConfigOperation.class); + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String responseContentType; + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean validateOnly; + + /** + * Required. The list of operations to perform on individual conversion goal campaign config. + * @return value or {@code null} for none + */ + public java.util.List getOperations() { + return operations; + } + + /** + * Required. The list of operations to perform on individual conversion goal campaign config. + * @param operations operations or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateConversionGoalCampaignConfigsRequest setOperations(java.util.List operations) { + this.operations = operations; + return this; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * @return value or {@code null} for none + */ + public java.lang.String getResponseContentType() { + return responseContentType; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * @param responseContentType responseContentType or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateConversionGoalCampaignConfigsRequest setResponseContentType(java.lang.String responseContentType) { + this.responseContentType = responseContentType; + return this; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @return value or {@code null} for none + */ + public java.lang.Boolean getValidateOnly() { + return validateOnly; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @param validateOnly validateOnly or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateConversionGoalCampaignConfigsRequest setValidateOnly(java.lang.Boolean validateOnly) { + this.validateOnly = validateOnly; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateConversionGoalCampaignConfigsRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateConversionGoalCampaignConfigsRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateConversionGoalCampaignConfigsRequest clone() { + return (GoogleAdsSearchads360V23ServicesMutateConversionGoalCampaignConfigsRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateConversionGoalCampaignConfigsResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateConversionGoalCampaignConfigsResponse.java new file mode 100644 index 00000000000..5eb0aad999e --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateConversionGoalCampaignConfigsResponse.java @@ -0,0 +1,73 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for a conversion goal campaign config mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateConversionGoalCampaignConfigsResponse extends com.google.api.client.json.GenericJson { + + /** + * All results for the mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List results; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesMutateConversionGoalCampaignConfigResult used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesMutateConversionGoalCampaignConfigResult.class); + } + + /** + * All results for the mutate. + * @return value or {@code null} for none + */ + public java.util.List getResults() { + return results; + } + + /** + * All results for the mutate. + * @param results results or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateConversionGoalCampaignConfigsResponse setResults(java.util.List results) { + this.results = results; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateConversionGoalCampaignConfigsResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateConversionGoalCampaignConfigsResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateConversionGoalCampaignConfigsResponse clone() { + return (GoogleAdsSearchads360V23ServicesMutateConversionGoalCampaignConfigsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateConversionValueRuleResult.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateConversionValueRuleResult.java new file mode 100644 index 00000000000..c5f71003bf6 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateConversionValueRuleResult.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The result for the conversion value rule mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateConversionValueRuleResult extends com.google.api.client.json.GenericJson { + + /** + * The mutated conversion value rule with only mutable fields after mutate. The field will only be + * returned when response_content_type is set to "MUTABLE_RESOURCE". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesConversionValueRule conversionValueRule; + + /** + * Returned for successful operations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * The mutated conversion value rule with only mutable fields after mutate. The field will only be + * returned when response_content_type is set to "MUTABLE_RESOURCE". + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionValueRule getConversionValueRule() { + return conversionValueRule; + } + + /** + * The mutated conversion value rule with only mutable fields after mutate. The field will only be + * returned when response_content_type is set to "MUTABLE_RESOURCE". + * @param conversionValueRule conversionValueRule or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateConversionValueRuleResult setConversionValueRule(GoogleAdsSearchads360V23ResourcesConversionValueRule conversionValueRule) { + this.conversionValueRule = conversionValueRule; + return this; + } + + /** + * Returned for successful operations. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Returned for successful operations. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateConversionValueRuleResult setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateConversionValueRuleResult set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateConversionValueRuleResult) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateConversionValueRuleResult clone() { + return (GoogleAdsSearchads360V23ServicesMutateConversionValueRuleResult) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateConversionValueRuleSetResult.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateConversionValueRuleSetResult.java new file mode 100644 index 00000000000..fef067f2722 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateConversionValueRuleSetResult.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The result for the conversion value rule set mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateConversionValueRuleSetResult extends com.google.api.client.json.GenericJson { + + /** + * The mutated conversion value rule set with only mutable fields after mutate. The field will + * only be returned when response_content_type is set to "MUTABLE_RESOURCE". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesConversionValueRuleSet conversionValueRuleSet; + + /** + * Returned for successful operations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * The mutated conversion value rule set with only mutable fields after mutate. The field will + * only be returned when response_content_type is set to "MUTABLE_RESOURCE". + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionValueRuleSet getConversionValueRuleSet() { + return conversionValueRuleSet; + } + + /** + * The mutated conversion value rule set with only mutable fields after mutate. The field will + * only be returned when response_content_type is set to "MUTABLE_RESOURCE". + * @param conversionValueRuleSet conversionValueRuleSet or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateConversionValueRuleSetResult setConversionValueRuleSet(GoogleAdsSearchads360V23ResourcesConversionValueRuleSet conversionValueRuleSet) { + this.conversionValueRuleSet = conversionValueRuleSet; + return this; + } + + /** + * Returned for successful operations. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Returned for successful operations. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateConversionValueRuleSetResult setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateConversionValueRuleSetResult set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateConversionValueRuleSetResult) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateConversionValueRuleSetResult clone() { + return (GoogleAdsSearchads360V23ServicesMutateConversionValueRuleSetResult) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateConversionValueRuleSetsRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateConversionValueRuleSetsRequest.java new file mode 100644 index 00000000000..11a4e4918ee --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateConversionValueRuleSetsRequest.java @@ -0,0 +1,154 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for ConversionValueRuleSetService.MutateConversionValueRuleSets. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateConversionValueRuleSetsRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The list of operations to perform on individual conversion value rule sets. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List operations; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesConversionValueRuleSetOperation used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesConversionValueRuleSetOperation.class); + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean partialFailure; + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String responseContentType; + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean validateOnly; + + /** + * Required. The list of operations to perform on individual conversion value rule sets. + * @return value or {@code null} for none + */ + public java.util.List getOperations() { + return operations; + } + + /** + * Required. The list of operations to perform on individual conversion value rule sets. + * @param operations operations or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateConversionValueRuleSetsRequest setOperations(java.util.List operations) { + this.operations = operations; + return this; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @return value or {@code null} for none + */ + public java.lang.Boolean getPartialFailure() { + return partialFailure; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @param partialFailure partialFailure or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateConversionValueRuleSetsRequest setPartialFailure(java.lang.Boolean partialFailure) { + this.partialFailure = partialFailure; + return this; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * @return value or {@code null} for none + */ + public java.lang.String getResponseContentType() { + return responseContentType; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * @param responseContentType responseContentType or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateConversionValueRuleSetsRequest setResponseContentType(java.lang.String responseContentType) { + this.responseContentType = responseContentType; + return this; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @return value or {@code null} for none + */ + public java.lang.Boolean getValidateOnly() { + return validateOnly; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @param validateOnly validateOnly or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateConversionValueRuleSetsRequest setValidateOnly(java.lang.Boolean validateOnly) { + this.validateOnly = validateOnly; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateConversionValueRuleSetsRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateConversionValueRuleSetsRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateConversionValueRuleSetsRequest clone() { + return (GoogleAdsSearchads360V23ServicesMutateConversionValueRuleSetsRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateConversionValueRuleSetsResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateConversionValueRuleSetsResponse.java new file mode 100644 index 00000000000..4eb6d13d736 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateConversionValueRuleSetsResponse.java @@ -0,0 +1,103 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for ConversionValueRuleSetService.MutateConversionValueRuleSets. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateConversionValueRuleSetsResponse extends com.google.api.client.json.GenericJson { + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleRpcStatus partialFailureError; + + /** + * All results for the mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List results; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesMutateConversionValueRuleSetResult used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesMutateConversionValueRuleSetResult.class); + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @return value or {@code null} for none + */ + public GoogleRpcStatus getPartialFailureError() { + return partialFailureError; + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @param partialFailureError partialFailureError or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateConversionValueRuleSetsResponse setPartialFailureError(GoogleRpcStatus partialFailureError) { + this.partialFailureError = partialFailureError; + return this; + } + + /** + * All results for the mutate. + * @return value or {@code null} for none + */ + public java.util.List getResults() { + return results; + } + + /** + * All results for the mutate. + * @param results results or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateConversionValueRuleSetsResponse setResults(java.util.List results) { + this.results = results; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateConversionValueRuleSetsResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateConversionValueRuleSetsResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateConversionValueRuleSetsResponse clone() { + return (GoogleAdsSearchads360V23ServicesMutateConversionValueRuleSetsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateConversionValueRulesRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateConversionValueRulesRequest.java new file mode 100644 index 00000000000..30a1b3eec3c --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateConversionValueRulesRequest.java @@ -0,0 +1,154 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for ConversionValueRuleService.MutateConversionValueRules. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateConversionValueRulesRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The list of operations to perform on individual conversion value rules. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List operations; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesConversionValueRuleOperation used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesConversionValueRuleOperation.class); + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean partialFailure; + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String responseContentType; + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean validateOnly; + + /** + * Required. The list of operations to perform on individual conversion value rules. + * @return value or {@code null} for none + */ + public java.util.List getOperations() { + return operations; + } + + /** + * Required. The list of operations to perform on individual conversion value rules. + * @param operations operations or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateConversionValueRulesRequest setOperations(java.util.List operations) { + this.operations = operations; + return this; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @return value or {@code null} for none + */ + public java.lang.Boolean getPartialFailure() { + return partialFailure; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @param partialFailure partialFailure or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateConversionValueRulesRequest setPartialFailure(java.lang.Boolean partialFailure) { + this.partialFailure = partialFailure; + return this; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * @return value or {@code null} for none + */ + public java.lang.String getResponseContentType() { + return responseContentType; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * @param responseContentType responseContentType or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateConversionValueRulesRequest setResponseContentType(java.lang.String responseContentType) { + this.responseContentType = responseContentType; + return this; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @return value or {@code null} for none + */ + public java.lang.Boolean getValidateOnly() { + return validateOnly; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @param validateOnly validateOnly or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateConversionValueRulesRequest setValidateOnly(java.lang.Boolean validateOnly) { + this.validateOnly = validateOnly; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateConversionValueRulesRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateConversionValueRulesRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateConversionValueRulesRequest clone() { + return (GoogleAdsSearchads360V23ServicesMutateConversionValueRulesRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateConversionValueRulesResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateConversionValueRulesResponse.java new file mode 100644 index 00000000000..aeb2fc2dbbc --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateConversionValueRulesResponse.java @@ -0,0 +1,103 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for ConversionValueRuleService.MutateConversionValueRules. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateConversionValueRulesResponse extends com.google.api.client.json.GenericJson { + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleRpcStatus partialFailureError; + + /** + * All results for the mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List results; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesMutateConversionValueRuleResult used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesMutateConversionValueRuleResult.class); + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @return value or {@code null} for none + */ + public GoogleRpcStatus getPartialFailureError() { + return partialFailureError; + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @param partialFailureError partialFailureError or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateConversionValueRulesResponse setPartialFailureError(GoogleRpcStatus partialFailureError) { + this.partialFailureError = partialFailureError; + return this; + } + + /** + * All results for the mutate. + * @return value or {@code null} for none + */ + public java.util.List getResults() { + return results; + } + + /** + * All results for the mutate. + * @param results results or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateConversionValueRulesResponse setResults(java.util.List results) { + this.results = results; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateConversionValueRulesResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateConversionValueRulesResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateConversionValueRulesResponse clone() { + return (GoogleAdsSearchads360V23ServicesMutateConversionValueRulesResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomAudienceResult.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomAudienceResult.java new file mode 100644 index 00000000000..6d1dc000ea7 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomAudienceResult.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The result for the custom audience mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateCustomAudienceResult extends com.google.api.client.json.GenericJson { + + /** + * Returned for successful operations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Returned for successful operations. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Returned for successful operations. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomAudienceResult setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCustomAudienceResult set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateCustomAudienceResult) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCustomAudienceResult clone() { + return (GoogleAdsSearchads360V23ServicesMutateCustomAudienceResult) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomAudiencesRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomAudiencesRequest.java new file mode 100644 index 00000000000..4634e34ead0 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomAudiencesRequest.java @@ -0,0 +1,97 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for CustomAudienceService.MutateCustomAudiences. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateCustomAudiencesRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The list of operations to perform on individual custom audiences. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List operations; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesCustomAudienceOperation used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesCustomAudienceOperation.class); + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean validateOnly; + + /** + * Required. The list of operations to perform on individual custom audiences. + * @return value or {@code null} for none + */ + public java.util.List getOperations() { + return operations; + } + + /** + * Required. The list of operations to perform on individual custom audiences. + * @param operations operations or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomAudiencesRequest setOperations(java.util.List operations) { + this.operations = operations; + return this; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @return value or {@code null} for none + */ + public java.lang.Boolean getValidateOnly() { + return validateOnly; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @param validateOnly validateOnly or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomAudiencesRequest setValidateOnly(java.lang.Boolean validateOnly) { + this.validateOnly = validateOnly; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCustomAudiencesRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateCustomAudiencesRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCustomAudiencesRequest clone() { + return (GoogleAdsSearchads360V23ServicesMutateCustomAudiencesRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomAudiencesResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomAudiencesResponse.java new file mode 100644 index 00000000000..c1a60d7a65b --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomAudiencesResponse.java @@ -0,0 +1,73 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for custom audience mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateCustomAudiencesResponse extends com.google.api.client.json.GenericJson { + + /** + * All results for the mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List results; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesMutateCustomAudienceResult used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesMutateCustomAudienceResult.class); + } + + /** + * All results for the mutate. + * @return value or {@code null} for none + */ + public java.util.List getResults() { + return results; + } + + /** + * All results for the mutate. + * @param results results or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomAudiencesResponse setResults(java.util.List results) { + this.results = results; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCustomAudiencesResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateCustomAudiencesResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCustomAudiencesResponse clone() { + return (GoogleAdsSearchads360V23ServicesMutateCustomAudiencesResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomConversionGoalResult.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomConversionGoalResult.java new file mode 100644 index 00000000000..067bc4eafc8 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomConversionGoalResult.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The result for the custom conversion goal mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateCustomConversionGoalResult extends com.google.api.client.json.GenericJson { + + /** + * The mutated CustomConversionGoal with only mutable fields after mutate. The field will only be + * returned when response_content_type is set to "MUTABLE_RESOURCE". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCustomConversionGoal customConversionGoal; + + /** + * Returned for successful operations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * The mutated CustomConversionGoal with only mutable fields after mutate. The field will only be + * returned when response_content_type is set to "MUTABLE_RESOURCE". + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomConversionGoal getCustomConversionGoal() { + return customConversionGoal; + } + + /** + * The mutated CustomConversionGoal with only mutable fields after mutate. The field will only be + * returned when response_content_type is set to "MUTABLE_RESOURCE". + * @param customConversionGoal customConversionGoal or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomConversionGoalResult setCustomConversionGoal(GoogleAdsSearchads360V23ResourcesCustomConversionGoal customConversionGoal) { + this.customConversionGoal = customConversionGoal; + return this; + } + + /** + * Returned for successful operations. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Returned for successful operations. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomConversionGoalResult setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCustomConversionGoalResult set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateCustomConversionGoalResult) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCustomConversionGoalResult clone() { + return (GoogleAdsSearchads360V23ServicesMutateCustomConversionGoalResult) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomConversionGoalsRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomConversionGoalsRequest.java new file mode 100644 index 00000000000..7751858856e --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomConversionGoalsRequest.java @@ -0,0 +1,124 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for CustomConversionGoalService.MutateCustomConversionGoals. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateCustomConversionGoalsRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The list of operations to perform on individual custom conversion goal. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List operations; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesCustomConversionGoalOperation used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesCustomConversionGoalOperation.class); + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String responseContentType; + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean validateOnly; + + /** + * Required. The list of operations to perform on individual custom conversion goal. + * @return value or {@code null} for none + */ + public java.util.List getOperations() { + return operations; + } + + /** + * Required. The list of operations to perform on individual custom conversion goal. + * @param operations operations or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomConversionGoalsRequest setOperations(java.util.List operations) { + this.operations = operations; + return this; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * @return value or {@code null} for none + */ + public java.lang.String getResponseContentType() { + return responseContentType; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * @param responseContentType responseContentType or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomConversionGoalsRequest setResponseContentType(java.lang.String responseContentType) { + this.responseContentType = responseContentType; + return this; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @return value or {@code null} for none + */ + public java.lang.Boolean getValidateOnly() { + return validateOnly; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @param validateOnly validateOnly or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomConversionGoalsRequest setValidateOnly(java.lang.Boolean validateOnly) { + this.validateOnly = validateOnly; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCustomConversionGoalsRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateCustomConversionGoalsRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCustomConversionGoalsRequest clone() { + return (GoogleAdsSearchads360V23ServicesMutateCustomConversionGoalsRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomConversionGoalsResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomConversionGoalsResponse.java new file mode 100644 index 00000000000..783ab4f1868 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomConversionGoalsResponse.java @@ -0,0 +1,73 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for a custom conversion goal mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateCustomConversionGoalsResponse extends com.google.api.client.json.GenericJson { + + /** + * All results for the mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List results; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesMutateCustomConversionGoalResult used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesMutateCustomConversionGoalResult.class); + } + + /** + * All results for the mutate. + * @return value or {@code null} for none + */ + public java.util.List getResults() { + return results; + } + + /** + * All results for the mutate. + * @param results results or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomConversionGoalsResponse setResults(java.util.List results) { + this.results = results; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCustomConversionGoalsResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateCustomConversionGoalsResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCustomConversionGoalsResponse clone() { + return (GoogleAdsSearchads360V23ServicesMutateCustomConversionGoalsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomInterestResult.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomInterestResult.java new file mode 100644 index 00000000000..4edd73b5f26 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomInterestResult.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The result for the custom interest mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateCustomInterestResult extends com.google.api.client.json.GenericJson { + + /** + * Returned for successful operations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Returned for successful operations. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Returned for successful operations. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomInterestResult setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCustomInterestResult set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateCustomInterestResult) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCustomInterestResult clone() { + return (GoogleAdsSearchads360V23ServicesMutateCustomInterestResult) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomInterestsRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomInterestsRequest.java new file mode 100644 index 00000000000..248a6da6b50 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomInterestsRequest.java @@ -0,0 +1,97 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for CustomInterestService.MutateCustomInterests. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateCustomInterestsRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The list of operations to perform on individual custom interests. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List operations; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesCustomInterestOperation used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesCustomInterestOperation.class); + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean validateOnly; + + /** + * Required. The list of operations to perform on individual custom interests. + * @return value or {@code null} for none + */ + public java.util.List getOperations() { + return operations; + } + + /** + * Required. The list of operations to perform on individual custom interests. + * @param operations operations or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomInterestsRequest setOperations(java.util.List operations) { + this.operations = operations; + return this; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @return value or {@code null} for none + */ + public java.lang.Boolean getValidateOnly() { + return validateOnly; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @param validateOnly validateOnly or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomInterestsRequest setValidateOnly(java.lang.Boolean validateOnly) { + this.validateOnly = validateOnly; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCustomInterestsRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateCustomInterestsRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCustomInterestsRequest clone() { + return (GoogleAdsSearchads360V23ServicesMutateCustomInterestsRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomInterestsResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomInterestsResponse.java new file mode 100644 index 00000000000..ff842ac7246 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomInterestsResponse.java @@ -0,0 +1,73 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for custom interest mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateCustomInterestsResponse extends com.google.api.client.json.GenericJson { + + /** + * All results for the mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List results; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesMutateCustomInterestResult used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesMutateCustomInterestResult.class); + } + + /** + * All results for the mutate. + * @return value or {@code null} for none + */ + public java.util.List getResults() { + return results; + } + + /** + * All results for the mutate. + * @param results results or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomInterestsResponse setResults(java.util.List results) { + this.results = results; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCustomInterestsResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateCustomInterestsResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCustomInterestsResponse clone() { + return (GoogleAdsSearchads360V23ServicesMutateCustomInterestsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerAssetResult.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerAssetResult.java new file mode 100644 index 00000000000..e6b4fc885ce --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerAssetResult.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The result for the customer asset mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateCustomerAssetResult extends com.google.api.client.json.GenericJson { + + /** + * The mutated customer asset with only mutable fields after mutate. The field will only be + * returned when response_content_type is set to "MUTABLE_RESOURCE". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCustomerAsset customerAsset; + + /** + * Returned for successful operations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * The mutated customer asset with only mutable fields after mutate. The field will only be + * returned when response_content_type is set to "MUTABLE_RESOURCE". + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerAsset getCustomerAsset() { + return customerAsset; + } + + /** + * The mutated customer asset with only mutable fields after mutate. The field will only be + * returned when response_content_type is set to "MUTABLE_RESOURCE". + * @param customerAsset customerAsset or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomerAssetResult setCustomerAsset(GoogleAdsSearchads360V23ResourcesCustomerAsset customerAsset) { + this.customerAsset = customerAsset; + return this; + } + + /** + * Returned for successful operations. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Returned for successful operations. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomerAssetResult setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCustomerAssetResult set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateCustomerAssetResult) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCustomerAssetResult clone() { + return (GoogleAdsSearchads360V23ServicesMutateCustomerAssetResult) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerAssetSetResult.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerAssetSetResult.java new file mode 100644 index 00000000000..682a8d02b16 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerAssetSetResult.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The result for the customer asset set mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateCustomerAssetSetResult extends com.google.api.client.json.GenericJson { + + /** + * The mutated customer asset set with only mutable fields after mutate. The field will only be + * returned when response_content_type is set to "MUTABLE_RESOURCE". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCustomerAssetSet customerAssetSet; + + /** + * Returned for successful operations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * The mutated customer asset set with only mutable fields after mutate. The field will only be + * returned when response_content_type is set to "MUTABLE_RESOURCE". + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerAssetSet getCustomerAssetSet() { + return customerAssetSet; + } + + /** + * The mutated customer asset set with only mutable fields after mutate. The field will only be + * returned when response_content_type is set to "MUTABLE_RESOURCE". + * @param customerAssetSet customerAssetSet or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomerAssetSetResult setCustomerAssetSet(GoogleAdsSearchads360V23ResourcesCustomerAssetSet customerAssetSet) { + this.customerAssetSet = customerAssetSet; + return this; + } + + /** + * Returned for successful operations. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Returned for successful operations. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomerAssetSetResult setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCustomerAssetSetResult set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateCustomerAssetSetResult) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCustomerAssetSetResult clone() { + return (GoogleAdsSearchads360V23ServicesMutateCustomerAssetSetResult) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerAssetSetsRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerAssetSetsRequest.java new file mode 100644 index 00000000000..12eb4e56f5f --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerAssetSetsRequest.java @@ -0,0 +1,154 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for CustomerAssetSetService.MutateCustomerAssetSets. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateCustomerAssetSetsRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The list of operations to perform on individual customer asset sets. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List operations; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesCustomerAssetSetOperation used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesCustomerAssetSetOperation.class); + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean partialFailure; + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String responseContentType; + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean validateOnly; + + /** + * Required. The list of operations to perform on individual customer asset sets. + * @return value or {@code null} for none + */ + public java.util.List getOperations() { + return operations; + } + + /** + * Required. The list of operations to perform on individual customer asset sets. + * @param operations operations or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomerAssetSetsRequest setOperations(java.util.List operations) { + this.operations = operations; + return this; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @return value or {@code null} for none + */ + public java.lang.Boolean getPartialFailure() { + return partialFailure; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @param partialFailure partialFailure or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomerAssetSetsRequest setPartialFailure(java.lang.Boolean partialFailure) { + this.partialFailure = partialFailure; + return this; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * @return value or {@code null} for none + */ + public java.lang.String getResponseContentType() { + return responseContentType; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * @param responseContentType responseContentType or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomerAssetSetsRequest setResponseContentType(java.lang.String responseContentType) { + this.responseContentType = responseContentType; + return this; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @return value or {@code null} for none + */ + public java.lang.Boolean getValidateOnly() { + return validateOnly; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @param validateOnly validateOnly or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomerAssetSetsRequest setValidateOnly(java.lang.Boolean validateOnly) { + this.validateOnly = validateOnly; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCustomerAssetSetsRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateCustomerAssetSetsRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCustomerAssetSetsRequest clone() { + return (GoogleAdsSearchads360V23ServicesMutateCustomerAssetSetsRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerAssetSetsResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerAssetSetsResponse.java new file mode 100644 index 00000000000..399ce8e236d --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerAssetSetsResponse.java @@ -0,0 +1,103 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for a customer asset set mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateCustomerAssetSetsResponse extends com.google.api.client.json.GenericJson { + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (e.g. auth errors), we return an RPC level error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleRpcStatus partialFailureError; + + /** + * All results for the mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List results; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesMutateCustomerAssetSetResult used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesMutateCustomerAssetSetResult.class); + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (e.g. auth errors), we return an RPC level error. + * @return value or {@code null} for none + */ + public GoogleRpcStatus getPartialFailureError() { + return partialFailureError; + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (e.g. auth errors), we return an RPC level error. + * @param partialFailureError partialFailureError or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomerAssetSetsResponse setPartialFailureError(GoogleRpcStatus partialFailureError) { + this.partialFailureError = partialFailureError; + return this; + } + + /** + * All results for the mutate. + * @return value or {@code null} for none + */ + public java.util.List getResults() { + return results; + } + + /** + * All results for the mutate. + * @param results results or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomerAssetSetsResponse setResults(java.util.List results) { + this.results = results; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCustomerAssetSetsResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateCustomerAssetSetsResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCustomerAssetSetsResponse clone() { + return (GoogleAdsSearchads360V23ServicesMutateCustomerAssetSetsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerAssetsRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerAssetsRequest.java new file mode 100644 index 00000000000..d465484bf53 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerAssetsRequest.java @@ -0,0 +1,154 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for CustomerAssetService.MutateCustomerAssets. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateCustomerAssetsRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The list of operations to perform on individual customer assets. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List operations; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesCustomerAssetOperation used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesCustomerAssetOperation.class); + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean partialFailure; + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String responseContentType; + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean validateOnly; + + /** + * Required. The list of operations to perform on individual customer assets. + * @return value or {@code null} for none + */ + public java.util.List getOperations() { + return operations; + } + + /** + * Required. The list of operations to perform on individual customer assets. + * @param operations operations or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomerAssetsRequest setOperations(java.util.List operations) { + this.operations = operations; + return this; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @return value or {@code null} for none + */ + public java.lang.Boolean getPartialFailure() { + return partialFailure; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @param partialFailure partialFailure or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomerAssetsRequest setPartialFailure(java.lang.Boolean partialFailure) { + this.partialFailure = partialFailure; + return this; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * @return value or {@code null} for none + */ + public java.lang.String getResponseContentType() { + return responseContentType; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * @param responseContentType responseContentType or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomerAssetsRequest setResponseContentType(java.lang.String responseContentType) { + this.responseContentType = responseContentType; + return this; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @return value or {@code null} for none + */ + public java.lang.Boolean getValidateOnly() { + return validateOnly; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @param validateOnly validateOnly or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomerAssetsRequest setValidateOnly(java.lang.Boolean validateOnly) { + this.validateOnly = validateOnly; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCustomerAssetsRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateCustomerAssetsRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCustomerAssetsRequest clone() { + return (GoogleAdsSearchads360V23ServicesMutateCustomerAssetsRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerAssetsResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerAssetsResponse.java new file mode 100644 index 00000000000..2676131718a --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerAssetsResponse.java @@ -0,0 +1,103 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for a customer asset mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateCustomerAssetsResponse extends com.google.api.client.json.GenericJson { + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleRpcStatus partialFailureError; + + /** + * All results for the mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List results; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesMutateCustomerAssetResult used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesMutateCustomerAssetResult.class); + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @return value or {@code null} for none + */ + public GoogleRpcStatus getPartialFailureError() { + return partialFailureError; + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @param partialFailureError partialFailureError or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomerAssetsResponse setPartialFailureError(GoogleRpcStatus partialFailureError) { + this.partialFailureError = partialFailureError; + return this; + } + + /** + * All results for the mutate. + * @return value or {@code null} for none + */ + public java.util.List getResults() { + return results; + } + + /** + * All results for the mutate. + * @param results results or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomerAssetsResponse setResults(java.util.List results) { + this.results = results; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCustomerAssetsResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateCustomerAssetsResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCustomerAssetsResponse clone() { + return (GoogleAdsSearchads360V23ServicesMutateCustomerAssetsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerClientLinkRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerClientLinkRequest.java new file mode 100644 index 00000000000..3184711a02f --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerClientLinkRequest.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for CustomerClientLinkService.MutateCustomerClientLink. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateCustomerClientLinkRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The operation to perform on the individual CustomerClientLink. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesCustomerClientLinkOperation operation; + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean validateOnly; + + /** + * Required. The operation to perform on the individual CustomerClientLink. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCustomerClientLinkOperation getOperation() { + return operation; + } + + /** + * Required. The operation to perform on the individual CustomerClientLink. + * @param operation operation or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomerClientLinkRequest setOperation(GoogleAdsSearchads360V23ServicesCustomerClientLinkOperation operation) { + this.operation = operation; + return this; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @return value or {@code null} for none + */ + public java.lang.Boolean getValidateOnly() { + return validateOnly; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @param validateOnly validateOnly or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomerClientLinkRequest setValidateOnly(java.lang.Boolean validateOnly) { + this.validateOnly = validateOnly; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCustomerClientLinkRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateCustomerClientLinkRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCustomerClientLinkRequest clone() { + return (GoogleAdsSearchads360V23ServicesMutateCustomerClientLinkRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerClientLinkResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerClientLinkResponse.java new file mode 100644 index 00000000000..26c576d66af --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerClientLinkResponse.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for a CustomerClientLink mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateCustomerClientLinkResponse extends com.google.api.client.json.GenericJson { + + /** + * A result that identifies the resource affected by the mutate request. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesMutateCustomerClientLinkResult result; + + /** + * A result that identifies the resource affected by the mutate request. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomerClientLinkResult getResult() { + return result; + } + + /** + * A result that identifies the resource affected by the mutate request. + * @param result result or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomerClientLinkResponse setResult(GoogleAdsSearchads360V23ServicesMutateCustomerClientLinkResult result) { + this.result = result; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCustomerClientLinkResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateCustomerClientLinkResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCustomerClientLinkResponse clone() { + return (GoogleAdsSearchads360V23ServicesMutateCustomerClientLinkResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerClientLinkResult.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerClientLinkResult.java new file mode 100644 index 00000000000..c7423304e94 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerClientLinkResult.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The result for a single customer client link mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateCustomerClientLinkResult extends com.google.api.client.json.GenericJson { + + /** + * Returned for successful operations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Returned for successful operations. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Returned for successful operations. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomerClientLinkResult setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCustomerClientLinkResult set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateCustomerClientLinkResult) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCustomerClientLinkResult clone() { + return (GoogleAdsSearchads360V23ServicesMutateCustomerClientLinkResult) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerConversionGoalResult.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerConversionGoalResult.java new file mode 100644 index 00000000000..97eb5d2bcaa --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerConversionGoalResult.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The result for the customer conversion goal mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateCustomerConversionGoalResult extends com.google.api.client.json.GenericJson { + + /** + * Returned for successful operations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Returned for successful operations. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Returned for successful operations. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomerConversionGoalResult setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCustomerConversionGoalResult set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateCustomerConversionGoalResult) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCustomerConversionGoalResult clone() { + return (GoogleAdsSearchads360V23ServicesMutateCustomerConversionGoalResult) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerConversionGoalsRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerConversionGoalsRequest.java new file mode 100644 index 00000000000..b9bc4ccb9e8 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerConversionGoalsRequest.java @@ -0,0 +1,97 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for CustomerConversionGoalService.MutateCustomerConversionGoals. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateCustomerConversionGoalsRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The list of operations to perform on individual customer conversion goal. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List operations; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesCustomerConversionGoalOperation used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesCustomerConversionGoalOperation.class); + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean validateOnly; + + /** + * Required. The list of operations to perform on individual customer conversion goal. + * @return value or {@code null} for none + */ + public java.util.List getOperations() { + return operations; + } + + /** + * Required. The list of operations to perform on individual customer conversion goal. + * @param operations operations or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomerConversionGoalsRequest setOperations(java.util.List operations) { + this.operations = operations; + return this; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @return value or {@code null} for none + */ + public java.lang.Boolean getValidateOnly() { + return validateOnly; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @param validateOnly validateOnly or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomerConversionGoalsRequest setValidateOnly(java.lang.Boolean validateOnly) { + this.validateOnly = validateOnly; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCustomerConversionGoalsRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateCustomerConversionGoalsRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCustomerConversionGoalsRequest clone() { + return (GoogleAdsSearchads360V23ServicesMutateCustomerConversionGoalsRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerConversionGoalsResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerConversionGoalsResponse.java new file mode 100644 index 00000000000..0504c67e5c2 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerConversionGoalsResponse.java @@ -0,0 +1,73 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for a customer conversion goal mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateCustomerConversionGoalsResponse extends com.google.api.client.json.GenericJson { + + /** + * All results for the mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List results; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesMutateCustomerConversionGoalResult used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesMutateCustomerConversionGoalResult.class); + } + + /** + * All results for the mutate. + * @return value or {@code null} for none + */ + public java.util.List getResults() { + return results; + } + + /** + * All results for the mutate. + * @param results results or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomerConversionGoalsResponse setResults(java.util.List results) { + this.results = results; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCustomerConversionGoalsResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateCustomerConversionGoalsResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCustomerConversionGoalsResponse clone() { + return (GoogleAdsSearchads360V23ServicesMutateCustomerConversionGoalsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerCustomizerResult.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerCustomizerResult.java new file mode 100644 index 00000000000..16ed65243ed --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerCustomizerResult.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The result for the customizer attribute mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateCustomerCustomizerResult extends com.google.api.client.json.GenericJson { + + /** + * The mutated CustomerCustomizer with only mutable fields after mutate. The field will only be + * returned when response_content_type is set to "MUTABLE_RESOURCE". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCustomerCustomizer customerCustomizer; + + /** + * Returned for successful operations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * The mutated CustomerCustomizer with only mutable fields after mutate. The field will only be + * returned when response_content_type is set to "MUTABLE_RESOURCE". + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerCustomizer getCustomerCustomizer() { + return customerCustomizer; + } + + /** + * The mutated CustomerCustomizer with only mutable fields after mutate. The field will only be + * returned when response_content_type is set to "MUTABLE_RESOURCE". + * @param customerCustomizer customerCustomizer or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomerCustomizerResult setCustomerCustomizer(GoogleAdsSearchads360V23ResourcesCustomerCustomizer customerCustomizer) { + this.customerCustomizer = customerCustomizer; + return this; + } + + /** + * Returned for successful operations. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Returned for successful operations. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomerCustomizerResult setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCustomerCustomizerResult set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateCustomerCustomizerResult) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCustomerCustomizerResult clone() { + return (GoogleAdsSearchads360V23ServicesMutateCustomerCustomizerResult) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerCustomizersRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerCustomizersRequest.java new file mode 100644 index 00000000000..cba5a186614 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerCustomizersRequest.java @@ -0,0 +1,154 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for CustomerCustomizerService.MutateCustomerCustomizers. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateCustomerCustomizersRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The list of operations to perform on individual customer customizers. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List operations; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesCustomerCustomizerOperation used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesCustomerCustomizerOperation.class); + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean partialFailure; + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String responseContentType; + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean validateOnly; + + /** + * Required. The list of operations to perform on individual customer customizers. + * @return value or {@code null} for none + */ + public java.util.List getOperations() { + return operations; + } + + /** + * Required. The list of operations to perform on individual customer customizers. + * @param operations operations or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomerCustomizersRequest setOperations(java.util.List operations) { + this.operations = operations; + return this; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @return value or {@code null} for none + */ + public java.lang.Boolean getPartialFailure() { + return partialFailure; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @param partialFailure partialFailure or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomerCustomizersRequest setPartialFailure(java.lang.Boolean partialFailure) { + this.partialFailure = partialFailure; + return this; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * @return value or {@code null} for none + */ + public java.lang.String getResponseContentType() { + return responseContentType; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * @param responseContentType responseContentType or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomerCustomizersRequest setResponseContentType(java.lang.String responseContentType) { + this.responseContentType = responseContentType; + return this; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @return value or {@code null} for none + */ + public java.lang.Boolean getValidateOnly() { + return validateOnly; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @param validateOnly validateOnly or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomerCustomizersRequest setValidateOnly(java.lang.Boolean validateOnly) { + this.validateOnly = validateOnly; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCustomerCustomizersRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateCustomerCustomizersRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCustomerCustomizersRequest clone() { + return (GoogleAdsSearchads360V23ServicesMutateCustomerCustomizersRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerCustomizersResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerCustomizersResponse.java new file mode 100644 index 00000000000..113a78fbb17 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerCustomizersResponse.java @@ -0,0 +1,103 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for a customizer attribute mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateCustomerCustomizersResponse extends com.google.api.client.json.GenericJson { + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleRpcStatus partialFailureError; + + /** + * All results for the mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List results; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesMutateCustomerCustomizerResult used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesMutateCustomerCustomizerResult.class); + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @return value or {@code null} for none + */ + public GoogleRpcStatus getPartialFailureError() { + return partialFailureError; + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @param partialFailureError partialFailureError or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomerCustomizersResponse setPartialFailureError(GoogleRpcStatus partialFailureError) { + this.partialFailureError = partialFailureError; + return this; + } + + /** + * All results for the mutate. + * @return value or {@code null} for none + */ + public java.util.List getResults() { + return results; + } + + /** + * All results for the mutate. + * @param results results or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomerCustomizersResponse setResults(java.util.List results) { + this.results = results; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCustomerCustomizersResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateCustomerCustomizersResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCustomerCustomizersResponse clone() { + return (GoogleAdsSearchads360V23ServicesMutateCustomerCustomizersResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerLabelResult.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerLabelResult.java new file mode 100644 index 00000000000..c56ad9439fa --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerLabelResult.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The result for a customer label mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateCustomerLabelResult extends com.google.api.client.json.GenericJson { + + /** + * Returned for successful operations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Returned for successful operations. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Returned for successful operations. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomerLabelResult setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCustomerLabelResult set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateCustomerLabelResult) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCustomerLabelResult clone() { + return (GoogleAdsSearchads360V23ServicesMutateCustomerLabelResult) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerLabelsRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerLabelsRequest.java new file mode 100644 index 00000000000..18593bde8aa --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerLabelsRequest.java @@ -0,0 +1,127 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for CustomerLabelService.MutateCustomerLabels. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateCustomerLabelsRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The list of operations to perform on customer-label relationships. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List operations; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesCustomerLabelOperation used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesCustomerLabelOperation.class); + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean partialFailure; + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean validateOnly; + + /** + * Required. The list of operations to perform on customer-label relationships. + * @return value or {@code null} for none + */ + public java.util.List getOperations() { + return operations; + } + + /** + * Required. The list of operations to perform on customer-label relationships. + * @param operations operations or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomerLabelsRequest setOperations(java.util.List operations) { + this.operations = operations; + return this; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @return value or {@code null} for none + */ + public java.lang.Boolean getPartialFailure() { + return partialFailure; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @param partialFailure partialFailure or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomerLabelsRequest setPartialFailure(java.lang.Boolean partialFailure) { + this.partialFailure = partialFailure; + return this; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @return value or {@code null} for none + */ + public java.lang.Boolean getValidateOnly() { + return validateOnly; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @param validateOnly validateOnly or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomerLabelsRequest setValidateOnly(java.lang.Boolean validateOnly) { + this.validateOnly = validateOnly; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCustomerLabelsRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateCustomerLabelsRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCustomerLabelsRequest clone() { + return (GoogleAdsSearchads360V23ServicesMutateCustomerLabelsRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerLabelsResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerLabelsResponse.java new file mode 100644 index 00000000000..3b112bc4e8e --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerLabelsResponse.java @@ -0,0 +1,103 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for a customer labels mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateCustomerLabelsResponse extends com.google.api.client.json.GenericJson { + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleRpcStatus partialFailureError; + + /** + * All results for the mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List results; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesMutateCustomerLabelResult used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesMutateCustomerLabelResult.class); + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @return value or {@code null} for none + */ + public GoogleRpcStatus getPartialFailureError() { + return partialFailureError; + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @param partialFailureError partialFailureError or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomerLabelsResponse setPartialFailureError(GoogleRpcStatus partialFailureError) { + this.partialFailureError = partialFailureError; + return this; + } + + /** + * All results for the mutate. + * @return value or {@code null} for none + */ + public java.util.List getResults() { + return results; + } + + /** + * All results for the mutate. + * @param results results or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomerLabelsResponse setResults(java.util.List results) { + this.results = results; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCustomerLabelsResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateCustomerLabelsResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCustomerLabelsResponse clone() { + return (GoogleAdsSearchads360V23ServicesMutateCustomerLabelsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerManagerLinkRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerManagerLinkRequest.java new file mode 100644 index 00000000000..cf4e1929744 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerManagerLinkRequest.java @@ -0,0 +1,97 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for CustomerManagerLinkService.MutateCustomerManagerLink. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateCustomerManagerLinkRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The list of operations to perform on individual customer manager links. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List operations; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesCustomerManagerLinkOperation used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesCustomerManagerLinkOperation.class); + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean validateOnly; + + /** + * Required. The list of operations to perform on individual customer manager links. + * @return value or {@code null} for none + */ + public java.util.List getOperations() { + return operations; + } + + /** + * Required. The list of operations to perform on individual customer manager links. + * @param operations operations or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomerManagerLinkRequest setOperations(java.util.List operations) { + this.operations = operations; + return this; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @return value or {@code null} for none + */ + public java.lang.Boolean getValidateOnly() { + return validateOnly; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @param validateOnly validateOnly or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomerManagerLinkRequest setValidateOnly(java.lang.Boolean validateOnly) { + this.validateOnly = validateOnly; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCustomerManagerLinkRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateCustomerManagerLinkRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCustomerManagerLinkRequest clone() { + return (GoogleAdsSearchads360V23ServicesMutateCustomerManagerLinkRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerManagerLinkResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerManagerLinkResponse.java new file mode 100644 index 00000000000..a27e70b4dd5 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerManagerLinkResponse.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for a CustomerManagerLink mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateCustomerManagerLinkResponse extends com.google.api.client.json.GenericJson { + + /** + * A result that identifies the resource affected by the mutate request. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List results; + + /** + * A result that identifies the resource affected by the mutate request. + * @return value or {@code null} for none + */ + public java.util.List getResults() { + return results; + } + + /** + * A result that identifies the resource affected by the mutate request. + * @param results results or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomerManagerLinkResponse setResults(java.util.List results) { + this.results = results; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCustomerManagerLinkResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateCustomerManagerLinkResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCustomerManagerLinkResponse clone() { + return (GoogleAdsSearchads360V23ServicesMutateCustomerManagerLinkResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerManagerLinkResult.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerManagerLinkResult.java new file mode 100644 index 00000000000..ad3304937d0 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerManagerLinkResult.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The result for the customer manager link mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateCustomerManagerLinkResult extends com.google.api.client.json.GenericJson { + + /** + * Returned for successful operations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Returned for successful operations. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Returned for successful operations. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomerManagerLinkResult setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCustomerManagerLinkResult set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateCustomerManagerLinkResult) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCustomerManagerLinkResult clone() { + return (GoogleAdsSearchads360V23ServicesMutateCustomerManagerLinkResult) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerNegativeCriteriaRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerNegativeCriteriaRequest.java new file mode 100644 index 00000000000..434624ec2f4 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerNegativeCriteriaRequest.java @@ -0,0 +1,154 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for CustomerNegativeCriterionService.MutateCustomerNegativeCriteria. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateCustomerNegativeCriteriaRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The list of operations to perform on individual criteria. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List operations; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesCustomerNegativeCriterionOperation used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesCustomerNegativeCriterionOperation.class); + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean partialFailure; + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String responseContentType; + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean validateOnly; + + /** + * Required. The list of operations to perform on individual criteria. + * @return value or {@code null} for none + */ + public java.util.List getOperations() { + return operations; + } + + /** + * Required. The list of operations to perform on individual criteria. + * @param operations operations or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomerNegativeCriteriaRequest setOperations(java.util.List operations) { + this.operations = operations; + return this; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @return value or {@code null} for none + */ + public java.lang.Boolean getPartialFailure() { + return partialFailure; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @param partialFailure partialFailure or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomerNegativeCriteriaRequest setPartialFailure(java.lang.Boolean partialFailure) { + this.partialFailure = partialFailure; + return this; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * @return value or {@code null} for none + */ + public java.lang.String getResponseContentType() { + return responseContentType; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * @param responseContentType responseContentType or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomerNegativeCriteriaRequest setResponseContentType(java.lang.String responseContentType) { + this.responseContentType = responseContentType; + return this; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @return value or {@code null} for none + */ + public java.lang.Boolean getValidateOnly() { + return validateOnly; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @param validateOnly validateOnly or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomerNegativeCriteriaRequest setValidateOnly(java.lang.Boolean validateOnly) { + this.validateOnly = validateOnly; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCustomerNegativeCriteriaRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateCustomerNegativeCriteriaRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCustomerNegativeCriteriaRequest clone() { + return (GoogleAdsSearchads360V23ServicesMutateCustomerNegativeCriteriaRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerNegativeCriteriaResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerNegativeCriteriaResponse.java new file mode 100644 index 00000000000..24375e0440d --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerNegativeCriteriaResponse.java @@ -0,0 +1,97 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for customer negative criterion mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateCustomerNegativeCriteriaResponse extends com.google.api.client.json.GenericJson { + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleRpcStatus partialFailureError; + + /** + * All results for the mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List results; + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @return value or {@code null} for none + */ + public GoogleRpcStatus getPartialFailureError() { + return partialFailureError; + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @param partialFailureError partialFailureError or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomerNegativeCriteriaResponse setPartialFailureError(GoogleRpcStatus partialFailureError) { + this.partialFailureError = partialFailureError; + return this; + } + + /** + * All results for the mutate. + * @return value or {@code null} for none + */ + public java.util.List getResults() { + return results; + } + + /** + * All results for the mutate. + * @param results results or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomerNegativeCriteriaResponse setResults(java.util.List results) { + this.results = results; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCustomerNegativeCriteriaResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateCustomerNegativeCriteriaResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCustomerNegativeCriteriaResponse clone() { + return (GoogleAdsSearchads360V23ServicesMutateCustomerNegativeCriteriaResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerNegativeCriteriaResult.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerNegativeCriteriaResult.java new file mode 100644 index 00000000000..579b637cd3a --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerNegativeCriteriaResult.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The result for the criterion mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateCustomerNegativeCriteriaResult extends com.google.api.client.json.GenericJson { + + /** + * The mutated criterion with only mutable fields after mutate. The field will only be returned + * when response_content_type is set to "MUTABLE_RESOURCE". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCustomerNegativeCriterion customerNegativeCriterion; + + /** + * Returned for successful operations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * The mutated criterion with only mutable fields after mutate. The field will only be returned + * when response_content_type is set to "MUTABLE_RESOURCE". + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerNegativeCriterion getCustomerNegativeCriterion() { + return customerNegativeCriterion; + } + + /** + * The mutated criterion with only mutable fields after mutate. The field will only be returned + * when response_content_type is set to "MUTABLE_RESOURCE". + * @param customerNegativeCriterion customerNegativeCriterion or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomerNegativeCriteriaResult setCustomerNegativeCriterion(GoogleAdsSearchads360V23ResourcesCustomerNegativeCriterion customerNegativeCriterion) { + this.customerNegativeCriterion = customerNegativeCriterion; + return this; + } + + /** + * Returned for successful operations. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Returned for successful operations. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomerNegativeCriteriaResult setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCustomerNegativeCriteriaResult set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateCustomerNegativeCriteriaResult) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCustomerNegativeCriteriaResult clone() { + return (GoogleAdsSearchads360V23ServicesMutateCustomerNegativeCriteriaResult) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerRequest.java new file mode 100644 index 00000000000..1eebf8acb74 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerRequest.java @@ -0,0 +1,118 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for CustomerService.MutateCustomer. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateCustomerRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The operation to perform on the customer + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesCustomerOperation operation; + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String responseContentType; + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean validateOnly; + + /** + * Required. The operation to perform on the customer + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCustomerOperation getOperation() { + return operation; + } + + /** + * Required. The operation to perform on the customer + * @param operation operation or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomerRequest setOperation(GoogleAdsSearchads360V23ServicesCustomerOperation operation) { + this.operation = operation; + return this; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * @return value or {@code null} for none + */ + public java.lang.String getResponseContentType() { + return responseContentType; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * @param responseContentType responseContentType or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomerRequest setResponseContentType(java.lang.String responseContentType) { + this.responseContentType = responseContentType; + return this; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @return value or {@code null} for none + */ + public java.lang.Boolean getValidateOnly() { + return validateOnly; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @param validateOnly validateOnly or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomerRequest setValidateOnly(java.lang.Boolean validateOnly) { + this.validateOnly = validateOnly; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCustomerRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateCustomerRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCustomerRequest clone() { + return (GoogleAdsSearchads360V23ServicesMutateCustomerRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerResponse.java new file mode 100644 index 00000000000..379d6ba4034 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerResponse.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for customer mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateCustomerResponse extends com.google.api.client.json.GenericJson { + + /** + * Result for the mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesMutateCustomerResult result; + + /** + * Result for the mutate. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomerResult getResult() { + return result; + } + + /** + * Result for the mutate. + * @param result result or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomerResponse setResult(GoogleAdsSearchads360V23ServicesMutateCustomerResult result) { + this.result = result; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCustomerResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateCustomerResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCustomerResponse clone() { + return (GoogleAdsSearchads360V23ServicesMutateCustomerResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerResult.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerResult.java new file mode 100644 index 00000000000..24b3ebbacfd --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerResult.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The result for the customer mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateCustomerResult extends com.google.api.client.json.GenericJson { + + /** + * The mutated customer with only mutable fields after mutate. The fields will only be returned + * when response_content_type is set to "MUTABLE_RESOURCE". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCustomer customer; + + /** + * Returned for successful operations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * The mutated customer with only mutable fields after mutate. The fields will only be returned + * when response_content_type is set to "MUTABLE_RESOURCE". + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomer getCustomer() { + return customer; + } + + /** + * The mutated customer with only mutable fields after mutate. The fields will only be returned + * when response_content_type is set to "MUTABLE_RESOURCE". + * @param customer customer or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomerResult setCustomer(GoogleAdsSearchads360V23ResourcesCustomer customer) { + this.customer = customer; + return this; + } + + /** + * Returned for successful operations. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Returned for successful operations. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomerResult setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCustomerResult set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateCustomerResult) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCustomerResult clone() { + return (GoogleAdsSearchads360V23ServicesMutateCustomerResult) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerSkAdNetworkConversionValueSchemaRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerSkAdNetworkConversionValueSchemaRequest.java new file mode 100644 index 00000000000..9f55b42b58d --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerSkAdNetworkConversionValueSchemaRequest.java @@ -0,0 +1,119 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for + * CustomerSkAdNetworkConversionValueSchemaService.MutateCustomerSkAdNetworkConversionValueSchema. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateCustomerSkAdNetworkConversionValueSchemaRequest extends com.google.api.client.json.GenericJson { + + /** + * Optional. If true, enables returning warnings. Warnings return error messages and error codes + * without blocking the execution of the mutate operation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean enableWarnings; + + /** + * The operation to perform. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesCustomerSkAdNetworkConversionValueSchemaOperation operation; + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean validateOnly; + + /** + * Optional. If true, enables returning warnings. Warnings return error messages and error codes + * without blocking the execution of the mutate operation. + * @return value or {@code null} for none + */ + public java.lang.Boolean getEnableWarnings() { + return enableWarnings; + } + + /** + * Optional. If true, enables returning warnings. Warnings return error messages and error codes + * without blocking the execution of the mutate operation. + * @param enableWarnings enableWarnings or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomerSkAdNetworkConversionValueSchemaRequest setEnableWarnings(java.lang.Boolean enableWarnings) { + this.enableWarnings = enableWarnings; + return this; + } + + /** + * The operation to perform. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCustomerSkAdNetworkConversionValueSchemaOperation getOperation() { + return operation; + } + + /** + * The operation to perform. + * @param operation operation or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomerSkAdNetworkConversionValueSchemaRequest setOperation(GoogleAdsSearchads360V23ServicesCustomerSkAdNetworkConversionValueSchemaOperation operation) { + this.operation = operation; + return this; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @return value or {@code null} for none + */ + public java.lang.Boolean getValidateOnly() { + return validateOnly; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @param validateOnly validateOnly or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomerSkAdNetworkConversionValueSchemaRequest setValidateOnly(java.lang.Boolean validateOnly) { + this.validateOnly = validateOnly; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCustomerSkAdNetworkConversionValueSchemaRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateCustomerSkAdNetworkConversionValueSchemaRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCustomerSkAdNetworkConversionValueSchemaRequest clone() { + return (GoogleAdsSearchads360V23ServicesMutateCustomerSkAdNetworkConversionValueSchemaRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerSkAdNetworkConversionValueSchemaResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerSkAdNetworkConversionValueSchemaResponse.java new file mode 100644 index 00000000000..1e9bb1c3f53 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerSkAdNetworkConversionValueSchemaResponse.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for MutateCustomerSkAdNetworkConversionValueSchema. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateCustomerSkAdNetworkConversionValueSchemaResponse extends com.google.api.client.json.GenericJson { + + /** + * All results for the mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesMutateCustomerSkAdNetworkConversionValueSchemaResult result; + + /** + * Non blocking errors that provides schema validation failure details. Returned only when + * enable_warnings = true. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleRpcStatus warning; + + /** + * All results for the mutate. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomerSkAdNetworkConversionValueSchemaResult getResult() { + return result; + } + + /** + * All results for the mutate. + * @param result result or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomerSkAdNetworkConversionValueSchemaResponse setResult(GoogleAdsSearchads360V23ServicesMutateCustomerSkAdNetworkConversionValueSchemaResult result) { + this.result = result; + return this; + } + + /** + * Non blocking errors that provides schema validation failure details. Returned only when + * enable_warnings = true. + * @return value or {@code null} for none + */ + public GoogleRpcStatus getWarning() { + return warning; + } + + /** + * Non blocking errors that provides schema validation failure details. Returned only when + * enable_warnings = true. + * @param warning warning or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomerSkAdNetworkConversionValueSchemaResponse setWarning(GoogleRpcStatus warning) { + this.warning = warning; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCustomerSkAdNetworkConversionValueSchemaResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateCustomerSkAdNetworkConversionValueSchemaResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCustomerSkAdNetworkConversionValueSchemaResponse clone() { + return (GoogleAdsSearchads360V23ServicesMutateCustomerSkAdNetworkConversionValueSchemaResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerSkAdNetworkConversionValueSchemaResult.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerSkAdNetworkConversionValueSchemaResult.java new file mode 100644 index 00000000000..453d12f39a5 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerSkAdNetworkConversionValueSchemaResult.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The result for the CustomerSkAdNetworkConversionValueSchema mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateCustomerSkAdNetworkConversionValueSchemaResult extends com.google.api.client.json.GenericJson { + + /** + * App ID of the SkanConversionValue modified. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String appId; + + /** + * Resource name of the customer that was modified. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * App ID of the SkanConversionValue modified. + * @return value or {@code null} for none + */ + public java.lang.String getAppId() { + return appId; + } + + /** + * App ID of the SkanConversionValue modified. + * @param appId appId or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomerSkAdNetworkConversionValueSchemaResult setAppId(java.lang.String appId) { + this.appId = appId; + return this; + } + + /** + * Resource name of the customer that was modified. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Resource name of the customer that was modified. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomerSkAdNetworkConversionValueSchemaResult setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCustomerSkAdNetworkConversionValueSchemaResult set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateCustomerSkAdNetworkConversionValueSchemaResult) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCustomerSkAdNetworkConversionValueSchemaResult clone() { + return (GoogleAdsSearchads360V23ServicesMutateCustomerSkAdNetworkConversionValueSchemaResult) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerUserAccessInvitationRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerUserAccessInvitationRequest.java new file mode 100644 index 00000000000..508f26f8696 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerUserAccessInvitationRequest.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for CustomerUserAccessInvitationService.MutateCustomerUserAccessInvitation + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateCustomerUserAccessInvitationRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The operation to perform on the access invitation + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesCustomerUserAccessInvitationOperation operation; + + /** + * Required. The operation to perform on the access invitation + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCustomerUserAccessInvitationOperation getOperation() { + return operation; + } + + /** + * Required. The operation to perform on the access invitation + * @param operation operation or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomerUserAccessInvitationRequest setOperation(GoogleAdsSearchads360V23ServicesCustomerUserAccessInvitationOperation operation) { + this.operation = operation; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCustomerUserAccessInvitationRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateCustomerUserAccessInvitationRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCustomerUserAccessInvitationRequest clone() { + return (GoogleAdsSearchads360V23ServicesMutateCustomerUserAccessInvitationRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerUserAccessInvitationResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerUserAccessInvitationResponse.java new file mode 100644 index 00000000000..126cf65d2c8 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerUserAccessInvitationResponse.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for access invitation mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateCustomerUserAccessInvitationResponse extends com.google.api.client.json.GenericJson { + + /** + * Result for the mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesMutateCustomerUserAccessInvitationResult result; + + /** + * Result for the mutate. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomerUserAccessInvitationResult getResult() { + return result; + } + + /** + * Result for the mutate. + * @param result result or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomerUserAccessInvitationResponse setResult(GoogleAdsSearchads360V23ServicesMutateCustomerUserAccessInvitationResult result) { + this.result = result; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCustomerUserAccessInvitationResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateCustomerUserAccessInvitationResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCustomerUserAccessInvitationResponse clone() { + return (GoogleAdsSearchads360V23ServicesMutateCustomerUserAccessInvitationResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerUserAccessInvitationResult.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerUserAccessInvitationResult.java new file mode 100644 index 00000000000..783d5fb8dfb --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerUserAccessInvitationResult.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The result for the access invitation mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateCustomerUserAccessInvitationResult extends com.google.api.client.json.GenericJson { + + /** + * Returned for successful operations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Returned for successful operations. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Returned for successful operations. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomerUserAccessInvitationResult setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCustomerUserAccessInvitationResult set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateCustomerUserAccessInvitationResult) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCustomerUserAccessInvitationResult clone() { + return (GoogleAdsSearchads360V23ServicesMutateCustomerUserAccessInvitationResult) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerUserAccessRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerUserAccessRequest.java new file mode 100644 index 00000000000..d2f1077cff5 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerUserAccessRequest.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Mutate Request for CustomerUserAccessService.MutateCustomerUserAccess. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateCustomerUserAccessRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The operation to perform on the customer + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesCustomerUserAccessOperation operation; + + /** + * Required. The operation to perform on the customer + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCustomerUserAccessOperation getOperation() { + return operation; + } + + /** + * Required. The operation to perform on the customer + * @param operation operation or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomerUserAccessRequest setOperation(GoogleAdsSearchads360V23ServicesCustomerUserAccessOperation operation) { + this.operation = operation; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCustomerUserAccessRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateCustomerUserAccessRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCustomerUserAccessRequest clone() { + return (GoogleAdsSearchads360V23ServicesMutateCustomerUserAccessRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerUserAccessResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerUserAccessResponse.java new file mode 100644 index 00000000000..ceaf7cb1e7a --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerUserAccessResponse.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for customer user access mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateCustomerUserAccessResponse extends com.google.api.client.json.GenericJson { + + /** + * Result for the mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesMutateCustomerUserAccessResult result; + + /** + * Result for the mutate. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomerUserAccessResult getResult() { + return result; + } + + /** + * Result for the mutate. + * @param result result or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomerUserAccessResponse setResult(GoogleAdsSearchads360V23ServicesMutateCustomerUserAccessResult result) { + this.result = result; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCustomerUserAccessResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateCustomerUserAccessResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCustomerUserAccessResponse clone() { + return (GoogleAdsSearchads360V23ServicesMutateCustomerUserAccessResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerUserAccessResult.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerUserAccessResult.java new file mode 100644 index 00000000000..275d6c3be72 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerUserAccessResult.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The result for the customer user access mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateCustomerUserAccessResult extends com.google.api.client.json.GenericJson { + + /** + * Returned for successful operations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Returned for successful operations. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Returned for successful operations. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomerUserAccessResult setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCustomerUserAccessResult set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateCustomerUserAccessResult) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCustomerUserAccessResult clone() { + return (GoogleAdsSearchads360V23ServicesMutateCustomerUserAccessResult) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomizerAttributeResult.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomizerAttributeResult.java new file mode 100644 index 00000000000..2507116cc1f --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomizerAttributeResult.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The result for the customizer attribute mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateCustomizerAttributeResult extends com.google.api.client.json.GenericJson { + + /** + * The mutated CustomizerAttribute with only mutable fields after mutate. The field will only be + * returned when response_content_type is set to "MUTABLE_RESOURCE". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCustomizerAttribute customizerAttribute; + + /** + * Returned for successful operations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * The mutated CustomizerAttribute with only mutable fields after mutate. The field will only be + * returned when response_content_type is set to "MUTABLE_RESOURCE". + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomizerAttribute getCustomizerAttribute() { + return customizerAttribute; + } + + /** + * The mutated CustomizerAttribute with only mutable fields after mutate. The field will only be + * returned when response_content_type is set to "MUTABLE_RESOURCE". + * @param customizerAttribute customizerAttribute or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomizerAttributeResult setCustomizerAttribute(GoogleAdsSearchads360V23ResourcesCustomizerAttribute customizerAttribute) { + this.customizerAttribute = customizerAttribute; + return this; + } + + /** + * Returned for successful operations. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Returned for successful operations. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomizerAttributeResult setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCustomizerAttributeResult set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateCustomizerAttributeResult) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCustomizerAttributeResult clone() { + return (GoogleAdsSearchads360V23ServicesMutateCustomizerAttributeResult) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomizerAttributesRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomizerAttributesRequest.java new file mode 100644 index 00000000000..82db5f9060b --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomizerAttributesRequest.java @@ -0,0 +1,154 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for CustomizerAttributeService.MutateCustomizerAttributes. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateCustomizerAttributesRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The list of operations to perform on individual customizer attributes. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List operations; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesCustomizerAttributeOperation used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesCustomizerAttributeOperation.class); + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean partialFailure; + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String responseContentType; + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean validateOnly; + + /** + * Required. The list of operations to perform on individual customizer attributes. + * @return value or {@code null} for none + */ + public java.util.List getOperations() { + return operations; + } + + /** + * Required. The list of operations to perform on individual customizer attributes. + * @param operations operations or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomizerAttributesRequest setOperations(java.util.List operations) { + this.operations = operations; + return this; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @return value or {@code null} for none + */ + public java.lang.Boolean getPartialFailure() { + return partialFailure; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @param partialFailure partialFailure or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomizerAttributesRequest setPartialFailure(java.lang.Boolean partialFailure) { + this.partialFailure = partialFailure; + return this; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * @return value or {@code null} for none + */ + public java.lang.String getResponseContentType() { + return responseContentType; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * @param responseContentType responseContentType or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomizerAttributesRequest setResponseContentType(java.lang.String responseContentType) { + this.responseContentType = responseContentType; + return this; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @return value or {@code null} for none + */ + public java.lang.Boolean getValidateOnly() { + return validateOnly; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @param validateOnly validateOnly or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomizerAttributesRequest setValidateOnly(java.lang.Boolean validateOnly) { + this.validateOnly = validateOnly; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCustomizerAttributesRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateCustomizerAttributesRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCustomizerAttributesRequest clone() { + return (GoogleAdsSearchads360V23ServicesMutateCustomizerAttributesRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomizerAttributesResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomizerAttributesResponse.java new file mode 100644 index 00000000000..cd96c770071 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomizerAttributesResponse.java @@ -0,0 +1,103 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for a customizer attribute mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateCustomizerAttributesResponse extends com.google.api.client.json.GenericJson { + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleRpcStatus partialFailureError; + + /** + * All results for the mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List results; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesMutateCustomizerAttributeResult used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesMutateCustomizerAttributeResult.class); + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @return value or {@code null} for none + */ + public GoogleRpcStatus getPartialFailureError() { + return partialFailureError; + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @param partialFailureError partialFailureError or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomizerAttributesResponse setPartialFailureError(GoogleRpcStatus partialFailureError) { + this.partialFailureError = partialFailureError; + return this; + } + + /** + * All results for the mutate. + * @return value or {@code null} for none + */ + public java.util.List getResults() { + return results; + } + + /** + * All results for the mutate. + * @param results results or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomizerAttributesResponse setResults(java.util.List results) { + this.results = results; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCustomizerAttributesResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateCustomizerAttributesResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateCustomizerAttributesResponse clone() { + return (GoogleAdsSearchads360V23ServicesMutateCustomizerAttributesResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateExperimentArmResult.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateExperimentArmResult.java new file mode 100644 index 00000000000..3901bbe5ffa --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateExperimentArmResult.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The result for the experiment arm mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateExperimentArmResult extends com.google.api.client.json.GenericJson { + + /** + * The mutated experiment arm with only mutable fields after mutate. The field will only be + * returned when response_content_type is set to "MUTABLE_RESOURCE". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesExperimentArm experimentArm; + + /** + * Returned for successful operations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * The mutated experiment arm with only mutable fields after mutate. The field will only be + * returned when response_content_type is set to "MUTABLE_RESOURCE". + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesExperimentArm getExperimentArm() { + return experimentArm; + } + + /** + * The mutated experiment arm with only mutable fields after mutate. The field will only be + * returned when response_content_type is set to "MUTABLE_RESOURCE". + * @param experimentArm experimentArm or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateExperimentArmResult setExperimentArm(GoogleAdsSearchads360V23ResourcesExperimentArm experimentArm) { + this.experimentArm = experimentArm; + return this; + } + + /** + * Returned for successful operations. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Returned for successful operations. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateExperimentArmResult setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateExperimentArmResult set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateExperimentArmResult) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateExperimentArmResult clone() { + return (GoogleAdsSearchads360V23ServicesMutateExperimentArmResult) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateExperimentArmsRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateExperimentArmsRequest.java new file mode 100644 index 00000000000..873ae8dc65c --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateExperimentArmsRequest.java @@ -0,0 +1,154 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for ExperimentArmService.MutateExperimentArms. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateExperimentArmsRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The list of operations to perform on individual experiment arm. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List operations; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesExperimentArmOperation used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesExperimentArmOperation.class); + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean partialFailure; + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String responseContentType; + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean validateOnly; + + /** + * Required. The list of operations to perform on individual experiment arm. + * @return value or {@code null} for none + */ + public java.util.List getOperations() { + return operations; + } + + /** + * Required. The list of operations to perform on individual experiment arm. + * @param operations operations or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateExperimentArmsRequest setOperations(java.util.List operations) { + this.operations = operations; + return this; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @return value or {@code null} for none + */ + public java.lang.Boolean getPartialFailure() { + return partialFailure; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @param partialFailure partialFailure or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateExperimentArmsRequest setPartialFailure(java.lang.Boolean partialFailure) { + this.partialFailure = partialFailure; + return this; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * @return value or {@code null} for none + */ + public java.lang.String getResponseContentType() { + return responseContentType; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * @param responseContentType responseContentType or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateExperimentArmsRequest setResponseContentType(java.lang.String responseContentType) { + this.responseContentType = responseContentType; + return this; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @return value or {@code null} for none + */ + public java.lang.Boolean getValidateOnly() { + return validateOnly; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @param validateOnly validateOnly or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateExperimentArmsRequest setValidateOnly(java.lang.Boolean validateOnly) { + this.validateOnly = validateOnly; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateExperimentArmsRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateExperimentArmsRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateExperimentArmsRequest clone() { + return (GoogleAdsSearchads360V23ServicesMutateExperimentArmsRequest) super.clone(); + } + +} From ac5b28bc4e23aa2e369b3eb6011344f4b057fefa Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Wed, 3 Jun 2026 18:43:44 -0700 Subject: [PATCH 13/14] chore: regenerate searchads360 client --- ...3ServicesMutateExperimentArmsResponse.java | 103 + ...s360V23ServicesMutateExperimentResult.java | 67 + ...60V23ServicesMutateExperimentsRequest.java | 127 + ...0V23ServicesMutateExperimentsResponse.java | 103 + ...archads360V23ServicesMutateGoalResult.java | 67 + ...chads360V23ServicesMutateGoalsRequest.java | 130 + ...hads360V23ServicesMutateGoalsResponse.java | 97 + ...MutateKeywordPlanAdGroupKeywordResult.java | 67 + ...tateKeywordPlanAdGroupKeywordsRequest.java | 127 + ...ateKeywordPlanAdGroupKeywordsResponse.java | 103 + ...ervicesMutateKeywordPlanAdGroupResult.java | 67 + ...vicesMutateKeywordPlanAdGroupsRequest.java | 127 + ...icesMutateKeywordPlanAdGroupsResponse.java | 106 + ...utateKeywordPlanCampaignKeywordResult.java | 67 + ...ateKeywordPlanCampaignKeywordsRequest.java | 127 + ...teKeywordPlanCampaignKeywordsResponse.java | 103 + ...rvicesMutateKeywordPlanCampaignResult.java | 67 + ...icesMutateKeywordPlanCampaignsRequest.java | 127 + ...cesMutateKeywordPlanCampaignsResponse.java | 103 + ...0V23ServicesMutateKeywordPlansRequest.java | 127 + ...V23ServicesMutateKeywordPlansResponse.java | 97 + ...60V23ServicesMutateKeywordPlansResult.java | 67 + ...rchads360V23ServicesMutateLabelResult.java | 94 + ...hads360V23ServicesMutateLabelsRequest.java | 154 + ...ads360V23ServicesMutateLabelsResponse.java | 103 + ...earchads360V23ServicesMutateOperation.java | 1555 ++++++ ...360V23ServicesMutateOperationResponse.java | 1555 ++++++ ...tateRecommendationSubscriptionRequest.java | 151 + ...ateRecommendationSubscriptionResponse.java | 97 + ...utateRecommendationSubscriptionResult.java | 94 + ...ServicesMutateRemarketingActionResult.java | 67 + ...rvicesMutateRemarketingActionsRequest.java | 121 + ...vicesMutateRemarketingActionsResponse.java | 103 + ...vicesMutateSearchAds360CampaignResult.java | 94 + ...0V23ServicesMutateSearchAds360Request.java | 154 + ...V23ServicesMutateSearchAds360Response.java | 103 + ...23ServicesMutateSharedCriteriaRequest.java | 148 + ...3ServicesMutateSharedCriteriaResponse.java | 97 + ...23ServicesMutateSharedCriterionResult.java | 94 + ...ds360V23ServicesMutateSharedSetResult.java | 94 + ...360V23ServicesMutateSharedSetsRequest.java | 148 + ...60V23ServicesMutateSharedSetsResponse.java | 103 + ...vicesMutateSmartCampaignSettingResult.java | 94 + ...cesMutateSmartCampaignSettingsRequest.java | 148 + ...esMutateSmartCampaignSettingsResponse.java | 103 + ...vicesMutateUserListCustomerTypeResult.java | 67 + ...cesMutateUserListCustomerTypesRequest.java | 124 + ...esMutateUserListCustomerTypesResponse.java | 103 + ...ads360V23ServicesMutateUserListResult.java | 67 + ...s360V23ServicesMutateUserListsRequest.java | 121 + ...360V23ServicesMutateUserListsResponse.java | 103 + ...23ServicesOfflineUserDataJobOperation.java | 115 + ...360V23ServicesOnTargetAudienceMetrics.java | 93 + ...rchads360V23ServicesPlannableLocation.java | 169 + ...chads360V23ServicesPlannableTargeting.java | 211 + ...ds360V23ServicesPlannableUserInterest.java | 143 + ...rchads360V23ServicesPlannableUserList.java | 163 + ...0V23ServicesPlannableUserListMetadata.java | 67 + ...Searchads360V23ServicesPlannedProduct.java | 157 + ...s360V23ServicesPlannedProductForecast.java | 376 ++ ...23ServicesPlannedProductReachForecast.java | 122 + ...sSearchads360V23ServicesProductFilter.java | 94 + ...esProductFilterMarketingObjectiveList.java | 67 + ...60V23ServicesProductFilterProductList.java | 67 + ...earchads360V23ServicesProductMetadata.java | 118 + ...23ServicesPromoteCampaignDraftRequest.java | 70 + ...0V23ServicesPromoteExperimentMetadata.java | 67 + ...60V23ServicesPromoteExperimentRequest.java | 67 + ...V23ServicesProvideLeadFeedbackRequest.java | 115 + ...23ServicesProvideLeadFeedbackResponse.java | 70 + ...AdsSearchads360V23ServicesRateMetrics.java | 428 ++ ...icesRawEventConversionDimensionHeader.java | 91 + ...ervicesRawEventConversionMetricHeader.java | 91 + ...eAdsSearchads360V23ServicesReachCurve.java | 67 + ...sSearchads360V23ServicesReachForecast.java | 124 + ...esRecommendationSubscriptionOperation.java | 116 + ...vicesRegenerateShareableLinkIdRequest.java | 43 + ...icesRegenerateShareableLinkIdResponse.java | 43 + ...V23ServicesRemarketingActionOperation.java | 115 + ...moveAutomaticallyCreatedAssetsRequest.java | 73 + ...ignAutomaticallyCreatedAssetOperation.java | 115 + ...paignAutomaticallyCreatedAssetRequest.java | 104 + ...aignAutomaticallyCreatedAssetResponse.java | 80 + ...ds360V23ServicesRemoveDataLinkRequest.java | 67 + ...s360V23ServicesRemoveDataLinkResponse.java | 67 + ...cesRemoveProductLinkInvitationRequest.java | 70 + ...esRemoveProductLinkInvitationResponse.java | 67 + ...60V23ServicesRemoveProductLinkRequest.java | 94 + ...0V23ServicesRemoveProductLinkResponse.java | 67 + ...chads360V23ServicesRunBatchJobRequest.java | 43 + ...3ServicesRunOfflineUserDataJobRequest.java | 67 + ...V23ServicesScheduleExperimentMetadata.java | 67 + ...0V23ServicesScheduleExperimentRequest.java | 67 + ...ServicesSearchAds360CampaignOperation.java | 91 + ...earchads360V23ServicesSearchAds360Row.java | 4489 +++++++++++++++++ ...rvicesSearchSearchAds360FieldsRequest.java | 124 + ...vicesSearchSearchAds360FieldsResponse.java | 127 + ...0V23ServicesSearchSearchAds360Request.java | 172 + ...V23ServicesSearchSearchAds360Response.java | 382 ++ ...Searchads360V23ServicesSearchSettings.java | 124 + 100 files changed, 18261 insertions(+) create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateExperimentArmsResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateExperimentResult.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateExperimentsRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateExperimentsResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateGoalResult.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateGoalsRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateGoalsResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateKeywordPlanAdGroupKeywordResult.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateKeywordPlanAdGroupKeywordsRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateKeywordPlanAdGroupKeywordsResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateKeywordPlanAdGroupResult.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateKeywordPlanAdGroupsRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateKeywordPlanAdGroupsResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateKeywordPlanCampaignKeywordResult.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateKeywordPlanCampaignKeywordsRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateKeywordPlanCampaignKeywordsResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateKeywordPlanCampaignResult.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateKeywordPlanCampaignsRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateKeywordPlanCampaignsResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateKeywordPlansRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateKeywordPlansResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateKeywordPlansResult.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateLabelResult.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateLabelsRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateLabelsResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateOperation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateOperationResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateRecommendationSubscriptionRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateRecommendationSubscriptionResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateRecommendationSubscriptionResult.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateRemarketingActionResult.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateRemarketingActionsRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateRemarketingActionsResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateSearchAds360CampaignResult.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateSearchAds360Request.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateSearchAds360Response.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateSharedCriteriaRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateSharedCriteriaResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateSharedCriterionResult.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateSharedSetResult.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateSharedSetsRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateSharedSetsResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateSmartCampaignSettingResult.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateSmartCampaignSettingsRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateSmartCampaignSettingsResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateUserListCustomerTypeResult.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateUserListCustomerTypesRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateUserListCustomerTypesResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateUserListResult.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateUserListsRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateUserListsResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesOfflineUserDataJobOperation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesOnTargetAudienceMetrics.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesPlannableLocation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesPlannableTargeting.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesPlannableUserInterest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesPlannableUserList.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesPlannableUserListMetadata.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesPlannedProduct.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesPlannedProductForecast.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesPlannedProductReachForecast.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesProductFilter.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesProductFilterMarketingObjectiveList.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesProductFilterProductList.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesProductMetadata.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesPromoteCampaignDraftRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesPromoteExperimentMetadata.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesPromoteExperimentRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesProvideLeadFeedbackRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesProvideLeadFeedbackResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesRateMetrics.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesRawEventConversionDimensionHeader.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesRawEventConversionMetricHeader.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesReachCurve.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesReachForecast.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesRecommendationSubscriptionOperation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesRegenerateShareableLinkIdRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesRegenerateShareableLinkIdResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesRemarketingActionOperation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesRemoveAutomaticallyCreatedAssetsRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesRemoveCampaignAutomaticallyCreatedAssetOperation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesRemoveCampaignAutomaticallyCreatedAssetRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesRemoveCampaignAutomaticallyCreatedAssetResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesRemoveDataLinkRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesRemoveDataLinkResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesRemoveProductLinkInvitationRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesRemoveProductLinkInvitationResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesRemoveProductLinkRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesRemoveProductLinkResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesRunBatchJobRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesRunOfflineUserDataJobRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesScheduleExperimentMetadata.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesScheduleExperimentRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSearchAds360CampaignOperation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSearchAds360Row.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSearchSearchAds360FieldsRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSearchSearchAds360FieldsResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSearchSearchAds360Request.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSearchSearchAds360Response.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSearchSettings.java diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateExperimentArmsResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateExperimentArmsResponse.java new file mode 100644 index 00000000000..0f2d854c6e4 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateExperimentArmsResponse.java @@ -0,0 +1,103 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for experiment arm mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateExperimentArmsResponse extends com.google.api.client.json.GenericJson { + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleRpcStatus partialFailureError; + + /** + * All results for the mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List results; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesMutateExperimentArmResult used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesMutateExperimentArmResult.class); + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @return value or {@code null} for none + */ + public GoogleRpcStatus getPartialFailureError() { + return partialFailureError; + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @param partialFailureError partialFailureError or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateExperimentArmsResponse setPartialFailureError(GoogleRpcStatus partialFailureError) { + this.partialFailureError = partialFailureError; + return this; + } + + /** + * All results for the mutate. + * @return value or {@code null} for none + */ + public java.util.List getResults() { + return results; + } + + /** + * All results for the mutate. + * @param results results or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateExperimentArmsResponse setResults(java.util.List results) { + this.results = results; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateExperimentArmsResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateExperimentArmsResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateExperimentArmsResponse clone() { + return (GoogleAdsSearchads360V23ServicesMutateExperimentArmsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateExperimentResult.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateExperimentResult.java new file mode 100644 index 00000000000..777ccdffe38 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateExperimentResult.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The result for the campaign experiment mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateExperimentResult extends com.google.api.client.json.GenericJson { + + /** + * Returned for successful operations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Returned for successful operations. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Returned for successful operations. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateExperimentResult setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateExperimentResult set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateExperimentResult) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateExperimentResult clone() { + return (GoogleAdsSearchads360V23ServicesMutateExperimentResult) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateExperimentsRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateExperimentsRequest.java new file mode 100644 index 00000000000..da415643bf3 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateExperimentsRequest.java @@ -0,0 +1,127 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for ExperimentService.MutateExperiments. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateExperimentsRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The list of operations to perform on individual experiments. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List operations; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesExperimentOperation used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesExperimentOperation.class); + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean partialFailure; + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean validateOnly; + + /** + * Required. The list of operations to perform on individual experiments. + * @return value or {@code null} for none + */ + public java.util.List getOperations() { + return operations; + } + + /** + * Required. The list of operations to perform on individual experiments. + * @param operations operations or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateExperimentsRequest setOperations(java.util.List operations) { + this.operations = operations; + return this; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @return value or {@code null} for none + */ + public java.lang.Boolean getPartialFailure() { + return partialFailure; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @param partialFailure partialFailure or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateExperimentsRequest setPartialFailure(java.lang.Boolean partialFailure) { + this.partialFailure = partialFailure; + return this; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @return value or {@code null} for none + */ + public java.lang.Boolean getValidateOnly() { + return validateOnly; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @param validateOnly validateOnly or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateExperimentsRequest setValidateOnly(java.lang.Boolean validateOnly) { + this.validateOnly = validateOnly; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateExperimentsRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateExperimentsRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateExperimentsRequest clone() { + return (GoogleAdsSearchads360V23ServicesMutateExperimentsRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateExperimentsResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateExperimentsResponse.java new file mode 100644 index 00000000000..649120cf524 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateExperimentsResponse.java @@ -0,0 +1,103 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for experiment mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateExperimentsResponse extends com.google.api.client.json.GenericJson { + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleRpcStatus partialFailureError; + + /** + * All results for the mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List results; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesMutateExperimentResult used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesMutateExperimentResult.class); + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @return value or {@code null} for none + */ + public GoogleRpcStatus getPartialFailureError() { + return partialFailureError; + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @param partialFailureError partialFailureError or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateExperimentsResponse setPartialFailureError(GoogleRpcStatus partialFailureError) { + this.partialFailureError = partialFailureError; + return this; + } + + /** + * All results for the mutate. + * @return value or {@code null} for none + */ + public java.util.List getResults() { + return results; + } + + /** + * All results for the mutate. + * @param results results or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateExperimentsResponse setResults(java.util.List results) { + this.results = results; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateExperimentsResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateExperimentsResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateExperimentsResponse clone() { + return (GoogleAdsSearchads360V23ServicesMutateExperimentsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateGoalResult.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateGoalResult.java new file mode 100644 index 00000000000..a00821bd29e --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateGoalResult.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The result for the goal mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateGoalResult extends com.google.api.client.json.GenericJson { + + /** + * Returned for successful operations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Returned for successful operations. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Returned for successful operations. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateGoalResult setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateGoalResult set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateGoalResult) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateGoalResult clone() { + return (GoogleAdsSearchads360V23ServicesMutateGoalResult) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateGoalsRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateGoalsRequest.java new file mode 100644 index 00000000000..649d62c8f0e --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateGoalsRequest.java @@ -0,0 +1,130 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for GoalService.MutateGoals. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateGoalsRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The list of operations to perform on the goals. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List operations; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesGoalOperation used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesGoalOperation.class); + } + + /** + * Optional. If true, successful operations will be carried out and invalid operations will return + * errors. If false, all operations will be carried out in one transaction if and only if they are + * all valid. Default is false. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean partialFailure; + + /** + * Optional. If true, the request is validated but not executed. Only errors are returned, not + * results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean validateOnly; + + /** + * Required. The list of operations to perform on the goals. + * @return value or {@code null} for none + */ + public java.util.List getOperations() { + return operations; + } + + /** + * Required. The list of operations to perform on the goals. + * @param operations operations or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateGoalsRequest setOperations(java.util.List operations) { + this.operations = operations; + return this; + } + + /** + * Optional. If true, successful operations will be carried out and invalid operations will return + * errors. If false, all operations will be carried out in one transaction if and only if they are + * all valid. Default is false. + * @return value or {@code null} for none + */ + public java.lang.Boolean getPartialFailure() { + return partialFailure; + } + + /** + * Optional. If true, successful operations will be carried out and invalid operations will return + * errors. If false, all operations will be carried out in one transaction if and only if they are + * all valid. Default is false. + * @param partialFailure partialFailure or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateGoalsRequest setPartialFailure(java.lang.Boolean partialFailure) { + this.partialFailure = partialFailure; + return this; + } + + /** + * Optional. If true, the request is validated but not executed. Only errors are returned, not + * results. + * @return value or {@code null} for none + */ + public java.lang.Boolean getValidateOnly() { + return validateOnly; + } + + /** + * Optional. If true, the request is validated but not executed. Only errors are returned, not + * results. + * @param validateOnly validateOnly or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateGoalsRequest setValidateOnly(java.lang.Boolean validateOnly) { + this.validateOnly = validateOnly; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateGoalsRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateGoalsRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateGoalsRequest clone() { + return (GoogleAdsSearchads360V23ServicesMutateGoalsRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateGoalsResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateGoalsResponse.java new file mode 100644 index 00000000000..7312db69b25 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateGoalsResponse.java @@ -0,0 +1,97 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for a goal mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateGoalsResponse extends com.google.api.client.json.GenericJson { + + /** + * Errors that pertain to operation failures in the partial failure mode. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleRpcStatus partialFailureError; + + /** + * All results for the mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List results; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesMutateGoalResult used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesMutateGoalResult.class); + } + + /** + * Errors that pertain to operation failures in the partial failure mode. + * @return value or {@code null} for none + */ + public GoogleRpcStatus getPartialFailureError() { + return partialFailureError; + } + + /** + * Errors that pertain to operation failures in the partial failure mode. + * @param partialFailureError partialFailureError or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateGoalsResponse setPartialFailureError(GoogleRpcStatus partialFailureError) { + this.partialFailureError = partialFailureError; + return this; + } + + /** + * All results for the mutate. + * @return value or {@code null} for none + */ + public java.util.List getResults() { + return results; + } + + /** + * All results for the mutate. + * @param results results or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateGoalsResponse setResults(java.util.List results) { + this.results = results; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateGoalsResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateGoalsResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateGoalsResponse clone() { + return (GoogleAdsSearchads360V23ServicesMutateGoalsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateKeywordPlanAdGroupKeywordResult.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateKeywordPlanAdGroupKeywordResult.java new file mode 100644 index 00000000000..2cea7153128 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateKeywordPlanAdGroupKeywordResult.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The result for the Keyword Plan ad group keyword mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateKeywordPlanAdGroupKeywordResult extends com.google.api.client.json.GenericJson { + + /** + * Returned for successful operations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Returned for successful operations. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Returned for successful operations. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateKeywordPlanAdGroupKeywordResult setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateKeywordPlanAdGroupKeywordResult set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateKeywordPlanAdGroupKeywordResult) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateKeywordPlanAdGroupKeywordResult clone() { + return (GoogleAdsSearchads360V23ServicesMutateKeywordPlanAdGroupKeywordResult) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateKeywordPlanAdGroupKeywordsRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateKeywordPlanAdGroupKeywordsRequest.java new file mode 100644 index 00000000000..990bdd5bf3f --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateKeywordPlanAdGroupKeywordsRequest.java @@ -0,0 +1,127 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for KeywordPlanAdGroupKeywordService.MutateKeywordPlanAdGroupKeywords. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateKeywordPlanAdGroupKeywordsRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The list of operations to perform on individual Keyword Plan ad group keywords. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List operations; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesKeywordPlanAdGroupKeywordOperation used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesKeywordPlanAdGroupKeywordOperation.class); + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean partialFailure; + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean validateOnly; + + /** + * Required. The list of operations to perform on individual Keyword Plan ad group keywords. + * @return value or {@code null} for none + */ + public java.util.List getOperations() { + return operations; + } + + /** + * Required. The list of operations to perform on individual Keyword Plan ad group keywords. + * @param operations operations or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateKeywordPlanAdGroupKeywordsRequest setOperations(java.util.List operations) { + this.operations = operations; + return this; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @return value or {@code null} for none + */ + public java.lang.Boolean getPartialFailure() { + return partialFailure; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @param partialFailure partialFailure or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateKeywordPlanAdGroupKeywordsRequest setPartialFailure(java.lang.Boolean partialFailure) { + this.partialFailure = partialFailure; + return this; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @return value or {@code null} for none + */ + public java.lang.Boolean getValidateOnly() { + return validateOnly; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @param validateOnly validateOnly or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateKeywordPlanAdGroupKeywordsRequest setValidateOnly(java.lang.Boolean validateOnly) { + this.validateOnly = validateOnly; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateKeywordPlanAdGroupKeywordsRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateKeywordPlanAdGroupKeywordsRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateKeywordPlanAdGroupKeywordsRequest clone() { + return (GoogleAdsSearchads360V23ServicesMutateKeywordPlanAdGroupKeywordsRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateKeywordPlanAdGroupKeywordsResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateKeywordPlanAdGroupKeywordsResponse.java new file mode 100644 index 00000000000..cd4c120c562 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateKeywordPlanAdGroupKeywordsResponse.java @@ -0,0 +1,103 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for a Keyword Plan ad group keyword mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateKeywordPlanAdGroupKeywordsResponse extends com.google.api.client.json.GenericJson { + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleRpcStatus partialFailureError; + + /** + * All results for the mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List results; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesMutateKeywordPlanAdGroupKeywordResult used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesMutateKeywordPlanAdGroupKeywordResult.class); + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @return value or {@code null} for none + */ + public GoogleRpcStatus getPartialFailureError() { + return partialFailureError; + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @param partialFailureError partialFailureError or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateKeywordPlanAdGroupKeywordsResponse setPartialFailureError(GoogleRpcStatus partialFailureError) { + this.partialFailureError = partialFailureError; + return this; + } + + /** + * All results for the mutate. + * @return value or {@code null} for none + */ + public java.util.List getResults() { + return results; + } + + /** + * All results for the mutate. + * @param results results or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateKeywordPlanAdGroupKeywordsResponse setResults(java.util.List results) { + this.results = results; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateKeywordPlanAdGroupKeywordsResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateKeywordPlanAdGroupKeywordsResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateKeywordPlanAdGroupKeywordsResponse clone() { + return (GoogleAdsSearchads360V23ServicesMutateKeywordPlanAdGroupKeywordsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateKeywordPlanAdGroupResult.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateKeywordPlanAdGroupResult.java new file mode 100644 index 00000000000..bfdbb9b51b0 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateKeywordPlanAdGroupResult.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The result for the Keyword Plan ad group mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateKeywordPlanAdGroupResult extends com.google.api.client.json.GenericJson { + + /** + * Returned for successful operations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Returned for successful operations. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Returned for successful operations. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateKeywordPlanAdGroupResult setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateKeywordPlanAdGroupResult set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateKeywordPlanAdGroupResult) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateKeywordPlanAdGroupResult clone() { + return (GoogleAdsSearchads360V23ServicesMutateKeywordPlanAdGroupResult) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateKeywordPlanAdGroupsRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateKeywordPlanAdGroupsRequest.java new file mode 100644 index 00000000000..506e8bdb6dc --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateKeywordPlanAdGroupsRequest.java @@ -0,0 +1,127 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for KeywordPlanAdGroupService.MutateKeywordPlanAdGroups. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateKeywordPlanAdGroupsRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The list of operations to perform on individual Keyword Plan ad groups. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List operations; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesKeywordPlanAdGroupOperation used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesKeywordPlanAdGroupOperation.class); + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean partialFailure; + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean validateOnly; + + /** + * Required. The list of operations to perform on individual Keyword Plan ad groups. + * @return value or {@code null} for none + */ + public java.util.List getOperations() { + return operations; + } + + /** + * Required. The list of operations to perform on individual Keyword Plan ad groups. + * @param operations operations or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateKeywordPlanAdGroupsRequest setOperations(java.util.List operations) { + this.operations = operations; + return this; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @return value or {@code null} for none + */ + public java.lang.Boolean getPartialFailure() { + return partialFailure; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @param partialFailure partialFailure or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateKeywordPlanAdGroupsRequest setPartialFailure(java.lang.Boolean partialFailure) { + this.partialFailure = partialFailure; + return this; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @return value or {@code null} for none + */ + public java.lang.Boolean getValidateOnly() { + return validateOnly; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @param validateOnly validateOnly or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateKeywordPlanAdGroupsRequest setValidateOnly(java.lang.Boolean validateOnly) { + this.validateOnly = validateOnly; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateKeywordPlanAdGroupsRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateKeywordPlanAdGroupsRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateKeywordPlanAdGroupsRequest clone() { + return (GoogleAdsSearchads360V23ServicesMutateKeywordPlanAdGroupsRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateKeywordPlanAdGroupsResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateKeywordPlanAdGroupsResponse.java new file mode 100644 index 00000000000..12fc2cbc1ec --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateKeywordPlanAdGroupsResponse.java @@ -0,0 +1,106 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for a Keyword Plan ad group mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateKeywordPlanAdGroupsResponse extends com.google.api.client.json.GenericJson { + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleRpcStatus partialFailureError; + + /** + * All results for the mutate. The order of the results is determined by the order of the keywords + * in the original request. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List results; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesMutateKeywordPlanAdGroupResult used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesMutateKeywordPlanAdGroupResult.class); + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @return value or {@code null} for none + */ + public GoogleRpcStatus getPartialFailureError() { + return partialFailureError; + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @param partialFailureError partialFailureError or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateKeywordPlanAdGroupsResponse setPartialFailureError(GoogleRpcStatus partialFailureError) { + this.partialFailureError = partialFailureError; + return this; + } + + /** + * All results for the mutate. The order of the results is determined by the order of the keywords + * in the original request. + * @return value or {@code null} for none + */ + public java.util.List getResults() { + return results; + } + + /** + * All results for the mutate. The order of the results is determined by the order of the keywords + * in the original request. + * @param results results or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateKeywordPlanAdGroupsResponse setResults(java.util.List results) { + this.results = results; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateKeywordPlanAdGroupsResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateKeywordPlanAdGroupsResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateKeywordPlanAdGroupsResponse clone() { + return (GoogleAdsSearchads360V23ServicesMutateKeywordPlanAdGroupsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateKeywordPlanCampaignKeywordResult.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateKeywordPlanCampaignKeywordResult.java new file mode 100644 index 00000000000..9108d4e79cb --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateKeywordPlanCampaignKeywordResult.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The result for the Keyword Plan campaign keyword mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateKeywordPlanCampaignKeywordResult extends com.google.api.client.json.GenericJson { + + /** + * Returned for successful operations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Returned for successful operations. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Returned for successful operations. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateKeywordPlanCampaignKeywordResult setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateKeywordPlanCampaignKeywordResult set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateKeywordPlanCampaignKeywordResult) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateKeywordPlanCampaignKeywordResult clone() { + return (GoogleAdsSearchads360V23ServicesMutateKeywordPlanCampaignKeywordResult) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateKeywordPlanCampaignKeywordsRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateKeywordPlanCampaignKeywordsRequest.java new file mode 100644 index 00000000000..e7b0721a52f --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateKeywordPlanCampaignKeywordsRequest.java @@ -0,0 +1,127 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for KeywordPlanCampaignKeywordService.MutateKeywordPlanCampaignKeywords. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateKeywordPlanCampaignKeywordsRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The list of operations to perform on individual Keyword Plan campaign keywords. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List operations; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesKeywordPlanCampaignKeywordOperation used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesKeywordPlanCampaignKeywordOperation.class); + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean partialFailure; + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean validateOnly; + + /** + * Required. The list of operations to perform on individual Keyword Plan campaign keywords. + * @return value or {@code null} for none + */ + public java.util.List getOperations() { + return operations; + } + + /** + * Required. The list of operations to perform on individual Keyword Plan campaign keywords. + * @param operations operations or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateKeywordPlanCampaignKeywordsRequest setOperations(java.util.List operations) { + this.operations = operations; + return this; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @return value or {@code null} for none + */ + public java.lang.Boolean getPartialFailure() { + return partialFailure; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @param partialFailure partialFailure or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateKeywordPlanCampaignKeywordsRequest setPartialFailure(java.lang.Boolean partialFailure) { + this.partialFailure = partialFailure; + return this; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @return value or {@code null} for none + */ + public java.lang.Boolean getValidateOnly() { + return validateOnly; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @param validateOnly validateOnly or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateKeywordPlanCampaignKeywordsRequest setValidateOnly(java.lang.Boolean validateOnly) { + this.validateOnly = validateOnly; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateKeywordPlanCampaignKeywordsRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateKeywordPlanCampaignKeywordsRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateKeywordPlanCampaignKeywordsRequest clone() { + return (GoogleAdsSearchads360V23ServicesMutateKeywordPlanCampaignKeywordsRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateKeywordPlanCampaignKeywordsResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateKeywordPlanCampaignKeywordsResponse.java new file mode 100644 index 00000000000..755edc5502a --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateKeywordPlanCampaignKeywordsResponse.java @@ -0,0 +1,103 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for a Keyword Plan campaign keyword mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateKeywordPlanCampaignKeywordsResponse extends com.google.api.client.json.GenericJson { + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleRpcStatus partialFailureError; + + /** + * All results for the mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List results; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesMutateKeywordPlanCampaignKeywordResult used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesMutateKeywordPlanCampaignKeywordResult.class); + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @return value or {@code null} for none + */ + public GoogleRpcStatus getPartialFailureError() { + return partialFailureError; + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @param partialFailureError partialFailureError or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateKeywordPlanCampaignKeywordsResponse setPartialFailureError(GoogleRpcStatus partialFailureError) { + this.partialFailureError = partialFailureError; + return this; + } + + /** + * All results for the mutate. + * @return value or {@code null} for none + */ + public java.util.List getResults() { + return results; + } + + /** + * All results for the mutate. + * @param results results or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateKeywordPlanCampaignKeywordsResponse setResults(java.util.List results) { + this.results = results; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateKeywordPlanCampaignKeywordsResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateKeywordPlanCampaignKeywordsResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateKeywordPlanCampaignKeywordsResponse clone() { + return (GoogleAdsSearchads360V23ServicesMutateKeywordPlanCampaignKeywordsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateKeywordPlanCampaignResult.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateKeywordPlanCampaignResult.java new file mode 100644 index 00000000000..ca444d00aec --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateKeywordPlanCampaignResult.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The result for the Keyword Plan campaign mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateKeywordPlanCampaignResult extends com.google.api.client.json.GenericJson { + + /** + * Returned for successful operations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Returned for successful operations. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Returned for successful operations. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateKeywordPlanCampaignResult setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateKeywordPlanCampaignResult set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateKeywordPlanCampaignResult) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateKeywordPlanCampaignResult clone() { + return (GoogleAdsSearchads360V23ServicesMutateKeywordPlanCampaignResult) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateKeywordPlanCampaignsRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateKeywordPlanCampaignsRequest.java new file mode 100644 index 00000000000..e344a230b5a --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateKeywordPlanCampaignsRequest.java @@ -0,0 +1,127 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for KeywordPlanCampaignService.MutateKeywordPlanCampaigns. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateKeywordPlanCampaignsRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The list of operations to perform on individual Keyword Plan campaigns. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List operations; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesKeywordPlanCampaignOperation used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesKeywordPlanCampaignOperation.class); + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean partialFailure; + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean validateOnly; + + /** + * Required. The list of operations to perform on individual Keyword Plan campaigns. + * @return value or {@code null} for none + */ + public java.util.List getOperations() { + return operations; + } + + /** + * Required. The list of operations to perform on individual Keyword Plan campaigns. + * @param operations operations or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateKeywordPlanCampaignsRequest setOperations(java.util.List operations) { + this.operations = operations; + return this; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @return value or {@code null} for none + */ + public java.lang.Boolean getPartialFailure() { + return partialFailure; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @param partialFailure partialFailure or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateKeywordPlanCampaignsRequest setPartialFailure(java.lang.Boolean partialFailure) { + this.partialFailure = partialFailure; + return this; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @return value or {@code null} for none + */ + public java.lang.Boolean getValidateOnly() { + return validateOnly; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @param validateOnly validateOnly or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateKeywordPlanCampaignsRequest setValidateOnly(java.lang.Boolean validateOnly) { + this.validateOnly = validateOnly; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateKeywordPlanCampaignsRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateKeywordPlanCampaignsRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateKeywordPlanCampaignsRequest clone() { + return (GoogleAdsSearchads360V23ServicesMutateKeywordPlanCampaignsRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateKeywordPlanCampaignsResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateKeywordPlanCampaignsResponse.java new file mode 100644 index 00000000000..2713d259441 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateKeywordPlanCampaignsResponse.java @@ -0,0 +1,103 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for a Keyword Plan campaign mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateKeywordPlanCampaignsResponse extends com.google.api.client.json.GenericJson { + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleRpcStatus partialFailureError; + + /** + * All results for the mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List results; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesMutateKeywordPlanCampaignResult used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesMutateKeywordPlanCampaignResult.class); + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @return value or {@code null} for none + */ + public GoogleRpcStatus getPartialFailureError() { + return partialFailureError; + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @param partialFailureError partialFailureError or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateKeywordPlanCampaignsResponse setPartialFailureError(GoogleRpcStatus partialFailureError) { + this.partialFailureError = partialFailureError; + return this; + } + + /** + * All results for the mutate. + * @return value or {@code null} for none + */ + public java.util.List getResults() { + return results; + } + + /** + * All results for the mutate. + * @param results results or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateKeywordPlanCampaignsResponse setResults(java.util.List results) { + this.results = results; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateKeywordPlanCampaignsResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateKeywordPlanCampaignsResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateKeywordPlanCampaignsResponse clone() { + return (GoogleAdsSearchads360V23ServicesMutateKeywordPlanCampaignsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateKeywordPlansRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateKeywordPlansRequest.java new file mode 100644 index 00000000000..750f2c95091 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateKeywordPlansRequest.java @@ -0,0 +1,127 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for KeywordPlanService.MutateKeywordPlans. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateKeywordPlansRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The list of operations to perform on individual keyword plans. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List operations; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesKeywordPlanOperation used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesKeywordPlanOperation.class); + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean partialFailure; + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean validateOnly; + + /** + * Required. The list of operations to perform on individual keyword plans. + * @return value or {@code null} for none + */ + public java.util.List getOperations() { + return operations; + } + + /** + * Required. The list of operations to perform on individual keyword plans. + * @param operations operations or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateKeywordPlansRequest setOperations(java.util.List operations) { + this.operations = operations; + return this; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @return value or {@code null} for none + */ + public java.lang.Boolean getPartialFailure() { + return partialFailure; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @param partialFailure partialFailure or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateKeywordPlansRequest setPartialFailure(java.lang.Boolean partialFailure) { + this.partialFailure = partialFailure; + return this; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @return value or {@code null} for none + */ + public java.lang.Boolean getValidateOnly() { + return validateOnly; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @param validateOnly validateOnly or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateKeywordPlansRequest setValidateOnly(java.lang.Boolean validateOnly) { + this.validateOnly = validateOnly; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateKeywordPlansRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateKeywordPlansRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateKeywordPlansRequest clone() { + return (GoogleAdsSearchads360V23ServicesMutateKeywordPlansRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateKeywordPlansResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateKeywordPlansResponse.java new file mode 100644 index 00000000000..97c83695c7e --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateKeywordPlansResponse.java @@ -0,0 +1,97 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for a keyword plan mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateKeywordPlansResponse extends com.google.api.client.json.GenericJson { + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleRpcStatus partialFailureError; + + /** + * All results for the mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List results; + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @return value or {@code null} for none + */ + public GoogleRpcStatus getPartialFailureError() { + return partialFailureError; + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @param partialFailureError partialFailureError or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateKeywordPlansResponse setPartialFailureError(GoogleRpcStatus partialFailureError) { + this.partialFailureError = partialFailureError; + return this; + } + + /** + * All results for the mutate. + * @return value or {@code null} for none + */ + public java.util.List getResults() { + return results; + } + + /** + * All results for the mutate. + * @param results results or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateKeywordPlansResponse setResults(java.util.List results) { + this.results = results; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateKeywordPlansResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateKeywordPlansResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateKeywordPlansResponse clone() { + return (GoogleAdsSearchads360V23ServicesMutateKeywordPlansResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateKeywordPlansResult.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateKeywordPlansResult.java new file mode 100644 index 00000000000..dba9a9404e7 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateKeywordPlansResult.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The result for the keyword plan mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateKeywordPlansResult extends com.google.api.client.json.GenericJson { + + /** + * Returned for successful operations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Returned for successful operations. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Returned for successful operations. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateKeywordPlansResult setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateKeywordPlansResult set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateKeywordPlansResult) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateKeywordPlansResult clone() { + return (GoogleAdsSearchads360V23ServicesMutateKeywordPlansResult) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateLabelResult.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateLabelResult.java new file mode 100644 index 00000000000..a83ac16f80e --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateLabelResult.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The result for a label mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateLabelResult extends com.google.api.client.json.GenericJson { + + /** + * The mutated label with only mutable fields after mutate. The field will only be returned when + * response_content_type is set to "MUTABLE_RESOURCE". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesLabel label; + + /** + * Returned for successful operations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * The mutated label with only mutable fields after mutate. The field will only be returned when + * response_content_type is set to "MUTABLE_RESOURCE". + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLabel getLabel() { + return label; + } + + /** + * The mutated label with only mutable fields after mutate. The field will only be returned when + * response_content_type is set to "MUTABLE_RESOURCE". + * @param label label or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateLabelResult setLabel(GoogleAdsSearchads360V23ResourcesLabel label) { + this.label = label; + return this; + } + + /** + * Returned for successful operations. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Returned for successful operations. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateLabelResult setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateLabelResult set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateLabelResult) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateLabelResult clone() { + return (GoogleAdsSearchads360V23ServicesMutateLabelResult) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateLabelsRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateLabelsRequest.java new file mode 100644 index 00000000000..d1ad3048e77 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateLabelsRequest.java @@ -0,0 +1,154 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for LabelService.MutateLabels. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateLabelsRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The list of operations to perform on labels. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List operations; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesLabelOperation used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesLabelOperation.class); + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean partialFailure; + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String responseContentType; + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean validateOnly; + + /** + * Required. The list of operations to perform on labels. + * @return value or {@code null} for none + */ + public java.util.List getOperations() { + return operations; + } + + /** + * Required. The list of operations to perform on labels. + * @param operations operations or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateLabelsRequest setOperations(java.util.List operations) { + this.operations = operations; + return this; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @return value or {@code null} for none + */ + public java.lang.Boolean getPartialFailure() { + return partialFailure; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @param partialFailure partialFailure or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateLabelsRequest setPartialFailure(java.lang.Boolean partialFailure) { + this.partialFailure = partialFailure; + return this; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * @return value or {@code null} for none + */ + public java.lang.String getResponseContentType() { + return responseContentType; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * @param responseContentType responseContentType or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateLabelsRequest setResponseContentType(java.lang.String responseContentType) { + this.responseContentType = responseContentType; + return this; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @return value or {@code null} for none + */ + public java.lang.Boolean getValidateOnly() { + return validateOnly; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @param validateOnly validateOnly or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateLabelsRequest setValidateOnly(java.lang.Boolean validateOnly) { + this.validateOnly = validateOnly; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateLabelsRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateLabelsRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateLabelsRequest clone() { + return (GoogleAdsSearchads360V23ServicesMutateLabelsRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateLabelsResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateLabelsResponse.java new file mode 100644 index 00000000000..14159d1c8e2 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateLabelsResponse.java @@ -0,0 +1,103 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for a labels mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateLabelsResponse extends com.google.api.client.json.GenericJson { + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleRpcStatus partialFailureError; + + /** + * All results for the mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List results; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesMutateLabelResult used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesMutateLabelResult.class); + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @return value or {@code null} for none + */ + public GoogleRpcStatus getPartialFailureError() { + return partialFailureError; + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @param partialFailureError partialFailureError or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateLabelsResponse setPartialFailureError(GoogleRpcStatus partialFailureError) { + this.partialFailureError = partialFailureError; + return this; + } + + /** + * All results for the mutate. + * @return value or {@code null} for none + */ + public java.util.List getResults() { + return results; + } + + /** + * All results for the mutate. + * @param results results or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateLabelsResponse setResults(java.util.List results) { + this.results = results; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateLabelsResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateLabelsResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateLabelsResponse clone() { + return (GoogleAdsSearchads360V23ServicesMutateLabelsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateOperation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateOperation.java new file mode 100644 index 00000000000..31eeed55205 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateOperation.java @@ -0,0 +1,1555 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A single operation (create, update, remove) on a resource. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateOperation extends com.google.api.client.json.GenericJson { + + /** + * An ad group ad label mutate operation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesAdGroupAdLabelOperation adGroupAdLabelOperation; + + /** + * An ad group ad mutate operation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesAdGroupAdOperation adGroupAdOperation; + + /** + * An ad group asset mutate operation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesAdGroupAssetOperation adGroupAssetOperation; + + /** + * An ad group bid modifier mutate operation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesAdGroupBidModifierOperation adGroupBidModifierOperation; + + /** + * An ad group criterion customizer mutate operation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesAdGroupCriterionCustomizerOperation adGroupCriterionCustomizerOperation; + + /** + * An ad group criterion label mutate operation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesAdGroupCriterionLabelOperation adGroupCriterionLabelOperation; + + /** + * An ad group criterion mutate operation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesAdGroupCriterionOperation adGroupCriterionOperation; + + /** + * An ad group customizer mutate operation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesAdGroupCustomizerOperation adGroupCustomizerOperation; + + /** + * An ad group label mutate operation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesAdGroupLabelOperation adGroupLabelOperation; + + /** + * An ad group mutate operation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesAdGroupOperation adGroupOperation; + + /** + * An ad mutate operation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesAdOperation adOperation; + + /** + * An ad parameter mutate operation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesAdParameterOperation adParameterOperation; + + /** + * An asset group asset mutate operation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesAssetGroupAssetOperation assetGroupAssetOperation; + + /** + * An asset group listing group filter mutate operation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesAssetGroupListingGroupFilterOperation assetGroupListingGroupFilterOperation; + + /** + * An asset group mutate operation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesAssetGroupOperation assetGroupOperation; + + /** + * An asset group signal mutate operation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesAssetGroupSignalOperation assetGroupSignalOperation; + + /** + * An asset mutate operation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesAssetOperation assetOperation; + + /** + * An asset set asset mutate operation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesAssetSetAssetOperation assetSetAssetOperation; + + /** + * An asset set mutate operation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesAssetSetOperation assetSetOperation; + + /** + * An audience mutate operation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesAudienceOperation audienceOperation; + + /** + * A bidding data exclusion mutate operation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesBiddingDataExclusionOperation biddingDataExclusionOperation; + + /** + * A bidding seasonality adjustment mutate operation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesBiddingSeasonalityAdjustmentOperation biddingSeasonalityAdjustmentOperation; + + /** + * A bidding strategy mutate operation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesBiddingStrategyOperation biddingStrategyOperation; + + /** + * A campaign asset mutate operation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesCampaignAssetOperation campaignAssetOperation; + + /** + * A campaign asset mutate operation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesCampaignAssetSetOperation campaignAssetSetOperation; + + /** + * A campaign bid modifier mutate operation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesCampaignBidModifierOperation campaignBidModifierOperation; + + /** + * A campaign budget mutate operation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesCampaignBudgetOperation campaignBudgetOperation; + + /** + * A campaign conversion goal mutate operation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesCampaignConversionGoalOperation campaignConversionGoalOperation; + + /** + * A campaign criterion mutate operation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesCampaignCriterionOperation campaignCriterionOperation; + + /** + * A campaign customizer mutate operation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesCampaignCustomizerOperation campaignCustomizerOperation; + + /** + * A campaign draft mutate operation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesCampaignDraftOperation campaignDraftOperation; + + /** + * A campaign group mutate operation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesCampaignGroupOperation campaignGroupOperation; + + /** + * A campaign label mutate operation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesCampaignLabelOperation campaignLabelOperation; + + /** + * A campaign mutate operation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesCampaignOperation campaignOperation; + + /** + * A campaign shared set mutate operation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesCampaignSharedSetOperation campaignSharedSetOperation; + + /** + * A conversion action mutate operation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesConversionActionOperation conversionActionOperation; + + /** + * A conversion custom variable mutate operation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesConversionCustomVariableOperation conversionCustomVariableOperation; + + /** + * A conversion goal campaign config mutate operation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesConversionGoalCampaignConfigOperation conversionGoalCampaignConfigOperation; + + /** + * A conversion value rule mutate operation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesConversionValueRuleOperation conversionValueRuleOperation; + + /** + * A conversion value rule set mutate operation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesConversionValueRuleSetOperation conversionValueRuleSetOperation; + + /** + * A custom conversion goal mutate operation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesCustomConversionGoalOperation customConversionGoalOperation; + + /** + * A customer asset mutate operation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesCustomerAssetOperation customerAssetOperation; + + /** + * A customer conversion goal mutate operation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesCustomerConversionGoalOperation customerConversionGoalOperation; + + /** + * A customer customizer mutate operation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesCustomerCustomizerOperation customerCustomizerOperation; + + /** + * A customer label mutate operation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesCustomerLabelOperation customerLabelOperation; + + /** + * A customer negative criterion mutate operation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesCustomerNegativeCriterionOperation customerNegativeCriterionOperation; + + /** + * A customer mutate operation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesCustomerOperation customerOperation; + + /** + * A customizer attribute mutate operation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesCustomizerAttributeOperation customizerAttributeOperation; + + /** + * An experiment arm mutate operation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesExperimentArmOperation experimentArmOperation; + + /** + * An experiment mutate operation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesExperimentOperation experimentOperation; + + /** + * A keyword plan ad group keyword operation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesKeywordPlanAdGroupKeywordOperation keywordPlanAdGroupKeywordOperation; + + /** + * A keyword plan ad group operation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesKeywordPlanAdGroupOperation keywordPlanAdGroupOperation; + + /** + * A keyword plan campaign keyword operation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesKeywordPlanCampaignKeywordOperation keywordPlanCampaignKeywordOperation; + + /** + * A keyword plan campaign operation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesKeywordPlanCampaignOperation keywordPlanCampaignOperation; + + /** + * A keyword plan operation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesKeywordPlanOperation keywordPlanOperation; + + /** + * A label mutate operation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesLabelOperation labelOperation; + + /** + * A recommendation subscription mutate operation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesRecommendationSubscriptionOperation recommendationSubscriptionOperation; + + /** + * A remarketing action mutate operation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesRemarketingActionOperation remarketingActionOperation; + + /** + * A Search Ads 360 campaign mutate operation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesSearchAds360CampaignOperation searchAds360CampaignOperation; + + /** + * A shared criterion mutate operation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesSharedCriterionOperation sharedCriterionOperation; + + /** + * A shared set mutate operation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesSharedSetOperation sharedSetOperation; + + /** + * A Smart campaign setting mutate operation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesSmartCampaignSettingOperation smartCampaignSettingOperation; + + /** + * A user list mutate operation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesUserListOperation userListOperation; + + /** + * An ad group ad label mutate operation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAdGroupAdLabelOperation getAdGroupAdLabelOperation() { + return adGroupAdLabelOperation; + } + + /** + * An ad group ad label mutate operation. + * @param adGroupAdLabelOperation adGroupAdLabelOperation or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperation setAdGroupAdLabelOperation(GoogleAdsSearchads360V23ServicesAdGroupAdLabelOperation adGroupAdLabelOperation) { + this.adGroupAdLabelOperation = adGroupAdLabelOperation; + return this; + } + + /** + * An ad group ad mutate operation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAdGroupAdOperation getAdGroupAdOperation() { + return adGroupAdOperation; + } + + /** + * An ad group ad mutate operation. + * @param adGroupAdOperation adGroupAdOperation or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperation setAdGroupAdOperation(GoogleAdsSearchads360V23ServicesAdGroupAdOperation adGroupAdOperation) { + this.adGroupAdOperation = adGroupAdOperation; + return this; + } + + /** + * An ad group asset mutate operation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAdGroupAssetOperation getAdGroupAssetOperation() { + return adGroupAssetOperation; + } + + /** + * An ad group asset mutate operation. + * @param adGroupAssetOperation adGroupAssetOperation or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperation setAdGroupAssetOperation(GoogleAdsSearchads360V23ServicesAdGroupAssetOperation adGroupAssetOperation) { + this.adGroupAssetOperation = adGroupAssetOperation; + return this; + } + + /** + * An ad group bid modifier mutate operation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAdGroupBidModifierOperation getAdGroupBidModifierOperation() { + return adGroupBidModifierOperation; + } + + /** + * An ad group bid modifier mutate operation. + * @param adGroupBidModifierOperation adGroupBidModifierOperation or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperation setAdGroupBidModifierOperation(GoogleAdsSearchads360V23ServicesAdGroupBidModifierOperation adGroupBidModifierOperation) { + this.adGroupBidModifierOperation = adGroupBidModifierOperation; + return this; + } + + /** + * An ad group criterion customizer mutate operation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAdGroupCriterionCustomizerOperation getAdGroupCriterionCustomizerOperation() { + return adGroupCriterionCustomizerOperation; + } + + /** + * An ad group criterion customizer mutate operation. + * @param adGroupCriterionCustomizerOperation adGroupCriterionCustomizerOperation or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperation setAdGroupCriterionCustomizerOperation(GoogleAdsSearchads360V23ServicesAdGroupCriterionCustomizerOperation adGroupCriterionCustomizerOperation) { + this.adGroupCriterionCustomizerOperation = adGroupCriterionCustomizerOperation; + return this; + } + + /** + * An ad group criterion label mutate operation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAdGroupCriterionLabelOperation getAdGroupCriterionLabelOperation() { + return adGroupCriterionLabelOperation; + } + + /** + * An ad group criterion label mutate operation. + * @param adGroupCriterionLabelOperation adGroupCriterionLabelOperation or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperation setAdGroupCriterionLabelOperation(GoogleAdsSearchads360V23ServicesAdGroupCriterionLabelOperation adGroupCriterionLabelOperation) { + this.adGroupCriterionLabelOperation = adGroupCriterionLabelOperation; + return this; + } + + /** + * An ad group criterion mutate operation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAdGroupCriterionOperation getAdGroupCriterionOperation() { + return adGroupCriterionOperation; + } + + /** + * An ad group criterion mutate operation. + * @param adGroupCriterionOperation adGroupCriterionOperation or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperation setAdGroupCriterionOperation(GoogleAdsSearchads360V23ServicesAdGroupCriterionOperation adGroupCriterionOperation) { + this.adGroupCriterionOperation = adGroupCriterionOperation; + return this; + } + + /** + * An ad group customizer mutate operation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAdGroupCustomizerOperation getAdGroupCustomizerOperation() { + return adGroupCustomizerOperation; + } + + /** + * An ad group customizer mutate operation. + * @param adGroupCustomizerOperation adGroupCustomizerOperation or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperation setAdGroupCustomizerOperation(GoogleAdsSearchads360V23ServicesAdGroupCustomizerOperation adGroupCustomizerOperation) { + this.adGroupCustomizerOperation = adGroupCustomizerOperation; + return this; + } + + /** + * An ad group label mutate operation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAdGroupLabelOperation getAdGroupLabelOperation() { + return adGroupLabelOperation; + } + + /** + * An ad group label mutate operation. + * @param adGroupLabelOperation adGroupLabelOperation or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperation setAdGroupLabelOperation(GoogleAdsSearchads360V23ServicesAdGroupLabelOperation adGroupLabelOperation) { + this.adGroupLabelOperation = adGroupLabelOperation; + return this; + } + + /** + * An ad group mutate operation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAdGroupOperation getAdGroupOperation() { + return adGroupOperation; + } + + /** + * An ad group mutate operation. + * @param adGroupOperation adGroupOperation or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperation setAdGroupOperation(GoogleAdsSearchads360V23ServicesAdGroupOperation adGroupOperation) { + this.adGroupOperation = adGroupOperation; + return this; + } + + /** + * An ad mutate operation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAdOperation getAdOperation() { + return adOperation; + } + + /** + * An ad mutate operation. + * @param adOperation adOperation or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperation setAdOperation(GoogleAdsSearchads360V23ServicesAdOperation adOperation) { + this.adOperation = adOperation; + return this; + } + + /** + * An ad parameter mutate operation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAdParameterOperation getAdParameterOperation() { + return adParameterOperation; + } + + /** + * An ad parameter mutate operation. + * @param adParameterOperation adParameterOperation or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperation setAdParameterOperation(GoogleAdsSearchads360V23ServicesAdParameterOperation adParameterOperation) { + this.adParameterOperation = adParameterOperation; + return this; + } + + /** + * An asset group asset mutate operation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAssetGroupAssetOperation getAssetGroupAssetOperation() { + return assetGroupAssetOperation; + } + + /** + * An asset group asset mutate operation. + * @param assetGroupAssetOperation assetGroupAssetOperation or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperation setAssetGroupAssetOperation(GoogleAdsSearchads360V23ServicesAssetGroupAssetOperation assetGroupAssetOperation) { + this.assetGroupAssetOperation = assetGroupAssetOperation; + return this; + } + + /** + * An asset group listing group filter mutate operation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAssetGroupListingGroupFilterOperation getAssetGroupListingGroupFilterOperation() { + return assetGroupListingGroupFilterOperation; + } + + /** + * An asset group listing group filter mutate operation. + * @param assetGroupListingGroupFilterOperation assetGroupListingGroupFilterOperation or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperation setAssetGroupListingGroupFilterOperation(GoogleAdsSearchads360V23ServicesAssetGroupListingGroupFilterOperation assetGroupListingGroupFilterOperation) { + this.assetGroupListingGroupFilterOperation = assetGroupListingGroupFilterOperation; + return this; + } + + /** + * An asset group mutate operation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAssetGroupOperation getAssetGroupOperation() { + return assetGroupOperation; + } + + /** + * An asset group mutate operation. + * @param assetGroupOperation assetGroupOperation or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperation setAssetGroupOperation(GoogleAdsSearchads360V23ServicesAssetGroupOperation assetGroupOperation) { + this.assetGroupOperation = assetGroupOperation; + return this; + } + + /** + * An asset group signal mutate operation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAssetGroupSignalOperation getAssetGroupSignalOperation() { + return assetGroupSignalOperation; + } + + /** + * An asset group signal mutate operation. + * @param assetGroupSignalOperation assetGroupSignalOperation or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperation setAssetGroupSignalOperation(GoogleAdsSearchads360V23ServicesAssetGroupSignalOperation assetGroupSignalOperation) { + this.assetGroupSignalOperation = assetGroupSignalOperation; + return this; + } + + /** + * An asset mutate operation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAssetOperation getAssetOperation() { + return assetOperation; + } + + /** + * An asset mutate operation. + * @param assetOperation assetOperation or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperation setAssetOperation(GoogleAdsSearchads360V23ServicesAssetOperation assetOperation) { + this.assetOperation = assetOperation; + return this; + } + + /** + * An asset set asset mutate operation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAssetSetAssetOperation getAssetSetAssetOperation() { + return assetSetAssetOperation; + } + + /** + * An asset set asset mutate operation. + * @param assetSetAssetOperation assetSetAssetOperation or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperation setAssetSetAssetOperation(GoogleAdsSearchads360V23ServicesAssetSetAssetOperation assetSetAssetOperation) { + this.assetSetAssetOperation = assetSetAssetOperation; + return this; + } + + /** + * An asset set mutate operation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAssetSetOperation getAssetSetOperation() { + return assetSetOperation; + } + + /** + * An asset set mutate operation. + * @param assetSetOperation assetSetOperation or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperation setAssetSetOperation(GoogleAdsSearchads360V23ServicesAssetSetOperation assetSetOperation) { + this.assetSetOperation = assetSetOperation; + return this; + } + + /** + * An audience mutate operation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAudienceOperation getAudienceOperation() { + return audienceOperation; + } + + /** + * An audience mutate operation. + * @param audienceOperation audienceOperation or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperation setAudienceOperation(GoogleAdsSearchads360V23ServicesAudienceOperation audienceOperation) { + this.audienceOperation = audienceOperation; + return this; + } + + /** + * A bidding data exclusion mutate operation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesBiddingDataExclusionOperation getBiddingDataExclusionOperation() { + return biddingDataExclusionOperation; + } + + /** + * A bidding data exclusion mutate operation. + * @param biddingDataExclusionOperation biddingDataExclusionOperation or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperation setBiddingDataExclusionOperation(GoogleAdsSearchads360V23ServicesBiddingDataExclusionOperation biddingDataExclusionOperation) { + this.biddingDataExclusionOperation = biddingDataExclusionOperation; + return this; + } + + /** + * A bidding seasonality adjustment mutate operation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesBiddingSeasonalityAdjustmentOperation getBiddingSeasonalityAdjustmentOperation() { + return biddingSeasonalityAdjustmentOperation; + } + + /** + * A bidding seasonality adjustment mutate operation. + * @param biddingSeasonalityAdjustmentOperation biddingSeasonalityAdjustmentOperation or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperation setBiddingSeasonalityAdjustmentOperation(GoogleAdsSearchads360V23ServicesBiddingSeasonalityAdjustmentOperation biddingSeasonalityAdjustmentOperation) { + this.biddingSeasonalityAdjustmentOperation = biddingSeasonalityAdjustmentOperation; + return this; + } + + /** + * A bidding strategy mutate operation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesBiddingStrategyOperation getBiddingStrategyOperation() { + return biddingStrategyOperation; + } + + /** + * A bidding strategy mutate operation. + * @param biddingStrategyOperation biddingStrategyOperation or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperation setBiddingStrategyOperation(GoogleAdsSearchads360V23ServicesBiddingStrategyOperation biddingStrategyOperation) { + this.biddingStrategyOperation = biddingStrategyOperation; + return this; + } + + /** + * A campaign asset mutate operation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCampaignAssetOperation getCampaignAssetOperation() { + return campaignAssetOperation; + } + + /** + * A campaign asset mutate operation. + * @param campaignAssetOperation campaignAssetOperation or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperation setCampaignAssetOperation(GoogleAdsSearchads360V23ServicesCampaignAssetOperation campaignAssetOperation) { + this.campaignAssetOperation = campaignAssetOperation; + return this; + } + + /** + * A campaign asset mutate operation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCampaignAssetSetOperation getCampaignAssetSetOperation() { + return campaignAssetSetOperation; + } + + /** + * A campaign asset mutate operation. + * @param campaignAssetSetOperation campaignAssetSetOperation or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperation setCampaignAssetSetOperation(GoogleAdsSearchads360V23ServicesCampaignAssetSetOperation campaignAssetSetOperation) { + this.campaignAssetSetOperation = campaignAssetSetOperation; + return this; + } + + /** + * A campaign bid modifier mutate operation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCampaignBidModifierOperation getCampaignBidModifierOperation() { + return campaignBidModifierOperation; + } + + /** + * A campaign bid modifier mutate operation. + * @param campaignBidModifierOperation campaignBidModifierOperation or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperation setCampaignBidModifierOperation(GoogleAdsSearchads360V23ServicesCampaignBidModifierOperation campaignBidModifierOperation) { + this.campaignBidModifierOperation = campaignBidModifierOperation; + return this; + } + + /** + * A campaign budget mutate operation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCampaignBudgetOperation getCampaignBudgetOperation() { + return campaignBudgetOperation; + } + + /** + * A campaign budget mutate operation. + * @param campaignBudgetOperation campaignBudgetOperation or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperation setCampaignBudgetOperation(GoogleAdsSearchads360V23ServicesCampaignBudgetOperation campaignBudgetOperation) { + this.campaignBudgetOperation = campaignBudgetOperation; + return this; + } + + /** + * A campaign conversion goal mutate operation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCampaignConversionGoalOperation getCampaignConversionGoalOperation() { + return campaignConversionGoalOperation; + } + + /** + * A campaign conversion goal mutate operation. + * @param campaignConversionGoalOperation campaignConversionGoalOperation or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperation setCampaignConversionGoalOperation(GoogleAdsSearchads360V23ServicesCampaignConversionGoalOperation campaignConversionGoalOperation) { + this.campaignConversionGoalOperation = campaignConversionGoalOperation; + return this; + } + + /** + * A campaign criterion mutate operation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCampaignCriterionOperation getCampaignCriterionOperation() { + return campaignCriterionOperation; + } + + /** + * A campaign criterion mutate operation. + * @param campaignCriterionOperation campaignCriterionOperation or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperation setCampaignCriterionOperation(GoogleAdsSearchads360V23ServicesCampaignCriterionOperation campaignCriterionOperation) { + this.campaignCriterionOperation = campaignCriterionOperation; + return this; + } + + /** + * A campaign customizer mutate operation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCampaignCustomizerOperation getCampaignCustomizerOperation() { + return campaignCustomizerOperation; + } + + /** + * A campaign customizer mutate operation. + * @param campaignCustomizerOperation campaignCustomizerOperation or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperation setCampaignCustomizerOperation(GoogleAdsSearchads360V23ServicesCampaignCustomizerOperation campaignCustomizerOperation) { + this.campaignCustomizerOperation = campaignCustomizerOperation; + return this; + } + + /** + * A campaign draft mutate operation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCampaignDraftOperation getCampaignDraftOperation() { + return campaignDraftOperation; + } + + /** + * A campaign draft mutate operation. + * @param campaignDraftOperation campaignDraftOperation or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperation setCampaignDraftOperation(GoogleAdsSearchads360V23ServicesCampaignDraftOperation campaignDraftOperation) { + this.campaignDraftOperation = campaignDraftOperation; + return this; + } + + /** + * A campaign group mutate operation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCampaignGroupOperation getCampaignGroupOperation() { + return campaignGroupOperation; + } + + /** + * A campaign group mutate operation. + * @param campaignGroupOperation campaignGroupOperation or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperation setCampaignGroupOperation(GoogleAdsSearchads360V23ServicesCampaignGroupOperation campaignGroupOperation) { + this.campaignGroupOperation = campaignGroupOperation; + return this; + } + + /** + * A campaign label mutate operation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCampaignLabelOperation getCampaignLabelOperation() { + return campaignLabelOperation; + } + + /** + * A campaign label mutate operation. + * @param campaignLabelOperation campaignLabelOperation or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperation setCampaignLabelOperation(GoogleAdsSearchads360V23ServicesCampaignLabelOperation campaignLabelOperation) { + this.campaignLabelOperation = campaignLabelOperation; + return this; + } + + /** + * A campaign mutate operation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCampaignOperation getCampaignOperation() { + return campaignOperation; + } + + /** + * A campaign mutate operation. + * @param campaignOperation campaignOperation or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperation setCampaignOperation(GoogleAdsSearchads360V23ServicesCampaignOperation campaignOperation) { + this.campaignOperation = campaignOperation; + return this; + } + + /** + * A campaign shared set mutate operation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCampaignSharedSetOperation getCampaignSharedSetOperation() { + return campaignSharedSetOperation; + } + + /** + * A campaign shared set mutate operation. + * @param campaignSharedSetOperation campaignSharedSetOperation or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperation setCampaignSharedSetOperation(GoogleAdsSearchads360V23ServicesCampaignSharedSetOperation campaignSharedSetOperation) { + this.campaignSharedSetOperation = campaignSharedSetOperation; + return this; + } + + /** + * A conversion action mutate operation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesConversionActionOperation getConversionActionOperation() { + return conversionActionOperation; + } + + /** + * A conversion action mutate operation. + * @param conversionActionOperation conversionActionOperation or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperation setConversionActionOperation(GoogleAdsSearchads360V23ServicesConversionActionOperation conversionActionOperation) { + this.conversionActionOperation = conversionActionOperation; + return this; + } + + /** + * A conversion custom variable mutate operation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesConversionCustomVariableOperation getConversionCustomVariableOperation() { + return conversionCustomVariableOperation; + } + + /** + * A conversion custom variable mutate operation. + * @param conversionCustomVariableOperation conversionCustomVariableOperation or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperation setConversionCustomVariableOperation(GoogleAdsSearchads360V23ServicesConversionCustomVariableOperation conversionCustomVariableOperation) { + this.conversionCustomVariableOperation = conversionCustomVariableOperation; + return this; + } + + /** + * A conversion goal campaign config mutate operation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesConversionGoalCampaignConfigOperation getConversionGoalCampaignConfigOperation() { + return conversionGoalCampaignConfigOperation; + } + + /** + * A conversion goal campaign config mutate operation. + * @param conversionGoalCampaignConfigOperation conversionGoalCampaignConfigOperation or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperation setConversionGoalCampaignConfigOperation(GoogleAdsSearchads360V23ServicesConversionGoalCampaignConfigOperation conversionGoalCampaignConfigOperation) { + this.conversionGoalCampaignConfigOperation = conversionGoalCampaignConfigOperation; + return this; + } + + /** + * A conversion value rule mutate operation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesConversionValueRuleOperation getConversionValueRuleOperation() { + return conversionValueRuleOperation; + } + + /** + * A conversion value rule mutate operation. + * @param conversionValueRuleOperation conversionValueRuleOperation or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperation setConversionValueRuleOperation(GoogleAdsSearchads360V23ServicesConversionValueRuleOperation conversionValueRuleOperation) { + this.conversionValueRuleOperation = conversionValueRuleOperation; + return this; + } + + /** + * A conversion value rule set mutate operation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesConversionValueRuleSetOperation getConversionValueRuleSetOperation() { + return conversionValueRuleSetOperation; + } + + /** + * A conversion value rule set mutate operation. + * @param conversionValueRuleSetOperation conversionValueRuleSetOperation or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperation setConversionValueRuleSetOperation(GoogleAdsSearchads360V23ServicesConversionValueRuleSetOperation conversionValueRuleSetOperation) { + this.conversionValueRuleSetOperation = conversionValueRuleSetOperation; + return this; + } + + /** + * A custom conversion goal mutate operation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCustomConversionGoalOperation getCustomConversionGoalOperation() { + return customConversionGoalOperation; + } + + /** + * A custom conversion goal mutate operation. + * @param customConversionGoalOperation customConversionGoalOperation or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperation setCustomConversionGoalOperation(GoogleAdsSearchads360V23ServicesCustomConversionGoalOperation customConversionGoalOperation) { + this.customConversionGoalOperation = customConversionGoalOperation; + return this; + } + + /** + * A customer asset mutate operation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCustomerAssetOperation getCustomerAssetOperation() { + return customerAssetOperation; + } + + /** + * A customer asset mutate operation. + * @param customerAssetOperation customerAssetOperation or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperation setCustomerAssetOperation(GoogleAdsSearchads360V23ServicesCustomerAssetOperation customerAssetOperation) { + this.customerAssetOperation = customerAssetOperation; + return this; + } + + /** + * A customer conversion goal mutate operation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCustomerConversionGoalOperation getCustomerConversionGoalOperation() { + return customerConversionGoalOperation; + } + + /** + * A customer conversion goal mutate operation. + * @param customerConversionGoalOperation customerConversionGoalOperation or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperation setCustomerConversionGoalOperation(GoogleAdsSearchads360V23ServicesCustomerConversionGoalOperation customerConversionGoalOperation) { + this.customerConversionGoalOperation = customerConversionGoalOperation; + return this; + } + + /** + * A customer customizer mutate operation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCustomerCustomizerOperation getCustomerCustomizerOperation() { + return customerCustomizerOperation; + } + + /** + * A customer customizer mutate operation. + * @param customerCustomizerOperation customerCustomizerOperation or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperation setCustomerCustomizerOperation(GoogleAdsSearchads360V23ServicesCustomerCustomizerOperation customerCustomizerOperation) { + this.customerCustomizerOperation = customerCustomizerOperation; + return this; + } + + /** + * A customer label mutate operation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCustomerLabelOperation getCustomerLabelOperation() { + return customerLabelOperation; + } + + /** + * A customer label mutate operation. + * @param customerLabelOperation customerLabelOperation or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperation setCustomerLabelOperation(GoogleAdsSearchads360V23ServicesCustomerLabelOperation customerLabelOperation) { + this.customerLabelOperation = customerLabelOperation; + return this; + } + + /** + * A customer negative criterion mutate operation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCustomerNegativeCriterionOperation getCustomerNegativeCriterionOperation() { + return customerNegativeCriterionOperation; + } + + /** + * A customer negative criterion mutate operation. + * @param customerNegativeCriterionOperation customerNegativeCriterionOperation or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperation setCustomerNegativeCriterionOperation(GoogleAdsSearchads360V23ServicesCustomerNegativeCriterionOperation customerNegativeCriterionOperation) { + this.customerNegativeCriterionOperation = customerNegativeCriterionOperation; + return this; + } + + /** + * A customer mutate operation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCustomerOperation getCustomerOperation() { + return customerOperation; + } + + /** + * A customer mutate operation. + * @param customerOperation customerOperation or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperation setCustomerOperation(GoogleAdsSearchads360V23ServicesCustomerOperation customerOperation) { + this.customerOperation = customerOperation; + return this; + } + + /** + * A customizer attribute mutate operation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCustomizerAttributeOperation getCustomizerAttributeOperation() { + return customizerAttributeOperation; + } + + /** + * A customizer attribute mutate operation. + * @param customizerAttributeOperation customizerAttributeOperation or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperation setCustomizerAttributeOperation(GoogleAdsSearchads360V23ServicesCustomizerAttributeOperation customizerAttributeOperation) { + this.customizerAttributeOperation = customizerAttributeOperation; + return this; + } + + /** + * An experiment arm mutate operation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesExperimentArmOperation getExperimentArmOperation() { + return experimentArmOperation; + } + + /** + * An experiment arm mutate operation. + * @param experimentArmOperation experimentArmOperation or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperation setExperimentArmOperation(GoogleAdsSearchads360V23ServicesExperimentArmOperation experimentArmOperation) { + this.experimentArmOperation = experimentArmOperation; + return this; + } + + /** + * An experiment mutate operation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesExperimentOperation getExperimentOperation() { + return experimentOperation; + } + + /** + * An experiment mutate operation. + * @param experimentOperation experimentOperation or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperation setExperimentOperation(GoogleAdsSearchads360V23ServicesExperimentOperation experimentOperation) { + this.experimentOperation = experimentOperation; + return this; + } + + /** + * A keyword plan ad group keyword operation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesKeywordPlanAdGroupKeywordOperation getKeywordPlanAdGroupKeywordOperation() { + return keywordPlanAdGroupKeywordOperation; + } + + /** + * A keyword plan ad group keyword operation. + * @param keywordPlanAdGroupKeywordOperation keywordPlanAdGroupKeywordOperation or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperation setKeywordPlanAdGroupKeywordOperation(GoogleAdsSearchads360V23ServicesKeywordPlanAdGroupKeywordOperation keywordPlanAdGroupKeywordOperation) { + this.keywordPlanAdGroupKeywordOperation = keywordPlanAdGroupKeywordOperation; + return this; + } + + /** + * A keyword plan ad group operation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesKeywordPlanAdGroupOperation getKeywordPlanAdGroupOperation() { + return keywordPlanAdGroupOperation; + } + + /** + * A keyword plan ad group operation. + * @param keywordPlanAdGroupOperation keywordPlanAdGroupOperation or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperation setKeywordPlanAdGroupOperation(GoogleAdsSearchads360V23ServicesKeywordPlanAdGroupOperation keywordPlanAdGroupOperation) { + this.keywordPlanAdGroupOperation = keywordPlanAdGroupOperation; + return this; + } + + /** + * A keyword plan campaign keyword operation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesKeywordPlanCampaignKeywordOperation getKeywordPlanCampaignKeywordOperation() { + return keywordPlanCampaignKeywordOperation; + } + + /** + * A keyword plan campaign keyword operation. + * @param keywordPlanCampaignKeywordOperation keywordPlanCampaignKeywordOperation or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperation setKeywordPlanCampaignKeywordOperation(GoogleAdsSearchads360V23ServicesKeywordPlanCampaignKeywordOperation keywordPlanCampaignKeywordOperation) { + this.keywordPlanCampaignKeywordOperation = keywordPlanCampaignKeywordOperation; + return this; + } + + /** + * A keyword plan campaign operation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesKeywordPlanCampaignOperation getKeywordPlanCampaignOperation() { + return keywordPlanCampaignOperation; + } + + /** + * A keyword plan campaign operation. + * @param keywordPlanCampaignOperation keywordPlanCampaignOperation or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperation setKeywordPlanCampaignOperation(GoogleAdsSearchads360V23ServicesKeywordPlanCampaignOperation keywordPlanCampaignOperation) { + this.keywordPlanCampaignOperation = keywordPlanCampaignOperation; + return this; + } + + /** + * A keyword plan operation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesKeywordPlanOperation getKeywordPlanOperation() { + return keywordPlanOperation; + } + + /** + * A keyword plan operation. + * @param keywordPlanOperation keywordPlanOperation or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperation setKeywordPlanOperation(GoogleAdsSearchads360V23ServicesKeywordPlanOperation keywordPlanOperation) { + this.keywordPlanOperation = keywordPlanOperation; + return this; + } + + /** + * A label mutate operation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesLabelOperation getLabelOperation() { + return labelOperation; + } + + /** + * A label mutate operation. + * @param labelOperation labelOperation or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperation setLabelOperation(GoogleAdsSearchads360V23ServicesLabelOperation labelOperation) { + this.labelOperation = labelOperation; + return this; + } + + /** + * A recommendation subscription mutate operation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesRecommendationSubscriptionOperation getRecommendationSubscriptionOperation() { + return recommendationSubscriptionOperation; + } + + /** + * A recommendation subscription mutate operation. + * @param recommendationSubscriptionOperation recommendationSubscriptionOperation or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperation setRecommendationSubscriptionOperation(GoogleAdsSearchads360V23ServicesRecommendationSubscriptionOperation recommendationSubscriptionOperation) { + this.recommendationSubscriptionOperation = recommendationSubscriptionOperation; + return this; + } + + /** + * A remarketing action mutate operation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesRemarketingActionOperation getRemarketingActionOperation() { + return remarketingActionOperation; + } + + /** + * A remarketing action mutate operation. + * @param remarketingActionOperation remarketingActionOperation or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperation setRemarketingActionOperation(GoogleAdsSearchads360V23ServicesRemarketingActionOperation remarketingActionOperation) { + this.remarketingActionOperation = remarketingActionOperation; + return this; + } + + /** + * A Search Ads 360 campaign mutate operation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360CampaignOperation getSearchAds360CampaignOperation() { + return searchAds360CampaignOperation; + } + + /** + * A Search Ads 360 campaign mutate operation. + * @param searchAds360CampaignOperation searchAds360CampaignOperation or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperation setSearchAds360CampaignOperation(GoogleAdsSearchads360V23ServicesSearchAds360CampaignOperation searchAds360CampaignOperation) { + this.searchAds360CampaignOperation = searchAds360CampaignOperation; + return this; + } + + /** + * A shared criterion mutate operation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSharedCriterionOperation getSharedCriterionOperation() { + return sharedCriterionOperation; + } + + /** + * A shared criterion mutate operation. + * @param sharedCriterionOperation sharedCriterionOperation or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperation setSharedCriterionOperation(GoogleAdsSearchads360V23ServicesSharedCriterionOperation sharedCriterionOperation) { + this.sharedCriterionOperation = sharedCriterionOperation; + return this; + } + + /** + * A shared set mutate operation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSharedSetOperation getSharedSetOperation() { + return sharedSetOperation; + } + + /** + * A shared set mutate operation. + * @param sharedSetOperation sharedSetOperation or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperation setSharedSetOperation(GoogleAdsSearchads360V23ServicesSharedSetOperation sharedSetOperation) { + this.sharedSetOperation = sharedSetOperation; + return this; + } + + /** + * A Smart campaign setting mutate operation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSmartCampaignSettingOperation getSmartCampaignSettingOperation() { + return smartCampaignSettingOperation; + } + + /** + * A Smart campaign setting mutate operation. + * @param smartCampaignSettingOperation smartCampaignSettingOperation or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperation setSmartCampaignSettingOperation(GoogleAdsSearchads360V23ServicesSmartCampaignSettingOperation smartCampaignSettingOperation) { + this.smartCampaignSettingOperation = smartCampaignSettingOperation; + return this; + } + + /** + * A user list mutate operation. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesUserListOperation getUserListOperation() { + return userListOperation; + } + + /** + * A user list mutate operation. + * @param userListOperation userListOperation or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperation setUserListOperation(GoogleAdsSearchads360V23ServicesUserListOperation userListOperation) { + this.userListOperation = userListOperation; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateOperation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateOperation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateOperation clone() { + return (GoogleAdsSearchads360V23ServicesMutateOperation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateOperationResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateOperationResponse.java new file mode 100644 index 00000000000..e4f46dafdbb --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateOperationResponse.java @@ -0,0 +1,1555 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for the resource mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateOperationResponse extends com.google.api.client.json.GenericJson { + + /** + * The result for the ad group ad label mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesMutateAdGroupAdLabelResult adGroupAdLabelResult; + + /** + * The result for the ad group ad mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesMutateAdGroupAdResult adGroupAdResult; + + /** + * The result for the ad group asset mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesMutateAdGroupAssetResult adGroupAssetResult; + + /** + * The result for the ad group bid modifier mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesMutateAdGroupBidModifierResult adGroupBidModifierResult; + + /** + * The result for the ad group criterion customizer mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionCustomizerResult adGroupCriterionCustomizerResult; + + /** + * The result for the ad group criterion label mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionLabelResult adGroupCriterionLabelResult; + + /** + * The result for the ad group criterion mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionResult adGroupCriterionResult; + + /** + * The result for the ad group customizer mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesMutateAdGroupCustomizerResult adGroupCustomizerResult; + + /** + * The result for the ad group label mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesMutateAdGroupLabelResult adGroupLabelResult; + + /** + * The result for the ad group mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesMutateAdGroupResult adGroupResult; + + /** + * The result for the ad parameter mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesMutateAdParameterResult adParameterResult; + + /** + * The result for the ad mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesMutateAdResult adResult; + + /** + * The result for the asset group asset mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesMutateAssetGroupAssetResult assetGroupAssetResult; + + /** + * The result for the asset group listing group filter mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesMutateAssetGroupListingGroupFilterResult assetGroupListingGroupFilterResult; + + /** + * The result for the asset group mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesMutateAssetGroupResult assetGroupResult; + + /** + * The result for the asset group signal mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesMutateAssetGroupSignalResult assetGroupSignalResult; + + /** + * The result for the asset mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesMutateAssetResult assetResult; + + /** + * The result for the asset set asset mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesMutateAssetSetAssetResult assetSetAssetResult; + + /** + * The result for the asset set mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesMutateAssetSetResult assetSetResult; + + /** + * The result for the audience mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesMutateAudienceResult audienceResult; + + /** + * The result for the bidding data exclusion mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesMutateBiddingDataExclusionsResult biddingDataExclusionResult; + + /** + * The result for the bidding seasonality adjustment mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesMutateBiddingSeasonalityAdjustmentsResult biddingSeasonalityAdjustmentResult; + + /** + * The result for the bidding strategy mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesMutateBiddingStrategyResult biddingStrategyResult; + + /** + * The result for the campaign asset mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesMutateCampaignAssetResult campaignAssetResult; + + /** + * The result for the campaign asset set mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesMutateCampaignAssetSetResult campaignAssetSetResult; + + /** + * The result for the campaign bid modifier mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesMutateCampaignBidModifierResult campaignBidModifierResult; + + /** + * The result for the campaign budget mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesMutateCampaignBudgetResult campaignBudgetResult; + + /** + * The result for the campaign conversion goal mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesMutateCampaignConversionGoalResult campaignConversionGoalResult; + + /** + * The result for the campaign criterion mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesMutateCampaignCriterionResult campaignCriterionResult; + + /** + * The result for the campaign customizer mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesMutateCampaignCustomizerResult campaignCustomizerResult; + + /** + * The result for the campaign draft mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesMutateCampaignDraftResult campaignDraftResult; + + /** + * The result for the campaign group mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesMutateCampaignGroupResult campaignGroupResult; + + /** + * The result for the campaign label mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesMutateCampaignLabelResult campaignLabelResult; + + /** + * The result for the campaign mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesMutateCampaignResult campaignResult; + + /** + * The result for the campaign shared set mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesMutateCampaignSharedSetResult campaignSharedSetResult; + + /** + * The result for the conversion action mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesMutateConversionActionResult conversionActionResult; + + /** + * The result for the conversion custom variable mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesMutateConversionCustomVariableResult conversionCustomVariableResult; + + /** + * The result for the conversion goal campaign config mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesMutateConversionGoalCampaignConfigResult conversionGoalCampaignConfigResult; + + /** + * The result for the conversion value rule mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesMutateConversionValueRuleResult conversionValueRuleResult; + + /** + * The result for the conversion value rule set mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesMutateConversionValueRuleSetResult conversionValueRuleSetResult; + + /** + * The result for the custom conversion goal mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesMutateCustomConversionGoalResult customConversionGoalResult; + + /** + * The result for the customer asset mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesMutateCustomerAssetResult customerAssetResult; + + /** + * The result for the customer conversion goal mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesMutateCustomerConversionGoalResult customerConversionGoalResult; + + /** + * The result for the customer customizer mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesMutateCustomerCustomizerResult customerCustomizerResult; + + /** + * The result for the customer label mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesMutateCustomerLabelResult customerLabelResult; + + /** + * The result for the customer negative criterion mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesMutateCustomerNegativeCriteriaResult customerNegativeCriterionResult; + + /** + * The result for the customer mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesMutateCustomerResult customerResult; + + /** + * The result for the customizer attribute mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesMutateCustomizerAttributeResult customizerAttributeResult; + + /** + * The result for the experiment arm mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesMutateExperimentArmResult experimentArmResult; + + /** + * The result for the experiment mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesMutateExperimentResult experimentResult; + + /** + * The result for the keyword plan ad group keyword mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesMutateKeywordPlanAdGroupKeywordResult keywordPlanAdGroupKeywordResult; + + /** + * The result for the keyword plan ad group mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesMutateKeywordPlanAdGroupResult keywordPlanAdGroupResult; + + /** + * The result for the keyword plan campaign keyword mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesMutateKeywordPlanCampaignKeywordResult keywordPlanCampaignKeywordResult; + + /** + * The result for the keyword plan campaign mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesMutateKeywordPlanCampaignResult keywordPlanCampaignResult; + + /** + * The result for the keyword plan mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesMutateKeywordPlansResult keywordPlanResult; + + /** + * The result for the label mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesMutateLabelResult labelResult; + + /** + * The result for the recommendation subscription mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesMutateRecommendationSubscriptionResult recommendationSubscriptionResult; + + /** + * The result for the remarketing action mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesMutateRemarketingActionResult remarketingActionResult; + + /** + * The result for the Search Ads 360 campaign mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesMutateSearchAds360CampaignResult searchAds360CampaignResult; + + /** + * The result for the shared criterion mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesMutateSharedCriterionResult sharedCriterionResult; + + /** + * The result for the shared set mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesMutateSharedSetResult sharedSetResult; + + /** + * The result for the Smart campaign setting mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesMutateSmartCampaignSettingResult smartCampaignSettingResult; + + /** + * The result for the user list mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesMutateUserListResult userListResult; + + /** + * The result for the ad group ad label mutate. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdGroupAdLabelResult getAdGroupAdLabelResult() { + return adGroupAdLabelResult; + } + + /** + * The result for the ad group ad label mutate. + * @param adGroupAdLabelResult adGroupAdLabelResult or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperationResponse setAdGroupAdLabelResult(GoogleAdsSearchads360V23ServicesMutateAdGroupAdLabelResult adGroupAdLabelResult) { + this.adGroupAdLabelResult = adGroupAdLabelResult; + return this; + } + + /** + * The result for the ad group ad mutate. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdGroupAdResult getAdGroupAdResult() { + return adGroupAdResult; + } + + /** + * The result for the ad group ad mutate. + * @param adGroupAdResult adGroupAdResult or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperationResponse setAdGroupAdResult(GoogleAdsSearchads360V23ServicesMutateAdGroupAdResult adGroupAdResult) { + this.adGroupAdResult = adGroupAdResult; + return this; + } + + /** + * The result for the ad group asset mutate. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdGroupAssetResult getAdGroupAssetResult() { + return adGroupAssetResult; + } + + /** + * The result for the ad group asset mutate. + * @param adGroupAssetResult adGroupAssetResult or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperationResponse setAdGroupAssetResult(GoogleAdsSearchads360V23ServicesMutateAdGroupAssetResult adGroupAssetResult) { + this.adGroupAssetResult = adGroupAssetResult; + return this; + } + + /** + * The result for the ad group bid modifier mutate. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdGroupBidModifierResult getAdGroupBidModifierResult() { + return adGroupBidModifierResult; + } + + /** + * The result for the ad group bid modifier mutate. + * @param adGroupBidModifierResult adGroupBidModifierResult or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperationResponse setAdGroupBidModifierResult(GoogleAdsSearchads360V23ServicesMutateAdGroupBidModifierResult adGroupBidModifierResult) { + this.adGroupBidModifierResult = adGroupBidModifierResult; + return this; + } + + /** + * The result for the ad group criterion customizer mutate. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionCustomizerResult getAdGroupCriterionCustomizerResult() { + return adGroupCriterionCustomizerResult; + } + + /** + * The result for the ad group criterion customizer mutate. + * @param adGroupCriterionCustomizerResult adGroupCriterionCustomizerResult or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperationResponse setAdGroupCriterionCustomizerResult(GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionCustomizerResult adGroupCriterionCustomizerResult) { + this.adGroupCriterionCustomizerResult = adGroupCriterionCustomizerResult; + return this; + } + + /** + * The result for the ad group criterion label mutate. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionLabelResult getAdGroupCriterionLabelResult() { + return adGroupCriterionLabelResult; + } + + /** + * The result for the ad group criterion label mutate. + * @param adGroupCriterionLabelResult adGroupCriterionLabelResult or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperationResponse setAdGroupCriterionLabelResult(GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionLabelResult adGroupCriterionLabelResult) { + this.adGroupCriterionLabelResult = adGroupCriterionLabelResult; + return this; + } + + /** + * The result for the ad group criterion mutate. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionResult getAdGroupCriterionResult() { + return adGroupCriterionResult; + } + + /** + * The result for the ad group criterion mutate. + * @param adGroupCriterionResult adGroupCriterionResult or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperationResponse setAdGroupCriterionResult(GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionResult adGroupCriterionResult) { + this.adGroupCriterionResult = adGroupCriterionResult; + return this; + } + + /** + * The result for the ad group customizer mutate. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdGroupCustomizerResult getAdGroupCustomizerResult() { + return adGroupCustomizerResult; + } + + /** + * The result for the ad group customizer mutate. + * @param adGroupCustomizerResult adGroupCustomizerResult or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperationResponse setAdGroupCustomizerResult(GoogleAdsSearchads360V23ServicesMutateAdGroupCustomizerResult adGroupCustomizerResult) { + this.adGroupCustomizerResult = adGroupCustomizerResult; + return this; + } + + /** + * The result for the ad group label mutate. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdGroupLabelResult getAdGroupLabelResult() { + return adGroupLabelResult; + } + + /** + * The result for the ad group label mutate. + * @param adGroupLabelResult adGroupLabelResult or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperationResponse setAdGroupLabelResult(GoogleAdsSearchads360V23ServicesMutateAdGroupLabelResult adGroupLabelResult) { + this.adGroupLabelResult = adGroupLabelResult; + return this; + } + + /** + * The result for the ad group mutate. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdGroupResult getAdGroupResult() { + return adGroupResult; + } + + /** + * The result for the ad group mutate. + * @param adGroupResult adGroupResult or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperationResponse setAdGroupResult(GoogleAdsSearchads360V23ServicesMutateAdGroupResult adGroupResult) { + this.adGroupResult = adGroupResult; + return this; + } + + /** + * The result for the ad parameter mutate. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdParameterResult getAdParameterResult() { + return adParameterResult; + } + + /** + * The result for the ad parameter mutate. + * @param adParameterResult adParameterResult or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperationResponse setAdParameterResult(GoogleAdsSearchads360V23ServicesMutateAdParameterResult adParameterResult) { + this.adParameterResult = adParameterResult; + return this; + } + + /** + * The result for the ad mutate. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAdResult getAdResult() { + return adResult; + } + + /** + * The result for the ad mutate. + * @param adResult adResult or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperationResponse setAdResult(GoogleAdsSearchads360V23ServicesMutateAdResult adResult) { + this.adResult = adResult; + return this; + } + + /** + * The result for the asset group asset mutate. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAssetGroupAssetResult getAssetGroupAssetResult() { + return assetGroupAssetResult; + } + + /** + * The result for the asset group asset mutate. + * @param assetGroupAssetResult assetGroupAssetResult or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperationResponse setAssetGroupAssetResult(GoogleAdsSearchads360V23ServicesMutateAssetGroupAssetResult assetGroupAssetResult) { + this.assetGroupAssetResult = assetGroupAssetResult; + return this; + } + + /** + * The result for the asset group listing group filter mutate. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAssetGroupListingGroupFilterResult getAssetGroupListingGroupFilterResult() { + return assetGroupListingGroupFilterResult; + } + + /** + * The result for the asset group listing group filter mutate. + * @param assetGroupListingGroupFilterResult assetGroupListingGroupFilterResult or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperationResponse setAssetGroupListingGroupFilterResult(GoogleAdsSearchads360V23ServicesMutateAssetGroupListingGroupFilterResult assetGroupListingGroupFilterResult) { + this.assetGroupListingGroupFilterResult = assetGroupListingGroupFilterResult; + return this; + } + + /** + * The result for the asset group mutate. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAssetGroupResult getAssetGroupResult() { + return assetGroupResult; + } + + /** + * The result for the asset group mutate. + * @param assetGroupResult assetGroupResult or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperationResponse setAssetGroupResult(GoogleAdsSearchads360V23ServicesMutateAssetGroupResult assetGroupResult) { + this.assetGroupResult = assetGroupResult; + return this; + } + + /** + * The result for the asset group signal mutate. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAssetGroupSignalResult getAssetGroupSignalResult() { + return assetGroupSignalResult; + } + + /** + * The result for the asset group signal mutate. + * @param assetGroupSignalResult assetGroupSignalResult or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperationResponse setAssetGroupSignalResult(GoogleAdsSearchads360V23ServicesMutateAssetGroupSignalResult assetGroupSignalResult) { + this.assetGroupSignalResult = assetGroupSignalResult; + return this; + } + + /** + * The result for the asset mutate. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAssetResult getAssetResult() { + return assetResult; + } + + /** + * The result for the asset mutate. + * @param assetResult assetResult or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperationResponse setAssetResult(GoogleAdsSearchads360V23ServicesMutateAssetResult assetResult) { + this.assetResult = assetResult; + return this; + } + + /** + * The result for the asset set asset mutate. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAssetSetAssetResult getAssetSetAssetResult() { + return assetSetAssetResult; + } + + /** + * The result for the asset set asset mutate. + * @param assetSetAssetResult assetSetAssetResult or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperationResponse setAssetSetAssetResult(GoogleAdsSearchads360V23ServicesMutateAssetSetAssetResult assetSetAssetResult) { + this.assetSetAssetResult = assetSetAssetResult; + return this; + } + + /** + * The result for the asset set mutate. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAssetSetResult getAssetSetResult() { + return assetSetResult; + } + + /** + * The result for the asset set mutate. + * @param assetSetResult assetSetResult or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperationResponse setAssetSetResult(GoogleAdsSearchads360V23ServicesMutateAssetSetResult assetSetResult) { + this.assetSetResult = assetSetResult; + return this; + } + + /** + * The result for the audience mutate. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateAudienceResult getAudienceResult() { + return audienceResult; + } + + /** + * The result for the audience mutate. + * @param audienceResult audienceResult or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperationResponse setAudienceResult(GoogleAdsSearchads360V23ServicesMutateAudienceResult audienceResult) { + this.audienceResult = audienceResult; + return this; + } + + /** + * The result for the bidding data exclusion mutate. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateBiddingDataExclusionsResult getBiddingDataExclusionResult() { + return biddingDataExclusionResult; + } + + /** + * The result for the bidding data exclusion mutate. + * @param biddingDataExclusionResult biddingDataExclusionResult or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperationResponse setBiddingDataExclusionResult(GoogleAdsSearchads360V23ServicesMutateBiddingDataExclusionsResult biddingDataExclusionResult) { + this.biddingDataExclusionResult = biddingDataExclusionResult; + return this; + } + + /** + * The result for the bidding seasonality adjustment mutate. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateBiddingSeasonalityAdjustmentsResult getBiddingSeasonalityAdjustmentResult() { + return biddingSeasonalityAdjustmentResult; + } + + /** + * The result for the bidding seasonality adjustment mutate. + * @param biddingSeasonalityAdjustmentResult biddingSeasonalityAdjustmentResult or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperationResponse setBiddingSeasonalityAdjustmentResult(GoogleAdsSearchads360V23ServicesMutateBiddingSeasonalityAdjustmentsResult biddingSeasonalityAdjustmentResult) { + this.biddingSeasonalityAdjustmentResult = biddingSeasonalityAdjustmentResult; + return this; + } + + /** + * The result for the bidding strategy mutate. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateBiddingStrategyResult getBiddingStrategyResult() { + return biddingStrategyResult; + } + + /** + * The result for the bidding strategy mutate. + * @param biddingStrategyResult biddingStrategyResult or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperationResponse setBiddingStrategyResult(GoogleAdsSearchads360V23ServicesMutateBiddingStrategyResult biddingStrategyResult) { + this.biddingStrategyResult = biddingStrategyResult; + return this; + } + + /** + * The result for the campaign asset mutate. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignAssetResult getCampaignAssetResult() { + return campaignAssetResult; + } + + /** + * The result for the campaign asset mutate. + * @param campaignAssetResult campaignAssetResult or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperationResponse setCampaignAssetResult(GoogleAdsSearchads360V23ServicesMutateCampaignAssetResult campaignAssetResult) { + this.campaignAssetResult = campaignAssetResult; + return this; + } + + /** + * The result for the campaign asset set mutate. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignAssetSetResult getCampaignAssetSetResult() { + return campaignAssetSetResult; + } + + /** + * The result for the campaign asset set mutate. + * @param campaignAssetSetResult campaignAssetSetResult or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperationResponse setCampaignAssetSetResult(GoogleAdsSearchads360V23ServicesMutateCampaignAssetSetResult campaignAssetSetResult) { + this.campaignAssetSetResult = campaignAssetSetResult; + return this; + } + + /** + * The result for the campaign bid modifier mutate. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignBidModifierResult getCampaignBidModifierResult() { + return campaignBidModifierResult; + } + + /** + * The result for the campaign bid modifier mutate. + * @param campaignBidModifierResult campaignBidModifierResult or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperationResponse setCampaignBidModifierResult(GoogleAdsSearchads360V23ServicesMutateCampaignBidModifierResult campaignBidModifierResult) { + this.campaignBidModifierResult = campaignBidModifierResult; + return this; + } + + /** + * The result for the campaign budget mutate. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignBudgetResult getCampaignBudgetResult() { + return campaignBudgetResult; + } + + /** + * The result for the campaign budget mutate. + * @param campaignBudgetResult campaignBudgetResult or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperationResponse setCampaignBudgetResult(GoogleAdsSearchads360V23ServicesMutateCampaignBudgetResult campaignBudgetResult) { + this.campaignBudgetResult = campaignBudgetResult; + return this; + } + + /** + * The result for the campaign conversion goal mutate. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignConversionGoalResult getCampaignConversionGoalResult() { + return campaignConversionGoalResult; + } + + /** + * The result for the campaign conversion goal mutate. + * @param campaignConversionGoalResult campaignConversionGoalResult or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperationResponse setCampaignConversionGoalResult(GoogleAdsSearchads360V23ServicesMutateCampaignConversionGoalResult campaignConversionGoalResult) { + this.campaignConversionGoalResult = campaignConversionGoalResult; + return this; + } + + /** + * The result for the campaign criterion mutate. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignCriterionResult getCampaignCriterionResult() { + return campaignCriterionResult; + } + + /** + * The result for the campaign criterion mutate. + * @param campaignCriterionResult campaignCriterionResult or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperationResponse setCampaignCriterionResult(GoogleAdsSearchads360V23ServicesMutateCampaignCriterionResult campaignCriterionResult) { + this.campaignCriterionResult = campaignCriterionResult; + return this; + } + + /** + * The result for the campaign customizer mutate. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignCustomizerResult getCampaignCustomizerResult() { + return campaignCustomizerResult; + } + + /** + * The result for the campaign customizer mutate. + * @param campaignCustomizerResult campaignCustomizerResult or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperationResponse setCampaignCustomizerResult(GoogleAdsSearchads360V23ServicesMutateCampaignCustomizerResult campaignCustomizerResult) { + this.campaignCustomizerResult = campaignCustomizerResult; + return this; + } + + /** + * The result for the campaign draft mutate. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignDraftResult getCampaignDraftResult() { + return campaignDraftResult; + } + + /** + * The result for the campaign draft mutate. + * @param campaignDraftResult campaignDraftResult or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperationResponse setCampaignDraftResult(GoogleAdsSearchads360V23ServicesMutateCampaignDraftResult campaignDraftResult) { + this.campaignDraftResult = campaignDraftResult; + return this; + } + + /** + * The result for the campaign group mutate. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignGroupResult getCampaignGroupResult() { + return campaignGroupResult; + } + + /** + * The result for the campaign group mutate. + * @param campaignGroupResult campaignGroupResult or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperationResponse setCampaignGroupResult(GoogleAdsSearchads360V23ServicesMutateCampaignGroupResult campaignGroupResult) { + this.campaignGroupResult = campaignGroupResult; + return this; + } + + /** + * The result for the campaign label mutate. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignLabelResult getCampaignLabelResult() { + return campaignLabelResult; + } + + /** + * The result for the campaign label mutate. + * @param campaignLabelResult campaignLabelResult or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperationResponse setCampaignLabelResult(GoogleAdsSearchads360V23ServicesMutateCampaignLabelResult campaignLabelResult) { + this.campaignLabelResult = campaignLabelResult; + return this; + } + + /** + * The result for the campaign mutate. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignResult getCampaignResult() { + return campaignResult; + } + + /** + * The result for the campaign mutate. + * @param campaignResult campaignResult or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperationResponse setCampaignResult(GoogleAdsSearchads360V23ServicesMutateCampaignResult campaignResult) { + this.campaignResult = campaignResult; + return this; + } + + /** + * The result for the campaign shared set mutate. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCampaignSharedSetResult getCampaignSharedSetResult() { + return campaignSharedSetResult; + } + + /** + * The result for the campaign shared set mutate. + * @param campaignSharedSetResult campaignSharedSetResult or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperationResponse setCampaignSharedSetResult(GoogleAdsSearchads360V23ServicesMutateCampaignSharedSetResult campaignSharedSetResult) { + this.campaignSharedSetResult = campaignSharedSetResult; + return this; + } + + /** + * The result for the conversion action mutate. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateConversionActionResult getConversionActionResult() { + return conversionActionResult; + } + + /** + * The result for the conversion action mutate. + * @param conversionActionResult conversionActionResult or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperationResponse setConversionActionResult(GoogleAdsSearchads360V23ServicesMutateConversionActionResult conversionActionResult) { + this.conversionActionResult = conversionActionResult; + return this; + } + + /** + * The result for the conversion custom variable mutate. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateConversionCustomVariableResult getConversionCustomVariableResult() { + return conversionCustomVariableResult; + } + + /** + * The result for the conversion custom variable mutate. + * @param conversionCustomVariableResult conversionCustomVariableResult or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperationResponse setConversionCustomVariableResult(GoogleAdsSearchads360V23ServicesMutateConversionCustomVariableResult conversionCustomVariableResult) { + this.conversionCustomVariableResult = conversionCustomVariableResult; + return this; + } + + /** + * The result for the conversion goal campaign config mutate. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateConversionGoalCampaignConfigResult getConversionGoalCampaignConfigResult() { + return conversionGoalCampaignConfigResult; + } + + /** + * The result for the conversion goal campaign config mutate. + * @param conversionGoalCampaignConfigResult conversionGoalCampaignConfigResult or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperationResponse setConversionGoalCampaignConfigResult(GoogleAdsSearchads360V23ServicesMutateConversionGoalCampaignConfigResult conversionGoalCampaignConfigResult) { + this.conversionGoalCampaignConfigResult = conversionGoalCampaignConfigResult; + return this; + } + + /** + * The result for the conversion value rule mutate. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateConversionValueRuleResult getConversionValueRuleResult() { + return conversionValueRuleResult; + } + + /** + * The result for the conversion value rule mutate. + * @param conversionValueRuleResult conversionValueRuleResult or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperationResponse setConversionValueRuleResult(GoogleAdsSearchads360V23ServicesMutateConversionValueRuleResult conversionValueRuleResult) { + this.conversionValueRuleResult = conversionValueRuleResult; + return this; + } + + /** + * The result for the conversion value rule set mutate. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateConversionValueRuleSetResult getConversionValueRuleSetResult() { + return conversionValueRuleSetResult; + } + + /** + * The result for the conversion value rule set mutate. + * @param conversionValueRuleSetResult conversionValueRuleSetResult or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperationResponse setConversionValueRuleSetResult(GoogleAdsSearchads360V23ServicesMutateConversionValueRuleSetResult conversionValueRuleSetResult) { + this.conversionValueRuleSetResult = conversionValueRuleSetResult; + return this; + } + + /** + * The result for the custom conversion goal mutate. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomConversionGoalResult getCustomConversionGoalResult() { + return customConversionGoalResult; + } + + /** + * The result for the custom conversion goal mutate. + * @param customConversionGoalResult customConversionGoalResult or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperationResponse setCustomConversionGoalResult(GoogleAdsSearchads360V23ServicesMutateCustomConversionGoalResult customConversionGoalResult) { + this.customConversionGoalResult = customConversionGoalResult; + return this; + } + + /** + * The result for the customer asset mutate. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomerAssetResult getCustomerAssetResult() { + return customerAssetResult; + } + + /** + * The result for the customer asset mutate. + * @param customerAssetResult customerAssetResult or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperationResponse setCustomerAssetResult(GoogleAdsSearchads360V23ServicesMutateCustomerAssetResult customerAssetResult) { + this.customerAssetResult = customerAssetResult; + return this; + } + + /** + * The result for the customer conversion goal mutate. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomerConversionGoalResult getCustomerConversionGoalResult() { + return customerConversionGoalResult; + } + + /** + * The result for the customer conversion goal mutate. + * @param customerConversionGoalResult customerConversionGoalResult or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperationResponse setCustomerConversionGoalResult(GoogleAdsSearchads360V23ServicesMutateCustomerConversionGoalResult customerConversionGoalResult) { + this.customerConversionGoalResult = customerConversionGoalResult; + return this; + } + + /** + * The result for the customer customizer mutate. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomerCustomizerResult getCustomerCustomizerResult() { + return customerCustomizerResult; + } + + /** + * The result for the customer customizer mutate. + * @param customerCustomizerResult customerCustomizerResult or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperationResponse setCustomerCustomizerResult(GoogleAdsSearchads360V23ServicesMutateCustomerCustomizerResult customerCustomizerResult) { + this.customerCustomizerResult = customerCustomizerResult; + return this; + } + + /** + * The result for the customer label mutate. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomerLabelResult getCustomerLabelResult() { + return customerLabelResult; + } + + /** + * The result for the customer label mutate. + * @param customerLabelResult customerLabelResult or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperationResponse setCustomerLabelResult(GoogleAdsSearchads360V23ServicesMutateCustomerLabelResult customerLabelResult) { + this.customerLabelResult = customerLabelResult; + return this; + } + + /** + * The result for the customer negative criterion mutate. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomerNegativeCriteriaResult getCustomerNegativeCriterionResult() { + return customerNegativeCriterionResult; + } + + /** + * The result for the customer negative criterion mutate. + * @param customerNegativeCriterionResult customerNegativeCriterionResult or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperationResponse setCustomerNegativeCriterionResult(GoogleAdsSearchads360V23ServicesMutateCustomerNegativeCriteriaResult customerNegativeCriterionResult) { + this.customerNegativeCriterionResult = customerNegativeCriterionResult; + return this; + } + + /** + * The result for the customer mutate. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomerResult getCustomerResult() { + return customerResult; + } + + /** + * The result for the customer mutate. + * @param customerResult customerResult or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperationResponse setCustomerResult(GoogleAdsSearchads360V23ServicesMutateCustomerResult customerResult) { + this.customerResult = customerResult; + return this; + } + + /** + * The result for the customizer attribute mutate. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateCustomizerAttributeResult getCustomizerAttributeResult() { + return customizerAttributeResult; + } + + /** + * The result for the customizer attribute mutate. + * @param customizerAttributeResult customizerAttributeResult or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperationResponse setCustomizerAttributeResult(GoogleAdsSearchads360V23ServicesMutateCustomizerAttributeResult customizerAttributeResult) { + this.customizerAttributeResult = customizerAttributeResult; + return this; + } + + /** + * The result for the experiment arm mutate. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateExperimentArmResult getExperimentArmResult() { + return experimentArmResult; + } + + /** + * The result for the experiment arm mutate. + * @param experimentArmResult experimentArmResult or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperationResponse setExperimentArmResult(GoogleAdsSearchads360V23ServicesMutateExperimentArmResult experimentArmResult) { + this.experimentArmResult = experimentArmResult; + return this; + } + + /** + * The result for the experiment mutate. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateExperimentResult getExperimentResult() { + return experimentResult; + } + + /** + * The result for the experiment mutate. + * @param experimentResult experimentResult or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperationResponse setExperimentResult(GoogleAdsSearchads360V23ServicesMutateExperimentResult experimentResult) { + this.experimentResult = experimentResult; + return this; + } + + /** + * The result for the keyword plan ad group keyword mutate. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateKeywordPlanAdGroupKeywordResult getKeywordPlanAdGroupKeywordResult() { + return keywordPlanAdGroupKeywordResult; + } + + /** + * The result for the keyword plan ad group keyword mutate. + * @param keywordPlanAdGroupKeywordResult keywordPlanAdGroupKeywordResult or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperationResponse setKeywordPlanAdGroupKeywordResult(GoogleAdsSearchads360V23ServicesMutateKeywordPlanAdGroupKeywordResult keywordPlanAdGroupKeywordResult) { + this.keywordPlanAdGroupKeywordResult = keywordPlanAdGroupKeywordResult; + return this; + } + + /** + * The result for the keyword plan ad group mutate. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateKeywordPlanAdGroupResult getKeywordPlanAdGroupResult() { + return keywordPlanAdGroupResult; + } + + /** + * The result for the keyword plan ad group mutate. + * @param keywordPlanAdGroupResult keywordPlanAdGroupResult or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperationResponse setKeywordPlanAdGroupResult(GoogleAdsSearchads360V23ServicesMutateKeywordPlanAdGroupResult keywordPlanAdGroupResult) { + this.keywordPlanAdGroupResult = keywordPlanAdGroupResult; + return this; + } + + /** + * The result for the keyword plan campaign keyword mutate. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateKeywordPlanCampaignKeywordResult getKeywordPlanCampaignKeywordResult() { + return keywordPlanCampaignKeywordResult; + } + + /** + * The result for the keyword plan campaign keyword mutate. + * @param keywordPlanCampaignKeywordResult keywordPlanCampaignKeywordResult or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperationResponse setKeywordPlanCampaignKeywordResult(GoogleAdsSearchads360V23ServicesMutateKeywordPlanCampaignKeywordResult keywordPlanCampaignKeywordResult) { + this.keywordPlanCampaignKeywordResult = keywordPlanCampaignKeywordResult; + return this; + } + + /** + * The result for the keyword plan campaign mutate. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateKeywordPlanCampaignResult getKeywordPlanCampaignResult() { + return keywordPlanCampaignResult; + } + + /** + * The result for the keyword plan campaign mutate. + * @param keywordPlanCampaignResult keywordPlanCampaignResult or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperationResponse setKeywordPlanCampaignResult(GoogleAdsSearchads360V23ServicesMutateKeywordPlanCampaignResult keywordPlanCampaignResult) { + this.keywordPlanCampaignResult = keywordPlanCampaignResult; + return this; + } + + /** + * The result for the keyword plan mutate. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateKeywordPlansResult getKeywordPlanResult() { + return keywordPlanResult; + } + + /** + * The result for the keyword plan mutate. + * @param keywordPlanResult keywordPlanResult or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperationResponse setKeywordPlanResult(GoogleAdsSearchads360V23ServicesMutateKeywordPlansResult keywordPlanResult) { + this.keywordPlanResult = keywordPlanResult; + return this; + } + + /** + * The result for the label mutate. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateLabelResult getLabelResult() { + return labelResult; + } + + /** + * The result for the label mutate. + * @param labelResult labelResult or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperationResponse setLabelResult(GoogleAdsSearchads360V23ServicesMutateLabelResult labelResult) { + this.labelResult = labelResult; + return this; + } + + /** + * The result for the recommendation subscription mutate. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateRecommendationSubscriptionResult getRecommendationSubscriptionResult() { + return recommendationSubscriptionResult; + } + + /** + * The result for the recommendation subscription mutate. + * @param recommendationSubscriptionResult recommendationSubscriptionResult or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperationResponse setRecommendationSubscriptionResult(GoogleAdsSearchads360V23ServicesMutateRecommendationSubscriptionResult recommendationSubscriptionResult) { + this.recommendationSubscriptionResult = recommendationSubscriptionResult; + return this; + } + + /** + * The result for the remarketing action mutate. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateRemarketingActionResult getRemarketingActionResult() { + return remarketingActionResult; + } + + /** + * The result for the remarketing action mutate. + * @param remarketingActionResult remarketingActionResult or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperationResponse setRemarketingActionResult(GoogleAdsSearchads360V23ServicesMutateRemarketingActionResult remarketingActionResult) { + this.remarketingActionResult = remarketingActionResult; + return this; + } + + /** + * The result for the Search Ads 360 campaign mutate. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateSearchAds360CampaignResult getSearchAds360CampaignResult() { + return searchAds360CampaignResult; + } + + /** + * The result for the Search Ads 360 campaign mutate. + * @param searchAds360CampaignResult searchAds360CampaignResult or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperationResponse setSearchAds360CampaignResult(GoogleAdsSearchads360V23ServicesMutateSearchAds360CampaignResult searchAds360CampaignResult) { + this.searchAds360CampaignResult = searchAds360CampaignResult; + return this; + } + + /** + * The result for the shared criterion mutate. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateSharedCriterionResult getSharedCriterionResult() { + return sharedCriterionResult; + } + + /** + * The result for the shared criterion mutate. + * @param sharedCriterionResult sharedCriterionResult or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperationResponse setSharedCriterionResult(GoogleAdsSearchads360V23ServicesMutateSharedCriterionResult sharedCriterionResult) { + this.sharedCriterionResult = sharedCriterionResult; + return this; + } + + /** + * The result for the shared set mutate. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateSharedSetResult getSharedSetResult() { + return sharedSetResult; + } + + /** + * The result for the shared set mutate. + * @param sharedSetResult sharedSetResult or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperationResponse setSharedSetResult(GoogleAdsSearchads360V23ServicesMutateSharedSetResult sharedSetResult) { + this.sharedSetResult = sharedSetResult; + return this; + } + + /** + * The result for the Smart campaign setting mutate. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateSmartCampaignSettingResult getSmartCampaignSettingResult() { + return smartCampaignSettingResult; + } + + /** + * The result for the Smart campaign setting mutate. + * @param smartCampaignSettingResult smartCampaignSettingResult or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperationResponse setSmartCampaignSettingResult(GoogleAdsSearchads360V23ServicesMutateSmartCampaignSettingResult smartCampaignSettingResult) { + this.smartCampaignSettingResult = smartCampaignSettingResult; + return this; + } + + /** + * The result for the user list mutate. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateUserListResult getUserListResult() { + return userListResult; + } + + /** + * The result for the user list mutate. + * @param userListResult userListResult or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateOperationResponse setUserListResult(GoogleAdsSearchads360V23ServicesMutateUserListResult userListResult) { + this.userListResult = userListResult; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateOperationResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateOperationResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateOperationResponse clone() { + return (GoogleAdsSearchads360V23ServicesMutateOperationResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateRecommendationSubscriptionRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateRecommendationSubscriptionRequest.java new file mode 100644 index 00000000000..3115bde4be2 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateRecommendationSubscriptionRequest.java @@ -0,0 +1,151 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for RecommendationSubscriptionService.MutateRecommendationSubscription + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateRecommendationSubscriptionRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The list of create or update operations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List operations; + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean partialFailure; + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. The mutable resource will only be returned if the + * resource has the appropriate response field. For example, MutateCampaignResult.campaign. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String responseContentType; + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean validateOnly; + + /** + * Required. The list of create or update operations. + * @return value or {@code null} for none + */ + public java.util.List getOperations() { + return operations; + } + + /** + * Required. The list of create or update operations. + * @param operations operations or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateRecommendationSubscriptionRequest setOperations(java.util.List operations) { + this.operations = operations; + return this; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @return value or {@code null} for none + */ + public java.lang.Boolean getPartialFailure() { + return partialFailure; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @param partialFailure partialFailure or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateRecommendationSubscriptionRequest setPartialFailure(java.lang.Boolean partialFailure) { + this.partialFailure = partialFailure; + return this; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. The mutable resource will only be returned if the + * resource has the appropriate response field. For example, MutateCampaignResult.campaign. + * @return value or {@code null} for none + */ + public java.lang.String getResponseContentType() { + return responseContentType; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. The mutable resource will only be returned if the + * resource has the appropriate response field. For example, MutateCampaignResult.campaign. + * @param responseContentType responseContentType or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateRecommendationSubscriptionRequest setResponseContentType(java.lang.String responseContentType) { + this.responseContentType = responseContentType; + return this; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @return value or {@code null} for none + */ + public java.lang.Boolean getValidateOnly() { + return validateOnly; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @param validateOnly validateOnly or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateRecommendationSubscriptionRequest setValidateOnly(java.lang.Boolean validateOnly) { + this.validateOnly = validateOnly; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateRecommendationSubscriptionRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateRecommendationSubscriptionRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateRecommendationSubscriptionRequest clone() { + return (GoogleAdsSearchads360V23ServicesMutateRecommendationSubscriptionRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateRecommendationSubscriptionResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateRecommendationSubscriptionResponse.java new file mode 100644 index 00000000000..1dad3914141 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateRecommendationSubscriptionResponse.java @@ -0,0 +1,97 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for RecommendationSubscriptionService.MutateRecommendationSubscription + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateRecommendationSubscriptionResponse extends com.google.api.client.json.GenericJson { + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors) we return the RPC level error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleRpcStatus partialFailureError; + + /** + * Results, one per operation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List results; + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors) we return the RPC level error. + * @return value or {@code null} for none + */ + public GoogleRpcStatus getPartialFailureError() { + return partialFailureError; + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors) we return the RPC level error. + * @param partialFailureError partialFailureError or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateRecommendationSubscriptionResponse setPartialFailureError(GoogleRpcStatus partialFailureError) { + this.partialFailureError = partialFailureError; + return this; + } + + /** + * Results, one per operation. + * @return value or {@code null} for none + */ + public java.util.List getResults() { + return results; + } + + /** + * Results, one per operation. + * @param results results or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateRecommendationSubscriptionResponse setResults(java.util.List results) { + this.results = results; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateRecommendationSubscriptionResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateRecommendationSubscriptionResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateRecommendationSubscriptionResponse clone() { + return (GoogleAdsSearchads360V23ServicesMutateRecommendationSubscriptionResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateRecommendationSubscriptionResult.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateRecommendationSubscriptionResult.java new file mode 100644 index 00000000000..324307f130f --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateRecommendationSubscriptionResult.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Result message for RecommendationSubscriptionService.MutateRecommendationSubscription + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateRecommendationSubscriptionResult extends com.google.api.client.json.GenericJson { + + /** + * The mutated recommendation subscription with only mutable fields after mutate. The field will + * only be returned when response_content_type is set to "MUTABLE_RESOURCE". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesRecommendationSubscription recommendationSubscription; + + /** + * Resource name of the subscription that was modified. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * The mutated recommendation subscription with only mutable fields after mutate. The field will + * only be returned when response_content_type is set to "MUTABLE_RESOURCE". + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationSubscription getRecommendationSubscription() { + return recommendationSubscription; + } + + /** + * The mutated recommendation subscription with only mutable fields after mutate. The field will + * only be returned when response_content_type is set to "MUTABLE_RESOURCE". + * @param recommendationSubscription recommendationSubscription or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateRecommendationSubscriptionResult setRecommendationSubscription(GoogleAdsSearchads360V23ResourcesRecommendationSubscription recommendationSubscription) { + this.recommendationSubscription = recommendationSubscription; + return this; + } + + /** + * Resource name of the subscription that was modified. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Resource name of the subscription that was modified. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateRecommendationSubscriptionResult setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateRecommendationSubscriptionResult set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateRecommendationSubscriptionResult) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateRecommendationSubscriptionResult clone() { + return (GoogleAdsSearchads360V23ServicesMutateRecommendationSubscriptionResult) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateRemarketingActionResult.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateRemarketingActionResult.java new file mode 100644 index 00000000000..99a5fe4e9ae --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateRemarketingActionResult.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The result for the remarketing action mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateRemarketingActionResult extends com.google.api.client.json.GenericJson { + + /** + * Returned for successful operations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Returned for successful operations. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Returned for successful operations. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateRemarketingActionResult setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateRemarketingActionResult set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateRemarketingActionResult) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateRemarketingActionResult clone() { + return (GoogleAdsSearchads360V23ServicesMutateRemarketingActionResult) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateRemarketingActionsRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateRemarketingActionsRequest.java new file mode 100644 index 00000000000..5f19220f151 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateRemarketingActionsRequest.java @@ -0,0 +1,121 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for RemarketingActionService.MutateRemarketingActions. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateRemarketingActionsRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The list of operations to perform on individual remarketing actions. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List operations; + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean partialFailure; + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean validateOnly; + + /** + * Required. The list of operations to perform on individual remarketing actions. + * @return value or {@code null} for none + */ + public java.util.List getOperations() { + return operations; + } + + /** + * Required. The list of operations to perform on individual remarketing actions. + * @param operations operations or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateRemarketingActionsRequest setOperations(java.util.List operations) { + this.operations = operations; + return this; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @return value or {@code null} for none + */ + public java.lang.Boolean getPartialFailure() { + return partialFailure; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @param partialFailure partialFailure or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateRemarketingActionsRequest setPartialFailure(java.lang.Boolean partialFailure) { + this.partialFailure = partialFailure; + return this; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @return value or {@code null} for none + */ + public java.lang.Boolean getValidateOnly() { + return validateOnly; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @param validateOnly validateOnly or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateRemarketingActionsRequest setValidateOnly(java.lang.Boolean validateOnly) { + this.validateOnly = validateOnly; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateRemarketingActionsRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateRemarketingActionsRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateRemarketingActionsRequest clone() { + return (GoogleAdsSearchads360V23ServicesMutateRemarketingActionsRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateRemarketingActionsResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateRemarketingActionsResponse.java new file mode 100644 index 00000000000..f9decc40036 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateRemarketingActionsResponse.java @@ -0,0 +1,103 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for remarketing action mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateRemarketingActionsResponse extends com.google.api.client.json.GenericJson { + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleRpcStatus partialFailureError; + + /** + * All results for the mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List results; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesMutateRemarketingActionResult used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesMutateRemarketingActionResult.class); + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @return value or {@code null} for none + */ + public GoogleRpcStatus getPartialFailureError() { + return partialFailureError; + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @param partialFailureError partialFailureError or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateRemarketingActionsResponse setPartialFailureError(GoogleRpcStatus partialFailureError) { + this.partialFailureError = partialFailureError; + return this; + } + + /** + * All results for the mutate. + * @return value or {@code null} for none + */ + public java.util.List getResults() { + return results; + } + + /** + * All results for the mutate. + * @param results results or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateRemarketingActionsResponse setResults(java.util.List results) { + this.results = results; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateRemarketingActionsResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateRemarketingActionsResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateRemarketingActionsResponse clone() { + return (GoogleAdsSearchads360V23ServicesMutateRemarketingActionsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateSearchAds360CampaignResult.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateSearchAds360CampaignResult.java new file mode 100644 index 00000000000..e8b9bb9fc34 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateSearchAds360CampaignResult.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The result for the Search Ads 360 campaign mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateSearchAds360CampaignResult extends com.google.api.client.json.GenericJson { + + /** + * Returned for successful operations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * The mutated Search Ads 360 campaign with only mutable fields after mutate. The field will only + * be returned when response_content_type is set to "MUTABLE_RESOURCE". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesSearchAds360Campaign searchAds360Campaign; + + /** + * Returned for successful operations. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Returned for successful operations. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateSearchAds360CampaignResult setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * The mutated Search Ads 360 campaign with only mutable fields after mutate. The field will only + * be returned when response_content_type is set to "MUTABLE_RESOURCE". + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesSearchAds360Campaign getSearchAds360Campaign() { + return searchAds360Campaign; + } + + /** + * The mutated Search Ads 360 campaign with only mutable fields after mutate. The field will only + * be returned when response_content_type is set to "MUTABLE_RESOURCE". + * @param searchAds360Campaign searchAds360Campaign or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateSearchAds360CampaignResult setSearchAds360Campaign(GoogleAdsSearchads360V23ResourcesSearchAds360Campaign searchAds360Campaign) { + this.searchAds360Campaign = searchAds360Campaign; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateSearchAds360CampaignResult set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateSearchAds360CampaignResult) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateSearchAds360CampaignResult clone() { + return (GoogleAdsSearchads360V23ServicesMutateSearchAds360CampaignResult) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateSearchAds360Request.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateSearchAds360Request.java new file mode 100644 index 00000000000..c8f75eba023 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateSearchAds360Request.java @@ -0,0 +1,154 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for Service.Mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateSearchAds360Request extends com.google.api.client.json.GenericJson { + + /** + * Required. The list of operations to perform on individual resources. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List mutateOperations; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesMutateOperation used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesMutateOperation.class); + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean partialFailure; + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. The mutable resource will only be returned if the + * resource has the appropriate response field. For example, . + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String responseContentType; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean validateOnly; + + /** + * Required. The list of operations to perform on individual resources. + * @return value or {@code null} for none + */ + public java.util.List getMutateOperations() { + return mutateOperations; + } + + /** + * Required. The list of operations to perform on individual resources. + * @param mutateOperations mutateOperations or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateSearchAds360Request setMutateOperations(java.util.List mutateOperations) { + this.mutateOperations = mutateOperations; + return this; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @return value or {@code null} for none + */ + public java.lang.Boolean getPartialFailure() { + return partialFailure; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @param partialFailure partialFailure or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateSearchAds360Request setPartialFailure(java.lang.Boolean partialFailure) { + this.partialFailure = partialFailure; + return this; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. The mutable resource will only be returned if the + * resource has the appropriate response field. For example, . + * @return value or {@code null} for none + */ + public java.lang.String getResponseContentType() { + return responseContentType; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. The mutable resource will only be returned if the + * resource has the appropriate response field. For example, . + * @param responseContentType responseContentType or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateSearchAds360Request setResponseContentType(java.lang.String responseContentType) { + this.responseContentType = responseContentType; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.Boolean getValidateOnly() { + return validateOnly; + } + + /** + * @param validateOnly validateOnly or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateSearchAds360Request setValidateOnly(java.lang.Boolean validateOnly) { + this.validateOnly = validateOnly; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateSearchAds360Request set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateSearchAds360Request) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateSearchAds360Request clone() { + return (GoogleAdsSearchads360V23ServicesMutateSearchAds360Request) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateSearchAds360Response.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateSearchAds360Response.java new file mode 100644 index 00000000000..27940646a3e --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateSearchAds360Response.java @@ -0,0 +1,103 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for Service.Mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateSearchAds360Response extends com.google.api.client.json.GenericJson { + + /** + * All responses for the mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List mutateOperationResponses; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesMutateOperationResponse used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesMutateOperationResponse.class); + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleRpcStatus partialFailureError; + + /** + * All responses for the mutate. + * @return value or {@code null} for none + */ + public java.util.List getMutateOperationResponses() { + return mutateOperationResponses; + } + + /** + * All responses for the mutate. + * @param mutateOperationResponses mutateOperationResponses or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateSearchAds360Response setMutateOperationResponses(java.util.List mutateOperationResponses) { + this.mutateOperationResponses = mutateOperationResponses; + return this; + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @return value or {@code null} for none + */ + public GoogleRpcStatus getPartialFailureError() { + return partialFailureError; + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @param partialFailureError partialFailureError or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateSearchAds360Response setPartialFailureError(GoogleRpcStatus partialFailureError) { + this.partialFailureError = partialFailureError; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateSearchAds360Response set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateSearchAds360Response) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateSearchAds360Response clone() { + return (GoogleAdsSearchads360V23ServicesMutateSearchAds360Response) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateSharedCriteriaRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateSharedCriteriaRequest.java new file mode 100644 index 00000000000..d99f885fa2b --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateSharedCriteriaRequest.java @@ -0,0 +1,148 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for SharedCriterionService.MutateSharedCriteria. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateSharedCriteriaRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The list of operations to perform on individual shared criteria. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List operations; + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean partialFailure; + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String responseContentType; + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean validateOnly; + + /** + * Required. The list of operations to perform on individual shared criteria. + * @return value or {@code null} for none + */ + public java.util.List getOperations() { + return operations; + } + + /** + * Required. The list of operations to perform on individual shared criteria. + * @param operations operations or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateSharedCriteriaRequest setOperations(java.util.List operations) { + this.operations = operations; + return this; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @return value or {@code null} for none + */ + public java.lang.Boolean getPartialFailure() { + return partialFailure; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @param partialFailure partialFailure or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateSharedCriteriaRequest setPartialFailure(java.lang.Boolean partialFailure) { + this.partialFailure = partialFailure; + return this; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * @return value or {@code null} for none + */ + public java.lang.String getResponseContentType() { + return responseContentType; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * @param responseContentType responseContentType or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateSharedCriteriaRequest setResponseContentType(java.lang.String responseContentType) { + this.responseContentType = responseContentType; + return this; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @return value or {@code null} for none + */ + public java.lang.Boolean getValidateOnly() { + return validateOnly; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @param validateOnly validateOnly or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateSharedCriteriaRequest setValidateOnly(java.lang.Boolean validateOnly) { + this.validateOnly = validateOnly; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateSharedCriteriaRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateSharedCriteriaRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateSharedCriteriaRequest clone() { + return (GoogleAdsSearchads360V23ServicesMutateSharedCriteriaRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateSharedCriteriaResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateSharedCriteriaResponse.java new file mode 100644 index 00000000000..02405ffe6fc --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateSharedCriteriaResponse.java @@ -0,0 +1,97 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for a shared criterion mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateSharedCriteriaResponse extends com.google.api.client.json.GenericJson { + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleRpcStatus partialFailureError; + + /** + * All results for the mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List results; + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @return value or {@code null} for none + */ + public GoogleRpcStatus getPartialFailureError() { + return partialFailureError; + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @param partialFailureError partialFailureError or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateSharedCriteriaResponse setPartialFailureError(GoogleRpcStatus partialFailureError) { + this.partialFailureError = partialFailureError; + return this; + } + + /** + * All results for the mutate. + * @return value or {@code null} for none + */ + public java.util.List getResults() { + return results; + } + + /** + * All results for the mutate. + * @param results results or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateSharedCriteriaResponse setResults(java.util.List results) { + this.results = results; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateSharedCriteriaResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateSharedCriteriaResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateSharedCriteriaResponse clone() { + return (GoogleAdsSearchads360V23ServicesMutateSharedCriteriaResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateSharedCriterionResult.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateSharedCriterionResult.java new file mode 100644 index 00000000000..f747d3511f3 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateSharedCriterionResult.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The result for the shared criterion mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateSharedCriterionResult extends com.google.api.client.json.GenericJson { + + /** + * Returned for successful operations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * The mutated shared criterion with only mutable fields after mutate. The field will only be + * returned when response_content_type is set to "MUTABLE_RESOURCE". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesSharedCriterion sharedCriterion; + + /** + * Returned for successful operations. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Returned for successful operations. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateSharedCriterionResult setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * The mutated shared criterion with only mutable fields after mutate. The field will only be + * returned when response_content_type is set to "MUTABLE_RESOURCE". + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesSharedCriterion getSharedCriterion() { + return sharedCriterion; + } + + /** + * The mutated shared criterion with only mutable fields after mutate. The field will only be + * returned when response_content_type is set to "MUTABLE_RESOURCE". + * @param sharedCriterion sharedCriterion or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateSharedCriterionResult setSharedCriterion(GoogleAdsSearchads360V23ResourcesSharedCriterion sharedCriterion) { + this.sharedCriterion = sharedCriterion; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateSharedCriterionResult set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateSharedCriterionResult) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateSharedCriterionResult clone() { + return (GoogleAdsSearchads360V23ServicesMutateSharedCriterionResult) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateSharedSetResult.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateSharedSetResult.java new file mode 100644 index 00000000000..9266ea7491b --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateSharedSetResult.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The result for the shared set mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateSharedSetResult extends com.google.api.client.json.GenericJson { + + /** + * Returned for successful operations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * The mutated shared set with only mutable fields after mutate. The field will only be returned + * when response_content_type is set to "MUTABLE_RESOURCE". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesSharedSet sharedSet; + + /** + * Returned for successful operations. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Returned for successful operations. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateSharedSetResult setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * The mutated shared set with only mutable fields after mutate. The field will only be returned + * when response_content_type is set to "MUTABLE_RESOURCE". + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesSharedSet getSharedSet() { + return sharedSet; + } + + /** + * The mutated shared set with only mutable fields after mutate. The field will only be returned + * when response_content_type is set to "MUTABLE_RESOURCE". + * @param sharedSet sharedSet or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateSharedSetResult setSharedSet(GoogleAdsSearchads360V23ResourcesSharedSet sharedSet) { + this.sharedSet = sharedSet; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateSharedSetResult set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateSharedSetResult) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateSharedSetResult clone() { + return (GoogleAdsSearchads360V23ServicesMutateSharedSetResult) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateSharedSetsRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateSharedSetsRequest.java new file mode 100644 index 00000000000..faa294a61cd --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateSharedSetsRequest.java @@ -0,0 +1,148 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for SharedSetService.MutateSharedSets. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateSharedSetsRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The list of operations to perform on individual shared sets. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List operations; + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean partialFailure; + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String responseContentType; + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean validateOnly; + + /** + * Required. The list of operations to perform on individual shared sets. + * @return value or {@code null} for none + */ + public java.util.List getOperations() { + return operations; + } + + /** + * Required. The list of operations to perform on individual shared sets. + * @param operations operations or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateSharedSetsRequest setOperations(java.util.List operations) { + this.operations = operations; + return this; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @return value or {@code null} for none + */ + public java.lang.Boolean getPartialFailure() { + return partialFailure; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @param partialFailure partialFailure or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateSharedSetsRequest setPartialFailure(java.lang.Boolean partialFailure) { + this.partialFailure = partialFailure; + return this; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * @return value or {@code null} for none + */ + public java.lang.String getResponseContentType() { + return responseContentType; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * @param responseContentType responseContentType or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateSharedSetsRequest setResponseContentType(java.lang.String responseContentType) { + this.responseContentType = responseContentType; + return this; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @return value or {@code null} for none + */ + public java.lang.Boolean getValidateOnly() { + return validateOnly; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @param validateOnly validateOnly or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateSharedSetsRequest setValidateOnly(java.lang.Boolean validateOnly) { + this.validateOnly = validateOnly; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateSharedSetsRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateSharedSetsRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateSharedSetsRequest clone() { + return (GoogleAdsSearchads360V23ServicesMutateSharedSetsRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateSharedSetsResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateSharedSetsResponse.java new file mode 100644 index 00000000000..6780e9c51ff --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateSharedSetsResponse.java @@ -0,0 +1,103 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for a shared set mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateSharedSetsResponse extends com.google.api.client.json.GenericJson { + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleRpcStatus partialFailureError; + + /** + * All results for the mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List results; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesMutateSharedSetResult used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesMutateSharedSetResult.class); + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @return value or {@code null} for none + */ + public GoogleRpcStatus getPartialFailureError() { + return partialFailureError; + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @param partialFailureError partialFailureError or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateSharedSetsResponse setPartialFailureError(GoogleRpcStatus partialFailureError) { + this.partialFailureError = partialFailureError; + return this; + } + + /** + * All results for the mutate. + * @return value or {@code null} for none + */ + public java.util.List getResults() { + return results; + } + + /** + * All results for the mutate. + * @param results results or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateSharedSetsResponse setResults(java.util.List results) { + this.results = results; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateSharedSetsResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateSharedSetsResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateSharedSetsResponse clone() { + return (GoogleAdsSearchads360V23ServicesMutateSharedSetsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateSmartCampaignSettingResult.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateSmartCampaignSettingResult.java new file mode 100644 index 00000000000..dbb72bc56ad --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateSmartCampaignSettingResult.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The result for the Smart campaign setting mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateSmartCampaignSettingResult extends com.google.api.client.json.GenericJson { + + /** + * Returned for successful operations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * The mutated Smart campaign setting with only mutable fields after mutate. The field will only + * be returned when response_content_type is set to "MUTABLE_RESOURCE". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesSmartCampaignSetting smartCampaignSetting; + + /** + * Returned for successful operations. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Returned for successful operations. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateSmartCampaignSettingResult setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * The mutated Smart campaign setting with only mutable fields after mutate. The field will only + * be returned when response_content_type is set to "MUTABLE_RESOURCE". + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesSmartCampaignSetting getSmartCampaignSetting() { + return smartCampaignSetting; + } + + /** + * The mutated Smart campaign setting with only mutable fields after mutate. The field will only + * be returned when response_content_type is set to "MUTABLE_RESOURCE". + * @param smartCampaignSetting smartCampaignSetting or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateSmartCampaignSettingResult setSmartCampaignSetting(GoogleAdsSearchads360V23ResourcesSmartCampaignSetting smartCampaignSetting) { + this.smartCampaignSetting = smartCampaignSetting; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateSmartCampaignSettingResult set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateSmartCampaignSettingResult) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateSmartCampaignSettingResult clone() { + return (GoogleAdsSearchads360V23ServicesMutateSmartCampaignSettingResult) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateSmartCampaignSettingsRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateSmartCampaignSettingsRequest.java new file mode 100644 index 00000000000..bf3e05a7222 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateSmartCampaignSettingsRequest.java @@ -0,0 +1,148 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for SmartCampaignSettingService.MutateSmartCampaignSettings. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateSmartCampaignSettingsRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The list of operations to perform on individual Smart campaign settings. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List operations; + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean partialFailure; + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String responseContentType; + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean validateOnly; + + /** + * Required. The list of operations to perform on individual Smart campaign settings. + * @return value or {@code null} for none + */ + public java.util.List getOperations() { + return operations; + } + + /** + * Required. The list of operations to perform on individual Smart campaign settings. + * @param operations operations or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateSmartCampaignSettingsRequest setOperations(java.util.List operations) { + this.operations = operations; + return this; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @return value or {@code null} for none + */ + public java.lang.Boolean getPartialFailure() { + return partialFailure; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @param partialFailure partialFailure or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateSmartCampaignSettingsRequest setPartialFailure(java.lang.Boolean partialFailure) { + this.partialFailure = partialFailure; + return this; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * @return value or {@code null} for none + */ + public java.lang.String getResponseContentType() { + return responseContentType; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * @param responseContentType responseContentType or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateSmartCampaignSettingsRequest setResponseContentType(java.lang.String responseContentType) { + this.responseContentType = responseContentType; + return this; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @return value or {@code null} for none + */ + public java.lang.Boolean getValidateOnly() { + return validateOnly; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @param validateOnly validateOnly or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateSmartCampaignSettingsRequest setValidateOnly(java.lang.Boolean validateOnly) { + this.validateOnly = validateOnly; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateSmartCampaignSettingsRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateSmartCampaignSettingsRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateSmartCampaignSettingsRequest clone() { + return (GoogleAdsSearchads360V23ServicesMutateSmartCampaignSettingsRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateSmartCampaignSettingsResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateSmartCampaignSettingsResponse.java new file mode 100644 index 00000000000..ad72ceeed03 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateSmartCampaignSettingsResponse.java @@ -0,0 +1,103 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for campaign mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateSmartCampaignSettingsResponse extends com.google.api.client.json.GenericJson { + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleRpcStatus partialFailureError; + + /** + * All results for the mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List results; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesMutateSmartCampaignSettingResult used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesMutateSmartCampaignSettingResult.class); + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @return value or {@code null} for none + */ + public GoogleRpcStatus getPartialFailureError() { + return partialFailureError; + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @param partialFailureError partialFailureError or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateSmartCampaignSettingsResponse setPartialFailureError(GoogleRpcStatus partialFailureError) { + this.partialFailureError = partialFailureError; + return this; + } + + /** + * All results for the mutate. + * @return value or {@code null} for none + */ + public java.util.List getResults() { + return results; + } + + /** + * All results for the mutate. + * @param results results or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateSmartCampaignSettingsResponse setResults(java.util.List results) { + this.results = results; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateSmartCampaignSettingsResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateSmartCampaignSettingsResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateSmartCampaignSettingsResponse clone() { + return (GoogleAdsSearchads360V23ServicesMutateSmartCampaignSettingsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateUserListCustomerTypeResult.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateUserListCustomerTypeResult.java new file mode 100644 index 00000000000..ee4ea84d6ca --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateUserListCustomerTypeResult.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The result for the user list customer type mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateUserListCustomerTypeResult extends com.google.api.client.json.GenericJson { + + /** + * Returned for successful operations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Returned for successful operations. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Returned for successful operations. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateUserListCustomerTypeResult setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateUserListCustomerTypeResult set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateUserListCustomerTypeResult) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateUserListCustomerTypeResult clone() { + return (GoogleAdsSearchads360V23ServicesMutateUserListCustomerTypeResult) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateUserListCustomerTypesRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateUserListCustomerTypesRequest.java new file mode 100644 index 00000000000..32dcaaf47ca --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateUserListCustomerTypesRequest.java @@ -0,0 +1,124 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for UserListCustomerTypeService.MutateUserListCustomerTypes. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateUserListCustomerTypesRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The list of operations to perform on the user list customer types. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List operations; + + /** + * Optional. If true, successful operations will be carried out and invalid operations will return + * errors. If false, all operations will be carried out in one transaction if and only if they are + * all valid. Default is false. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean partialFailure; + + /** + * Optional. If true, the request is validated but not executed. Only errors are returned, not + * results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean validateOnly; + + /** + * Required. The list of operations to perform on the user list customer types. + * @return value or {@code null} for none + */ + public java.util.List getOperations() { + return operations; + } + + /** + * Required. The list of operations to perform on the user list customer types. + * @param operations operations or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateUserListCustomerTypesRequest setOperations(java.util.List operations) { + this.operations = operations; + return this; + } + + /** + * Optional. If true, successful operations will be carried out and invalid operations will return + * errors. If false, all operations will be carried out in one transaction if and only if they are + * all valid. Default is false. + * @return value or {@code null} for none + */ + public java.lang.Boolean getPartialFailure() { + return partialFailure; + } + + /** + * Optional. If true, successful operations will be carried out and invalid operations will return + * errors. If false, all operations will be carried out in one transaction if and only if they are + * all valid. Default is false. + * @param partialFailure partialFailure or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateUserListCustomerTypesRequest setPartialFailure(java.lang.Boolean partialFailure) { + this.partialFailure = partialFailure; + return this; + } + + /** + * Optional. If true, the request is validated but not executed. Only errors are returned, not + * results. + * @return value or {@code null} for none + */ + public java.lang.Boolean getValidateOnly() { + return validateOnly; + } + + /** + * Optional. If true, the request is validated but not executed. Only errors are returned, not + * results. + * @param validateOnly validateOnly or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateUserListCustomerTypesRequest setValidateOnly(java.lang.Boolean validateOnly) { + this.validateOnly = validateOnly; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateUserListCustomerTypesRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateUserListCustomerTypesRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateUserListCustomerTypesRequest clone() { + return (GoogleAdsSearchads360V23ServicesMutateUserListCustomerTypesRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateUserListCustomerTypesResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateUserListCustomerTypesResponse.java new file mode 100644 index 00000000000..4929baf9411 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateUserListCustomerTypesResponse.java @@ -0,0 +1,103 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for a user list customer type mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateUserListCustomerTypesResponse extends com.google.api.client.json.GenericJson { + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleRpcStatus partialFailureError; + + /** + * All results for the mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List results; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesMutateUserListCustomerTypeResult used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesMutateUserListCustomerTypeResult.class); + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @return value or {@code null} for none + */ + public GoogleRpcStatus getPartialFailureError() { + return partialFailureError; + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @param partialFailureError partialFailureError or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateUserListCustomerTypesResponse setPartialFailureError(GoogleRpcStatus partialFailureError) { + this.partialFailureError = partialFailureError; + return this; + } + + /** + * All results for the mutate. + * @return value or {@code null} for none + */ + public java.util.List getResults() { + return results; + } + + /** + * All results for the mutate. + * @param results results or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateUserListCustomerTypesResponse setResults(java.util.List results) { + this.results = results; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateUserListCustomerTypesResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateUserListCustomerTypesResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateUserListCustomerTypesResponse clone() { + return (GoogleAdsSearchads360V23ServicesMutateUserListCustomerTypesResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateUserListResult.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateUserListResult.java new file mode 100644 index 00000000000..cab49d5ec4a --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateUserListResult.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The result for the user list mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateUserListResult extends com.google.api.client.json.GenericJson { + + /** + * Returned for successful operations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Returned for successful operations. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Returned for successful operations. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateUserListResult setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateUserListResult set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateUserListResult) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateUserListResult clone() { + return (GoogleAdsSearchads360V23ServicesMutateUserListResult) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateUserListsRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateUserListsRequest.java new file mode 100644 index 00000000000..62c1c1f1205 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateUserListsRequest.java @@ -0,0 +1,121 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for UserListService.MutateUserLists. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateUserListsRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The list of operations to perform on individual user lists. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List operations; + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean partialFailure; + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean validateOnly; + + /** + * Required. The list of operations to perform on individual user lists. + * @return value or {@code null} for none + */ + public java.util.List getOperations() { + return operations; + } + + /** + * Required. The list of operations to perform on individual user lists. + * @param operations operations or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateUserListsRequest setOperations(java.util.List operations) { + this.operations = operations; + return this; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @return value or {@code null} for none + */ + public java.lang.Boolean getPartialFailure() { + return partialFailure; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @param partialFailure partialFailure or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateUserListsRequest setPartialFailure(java.lang.Boolean partialFailure) { + this.partialFailure = partialFailure; + return this; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @return value or {@code null} for none + */ + public java.lang.Boolean getValidateOnly() { + return validateOnly; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @param validateOnly validateOnly or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateUserListsRequest setValidateOnly(java.lang.Boolean validateOnly) { + this.validateOnly = validateOnly; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateUserListsRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateUserListsRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateUserListsRequest clone() { + return (GoogleAdsSearchads360V23ServicesMutateUserListsRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateUserListsResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateUserListsResponse.java new file mode 100644 index 00000000000..98a9202f2fa --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateUserListsResponse.java @@ -0,0 +1,103 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for user list mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateUserListsResponse extends com.google.api.client.json.GenericJson { + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleRpcStatus partialFailureError; + + /** + * All results for the mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List results; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesMutateUserListResult used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesMutateUserListResult.class); + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @return value or {@code null} for none + */ + public GoogleRpcStatus getPartialFailureError() { + return partialFailureError; + } + + /** + * Errors that pertain to operation failures in the partial failure mode. Returned only when + * partial_failure = true and all errors occur inside the operations. If any errors occur outside + * the operations (for example, auth errors), we return an RPC level error. + * @param partialFailureError partialFailureError or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateUserListsResponse setPartialFailureError(GoogleRpcStatus partialFailureError) { + this.partialFailureError = partialFailureError; + return this; + } + + /** + * All results for the mutate. + * @return value or {@code null} for none + */ + public java.util.List getResults() { + return results; + } + + /** + * All results for the mutate. + * @param results results or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateUserListsResponse setResults(java.util.List results) { + this.results = results; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateUserListsResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateUserListsResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateUserListsResponse clone() { + return (GoogleAdsSearchads360V23ServicesMutateUserListsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesOfflineUserDataJobOperation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesOfflineUserDataJobOperation.java new file mode 100644 index 00000000000..c371c449d5a --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesOfflineUserDataJobOperation.java @@ -0,0 +1,115 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Operation to be made for the AddOfflineUserDataJobOperationsRequest. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesOfflineUserDataJobOperation extends com.google.api.client.json.GenericJson { + + /** + * Add the provided data to the transaction. Data cannot be retrieved after being uploaded. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonUserData create; + + /** + * Remove the provided data from the transaction. Data cannot be retrieved after being uploaded. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonUserData remove; + + /** + * Remove all previously provided data. This is only supported for Customer Match. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean removeAll; + + /** + * Add the provided data to the transaction. Data cannot be retrieved after being uploaded. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUserData getCreate() { + return create; + } + + /** + * Add the provided data to the transaction. Data cannot be retrieved after being uploaded. + * @param create create or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesOfflineUserDataJobOperation setCreate(GoogleAdsSearchads360V23CommonUserData create) { + this.create = create; + return this; + } + + /** + * Remove the provided data from the transaction. Data cannot be retrieved after being uploaded. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUserData getRemove() { + return remove; + } + + /** + * Remove the provided data from the transaction. Data cannot be retrieved after being uploaded. + * @param remove remove or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesOfflineUserDataJobOperation setRemove(GoogleAdsSearchads360V23CommonUserData remove) { + this.remove = remove; + return this; + } + + /** + * Remove all previously provided data. This is only supported for Customer Match. + * @return value or {@code null} for none + */ + public java.lang.Boolean getRemoveAll() { + return removeAll; + } + + /** + * Remove all previously provided data. This is only supported for Customer Match. + * @param removeAll removeAll or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesOfflineUserDataJobOperation setRemoveAll(java.lang.Boolean removeAll) { + this.removeAll = removeAll; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesOfflineUserDataJobOperation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesOfflineUserDataJobOperation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesOfflineUserDataJobOperation clone() { + return (GoogleAdsSearchads360V23ServicesOfflineUserDataJobOperation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesOnTargetAudienceMetrics.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesOnTargetAudienceMetrics.java new file mode 100644 index 00000000000..b323378d829 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesOnTargetAudienceMetrics.java @@ -0,0 +1,93 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Audience metrics for the planned products. These metrics consider the following targeting + * dimensions: - Location - PlannableAgeRange - Gender - AudienceTargeting (only for + * youtube_audience_size) + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesOnTargetAudienceMetrics extends com.google.api.client.json.GenericJson { + + /** + * Reference audience size matching the considered targeting for Census. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long censusAudienceSize; + + /** + * Reference audience size matching the considered targeting for YouTube. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long youtubeAudienceSize; + + /** + * Reference audience size matching the considered targeting for Census. + * @return value or {@code null} for none + */ + public java.lang.Long getCensusAudienceSize() { + return censusAudienceSize; + } + + /** + * Reference audience size matching the considered targeting for Census. + * @param censusAudienceSize censusAudienceSize or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesOnTargetAudienceMetrics setCensusAudienceSize(java.lang.Long censusAudienceSize) { + this.censusAudienceSize = censusAudienceSize; + return this; + } + + /** + * Reference audience size matching the considered targeting for YouTube. + * @return value or {@code null} for none + */ + public java.lang.Long getYoutubeAudienceSize() { + return youtubeAudienceSize; + } + + /** + * Reference audience size matching the considered targeting for YouTube. + * @param youtubeAudienceSize youtubeAudienceSize or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesOnTargetAudienceMetrics setYoutubeAudienceSize(java.lang.Long youtubeAudienceSize) { + this.youtubeAudienceSize = youtubeAudienceSize; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesOnTargetAudienceMetrics set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesOnTargetAudienceMetrics) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesOnTargetAudienceMetrics clone() { + return (GoogleAdsSearchads360V23ServicesOnTargetAudienceMetrics) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesPlannableLocation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesPlannableLocation.java new file mode 100644 index 00000000000..0ad73ac857e --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesPlannableLocation.java @@ -0,0 +1,169 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A plannable location: country, metro region, province, etc. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesPlannableLocation extends com.google.api.client.json.GenericJson { + + /** + * The ISO-3166-1 alpha-2 country code that is associated with the location. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String countryCode; + + /** + * The location identifier. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String id; + + /** + * The location's type. Location types correspond to target_type returned by . + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String locationType; + + /** + * The unique location name in English. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * The parent country (not present if location is a country). If present, will always be a + * GeoTargetConstant ID. Additional information such as country name is provided by + * ReachPlanService.ListPlannableLocations or + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long parentCountryId; + + /** + * The ISO-3166-1 alpha-2 country code that is associated with the location. + * @return value or {@code null} for none + */ + public java.lang.String getCountryCode() { + return countryCode; + } + + /** + * The ISO-3166-1 alpha-2 country code that is associated with the location. + * @param countryCode countryCode or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesPlannableLocation setCountryCode(java.lang.String countryCode) { + this.countryCode = countryCode; + return this; + } + + /** + * The location identifier. + * @return value or {@code null} for none + */ + public java.lang.String getId() { + return id; + } + + /** + * The location identifier. + * @param id id or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesPlannableLocation setId(java.lang.String id) { + this.id = id; + return this; + } + + /** + * The location's type. Location types correspond to target_type returned by . + * @return value or {@code null} for none + */ + public java.lang.String getLocationType() { + return locationType; + } + + /** + * The location's type. Location types correspond to target_type returned by . + * @param locationType locationType or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesPlannableLocation setLocationType(java.lang.String locationType) { + this.locationType = locationType; + return this; + } + + /** + * The unique location name in English. + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * The unique location name in English. + * @param name name or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesPlannableLocation setName(java.lang.String name) { + this.name = name; + return this; + } + + /** + * The parent country (not present if location is a country). If present, will always be a + * GeoTargetConstant ID. Additional information such as country name is provided by + * ReachPlanService.ListPlannableLocations or + * @return value or {@code null} for none + */ + public java.lang.Long getParentCountryId() { + return parentCountryId; + } + + /** + * The parent country (not present if location is a country). If present, will always be a + * GeoTargetConstant ID. Additional information such as country name is provided by + * ReachPlanService.ListPlannableLocations or + * @param parentCountryId parentCountryId or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesPlannableLocation setParentCountryId(java.lang.Long parentCountryId) { + this.parentCountryId = parentCountryId; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesPlannableLocation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesPlannableLocation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesPlannableLocation clone() { + return (GoogleAdsSearchads360V23ServicesPlannableLocation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesPlannableTargeting.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesPlannableTargeting.java new file mode 100644 index 00000000000..542c1f8f8fc --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesPlannableTargeting.java @@ -0,0 +1,211 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The targeting for which traffic metrics will be reported. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesPlannableTargeting extends com.google.api.client.json.GenericJson { + + /** + * Allowed plannable age ranges for the product for which metrics will be reported. Actual + * targeting is computed by mapping this age range onto standard Google common.AgeRangeInfo + * values. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List ageRanges; + + /** + * Targetable devices for the ad product. TABLET device targeting is automatically applied to + * reported metrics when MOBILE targeting is selected for CPM_MASTHEAD, GOOGLE_PREFERRED_BUMPER, + * and GOOGLE_PREFERRED_SHORT products. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List devices; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonDeviceInfo used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonDeviceInfo.class); + } + + /** + * Targetable genders for the ad product. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List genders; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonGenderInfo used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonGenderInfo.class); + } + + /** + * Targetable networks for the ad product. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List networks; + + /** + * Targetable surface combinations for the ad product. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesSurfaceTargetingCombinations surfaceTargeting; + + /** + * Targetable YouTube Select Lineups for the ad product. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List youtubeSelectLineups; + + /** + * Allowed plannable age ranges for the product for which metrics will be reported. Actual + * targeting is computed by mapping this age range onto standard Google common.AgeRangeInfo + * values. + * @return value or {@code null} for none + */ + public java.util.List getAgeRanges() { + return ageRanges; + } + + /** + * Allowed plannable age ranges for the product for which metrics will be reported. Actual + * targeting is computed by mapping this age range onto standard Google common.AgeRangeInfo + * values. + * @param ageRanges ageRanges or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesPlannableTargeting setAgeRanges(java.util.List ageRanges) { + this.ageRanges = ageRanges; + return this; + } + + /** + * Targetable devices for the ad product. TABLET device targeting is automatically applied to + * reported metrics when MOBILE targeting is selected for CPM_MASTHEAD, GOOGLE_PREFERRED_BUMPER, + * and GOOGLE_PREFERRED_SHORT products. + * @return value or {@code null} for none + */ + public java.util.List getDevices() { + return devices; + } + + /** + * Targetable devices for the ad product. TABLET device targeting is automatically applied to + * reported metrics when MOBILE targeting is selected for CPM_MASTHEAD, GOOGLE_PREFERRED_BUMPER, + * and GOOGLE_PREFERRED_SHORT products. + * @param devices devices or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesPlannableTargeting setDevices(java.util.List devices) { + this.devices = devices; + return this; + } + + /** + * Targetable genders for the ad product. + * @return value or {@code null} for none + */ + public java.util.List getGenders() { + return genders; + } + + /** + * Targetable genders for the ad product. + * @param genders genders or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesPlannableTargeting setGenders(java.util.List genders) { + this.genders = genders; + return this; + } + + /** + * Targetable networks for the ad product. + * @return value or {@code null} for none + */ + public java.util.List getNetworks() { + return networks; + } + + /** + * Targetable networks for the ad product. + * @param networks networks or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesPlannableTargeting setNetworks(java.util.List networks) { + this.networks = networks; + return this; + } + + /** + * Targetable surface combinations for the ad product. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSurfaceTargetingCombinations getSurfaceTargeting() { + return surfaceTargeting; + } + + /** + * Targetable surface combinations for the ad product. + * @param surfaceTargeting surfaceTargeting or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesPlannableTargeting setSurfaceTargeting(GoogleAdsSearchads360V23ServicesSurfaceTargetingCombinations surfaceTargeting) { + this.surfaceTargeting = surfaceTargeting; + return this; + } + + /** + * Targetable YouTube Select Lineups for the ad product. + * @return value or {@code null} for none + */ + public java.util.List getYoutubeSelectLineups() { + return youtubeSelectLineups; + } + + /** + * Targetable YouTube Select Lineups for the ad product. + * @param youtubeSelectLineups youtubeSelectLineups or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesPlannableTargeting setYoutubeSelectLineups(java.util.List youtubeSelectLineups) { + this.youtubeSelectLineups = youtubeSelectLineups; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesPlannableTargeting set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesPlannableTargeting) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesPlannableTargeting clone() { + return (GoogleAdsSearchads360V23ServicesPlannableTargeting) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesPlannableUserInterest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesPlannableUserInterest.java new file mode 100644 index 00000000000..407a42d024b --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesPlannableUserInterest.java @@ -0,0 +1,143 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A plannable user interest that can be targeted in a reach forecast using + * ReachPlanService.GenerateReachForecast. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesPlannableUserInterest extends com.google.api.client.json.GenericJson { + + /** + * The user interest id. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonUserInterestInfo userInterest; + + /** + * The user interest display name. For example, "Autos & Vehicles" + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String userInterestDisplayName; + + /** + * The user interest path. For example, "/Autos & Vehicles/Motor Vehicles/Motor Vehicles by + * Type/Off-Road Vehicles" + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String userInterestPath; + + /** + * The user interest type. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String userInterestType; + + /** + * The user interest id. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUserInterestInfo getUserInterest() { + return userInterest; + } + + /** + * The user interest id. + * @param userInterest userInterest or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesPlannableUserInterest setUserInterest(GoogleAdsSearchads360V23CommonUserInterestInfo userInterest) { + this.userInterest = userInterest; + return this; + } + + /** + * The user interest display name. For example, "Autos & Vehicles" + * @return value or {@code null} for none + */ + public java.lang.String getUserInterestDisplayName() { + return userInterestDisplayName; + } + + /** + * The user interest display name. For example, "Autos & Vehicles" + * @param userInterestDisplayName userInterestDisplayName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesPlannableUserInterest setUserInterestDisplayName(java.lang.String userInterestDisplayName) { + this.userInterestDisplayName = userInterestDisplayName; + return this; + } + + /** + * The user interest path. For example, "/Autos & Vehicles/Motor Vehicles/Motor Vehicles by + * Type/Off-Road Vehicles" + * @return value or {@code null} for none + */ + public java.lang.String getUserInterestPath() { + return userInterestPath; + } + + /** + * The user interest path. For example, "/Autos & Vehicles/Motor Vehicles/Motor Vehicles by + * Type/Off-Road Vehicles" + * @param userInterestPath userInterestPath or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesPlannableUserInterest setUserInterestPath(java.lang.String userInterestPath) { + this.userInterestPath = userInterestPath; + return this; + } + + /** + * The user interest type. + * @return value or {@code null} for none + */ + public java.lang.String getUserInterestType() { + return userInterestType; + } + + /** + * The user interest type. + * @param userInterestType userInterestType or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesPlannableUserInterest setUserInterestType(java.lang.String userInterestType) { + this.userInterestType = userInterestType; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesPlannableUserInterest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesPlannableUserInterest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesPlannableUserInterest clone() { + return (GoogleAdsSearchads360V23ServicesPlannableUserInterest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesPlannableUserList.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesPlannableUserList.java new file mode 100644 index 00000000000..af23e5f517d --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesPlannableUserList.java @@ -0,0 +1,163 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A plannable user list. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesPlannableUserList extends com.google.api.client.json.GenericJson { + + /** + * The name of the user list. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String displayName; + + /** + * The plannable status of the user list. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String plannableStatus; + + /** + * The relevant metadata for this user list. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesPlannableUserListMetadata plannableUserListMetadata; + + /** + * The user list ID. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonUserListInfo userListInfo; + + /** + * The user list type. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String userListType; + + /** + * The name of the user list. + * @return value or {@code null} for none + */ + public java.lang.String getDisplayName() { + return displayName; + } + + /** + * The name of the user list. + * @param displayName displayName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesPlannableUserList setDisplayName(java.lang.String displayName) { + this.displayName = displayName; + return this; + } + + /** + * The plannable status of the user list. + * @return value or {@code null} for none + */ + public java.lang.String getPlannableStatus() { + return plannableStatus; + } + + /** + * The plannable status of the user list. + * @param plannableStatus plannableStatus or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesPlannableUserList setPlannableStatus(java.lang.String plannableStatus) { + this.plannableStatus = plannableStatus; + return this; + } + + /** + * The relevant metadata for this user list. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesPlannableUserListMetadata getPlannableUserListMetadata() { + return plannableUserListMetadata; + } + + /** + * The relevant metadata for this user list. + * @param plannableUserListMetadata plannableUserListMetadata or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesPlannableUserList setPlannableUserListMetadata(GoogleAdsSearchads360V23ServicesPlannableUserListMetadata plannableUserListMetadata) { + this.plannableUserListMetadata = plannableUserListMetadata; + return this; + } + + /** + * The user list ID. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUserListInfo getUserListInfo() { + return userListInfo; + } + + /** + * The user list ID. + * @param userListInfo userListInfo or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesPlannableUserList setUserListInfo(GoogleAdsSearchads360V23CommonUserListInfo userListInfo) { + this.userListInfo = userListInfo; + return this; + } + + /** + * The user list type. + * @return value or {@code null} for none + */ + public java.lang.String getUserListType() { + return userListType; + } + + /** + * The user list type. + * @param userListType userListType or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesPlannableUserList setUserListType(java.lang.String userListType) { + this.userListType = userListType; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesPlannableUserList set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesPlannableUserList) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesPlannableUserList clone() { + return (GoogleAdsSearchads360V23ServicesPlannableUserList) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesPlannableUserListMetadata.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesPlannableUserListMetadata.java new file mode 100644 index 00000000000..cbf088d497f --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesPlannableUserListMetadata.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The metadata associated with a plannable user list. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesPlannableUserListMetadata extends com.google.api.client.json.GenericJson { + + /** + * The data source type of a CRM based user list. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String userListCrmDataSourceType; + + /** + * The data source type of a CRM based user list. + * @return value or {@code null} for none + */ + public java.lang.String getUserListCrmDataSourceType() { + return userListCrmDataSourceType; + } + + /** + * The data source type of a CRM based user list. + * @param userListCrmDataSourceType userListCrmDataSourceType or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesPlannableUserListMetadata setUserListCrmDataSourceType(java.lang.String userListCrmDataSourceType) { + this.userListCrmDataSourceType = userListCrmDataSourceType; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesPlannableUserListMetadata set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesPlannableUserListMetadata) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesPlannableUserListMetadata clone() { + return (GoogleAdsSearchads360V23ServicesPlannableUserListMetadata) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesPlannedProduct.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesPlannedProduct.java new file mode 100644 index 00000000000..d2e5ab602b8 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesPlannedProduct.java @@ -0,0 +1,157 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A product being planned for reach. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesPlannedProduct extends com.google.api.client.json.GenericJson { + + /** + * Targeting settings for the selected product. To list the available targeting for each product + * use ReachPlanService.ListPlannableProducts. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesAdvancedProductTargeting advancedProductTargeting; + + /** + * Required. Maximum budget allocation in micros for the selected product. The value is specified + * in the selected planning currency_code. For example: 1 000 000$ = 1 000 000 000 000 micros. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long budgetMicros; + + /** + * Conversion rate as a decimal between 0 and 1, exclusive. For example: if 2% of ad interactions + * are expected to lead to conversions, conversion_rate should be 0.02. This field is required for + * DEMAND_GEN plannable products. It is not supported for other plannable products. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double conversionRate; + + /** + * Required. Selected product for planning. The code associated with the ad product (for example: + * Trueview, Bumper). To list the available plannable product codes use + * ReachPlanService.ListPlannableProducts. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String plannableProductCode; + + /** + * Targeting settings for the selected product. To list the available targeting for each product + * use ReachPlanService.ListPlannableProducts. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAdvancedProductTargeting getAdvancedProductTargeting() { + return advancedProductTargeting; + } + + /** + * Targeting settings for the selected product. To list the available targeting for each product + * use ReachPlanService.ListPlannableProducts. + * @param advancedProductTargeting advancedProductTargeting or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesPlannedProduct setAdvancedProductTargeting(GoogleAdsSearchads360V23ServicesAdvancedProductTargeting advancedProductTargeting) { + this.advancedProductTargeting = advancedProductTargeting; + return this; + } + + /** + * Required. Maximum budget allocation in micros for the selected product. The value is specified + * in the selected planning currency_code. For example: 1 000 000$ = 1 000 000 000 000 micros. + * @return value or {@code null} for none + */ + public java.lang.Long getBudgetMicros() { + return budgetMicros; + } + + /** + * Required. Maximum budget allocation in micros for the selected product. The value is specified + * in the selected planning currency_code. For example: 1 000 000$ = 1 000 000 000 000 micros. + * @param budgetMicros budgetMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesPlannedProduct setBudgetMicros(java.lang.Long budgetMicros) { + this.budgetMicros = budgetMicros; + return this; + } + + /** + * Conversion rate as a decimal between 0 and 1, exclusive. For example: if 2% of ad interactions + * are expected to lead to conversions, conversion_rate should be 0.02. This field is required for + * DEMAND_GEN plannable products. It is not supported for other plannable products. + * @return value or {@code null} for none + */ + public java.lang.Double getConversionRate() { + return conversionRate; + } + + /** + * Conversion rate as a decimal between 0 and 1, exclusive. For example: if 2% of ad interactions + * are expected to lead to conversions, conversion_rate should be 0.02. This field is required for + * DEMAND_GEN plannable products. It is not supported for other plannable products. + * @param conversionRate conversionRate or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesPlannedProduct setConversionRate(java.lang.Double conversionRate) { + this.conversionRate = conversionRate; + return this; + } + + /** + * Required. Selected product for planning. The code associated with the ad product (for example: + * Trueview, Bumper). To list the available plannable product codes use + * ReachPlanService.ListPlannableProducts. + * @return value or {@code null} for none + */ + public java.lang.String getPlannableProductCode() { + return plannableProductCode; + } + + /** + * Required. Selected product for planning. The code associated with the ad product (for example: + * Trueview, Bumper). To list the available plannable product codes use + * ReachPlanService.ListPlannableProducts. + * @param plannableProductCode plannableProductCode or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesPlannedProduct setPlannableProductCode(java.lang.String plannableProductCode) { + this.plannableProductCode = plannableProductCode; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesPlannedProduct set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesPlannedProduct) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesPlannedProduct clone() { + return (GoogleAdsSearchads360V23ServicesPlannedProduct) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesPlannedProductForecast.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesPlannedProductForecast.java new file mode 100644 index 00000000000..41ccdbcd956 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesPlannedProductForecast.java @@ -0,0 +1,376 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Forecasted traffic metrics for a planned product. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesPlannedProductForecast extends com.google.api.client.json.GenericJson { + + /** + * The number of times per selected time unit a user will see an ad, averaged over the number of + * time units in the forecast length. This field will only be populated for a Target Frequency + * campaign. See https://support.google.com/google-ads/answer/12400225 for more information about + * Target Frequency campaigns. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double averageFrequency; + + /** + * The number of conversions. This metric is only available for DEMAND_GEN plannable products. See + * https://support.google.com/google-ads/answer/2375431 for more information on conversions. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double conversions; + + /** + * Number of ad impressions that exactly matches the Targeting including co-viewers. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long onTargetCoviewImpressions; + + /** + * Number of unique people reached that exactly matches the Targeting including co-viewers. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long onTargetCoviewReach; + + /** + * Number of ad impressions that exactly matches the Targeting. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long onTargetImpressions; + + /** + * Number of unique people reached that exactly matches the Targeting. Note that a minimum number + * of unique people must be reached in order for data to be reported. If the minimum number is not + * met, the on_target_reach value will be rounded to 0. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long onTargetReach; + + /** + * Total number of ad impressions including co-viewers. This includes impressions that may fall + * outside the specified Targeting, due to insufficient information on signed-in users. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long totalCoviewImpressions; + + /** + * Number of unique people reached including co-viewers. This includes people that may fall + * outside the specified Targeting. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long totalCoviewReach; + + /** + * Total number of ad impressions. This includes impressions that may fall outside the specified + * Targeting, due to insufficient information on signed-in users. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long totalImpressions; + + /** + * Number of unique people reached. This includes people that may fall outside the specified + * Targeting. Note that a minimum number of unique people must be reached in order for data to be + * reported. If the minimum number is not met, the total_reach value will be rounded to 0. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long totalReach; + + /** + * Number of ad views forecasted for the specified product and targeting. A TrueView View is + * counted when a viewer views a larger portion or the entirety of an ad beyond an impression. See + * https://support.google.com/google-ads/answer/2375431 for more information on TrueView Views. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long trueviewViews; + + /** + * Number of times the ad's impressions were considered viewable. See + * https://support.google.com/google-ads/answer/7029393 for more information about what makes an + * ad viewable and how viewability is measured. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long viewableImpressions; + + /** + * The number of times per selected time unit a user will see an ad, averaged over the number of + * time units in the forecast length. This field will only be populated for a Target Frequency + * campaign. See https://support.google.com/google-ads/answer/12400225 for more information about + * Target Frequency campaigns. + * @return value or {@code null} for none + */ + public java.lang.Double getAverageFrequency() { + return averageFrequency; + } + + /** + * The number of times per selected time unit a user will see an ad, averaged over the number of + * time units in the forecast length. This field will only be populated for a Target Frequency + * campaign. See https://support.google.com/google-ads/answer/12400225 for more information about + * Target Frequency campaigns. + * @param averageFrequency averageFrequency or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesPlannedProductForecast setAverageFrequency(java.lang.Double averageFrequency) { + this.averageFrequency = averageFrequency; + return this; + } + + /** + * The number of conversions. This metric is only available for DEMAND_GEN plannable products. See + * https://support.google.com/google-ads/answer/2375431 for more information on conversions. + * @return value or {@code null} for none + */ + public java.lang.Double getConversions() { + return conversions; + } + + /** + * The number of conversions. This metric is only available for DEMAND_GEN plannable products. See + * https://support.google.com/google-ads/answer/2375431 for more information on conversions. + * @param conversions conversions or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesPlannedProductForecast setConversions(java.lang.Double conversions) { + this.conversions = conversions; + return this; + } + + /** + * Number of ad impressions that exactly matches the Targeting including co-viewers. + * @return value or {@code null} for none + */ + public java.lang.Long getOnTargetCoviewImpressions() { + return onTargetCoviewImpressions; + } + + /** + * Number of ad impressions that exactly matches the Targeting including co-viewers. + * @param onTargetCoviewImpressions onTargetCoviewImpressions or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesPlannedProductForecast setOnTargetCoviewImpressions(java.lang.Long onTargetCoviewImpressions) { + this.onTargetCoviewImpressions = onTargetCoviewImpressions; + return this; + } + + /** + * Number of unique people reached that exactly matches the Targeting including co-viewers. + * @return value or {@code null} for none + */ + public java.lang.Long getOnTargetCoviewReach() { + return onTargetCoviewReach; + } + + /** + * Number of unique people reached that exactly matches the Targeting including co-viewers. + * @param onTargetCoviewReach onTargetCoviewReach or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesPlannedProductForecast setOnTargetCoviewReach(java.lang.Long onTargetCoviewReach) { + this.onTargetCoviewReach = onTargetCoviewReach; + return this; + } + + /** + * Number of ad impressions that exactly matches the Targeting. + * @return value or {@code null} for none + */ + public java.lang.Long getOnTargetImpressions() { + return onTargetImpressions; + } + + /** + * Number of ad impressions that exactly matches the Targeting. + * @param onTargetImpressions onTargetImpressions or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesPlannedProductForecast setOnTargetImpressions(java.lang.Long onTargetImpressions) { + this.onTargetImpressions = onTargetImpressions; + return this; + } + + /** + * Number of unique people reached that exactly matches the Targeting. Note that a minimum number + * of unique people must be reached in order for data to be reported. If the minimum number is not + * met, the on_target_reach value will be rounded to 0. + * @return value or {@code null} for none + */ + public java.lang.Long getOnTargetReach() { + return onTargetReach; + } + + /** + * Number of unique people reached that exactly matches the Targeting. Note that a minimum number + * of unique people must be reached in order for data to be reported. If the minimum number is not + * met, the on_target_reach value will be rounded to 0. + * @param onTargetReach onTargetReach or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesPlannedProductForecast setOnTargetReach(java.lang.Long onTargetReach) { + this.onTargetReach = onTargetReach; + return this; + } + + /** + * Total number of ad impressions including co-viewers. This includes impressions that may fall + * outside the specified Targeting, due to insufficient information on signed-in users. + * @return value or {@code null} for none + */ + public java.lang.Long getTotalCoviewImpressions() { + return totalCoviewImpressions; + } + + /** + * Total number of ad impressions including co-viewers. This includes impressions that may fall + * outside the specified Targeting, due to insufficient information on signed-in users. + * @param totalCoviewImpressions totalCoviewImpressions or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesPlannedProductForecast setTotalCoviewImpressions(java.lang.Long totalCoviewImpressions) { + this.totalCoviewImpressions = totalCoviewImpressions; + return this; + } + + /** + * Number of unique people reached including co-viewers. This includes people that may fall + * outside the specified Targeting. + * @return value or {@code null} for none + */ + public java.lang.Long getTotalCoviewReach() { + return totalCoviewReach; + } + + /** + * Number of unique people reached including co-viewers. This includes people that may fall + * outside the specified Targeting. + * @param totalCoviewReach totalCoviewReach or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesPlannedProductForecast setTotalCoviewReach(java.lang.Long totalCoviewReach) { + this.totalCoviewReach = totalCoviewReach; + return this; + } + + /** + * Total number of ad impressions. This includes impressions that may fall outside the specified + * Targeting, due to insufficient information on signed-in users. + * @return value or {@code null} for none + */ + public java.lang.Long getTotalImpressions() { + return totalImpressions; + } + + /** + * Total number of ad impressions. This includes impressions that may fall outside the specified + * Targeting, due to insufficient information on signed-in users. + * @param totalImpressions totalImpressions or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesPlannedProductForecast setTotalImpressions(java.lang.Long totalImpressions) { + this.totalImpressions = totalImpressions; + return this; + } + + /** + * Number of unique people reached. This includes people that may fall outside the specified + * Targeting. Note that a minimum number of unique people must be reached in order for data to be + * reported. If the minimum number is not met, the total_reach value will be rounded to 0. + * @return value or {@code null} for none + */ + public java.lang.Long getTotalReach() { + return totalReach; + } + + /** + * Number of unique people reached. This includes people that may fall outside the specified + * Targeting. Note that a minimum number of unique people must be reached in order for data to be + * reported. If the minimum number is not met, the total_reach value will be rounded to 0. + * @param totalReach totalReach or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesPlannedProductForecast setTotalReach(java.lang.Long totalReach) { + this.totalReach = totalReach; + return this; + } + + /** + * Number of ad views forecasted for the specified product and targeting. A TrueView View is + * counted when a viewer views a larger portion or the entirety of an ad beyond an impression. See + * https://support.google.com/google-ads/answer/2375431 for more information on TrueView Views. + * @return value or {@code null} for none + */ + public java.lang.Long getTrueviewViews() { + return trueviewViews; + } + + /** + * Number of ad views forecasted for the specified product and targeting. A TrueView View is + * counted when a viewer views a larger portion or the entirety of an ad beyond an impression. See + * https://support.google.com/google-ads/answer/2375431 for more information on TrueView Views. + * @param trueviewViews trueviewViews or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesPlannedProductForecast setTrueviewViews(java.lang.Long trueviewViews) { + this.trueviewViews = trueviewViews; + return this; + } + + /** + * Number of times the ad's impressions were considered viewable. See + * https://support.google.com/google-ads/answer/7029393 for more information about what makes an + * ad viewable and how viewability is measured. + * @return value or {@code null} for none + */ + public java.lang.Long getViewableImpressions() { + return viewableImpressions; + } + + /** + * Number of times the ad's impressions were considered viewable. See + * https://support.google.com/google-ads/answer/7029393 for more information about what makes an + * ad viewable and how viewability is measured. + * @param viewableImpressions viewableImpressions or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesPlannedProductForecast setViewableImpressions(java.lang.Long viewableImpressions) { + this.viewableImpressions = viewableImpressions; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesPlannedProductForecast set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesPlannedProductForecast) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesPlannedProductForecast clone() { + return (GoogleAdsSearchads360V23ServicesPlannedProductForecast) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesPlannedProductReachForecast.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesPlannedProductReachForecast.java new file mode 100644 index 00000000000..e265bf696b6 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesPlannedProductReachForecast.java @@ -0,0 +1,122 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The forecasted allocation and traffic metrics for a specific product at a point on the reach + * curve. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesPlannedProductReachForecast extends com.google.api.client.json.GenericJson { + + /** + * The cost in micros. This may differ from the product's input allocation if one or more planned + * products cannot fulfill the budget because of limited inventory. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long costMicros; + + /** + * Selected product for planning. The product codes returned are within the set of the ones + * returned by ListPlannableProducts when using the same location ID. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String plannableProductCode; + + /** + * Forecasted traffic metrics for this product. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesPlannedProductForecast plannedProductForecast; + + /** + * The cost in micros. This may differ from the product's input allocation if one or more planned + * products cannot fulfill the budget because of limited inventory. + * @return value or {@code null} for none + */ + public java.lang.Long getCostMicros() { + return costMicros; + } + + /** + * The cost in micros. This may differ from the product's input allocation if one or more planned + * products cannot fulfill the budget because of limited inventory. + * @param costMicros costMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesPlannedProductReachForecast setCostMicros(java.lang.Long costMicros) { + this.costMicros = costMicros; + return this; + } + + /** + * Selected product for planning. The product codes returned are within the set of the ones + * returned by ListPlannableProducts when using the same location ID. + * @return value or {@code null} for none + */ + public java.lang.String getPlannableProductCode() { + return plannableProductCode; + } + + /** + * Selected product for planning. The product codes returned are within the set of the ones + * returned by ListPlannableProducts when using the same location ID. + * @param plannableProductCode plannableProductCode or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesPlannedProductReachForecast setPlannableProductCode(java.lang.String plannableProductCode) { + this.plannableProductCode = plannableProductCode; + return this; + } + + /** + * Forecasted traffic metrics for this product. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesPlannedProductForecast getPlannedProductForecast() { + return plannedProductForecast; + } + + /** + * Forecasted traffic metrics for this product. + * @param plannedProductForecast plannedProductForecast or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesPlannedProductReachForecast setPlannedProductForecast(GoogleAdsSearchads360V23ServicesPlannedProductForecast plannedProductForecast) { + this.plannedProductForecast = plannedProductForecast; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesPlannedProductReachForecast set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesPlannedProductReachForecast) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesPlannedProductReachForecast clone() { + return (GoogleAdsSearchads360V23ServicesPlannedProductReachForecast) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesProductFilter.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesProductFilter.java new file mode 100644 index 00000000000..3879443343f --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesProductFilter.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The type and list of products to aggregate benchmarks metrics over. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesProductFilter extends com.google.api.client.json.GenericJson { + + /** + * The list of marketing goals. Marketing objective is a broader product classification of + * products. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesProductFilterMarketingObjectiveList marketingObjectiveList; + + /** + * The list of products. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesProductFilterProductList productList; + + /** + * The list of marketing goals. Marketing objective is a broader product classification of + * products. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesProductFilterMarketingObjectiveList getMarketingObjectiveList() { + return marketingObjectiveList; + } + + /** + * The list of marketing goals. Marketing objective is a broader product classification of + * products. + * @param marketingObjectiveList marketingObjectiveList or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesProductFilter setMarketingObjectiveList(GoogleAdsSearchads360V23ServicesProductFilterMarketingObjectiveList marketingObjectiveList) { + this.marketingObjectiveList = marketingObjectiveList; + return this; + } + + /** + * The list of products. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesProductFilterProductList getProductList() { + return productList; + } + + /** + * The list of products. + * @param productList productList or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesProductFilter setProductList(GoogleAdsSearchads360V23ServicesProductFilterProductList productList) { + this.productList = productList; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesProductFilter set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesProductFilter) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesProductFilter clone() { + return (GoogleAdsSearchads360V23ServicesProductFilter) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesProductFilterMarketingObjectiveList.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesProductFilterMarketingObjectiveList.java new file mode 100644 index 00000000000..99ae0456dca --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesProductFilterMarketingObjectiveList.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The list of marketing objectives to generate benchmarks metrics for. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesProductFilterMarketingObjectiveList extends com.google.api.client.json.GenericJson { + + /** + * Required. Marketing objectives to generate benchmarks metrics for. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List marketingObjectives; + + /** + * Required. Marketing objectives to generate benchmarks metrics for. + * @return value or {@code null} for none + */ + public java.util.List getMarketingObjectives() { + return marketingObjectives; + } + + /** + * Required. Marketing objectives to generate benchmarks metrics for. + * @param marketingObjectives marketingObjectives or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesProductFilterMarketingObjectiveList setMarketingObjectives(java.util.List marketingObjectives) { + this.marketingObjectives = marketingObjectives; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesProductFilterMarketingObjectiveList set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesProductFilterMarketingObjectiveList) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesProductFilterMarketingObjectiveList clone() { + return (GoogleAdsSearchads360V23ServicesProductFilterMarketingObjectiveList) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesProductFilterProductList.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesProductFilterProductList.java new file mode 100644 index 00000000000..d7e70f5196f --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesProductFilterProductList.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The list of products to generate benchmarks metrics for. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesProductFilterProductList extends com.google.api.client.json.GenericJson { + + /** + * Required. Products to generate benchmarks metrics for. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List productCodes; + + /** + * Required. Products to generate benchmarks metrics for. + * @return value or {@code null} for none + */ + public java.util.List getProductCodes() { + return productCodes; + } + + /** + * Required. Products to generate benchmarks metrics for. + * @param productCodes productCodes or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesProductFilterProductList setProductCodes(java.util.List productCodes) { + this.productCodes = productCodes; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesProductFilterProductList set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesProductFilterProductList) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesProductFilterProductList clone() { + return (GoogleAdsSearchads360V23ServicesProductFilterProductList) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesProductMetadata.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesProductMetadata.java new file mode 100644 index 00000000000..c9178335625 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesProductMetadata.java @@ -0,0 +1,118 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The metadata associated with an available plannable product. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesProductMetadata extends com.google.api.client.json.GenericJson { + + /** + * The code associated with the ad product (for example: BUMPER, TRUEVIEW_IN_STREAM). To list the + * available plannable product codes use ReachPlanService.ListPlannableProducts. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String plannableProductCode; + + /** + * The name associated with the ad product. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String plannableProductName; + + /** + * The allowed plannable targeting for this product. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesPlannableTargeting plannableTargeting; + + /** + * The code associated with the ad product (for example: BUMPER, TRUEVIEW_IN_STREAM). To list the + * available plannable product codes use ReachPlanService.ListPlannableProducts. + * @return value or {@code null} for none + */ + public java.lang.String getPlannableProductCode() { + return plannableProductCode; + } + + /** + * The code associated with the ad product (for example: BUMPER, TRUEVIEW_IN_STREAM). To list the + * available plannable product codes use ReachPlanService.ListPlannableProducts. + * @param plannableProductCode plannableProductCode or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesProductMetadata setPlannableProductCode(java.lang.String plannableProductCode) { + this.plannableProductCode = plannableProductCode; + return this; + } + + /** + * The name associated with the ad product. + * @return value or {@code null} for none + */ + public java.lang.String getPlannableProductName() { + return plannableProductName; + } + + /** + * The name associated with the ad product. + * @param plannableProductName plannableProductName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesProductMetadata setPlannableProductName(java.lang.String plannableProductName) { + this.plannableProductName = plannableProductName; + return this; + } + + /** + * The allowed plannable targeting for this product. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesPlannableTargeting getPlannableTargeting() { + return plannableTargeting; + } + + /** + * The allowed plannable targeting for this product. + * @param plannableTargeting plannableTargeting or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesProductMetadata setPlannableTargeting(GoogleAdsSearchads360V23ServicesPlannableTargeting plannableTargeting) { + this.plannableTargeting = plannableTargeting; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesProductMetadata set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesProductMetadata) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesProductMetadata clone() { + return (GoogleAdsSearchads360V23ServicesProductMetadata) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesPromoteCampaignDraftRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesPromoteCampaignDraftRequest.java new file mode 100644 index 00000000000..1a861998135 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesPromoteCampaignDraftRequest.java @@ -0,0 +1,70 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for CampaignDraftService.PromoteCampaignDraft. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesPromoteCampaignDraftRequest extends com.google.api.client.json.GenericJson { + + /** + * If true, the request is validated but no Long Running Operation is created. Only errors are + * returned. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean validateOnly; + + /** + * If true, the request is validated but no Long Running Operation is created. Only errors are + * returned. + * @return value or {@code null} for none + */ + public java.lang.Boolean getValidateOnly() { + return validateOnly; + } + + /** + * If true, the request is validated but no Long Running Operation is created. Only errors are + * returned. + * @param validateOnly validateOnly or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesPromoteCampaignDraftRequest setValidateOnly(java.lang.Boolean validateOnly) { + this.validateOnly = validateOnly; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesPromoteCampaignDraftRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesPromoteCampaignDraftRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesPromoteCampaignDraftRequest clone() { + return (GoogleAdsSearchads360V23ServicesPromoteCampaignDraftRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesPromoteExperimentMetadata.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesPromoteExperimentMetadata.java new file mode 100644 index 00000000000..8203271e9db --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesPromoteExperimentMetadata.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The metadata of the promoted experiment. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesPromoteExperimentMetadata extends com.google.api.client.json.GenericJson { + + /** + * Required. The promoted experiment. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String experiment; + + /** + * Required. The promoted experiment. + * @return value or {@code null} for none + */ + public java.lang.String getExperiment() { + return experiment; + } + + /** + * Required. The promoted experiment. + * @param experiment experiment or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesPromoteExperimentMetadata setExperiment(java.lang.String experiment) { + this.experiment = experiment; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesPromoteExperimentMetadata set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesPromoteExperimentMetadata) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesPromoteExperimentMetadata clone() { + return (GoogleAdsSearchads360V23ServicesPromoteExperimentMetadata) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesPromoteExperimentRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesPromoteExperimentRequest.java new file mode 100644 index 00000000000..6263e7cf6df --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesPromoteExperimentRequest.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for ExperimentService.PromoteExperiment. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesPromoteExperimentRequest extends com.google.api.client.json.GenericJson { + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean validateOnly; + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @return value or {@code null} for none + */ + public java.lang.Boolean getValidateOnly() { + return validateOnly; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @param validateOnly validateOnly or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesPromoteExperimentRequest setValidateOnly(java.lang.Boolean validateOnly) { + this.validateOnly = validateOnly; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesPromoteExperimentRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesPromoteExperimentRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesPromoteExperimentRequest clone() { + return (GoogleAdsSearchads360V23ServicesPromoteExperimentRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesProvideLeadFeedbackRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesProvideLeadFeedbackRequest.java new file mode 100644 index 00000000000..3e057fb2f92 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesProvideLeadFeedbackRequest.java @@ -0,0 +1,115 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for LocalServicesLeadService.ProvideLeadFeedback. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesProvideLeadFeedbackRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. Survey answer for Local Services Ads Lead. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String surveyAnswer; + + /** + * Details about various factors for not being satisfied with the lead. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesSurveyDissatisfied surveyDissatisfied; + + /** + * Details about various factors for being satisfied with the lead. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesSurveySatisfied surveySatisfied; + + /** + * Required. Survey answer for Local Services Ads Lead. + * @return value or {@code null} for none + */ + public java.lang.String getSurveyAnswer() { + return surveyAnswer; + } + + /** + * Required. Survey answer for Local Services Ads Lead. + * @param surveyAnswer surveyAnswer or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesProvideLeadFeedbackRequest setSurveyAnswer(java.lang.String surveyAnswer) { + this.surveyAnswer = surveyAnswer; + return this; + } + + /** + * Details about various factors for not being satisfied with the lead. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSurveyDissatisfied getSurveyDissatisfied() { + return surveyDissatisfied; + } + + /** + * Details about various factors for not being satisfied with the lead. + * @param surveyDissatisfied surveyDissatisfied or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesProvideLeadFeedbackRequest setSurveyDissatisfied(GoogleAdsSearchads360V23ServicesSurveyDissatisfied surveyDissatisfied) { + this.surveyDissatisfied = surveyDissatisfied; + return this; + } + + /** + * Details about various factors for being satisfied with the lead. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSurveySatisfied getSurveySatisfied() { + return surveySatisfied; + } + + /** + * Details about various factors for being satisfied with the lead. + * @param surveySatisfied surveySatisfied or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesProvideLeadFeedbackRequest setSurveySatisfied(GoogleAdsSearchads360V23ServicesSurveySatisfied surveySatisfied) { + this.surveySatisfied = surveySatisfied; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesProvideLeadFeedbackRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesProvideLeadFeedbackRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesProvideLeadFeedbackRequest clone() { + return (GoogleAdsSearchads360V23ServicesProvideLeadFeedbackRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesProvideLeadFeedbackResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesProvideLeadFeedbackResponse.java new file mode 100644 index 00000000000..421d8f2ced3 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesProvideLeadFeedbackResponse.java @@ -0,0 +1,70 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for LocalServicesLeadService.ProvideLeadFeedback. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesProvideLeadFeedbackResponse extends com.google.api.client.json.GenericJson { + + /** + * Required. Decision of bonus credit issued or rejected. If a bonus credit is issued, it will be + * available for use in about two months. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String creditIssuanceDecision; + + /** + * Required. Decision of bonus credit issued or rejected. If a bonus credit is issued, it will be + * available for use in about two months. + * @return value or {@code null} for none + */ + public java.lang.String getCreditIssuanceDecision() { + return creditIssuanceDecision; + } + + /** + * Required. Decision of bonus credit issued or rejected. If a bonus credit is issued, it will be + * available for use in about two months. + * @param creditIssuanceDecision creditIssuanceDecision or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesProvideLeadFeedbackResponse setCreditIssuanceDecision(java.lang.String creditIssuanceDecision) { + this.creditIssuanceDecision = creditIssuanceDecision; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesProvideLeadFeedbackResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesProvideLeadFeedbackResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesProvideLeadFeedbackResponse clone() { + return (GoogleAdsSearchads360V23ServicesProvideLeadFeedbackResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesRateMetrics.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesRateMetrics.java new file mode 100644 index 00000000000..3d920f14b57 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesRateMetrics.java @@ -0,0 +1,428 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Average rate metrics. Metrics that represent monetary values are returned in USD by default, if + * unspecified in the request. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesRateMetrics extends com.google.api.client.json.GenericJson { + + /** + * The percentage of time when your ad appeared on an Active View enabled site (measurable + * impressions) and was viewable (viewable impressions). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double activeViewViewability; + + /** + * Average cost-per-thousand viewable impressions. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double averageActiveViewCpm; + + /** + * The average cost-per-click (CPC) is defined by the total cost of all clicks divided by the + * total number of clicks received. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double averageCpc; + + /** + * The average cost-per-engagement (CPE) is defined by the total cost of all ad engagements + * divided by the total number of ad engagements. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double averageCpe; + + /** + * The average cost-per-interaction (CPI) is defined by the total cost of all interactions divided + * by the total number of interactions. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double averageCpi; + + /** + * Average cost-per-thousand impressions (CPM). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double averageCpm; + + /** + * The number of clicks your ad receives (Clicks) divided by the number of times your ad is shown + * (Impressions). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double clickThroughRate; + + /** + * How often people engage with your ad after it's shown to them. This is the number of ad + * expansions divided by the number of times your ad is shown. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double engagementRate; + + /** + * How often people interact with your ad after it is shown to them. This is the number of + * interactions divided by the number of times your ad is shown. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double interactionRate; + + /** + * The average TrueView cost-per-view (CPV) is defined by the total cost of all ad TrueView views + * divided by the number of TrueView views. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double trueviewAverageCpv; + + /** + * Number of completed TrueView views divided by the number of impressions. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double trueviewViewRate; + + /** + * Percentage of impressions where the viewer watched all of your video. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double videoCompletionP100Rate; + + /** + * Percentage of impressions where the viewer watched 25% of your video. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double videoCompletionP25Rate; + + /** + * Percentage of impressions where the viewer watched 50% of your video. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double videoCompletionP50Rate; + + /** + * Percentage of impressions where the viewer watched 75% of your video. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double videoCompletionP75Rate; + + /** + * The percentage of time when your ad appeared on an Active View enabled site (measurable + * impressions) and was viewable (viewable impressions). + * @return value or {@code null} for none + */ + public java.lang.Double getActiveViewViewability() { + return activeViewViewability; + } + + /** + * The percentage of time when your ad appeared on an Active View enabled site (measurable + * impressions) and was viewable (viewable impressions). + * @param activeViewViewability activeViewViewability or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesRateMetrics setActiveViewViewability(java.lang.Double activeViewViewability) { + this.activeViewViewability = activeViewViewability; + return this; + } + + /** + * Average cost-per-thousand viewable impressions. + * @return value or {@code null} for none + */ + public java.lang.Double getAverageActiveViewCpm() { + return averageActiveViewCpm; + } + + /** + * Average cost-per-thousand viewable impressions. + * @param averageActiveViewCpm averageActiveViewCpm or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesRateMetrics setAverageActiveViewCpm(java.lang.Double averageActiveViewCpm) { + this.averageActiveViewCpm = averageActiveViewCpm; + return this; + } + + /** + * The average cost-per-click (CPC) is defined by the total cost of all clicks divided by the + * total number of clicks received. + * @return value or {@code null} for none + */ + public java.lang.Double getAverageCpc() { + return averageCpc; + } + + /** + * The average cost-per-click (CPC) is defined by the total cost of all clicks divided by the + * total number of clicks received. + * @param averageCpc averageCpc or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesRateMetrics setAverageCpc(java.lang.Double averageCpc) { + this.averageCpc = averageCpc; + return this; + } + + /** + * The average cost-per-engagement (CPE) is defined by the total cost of all ad engagements + * divided by the total number of ad engagements. + * @return value or {@code null} for none + */ + public java.lang.Double getAverageCpe() { + return averageCpe; + } + + /** + * The average cost-per-engagement (CPE) is defined by the total cost of all ad engagements + * divided by the total number of ad engagements. + * @param averageCpe averageCpe or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesRateMetrics setAverageCpe(java.lang.Double averageCpe) { + this.averageCpe = averageCpe; + return this; + } + + /** + * The average cost-per-interaction (CPI) is defined by the total cost of all interactions divided + * by the total number of interactions. + * @return value or {@code null} for none + */ + public java.lang.Double getAverageCpi() { + return averageCpi; + } + + /** + * The average cost-per-interaction (CPI) is defined by the total cost of all interactions divided + * by the total number of interactions. + * @param averageCpi averageCpi or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesRateMetrics setAverageCpi(java.lang.Double averageCpi) { + this.averageCpi = averageCpi; + return this; + } + + /** + * Average cost-per-thousand impressions (CPM). + * @return value or {@code null} for none + */ + public java.lang.Double getAverageCpm() { + return averageCpm; + } + + /** + * Average cost-per-thousand impressions (CPM). + * @param averageCpm averageCpm or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesRateMetrics setAverageCpm(java.lang.Double averageCpm) { + this.averageCpm = averageCpm; + return this; + } + + /** + * The number of clicks your ad receives (Clicks) divided by the number of times your ad is shown + * (Impressions). + * @return value or {@code null} for none + */ + public java.lang.Double getClickThroughRate() { + return clickThroughRate; + } + + /** + * The number of clicks your ad receives (Clicks) divided by the number of times your ad is shown + * (Impressions). + * @param clickThroughRate clickThroughRate or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesRateMetrics setClickThroughRate(java.lang.Double clickThroughRate) { + this.clickThroughRate = clickThroughRate; + return this; + } + + /** + * How often people engage with your ad after it's shown to them. This is the number of ad + * expansions divided by the number of times your ad is shown. + * @return value or {@code null} for none + */ + public java.lang.Double getEngagementRate() { + return engagementRate; + } + + /** + * How often people engage with your ad after it's shown to them. This is the number of ad + * expansions divided by the number of times your ad is shown. + * @param engagementRate engagementRate or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesRateMetrics setEngagementRate(java.lang.Double engagementRate) { + this.engagementRate = engagementRate; + return this; + } + + /** + * How often people interact with your ad after it is shown to them. This is the number of + * interactions divided by the number of times your ad is shown. + * @return value or {@code null} for none + */ + public java.lang.Double getInteractionRate() { + return interactionRate; + } + + /** + * How often people interact with your ad after it is shown to them. This is the number of + * interactions divided by the number of times your ad is shown. + * @param interactionRate interactionRate or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesRateMetrics setInteractionRate(java.lang.Double interactionRate) { + this.interactionRate = interactionRate; + return this; + } + + /** + * The average TrueView cost-per-view (CPV) is defined by the total cost of all ad TrueView views + * divided by the number of TrueView views. + * @return value or {@code null} for none + */ + public java.lang.Double getTrueviewAverageCpv() { + return trueviewAverageCpv; + } + + /** + * The average TrueView cost-per-view (CPV) is defined by the total cost of all ad TrueView views + * divided by the number of TrueView views. + * @param trueviewAverageCpv trueviewAverageCpv or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesRateMetrics setTrueviewAverageCpv(java.lang.Double trueviewAverageCpv) { + this.trueviewAverageCpv = trueviewAverageCpv; + return this; + } + + /** + * Number of completed TrueView views divided by the number of impressions. + * @return value or {@code null} for none + */ + public java.lang.Double getTrueviewViewRate() { + return trueviewViewRate; + } + + /** + * Number of completed TrueView views divided by the number of impressions. + * @param trueviewViewRate trueviewViewRate or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesRateMetrics setTrueviewViewRate(java.lang.Double trueviewViewRate) { + this.trueviewViewRate = trueviewViewRate; + return this; + } + + /** + * Percentage of impressions where the viewer watched all of your video. + * @return value or {@code null} for none + */ + public java.lang.Double getVideoCompletionP100Rate() { + return videoCompletionP100Rate; + } + + /** + * Percentage of impressions where the viewer watched all of your video. + * @param videoCompletionP100Rate videoCompletionP100Rate or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesRateMetrics setVideoCompletionP100Rate(java.lang.Double videoCompletionP100Rate) { + this.videoCompletionP100Rate = videoCompletionP100Rate; + return this; + } + + /** + * Percentage of impressions where the viewer watched 25% of your video. + * @return value or {@code null} for none + */ + public java.lang.Double getVideoCompletionP25Rate() { + return videoCompletionP25Rate; + } + + /** + * Percentage of impressions where the viewer watched 25% of your video. + * @param videoCompletionP25Rate videoCompletionP25Rate or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesRateMetrics setVideoCompletionP25Rate(java.lang.Double videoCompletionP25Rate) { + this.videoCompletionP25Rate = videoCompletionP25Rate; + return this; + } + + /** + * Percentage of impressions where the viewer watched 50% of your video. + * @return value or {@code null} for none + */ + public java.lang.Double getVideoCompletionP50Rate() { + return videoCompletionP50Rate; + } + + /** + * Percentage of impressions where the viewer watched 50% of your video. + * @param videoCompletionP50Rate videoCompletionP50Rate or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesRateMetrics setVideoCompletionP50Rate(java.lang.Double videoCompletionP50Rate) { + this.videoCompletionP50Rate = videoCompletionP50Rate; + return this; + } + + /** + * Percentage of impressions where the viewer watched 75% of your video. + * @return value or {@code null} for none + */ + public java.lang.Double getVideoCompletionP75Rate() { + return videoCompletionP75Rate; + } + + /** + * Percentage of impressions where the viewer watched 75% of your video. + * @param videoCompletionP75Rate videoCompletionP75Rate or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesRateMetrics setVideoCompletionP75Rate(java.lang.Double videoCompletionP75Rate) { + this.videoCompletionP75Rate = videoCompletionP75Rate; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesRateMetrics set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesRateMetrics) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesRateMetrics clone() { + return (GoogleAdsSearchads360V23ServicesRateMetrics) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesRawEventConversionDimensionHeader.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesRawEventConversionDimensionHeader.java new file mode 100644 index 00000000000..680fb216f70 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesRawEventConversionDimensionHeader.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Message for raw event conversion dimension header. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesRawEventConversionDimensionHeader extends com.google.api.client.json.GenericJson { + + /** + * The conversion custom variable ID. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long id; + + /** + * The user defined name of the raw event dimension. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * The conversion custom variable ID. + * @return value or {@code null} for none + */ + public java.lang.Long getId() { + return id; + } + + /** + * The conversion custom variable ID. + * @param id id or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesRawEventConversionDimensionHeader setId(java.lang.Long id) { + this.id = id; + return this; + } + + /** + * The user defined name of the raw event dimension. + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * The user defined name of the raw event dimension. + * @param name name or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesRawEventConversionDimensionHeader setName(java.lang.String name) { + this.name = name; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesRawEventConversionDimensionHeader set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesRawEventConversionDimensionHeader) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesRawEventConversionDimensionHeader clone() { + return (GoogleAdsSearchads360V23ServicesRawEventConversionDimensionHeader) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesRawEventConversionMetricHeader.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesRawEventConversionMetricHeader.java new file mode 100644 index 00000000000..ebb79631b7f --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesRawEventConversionMetricHeader.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Message for raw event conversion metric header. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesRawEventConversionMetricHeader extends com.google.api.client.json.GenericJson { + + /** + * The conversion custom variable ID. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long id; + + /** + * The user defined name of the raw event metric. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * The conversion custom variable ID. + * @return value or {@code null} for none + */ + public java.lang.Long getId() { + return id; + } + + /** + * The conversion custom variable ID. + * @param id id or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesRawEventConversionMetricHeader setId(java.lang.Long id) { + this.id = id; + return this; + } + + /** + * The user defined name of the raw event metric. + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * The user defined name of the raw event metric. + * @param name name or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesRawEventConversionMetricHeader setName(java.lang.String name) { + this.name = name; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesRawEventConversionMetricHeader set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesRawEventConversionMetricHeader) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesRawEventConversionMetricHeader clone() { + return (GoogleAdsSearchads360V23ServicesRawEventConversionMetricHeader) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesReachCurve.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesReachCurve.java new file mode 100644 index 00000000000..2e53bdb9192 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesReachCurve.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The reach curve for the planned products. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesReachCurve extends com.google.api.client.json.GenericJson { + + /** + * All points on the reach curve. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List reachForecasts; + + /** + * All points on the reach curve. + * @return value or {@code null} for none + */ + public java.util.List getReachForecasts() { + return reachForecasts; + } + + /** + * All points on the reach curve. + * @param reachForecasts reachForecasts or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesReachCurve setReachForecasts(java.util.List reachForecasts) { + this.reachForecasts = reachForecasts; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesReachCurve set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesReachCurve) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesReachCurve clone() { + return (GoogleAdsSearchads360V23ServicesReachCurve) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesReachForecast.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesReachForecast.java new file mode 100644 index 00000000000..3689d3d322e --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesReachForecast.java @@ -0,0 +1,124 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A point on reach curve. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesReachForecast extends com.google.api.client.json.GenericJson { + + /** + * The cost in micros. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long costMicros; + + /** + * Forecasted traffic metrics for this point. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesForecast forecast; + + /** + * The forecasted allocation and traffic metrics for each planned product at this point on the + * reach curve. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List plannedProductReachForecasts; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesPlannedProductReachForecast used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesPlannedProductReachForecast.class); + } + + /** + * The cost in micros. + * @return value or {@code null} for none + */ + public java.lang.Long getCostMicros() { + return costMicros; + } + + /** + * The cost in micros. + * @param costMicros costMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesReachForecast setCostMicros(java.lang.Long costMicros) { + this.costMicros = costMicros; + return this; + } + + /** + * Forecasted traffic metrics for this point. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesForecast getForecast() { + return forecast; + } + + /** + * Forecasted traffic metrics for this point. + * @param forecast forecast or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesReachForecast setForecast(GoogleAdsSearchads360V23ServicesForecast forecast) { + this.forecast = forecast; + return this; + } + + /** + * The forecasted allocation and traffic metrics for each planned product at this point on the + * reach curve. + * @return value or {@code null} for none + */ + public java.util.List getPlannedProductReachForecasts() { + return plannedProductReachForecasts; + } + + /** + * The forecasted allocation and traffic metrics for each planned product at this point on the + * reach curve. + * @param plannedProductReachForecasts plannedProductReachForecasts or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesReachForecast setPlannedProductReachForecasts(java.util.List plannedProductReachForecasts) { + this.plannedProductReachForecasts = plannedProductReachForecasts; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesReachForecast set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesReachForecast) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesReachForecast clone() { + return (GoogleAdsSearchads360V23ServicesReachForecast) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesRecommendationSubscriptionOperation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesRecommendationSubscriptionOperation.java new file mode 100644 index 00000000000..c609200d834 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesRecommendationSubscriptionOperation.java @@ -0,0 +1,116 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A single operation (create, update) on a recommendation subscription. + * RecommendationSubscriptionService.MutateRecommendationSubscription + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesRecommendationSubscriptionOperation extends com.google.api.client.json.GenericJson { + + /** + * Create operation: No resource name is expected for the new subscription. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesRecommendationSubscription create; + + /** + * Update operation: The subscription is expected to have a valid resource name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesRecommendationSubscription update; + + /** + * Optional. FieldMask that determines which resource fields are modified in an update. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String updateMask; + + /** + * Create operation: No resource name is expected for the new subscription. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationSubscription getCreate() { + return create; + } + + /** + * Create operation: No resource name is expected for the new subscription. + * @param create create or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesRecommendationSubscriptionOperation setCreate(GoogleAdsSearchads360V23ResourcesRecommendationSubscription create) { + this.create = create; + return this; + } + + /** + * Update operation: The subscription is expected to have a valid resource name. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationSubscription getUpdate() { + return update; + } + + /** + * Update operation: The subscription is expected to have a valid resource name. + * @param update update or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesRecommendationSubscriptionOperation setUpdate(GoogleAdsSearchads360V23ResourcesRecommendationSubscription update) { + this.update = update; + return this; + } + + /** + * Optional. FieldMask that determines which resource fields are modified in an update. + * @return value or {@code null} for none + */ + public String getUpdateMask() { + return updateMask; + } + + /** + * Optional. FieldMask that determines which resource fields are modified in an update. + * @param updateMask updateMask or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesRecommendationSubscriptionOperation setUpdateMask(String updateMask) { + this.updateMask = updateMask; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesRecommendationSubscriptionOperation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesRecommendationSubscriptionOperation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesRecommendationSubscriptionOperation clone() { + return (GoogleAdsSearchads360V23ServicesRecommendationSubscriptionOperation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesRegenerateShareableLinkIdRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesRegenerateShareableLinkIdRequest.java new file mode 100644 index 00000000000..48191ff23a2 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesRegenerateShareableLinkIdRequest.java @@ -0,0 +1,43 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for ThirdPartyAppAnalyticsLinkService.RegenerateShareableLinkId. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesRegenerateShareableLinkIdRequest extends com.google.api.client.json.GenericJson { + + @Override + public GoogleAdsSearchads360V23ServicesRegenerateShareableLinkIdRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesRegenerateShareableLinkIdRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesRegenerateShareableLinkIdRequest clone() { + return (GoogleAdsSearchads360V23ServicesRegenerateShareableLinkIdRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesRegenerateShareableLinkIdResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesRegenerateShareableLinkIdResponse.java new file mode 100644 index 00000000000..d7a970aa23d --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesRegenerateShareableLinkIdResponse.java @@ -0,0 +1,43 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for ThirdPartyAppAnalyticsLinkService.RegenerateShareableLinkId. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesRegenerateShareableLinkIdResponse extends com.google.api.client.json.GenericJson { + + @Override + public GoogleAdsSearchads360V23ServicesRegenerateShareableLinkIdResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesRegenerateShareableLinkIdResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesRegenerateShareableLinkIdResponse clone() { + return (GoogleAdsSearchads360V23ServicesRegenerateShareableLinkIdResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesRemarketingActionOperation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesRemarketingActionOperation.java new file mode 100644 index 00000000000..48bfbdb25c8 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesRemarketingActionOperation.java @@ -0,0 +1,115 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A single operation (create, update) on a remarketing action. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesRemarketingActionOperation extends com.google.api.client.json.GenericJson { + + /** + * Create operation: No resource name is expected for the new remarketing action. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesRemarketingAction create; + + /** + * Update operation: The remarketing action is expected to have a valid resource name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesRemarketingAction update; + + /** + * FieldMask that determines which resource fields are modified in an update. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String updateMask; + + /** + * Create operation: No resource name is expected for the new remarketing action. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRemarketingAction getCreate() { + return create; + } + + /** + * Create operation: No resource name is expected for the new remarketing action. + * @param create create or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesRemarketingActionOperation setCreate(GoogleAdsSearchads360V23ResourcesRemarketingAction create) { + this.create = create; + return this; + } + + /** + * Update operation: The remarketing action is expected to have a valid resource name. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRemarketingAction getUpdate() { + return update; + } + + /** + * Update operation: The remarketing action is expected to have a valid resource name. + * @param update update or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesRemarketingActionOperation setUpdate(GoogleAdsSearchads360V23ResourcesRemarketingAction update) { + this.update = update; + return this; + } + + /** + * FieldMask that determines which resource fields are modified in an update. + * @return value or {@code null} for none + */ + public String getUpdateMask() { + return updateMask; + } + + /** + * FieldMask that determines which resource fields are modified in an update. + * @param updateMask updateMask or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesRemarketingActionOperation setUpdateMask(String updateMask) { + this.updateMask = updateMask; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesRemarketingActionOperation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesRemarketingActionOperation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesRemarketingActionOperation clone() { + return (GoogleAdsSearchads360V23ServicesRemarketingActionOperation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesRemoveAutomaticallyCreatedAssetsRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesRemoveAutomaticallyCreatedAssetsRequest.java new file mode 100644 index 00000000000..905e9c1d7af --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesRemoveAutomaticallyCreatedAssetsRequest.java @@ -0,0 +1,73 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for AdGroupAdService.RemoveAutomaticallyCreatedAssets. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesRemoveAutomaticallyCreatedAssetsRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. List of assets with field type to be removed from the AdGroupAd. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List assetsWithFieldType; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesAssetsWithFieldType used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesAssetsWithFieldType.class); + } + + /** + * Required. List of assets with field type to be removed from the AdGroupAd. + * @return value or {@code null} for none + */ + public java.util.List getAssetsWithFieldType() { + return assetsWithFieldType; + } + + /** + * Required. List of assets with field type to be removed from the AdGroupAd. + * @param assetsWithFieldType assetsWithFieldType or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesRemoveAutomaticallyCreatedAssetsRequest setAssetsWithFieldType(java.util.List assetsWithFieldType) { + this.assetsWithFieldType = assetsWithFieldType; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesRemoveAutomaticallyCreatedAssetsRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesRemoveAutomaticallyCreatedAssetsRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesRemoveAutomaticallyCreatedAssetsRequest clone() { + return (GoogleAdsSearchads360V23ServicesRemoveAutomaticallyCreatedAssetsRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesRemoveCampaignAutomaticallyCreatedAssetOperation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesRemoveCampaignAutomaticallyCreatedAssetOperation.java new file mode 100644 index 00000000000..fabf53d7bdb --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesRemoveCampaignAutomaticallyCreatedAssetOperation.java @@ -0,0 +1,115 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A single operation to remove an automatically created asset from a campaign. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesRemoveCampaignAutomaticallyCreatedAssetOperation extends com.google.api.client.json.GenericJson { + + /** + * Required. The resource name of the asset to remove. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String asset; + + /** + * Required. The resource name of the campaign. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String campaign; + + /** + * Required. The field type of the asset to remove. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String fieldType; + + /** + * Required. The resource name of the asset to remove. + * @return value or {@code null} for none + */ + public java.lang.String getAsset() { + return asset; + } + + /** + * Required. The resource name of the asset to remove. + * @param asset asset or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesRemoveCampaignAutomaticallyCreatedAssetOperation setAsset(java.lang.String asset) { + this.asset = asset; + return this; + } + + /** + * Required. The resource name of the campaign. + * @return value or {@code null} for none + */ + public java.lang.String getCampaign() { + return campaign; + } + + /** + * Required. The resource name of the campaign. + * @param campaign campaign or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesRemoveCampaignAutomaticallyCreatedAssetOperation setCampaign(java.lang.String campaign) { + this.campaign = campaign; + return this; + } + + /** + * Required. The field type of the asset to remove. + * @return value or {@code null} for none + */ + public java.lang.String getFieldType() { + return fieldType; + } + + /** + * Required. The field type of the asset to remove. + * @param fieldType fieldType or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesRemoveCampaignAutomaticallyCreatedAssetOperation setFieldType(java.lang.String fieldType) { + this.fieldType = fieldType; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesRemoveCampaignAutomaticallyCreatedAssetOperation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesRemoveCampaignAutomaticallyCreatedAssetOperation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesRemoveCampaignAutomaticallyCreatedAssetOperation clone() { + return (GoogleAdsSearchads360V23ServicesRemoveCampaignAutomaticallyCreatedAssetOperation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesRemoveCampaignAutomaticallyCreatedAssetRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesRemoveCampaignAutomaticallyCreatedAssetRequest.java new file mode 100644 index 00000000000..85cc0032d9d --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesRemoveCampaignAutomaticallyCreatedAssetRequest.java @@ -0,0 +1,104 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for + * AutomaticallyCreatedAssetRemovalService.RemoveCampaignAutomaticallyCreatedAsset. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesRemoveCampaignAutomaticallyCreatedAssetRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The list of operations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List operations; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesRemoveCampaignAutomaticallyCreatedAssetOperation used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesRemoveCampaignAutomaticallyCreatedAssetOperation.class); + } + + /** + * Required. If true, successful operations will be carried out and invalid operations will return + * errors. If false, all operations will be carried out in one transaction if and only if they are + * all valid. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean partialFailure; + + /** + * Required. The list of operations. + * @return value or {@code null} for none + */ + public java.util.List getOperations() { + return operations; + } + + /** + * Required. The list of operations. + * @param operations operations or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesRemoveCampaignAutomaticallyCreatedAssetRequest setOperations(java.util.List operations) { + this.operations = operations; + return this; + } + + /** + * Required. If true, successful operations will be carried out and invalid operations will return + * errors. If false, all operations will be carried out in one transaction if and only if they are + * all valid. + * @return value or {@code null} for none + */ + public java.lang.Boolean getPartialFailure() { + return partialFailure; + } + + /** + * Required. If true, successful operations will be carried out and invalid operations will return + * errors. If false, all operations will be carried out in one transaction if and only if they are + * all valid. + * @param partialFailure partialFailure or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesRemoveCampaignAutomaticallyCreatedAssetRequest setPartialFailure(java.lang.Boolean partialFailure) { + this.partialFailure = partialFailure; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesRemoveCampaignAutomaticallyCreatedAssetRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesRemoveCampaignAutomaticallyCreatedAssetRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesRemoveCampaignAutomaticallyCreatedAssetRequest clone() { + return (GoogleAdsSearchads360V23ServicesRemoveCampaignAutomaticallyCreatedAssetRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesRemoveCampaignAutomaticallyCreatedAssetResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesRemoveCampaignAutomaticallyCreatedAssetResponse.java new file mode 100644 index 00000000000..7facb07cbc4 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesRemoveCampaignAutomaticallyCreatedAssetResponse.java @@ -0,0 +1,80 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for + * AutomaticallyCreatedAssetRemovalService.RemoveCampaignAutomaticallyCreatedAsset. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesRemoveCampaignAutomaticallyCreatedAssetResponse extends com.google.api.client.json.GenericJson { + + /** + * Errors that pertain to AutomaticallyCreatedAssetRemoval failures in the partial failure mode. + * Returned when all errors occur inside the operations. If any errors occur outside the + * operations (for example, auth errors), RPC level error will be returned. See + * https://developers.google.com/google-ads/api/docs/best-practices/partial-failures for more + * information about partial failure. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleRpcStatus partialFailureError; + + /** + * Errors that pertain to AutomaticallyCreatedAssetRemoval failures in the partial failure mode. + * Returned when all errors occur inside the operations. If any errors occur outside the + * operations (for example, auth errors), RPC level error will be returned. See + * https://developers.google.com/google-ads/api/docs/best-practices/partial-failures for more + * information about partial failure. + * @return value or {@code null} for none + */ + public GoogleRpcStatus getPartialFailureError() { + return partialFailureError; + } + + /** + * Errors that pertain to AutomaticallyCreatedAssetRemoval failures in the partial failure mode. + * Returned when all errors occur inside the operations. If any errors occur outside the + * operations (for example, auth errors), RPC level error will be returned. See + * https://developers.google.com/google-ads/api/docs/best-practices/partial-failures for more + * information about partial failure. + * @param partialFailureError partialFailureError or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesRemoveCampaignAutomaticallyCreatedAssetResponse setPartialFailureError(GoogleRpcStatus partialFailureError) { + this.partialFailureError = partialFailureError; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesRemoveCampaignAutomaticallyCreatedAssetResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesRemoveCampaignAutomaticallyCreatedAssetResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesRemoveCampaignAutomaticallyCreatedAssetResponse clone() { + return (GoogleAdsSearchads360V23ServicesRemoveCampaignAutomaticallyCreatedAssetResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesRemoveDataLinkRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesRemoveDataLinkRequest.java new file mode 100644 index 00000000000..e627de0fde7 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesRemoveDataLinkRequest.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for DataLinkService.RemoveDataLink. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesRemoveDataLinkRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The data link is expected to have a valid resource name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Required. The data link is expected to have a valid resource name. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Required. The data link is expected to have a valid resource name. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesRemoveDataLinkRequest setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesRemoveDataLinkRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesRemoveDataLinkRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesRemoveDataLinkRequest clone() { + return (GoogleAdsSearchads360V23ServicesRemoveDataLinkRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesRemoveDataLinkResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesRemoveDataLinkResponse.java new file mode 100644 index 00000000000..4c2946f22ba --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesRemoveDataLinkResponse.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for DataLinkService.RemoveDataLink. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesRemoveDataLinkResponse extends com.google.api.client.json.GenericJson { + + /** + * Result for the remove request. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Result for the remove request. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Result for the remove request. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesRemoveDataLinkResponse setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesRemoveDataLinkResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesRemoveDataLinkResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesRemoveDataLinkResponse clone() { + return (GoogleAdsSearchads360V23ServicesRemoveDataLinkResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesRemoveProductLinkInvitationRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesRemoveProductLinkInvitationRequest.java new file mode 100644 index 00000000000..08796b843ef --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesRemoveProductLinkInvitationRequest.java @@ -0,0 +1,70 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for ProductLinkInvitationService.RemoveProductLinkInvitation. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesRemoveProductLinkInvitationRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The resource name of the product link invitation being removed. expected, in this + * format: ` ` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Required. The resource name of the product link invitation being removed. expected, in this + * format: ` ` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Required. The resource name of the product link invitation being removed. expected, in this + * format: ` ` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesRemoveProductLinkInvitationRequest setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesRemoveProductLinkInvitationRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesRemoveProductLinkInvitationRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesRemoveProductLinkInvitationRequest clone() { + return (GoogleAdsSearchads360V23ServicesRemoveProductLinkInvitationRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesRemoveProductLinkInvitationResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesRemoveProductLinkInvitationResponse.java new file mode 100644 index 00000000000..713db0ebb4c --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesRemoveProductLinkInvitationResponse.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for product link invitation removeal. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesRemoveProductLinkInvitationResponse extends com.google.api.client.json.GenericJson { + + /** + * Result for the remove request. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Result for the remove request. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Result for the remove request. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesRemoveProductLinkInvitationResponse setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesRemoveProductLinkInvitationResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesRemoveProductLinkInvitationResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesRemoveProductLinkInvitationResponse clone() { + return (GoogleAdsSearchads360V23ServicesRemoveProductLinkInvitationResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesRemoveProductLinkRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesRemoveProductLinkRequest.java new file mode 100644 index 00000000000..7a3fd086aa4 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesRemoveProductLinkRequest.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for ProductLinkService.RemoveProductLink. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesRemoveProductLinkRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. Remove operation: A resource name for the product link to remove is expected, in this + * format: ` ` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean validateOnly; + + /** + * Required. Remove operation: A resource name for the product link to remove is expected, in this + * format: ` ` + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Required. Remove operation: A resource name for the product link to remove is expected, in this + * format: ` ` + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesRemoveProductLinkRequest setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @return value or {@code null} for none + */ + public java.lang.Boolean getValidateOnly() { + return validateOnly; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @param validateOnly validateOnly or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesRemoveProductLinkRequest setValidateOnly(java.lang.Boolean validateOnly) { + this.validateOnly = validateOnly; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesRemoveProductLinkRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesRemoveProductLinkRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesRemoveProductLinkRequest clone() { + return (GoogleAdsSearchads360V23ServicesRemoveProductLinkRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesRemoveProductLinkResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesRemoveProductLinkResponse.java new file mode 100644 index 00000000000..31d79c478b0 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesRemoveProductLinkResponse.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for product link removal. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesRemoveProductLinkResponse extends com.google.api.client.json.GenericJson { + + /** + * Result for the remove request. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Result for the remove request. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Result for the remove request. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesRemoveProductLinkResponse setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesRemoveProductLinkResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesRemoveProductLinkResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesRemoveProductLinkResponse clone() { + return (GoogleAdsSearchads360V23ServicesRemoveProductLinkResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesRunBatchJobRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesRunBatchJobRequest.java new file mode 100644 index 00000000000..eebe698b9f3 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesRunBatchJobRequest.java @@ -0,0 +1,43 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for BatchJobService.RunBatchJob. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesRunBatchJobRequest extends com.google.api.client.json.GenericJson { + + @Override + public GoogleAdsSearchads360V23ServicesRunBatchJobRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesRunBatchJobRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesRunBatchJobRequest clone() { + return (GoogleAdsSearchads360V23ServicesRunBatchJobRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesRunOfflineUserDataJobRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesRunOfflineUserDataJobRequest.java new file mode 100644 index 00000000000..3b4ea96267f --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesRunOfflineUserDataJobRequest.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for OfflineUserDataJobService.RunOfflineUserDataJob. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesRunOfflineUserDataJobRequest extends com.google.api.client.json.GenericJson { + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean validateOnly; + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @return value or {@code null} for none + */ + public java.lang.Boolean getValidateOnly() { + return validateOnly; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @param validateOnly validateOnly or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesRunOfflineUserDataJobRequest setValidateOnly(java.lang.Boolean validateOnly) { + this.validateOnly = validateOnly; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesRunOfflineUserDataJobRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesRunOfflineUserDataJobRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesRunOfflineUserDataJobRequest clone() { + return (GoogleAdsSearchads360V23ServicesRunOfflineUserDataJobRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesScheduleExperimentMetadata.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesScheduleExperimentMetadata.java new file mode 100644 index 00000000000..33197d67d2d --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesScheduleExperimentMetadata.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The metadata of the scheduled experiment. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesScheduleExperimentMetadata extends com.google.api.client.json.GenericJson { + + /** + * Required. The scheduled experiment. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String experiment; + + /** + * Required. The scheduled experiment. + * @return value or {@code null} for none + */ + public java.lang.String getExperiment() { + return experiment; + } + + /** + * Required. The scheduled experiment. + * @param experiment experiment or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesScheduleExperimentMetadata setExperiment(java.lang.String experiment) { + this.experiment = experiment; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesScheduleExperimentMetadata set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesScheduleExperimentMetadata) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesScheduleExperimentMetadata clone() { + return (GoogleAdsSearchads360V23ServicesScheduleExperimentMetadata) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesScheduleExperimentRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesScheduleExperimentRequest.java new file mode 100644 index 00000000000..177ca3952e4 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesScheduleExperimentRequest.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for ExperimentService.ScheduleExperiment. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesScheduleExperimentRequest extends com.google.api.client.json.GenericJson { + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean validateOnly; + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @return value or {@code null} for none + */ + public java.lang.Boolean getValidateOnly() { + return validateOnly; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @param validateOnly validateOnly or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesScheduleExperimentRequest setValidateOnly(java.lang.Boolean validateOnly) { + this.validateOnly = validateOnly; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesScheduleExperimentRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesScheduleExperimentRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesScheduleExperimentRequest clone() { + return (GoogleAdsSearchads360V23ServicesScheduleExperimentRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSearchAds360CampaignOperation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSearchAds360CampaignOperation.java new file mode 100644 index 00000000000..9260bbbaac4 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSearchAds360CampaignOperation.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A single operation (update) on a Search Ads 360 campaign. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesSearchAds360CampaignOperation extends com.google.api.client.json.GenericJson { + + /** + * Update operation: The Search Ads 360 campaign is expected to have a valid resource name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesSearchAds360Campaign update; + + /** + * FieldMask that determines which resource fields are modified in an update. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String updateMask; + + /** + * Update operation: The Search Ads 360 campaign is expected to have a valid resource name. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesSearchAds360Campaign getUpdate() { + return update; + } + + /** + * Update operation: The Search Ads 360 campaign is expected to have a valid resource name. + * @param update update or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360CampaignOperation setUpdate(GoogleAdsSearchads360V23ResourcesSearchAds360Campaign update) { + this.update = update; + return this; + } + + /** + * FieldMask that determines which resource fields are modified in an update. + * @return value or {@code null} for none + */ + public String getUpdateMask() { + return updateMask; + } + + /** + * FieldMask that determines which resource fields are modified in an update. + * @param updateMask updateMask or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360CampaignOperation setUpdateMask(String updateMask) { + this.updateMask = updateMask; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesSearchAds360CampaignOperation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesSearchAds360CampaignOperation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesSearchAds360CampaignOperation clone() { + return (GoogleAdsSearchads360V23ServicesSearchAds360CampaignOperation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSearchAds360Row.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSearchAds360Row.java new file mode 100644 index 00000000000..e57aa811d93 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSearchAds360Row.java @@ -0,0 +1,4489 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A returned row from the query. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesSearchAds360Row extends com.google.api.client.json.GenericJson { + + /** + * The accessible bidding strategy referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategy accessibleBiddingStrategy; + + /** + * The account budget in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAccountBudget accountBudget; + + /** + * The account budget proposal referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAccountBudgetProposal accountBudgetProposal; + + /** + * The AccountLink referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAccountLink accountLink; + + /** + * The Ad referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAd ad; + + /** + * The ad group referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAdGroup adGroup; + + /** + * The ad referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAdGroupAd adGroupAd; + + /** + * The ad group ad asset combination view in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAdGroupAdAssetCombinationView adGroupAdAssetCombinationView; + + /** + * The ad group ad asset view in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAdGroupAdAssetView adGroupAdAssetView; + + /** + * The ad group ad effective label referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAdGroupAdEffectiveLabel adGroupAdEffectiveLabel; + + /** + * The ad group ad label referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAdGroupAdLabel adGroupAdLabel; + + /** + * The ad group asset referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAdGroupAsset adGroupAsset; + + /** + * The ad group asset set referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAdGroupAssetSet adGroupAssetSet; + + /** + * The ad group audience view referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAdGroupAudienceView adGroupAudienceView; + + /** + * The bid modifier referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAdGroupBidModifier adGroupBidModifier; + + /** + * The criterion referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAdGroupCriterion adGroupCriterion; + + /** + * The ad group criterion customizer referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAdGroupCriterionCustomizer adGroupCriterionCustomizer; + + /** + * The ad group criterion effective label referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAdGroupCriterionEffectiveLabel adGroupCriterionEffectiveLabel; + + /** + * The ad group criterion label referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAdGroupCriterionLabel adGroupCriterionLabel; + + /** + * The ad group criterion simulation referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAdGroupCriterionSimulation adGroupCriterionSimulation; + + /** + * The ad group customizer referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAdGroupCustomizer adGroupCustomizer; + + /** + * The ad group effective label referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAdGroupEffectiveLabel adGroupEffectiveLabel; + + /** + * The ad group label referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAdGroupLabel adGroupLabel; + + /** + * The ad group simulation referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAdGroupSimulation adGroupSimulation; + + /** + * The ad parameter referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAdParameter adParameter; + + /** + * The ad schedule view referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAdScheduleView adScheduleView; + + /** + * The age range view referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAgeRangeView ageRangeView; + + /** + * The AI Max search term ad combination view referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAiMaxSearchTermAdCombinationView aiMaxSearchTermAdCombinationView; + + /** + * The android privacy shared key google ad group referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAndroidPrivacySharedKeyGoogleAdGroup androidPrivacySharedKeyGoogleAdGroup; + + /** + * The android privacy shared key google campaign referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAndroidPrivacySharedKeyGoogleCampaign androidPrivacySharedKeyGoogleCampaign; + + /** + * The android privacy shared key google network type referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAndroidPrivacySharedKeyGoogleNetworkType androidPrivacySharedKeyGoogleNetworkType; + + /** + * The asset referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAsset asset; + + /** + * The asset field type view referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAssetFieldTypeView assetFieldTypeView; + + /** + * The asset group referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAssetGroup assetGroup; + + /** + * The asset group asset referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAssetGroupAsset assetGroupAsset; + + /** + * The asset group listing group filter referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAssetGroupListingGroupFilter assetGroupListingGroupFilter; + + /** + * The asset group product group view referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAssetGroupProductGroupView assetGroupProductGroupView; + + /** + * The asset group signal referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAssetGroupSignal assetGroupSignal; + + /** + * The asset group top combination view referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAssetGroupTopCombinationView assetGroupTopCombinationView; + + /** + * The asset set referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAssetSet assetSet; + + /** + * The asset set asset referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAssetSetAsset assetSetAsset; + + /** + * The asset set type view referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAssetSetTypeView assetSetTypeView; + + /** + * The Audience referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesAudience audience; + + /** + * The batch job referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesBatchJob batchJob; + + /** + * The bidding data exclusion referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesBiddingDataExclusion biddingDataExclusion; + + /** + * The bidding seasonality adjustment referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesBiddingSeasonalityAdjustment biddingSeasonalityAdjustment; + + /** + * The bidding strategy referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesBiddingStrategy biddingStrategy; + + /** + * The bidding strategy simulation referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesBiddingStrategySimulation biddingStrategySimulation; + + /** + * The billing setup referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesBillingSetup billingSetup; + + /** + * The call view referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCallView callView; + + /** + * The campaign referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCampaign campaign; + + /** + * The campaign asset referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCampaignAsset campaignAsset; + + /** + * The campaign asset set referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCampaignAssetSet campaignAssetSet; + + /** + * The campaign audience view referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCampaignAudienceView campaignAudienceView; + + /** + * The campaign bid modifier referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCampaignBidModifier campaignBidModifier; + + /** + * The campaign budget referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCampaignBudget campaignBudget; + + /** + * The CampaignConversionGoal referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCampaignConversionGoal campaignConversionGoal; + + /** + * The campaign criterion referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCampaignCriterion campaignCriterion; + + /** + * The campaign customizer referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCampaignCustomizer campaignCustomizer; + + /** + * The campaign draft referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCampaignDraft campaignDraft; + + /** + * The campaign effective label referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCampaignEffectiveLabel campaignEffectiveLabel; + + /** + * The campaign goal config referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCampaignGoalConfig campaignGoalConfig; + + /** + * Campaign Group referenced in AWQL query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCampaignGroup campaignGroup; + + /** + * The campaign label referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCampaignLabel campaignLabel; + + /** + * The campaign lifecycle goal referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCampaignLifecycleGoal campaignLifecycleGoal; + + /** + * The campaign search term insight referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCampaignSearchTermInsight campaignSearchTermInsight; + + /** + * The campaign-level search term view referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCampaignSearchTermView campaignSearchTermView; + + /** + * Campaign Shared Set referenced in AWQL query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCampaignSharedSet campaignSharedSet; + + /** + * The campaign simulation referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCampaignSimulation campaignSimulation; + + /** + * The carrier constant referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCarrierConstant carrierConstant; + + /** + * The cart data sales view referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCartDataSalesView cartDataSalesView; + + /** + * The ChangeEvent referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesChangeEvent changeEvent; + + /** + * The ChangeStatus referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesChangeStatus changeStatus; + + /** + * The ClickView referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesClickView clickView; + + /** + * The CombinedAudience referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCombinedAudience combinedAudience; + + /** + * The content criterion view referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesContentCriterionView contentCriterionView; + + /** + * The event level conversion referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesConversion conversion; + + /** + * The conversion action referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesConversionAction conversionAction; + + /** + * The conversion custom variable referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesConversionCustomVariable conversionCustomVariable; + + /** + * The ConversionGoalCampaignConfig referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesConversionGoalCampaignConfig conversionGoalCampaignConfig; + + /** + * The conversion value rule referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesConversionValueRule conversionValueRule; + + /** + * The conversion value rule set referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesConversionValueRuleSet conversionValueRuleSet; + + /** + * The currency constant referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCurrencyConstant currencyConstant; + + /** + * The CustomAudience referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCustomAudience customAudience; + + /** + * The custom columns. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List customColumns; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonValue used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonValue.class); + } + + /** + * The CustomConversionGoal referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCustomConversionGoal customConversionGoal; + + /** + * The CustomInterest referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCustomInterest customInterest; + + /** + * The customer referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCustomer customer; + + /** + * The customer asset referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCustomerAsset customerAsset; + + /** + * The customer asset set referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCustomerAssetSet customerAssetSet; + + /** + * The CustomerClient referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCustomerClient customerClient; + + /** + * The CustomerClientLink referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCustomerClientLink customerClientLink; + + /** + * The CustomerConversionGoal referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCustomerConversionGoal customerConversionGoal; + + /** + * The customer customizer referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCustomerCustomizer customerCustomizer; + + /** + * The customer label referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCustomerLabel customerLabel; + + /** + * The customer lifecycle goal referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCustomerLifecycleGoal customerLifecycleGoal; + + /** + * The CustomerManagerLink referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCustomerManagerLink customerManagerLink; + + /** + * The customer negative criterion referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCustomerNegativeCriterion customerNegativeCriterion; + + /** + * The customer search term insight referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCustomerSearchTermInsight customerSearchTermInsight; + + /** + * The CustomerUserAccess referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCustomerUserAccess customerUserAccess; + + /** + * The CustomerUserAccessInvitation referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCustomerUserAccessInvitation customerUserAccessInvitation; + + /** + * The customizer attribute referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesCustomizerAttribute customizerAttribute; + + /** + * The data link referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesDataLink dataLink; + + /** + * The detail content suitability placement view referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesDetailContentSuitabilityPlacementView detailContentSuitabilityPlacementView; + + /** + * The detail placement view referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesDetailPlacementView detailPlacementView; + + /** + * The detailed demographic referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesDetailedDemographic detailedDemographic; + + /** + * The display keyword view referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesDisplayKeywordView displayKeywordView; + + /** + * The distance view referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesDistanceView distanceView; + + /** + * The dynamic search ads search term view referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesDynamicSearchAdsSearchTermView dynamicSearchAdsSearchTermView; + + /** + * The expanded landing page view referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesExpandedLandingPageView expandedLandingPageView; + + /** + * The experiment referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesExperiment experiment; + + /** + * The experiment arm referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesExperimentArm experimentArm; + + /** + * The final url expansion asset view referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesFinalUrlExpansionAssetView finalUrlExpansionAssetView; + + /** + * The gender view referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesGenderView genderView; + + /** + * The geo target constant referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesGeoTargetConstant geoTargetConstant; + + /** + * The geographic view referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesGeographicView geographicView; + + /** + * The goal in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesGoal goal; + + /** + * The group content suitability placement view referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesGroupContentSuitabilityPlacementView groupContentSuitabilityPlacementView; + + /** + * The group placement view referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesGroupPlacementView groupPlacementView; + + /** + * The hotel group view referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesHotelGroupView hotelGroupView; + + /** + * The hotel performance view referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesHotelPerformanceView hotelPerformanceView; + + /** + * The hotel reconciliation referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesHotelReconciliation hotelReconciliation; + + /** + * The income range view referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesIncomeRangeView incomeRangeView; + + /** + * The keyword plan referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesKeywordPlan keywordPlan; + + /** + * The keyword plan ad group referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesKeywordPlanAdGroup keywordPlanAdGroup; + + /** + * The keyword plan ad group referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesKeywordPlanAdGroupKeyword keywordPlanAdGroupKeyword; + + /** + * The keyword plan campaign referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesKeywordPlanCampaign keywordPlanCampaign; + + /** + * The keyword plan campaign keyword referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesKeywordPlanCampaignKeyword keywordPlanCampaignKeyword; + + /** + * The keyword theme constant referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesKeywordThemeConstant keywordThemeConstant; + + /** + * The keyword view referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesKeywordView keywordView; + + /** + * The label referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesLabel label; + + /** + * The landing page view referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesLandingPageView landingPageView; + + /** + * The language constant referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesLanguageConstant languageConstant; + + /** + * The lead form user submission referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesLeadFormSubmissionData leadFormSubmissionData; + + /** + * The life event referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesLifeEvent lifeEvent; + + /** + * The local services employee referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesLocalServicesEmployee localServicesEmployee; + + /** + * The local services lead referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesLocalServicesLead localServicesLead; + + /** + * The local services lead conversationreferenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesLocalServicesLeadConversation localServicesLeadConversation; + + /** + * The local services verification artifact referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesLocalServicesVerificationArtifact localServicesVerificationArtifact; + + /** + * The location interest view referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesLocationInterestView locationInterestView; + + /** + * The location view referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesLocationView locationView; + + /** + * The managed placement view referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesManagedPlacementView managedPlacementView; + + /** + * The matched location interest view referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesMatchedLocationInterestView matchedLocationInterestView; + + /** + * The media file referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesMediaFile mediaFile; + + /** + * The metrics. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonMetrics metrics; + + /** + * The mobile app category constant referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesMobileAppCategoryConstant mobileAppCategoryConstant; + + /** + * The mobile device constant referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesMobileDeviceConstant mobileDeviceConstant; + + /** + * Offline conversion upload summary at customer level. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesOfflineConversionUploadClientSummary offlineConversionUploadClientSummary; + + /** + * Offline conversion upload summary at conversion type level. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesOfflineConversionUploadConversionActionSummary offlineConversionUploadConversionActionSummary; + + /** + * The offline user data job referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesOfflineUserDataJob offlineUserDataJob; + + /** + * The operating system version constant referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesOperatingSystemVersionConstant operatingSystemVersionConstant; + + /** + * The paid organic search term view referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesPaidOrganicSearchTermView paidOrganicSearchTermView; + + /** + * The parental status view referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesParentalStatusView parentalStatusView; + + /** + * The per store view referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesPerStoreView perStoreView; + + /** + * The performance max placement view referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesPerformanceMaxPlacementView performanceMaxPlacementView; + + /** + * The product category referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesProductCategoryConstant productCategoryConstant; + + /** + * The product group view referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesProductGroupView productGroupView; + + /** + * The product link referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesProductLink productLink; + + /** + * The product link invitation in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesProductLinkInvitation productLinkInvitation; + + /** + * The qualifying question referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesQualifyingQuestion qualifyingQuestion; + + /** + * The recommendation referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesRecommendation recommendation; + + /** + * The recommendation subscription referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesRecommendationSubscription recommendationSubscription; + + /** + * The remarketing action referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesRemarketingAction remarketingAction; + + /** + * The Search Ads 360 campaign referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesSearchAds360Campaign searchAds360Campaign; + + /** + * The search term view referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesSearchTermView searchTermView; + + /** + * The segments. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonSegments segments; + + /** + * The shared set referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesSharedCriterion sharedCriterion; + + /** + * The shared set referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesSharedSet sharedSet; + + /** + * The shopping performance view referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesShoppingPerformanceView shoppingPerformanceView; + + /** + * The shopping product referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesShoppingProduct shoppingProduct; + + /** + * The Smart campaign search term view referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesSmartCampaignSearchTermView smartCampaignSearchTermView; + + /** + * The Smart campaign setting referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesSmartCampaignSetting smartCampaignSetting; + + /** + * The Targeting expansion view referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesTargetingExpansionView targetingExpansionView; + + /** + * The AccountLink referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesThirdPartyAppAnalyticsLink thirdPartyAppAnalyticsLink; + + /** + * The topic constant referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesTopicConstant topicConstant; + + /** + * The topic view referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesTopicView topicView; + + /** + * The travel activity group view referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesTravelActivityGroupView travelActivityGroupView; + + /** + * The travel activity performance view referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesTravelActivityPerformanceView travelActivityPerformanceView; + + /** + * The user interest referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesUserInterest userInterest; + + /** + * The user list referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesUserList userList; + + /** + * The user list customer type in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesUserListCustomerType userListCustomerType; + + /** + * The user location view referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesUserLocationView userLocationView; + + /** + * The video referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesVideo video; + + /** + * The event level visit referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesVisit visit; + + /** + * The webpage view referenced in the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesWebpageView webpageView; + + /** + * The accessible bidding strategy referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategy getAccessibleBiddingStrategy() { + return accessibleBiddingStrategy; + } + + /** + * The accessible bidding strategy referenced in the query. + * @param accessibleBiddingStrategy accessibleBiddingStrategy or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setAccessibleBiddingStrategy(GoogleAdsSearchads360V23ResourcesAccessibleBiddingStrategy accessibleBiddingStrategy) { + this.accessibleBiddingStrategy = accessibleBiddingStrategy; + return this; + } + + /** + * The account budget in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAccountBudget getAccountBudget() { + return accountBudget; + } + + /** + * The account budget in the query. + * @param accountBudget accountBudget or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setAccountBudget(GoogleAdsSearchads360V23ResourcesAccountBudget accountBudget) { + this.accountBudget = accountBudget; + return this; + } + + /** + * The account budget proposal referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAccountBudgetProposal getAccountBudgetProposal() { + return accountBudgetProposal; + } + + /** + * The account budget proposal referenced in the query. + * @param accountBudgetProposal accountBudgetProposal or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setAccountBudgetProposal(GoogleAdsSearchads360V23ResourcesAccountBudgetProposal accountBudgetProposal) { + this.accountBudgetProposal = accountBudgetProposal; + return this; + } + + /** + * The AccountLink referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAccountLink getAccountLink() { + return accountLink; + } + + /** + * The AccountLink referenced in the query. + * @param accountLink accountLink or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setAccountLink(GoogleAdsSearchads360V23ResourcesAccountLink accountLink) { + this.accountLink = accountLink; + return this; + } + + /** + * The Ad referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAd getAd() { + return ad; + } + + /** + * The Ad referenced in the query. + * @param ad ad or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setAd(GoogleAdsSearchads360V23ResourcesAd ad) { + this.ad = ad; + return this; + } + + /** + * The ad group referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroup getAdGroup() { + return adGroup; + } + + /** + * The ad group referenced in the query. + * @param adGroup adGroup or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setAdGroup(GoogleAdsSearchads360V23ResourcesAdGroup adGroup) { + this.adGroup = adGroup; + return this; + } + + /** + * The ad referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupAd getAdGroupAd() { + return adGroupAd; + } + + /** + * The ad referenced in the query. + * @param adGroupAd adGroupAd or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setAdGroupAd(GoogleAdsSearchads360V23ResourcesAdGroupAd adGroupAd) { + this.adGroupAd = adGroupAd; + return this; + } + + /** + * The ad group ad asset combination view in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupAdAssetCombinationView getAdGroupAdAssetCombinationView() { + return adGroupAdAssetCombinationView; + } + + /** + * The ad group ad asset combination view in the query. + * @param adGroupAdAssetCombinationView adGroupAdAssetCombinationView or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setAdGroupAdAssetCombinationView(GoogleAdsSearchads360V23ResourcesAdGroupAdAssetCombinationView adGroupAdAssetCombinationView) { + this.adGroupAdAssetCombinationView = adGroupAdAssetCombinationView; + return this; + } + + /** + * The ad group ad asset view in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupAdAssetView getAdGroupAdAssetView() { + return adGroupAdAssetView; + } + + /** + * The ad group ad asset view in the query. + * @param adGroupAdAssetView adGroupAdAssetView or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setAdGroupAdAssetView(GoogleAdsSearchads360V23ResourcesAdGroupAdAssetView adGroupAdAssetView) { + this.adGroupAdAssetView = adGroupAdAssetView; + return this; + } + + /** + * The ad group ad effective label referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupAdEffectiveLabel getAdGroupAdEffectiveLabel() { + return adGroupAdEffectiveLabel; + } + + /** + * The ad group ad effective label referenced in the query. + * @param adGroupAdEffectiveLabel adGroupAdEffectiveLabel or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setAdGroupAdEffectiveLabel(GoogleAdsSearchads360V23ResourcesAdGroupAdEffectiveLabel adGroupAdEffectiveLabel) { + this.adGroupAdEffectiveLabel = adGroupAdEffectiveLabel; + return this; + } + + /** + * The ad group ad label referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupAdLabel getAdGroupAdLabel() { + return adGroupAdLabel; + } + + /** + * The ad group ad label referenced in the query. + * @param adGroupAdLabel adGroupAdLabel or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setAdGroupAdLabel(GoogleAdsSearchads360V23ResourcesAdGroupAdLabel adGroupAdLabel) { + this.adGroupAdLabel = adGroupAdLabel; + return this; + } + + /** + * The ad group asset referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupAsset getAdGroupAsset() { + return adGroupAsset; + } + + /** + * The ad group asset referenced in the query. + * @param adGroupAsset adGroupAsset or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setAdGroupAsset(GoogleAdsSearchads360V23ResourcesAdGroupAsset adGroupAsset) { + this.adGroupAsset = adGroupAsset; + return this; + } + + /** + * The ad group asset set referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupAssetSet getAdGroupAssetSet() { + return adGroupAssetSet; + } + + /** + * The ad group asset set referenced in the query. + * @param adGroupAssetSet adGroupAssetSet or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setAdGroupAssetSet(GoogleAdsSearchads360V23ResourcesAdGroupAssetSet adGroupAssetSet) { + this.adGroupAssetSet = adGroupAssetSet; + return this; + } + + /** + * The ad group audience view referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupAudienceView getAdGroupAudienceView() { + return adGroupAudienceView; + } + + /** + * The ad group audience view referenced in the query. + * @param adGroupAudienceView adGroupAudienceView or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setAdGroupAudienceView(GoogleAdsSearchads360V23ResourcesAdGroupAudienceView adGroupAudienceView) { + this.adGroupAudienceView = adGroupAudienceView; + return this; + } + + /** + * The bid modifier referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupBidModifier getAdGroupBidModifier() { + return adGroupBidModifier; + } + + /** + * The bid modifier referenced in the query. + * @param adGroupBidModifier adGroupBidModifier or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setAdGroupBidModifier(GoogleAdsSearchads360V23ResourcesAdGroupBidModifier adGroupBidModifier) { + this.adGroupBidModifier = adGroupBidModifier; + return this; + } + + /** + * The criterion referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterion getAdGroupCriterion() { + return adGroupCriterion; + } + + /** + * The criterion referenced in the query. + * @param adGroupCriterion adGroupCriterion or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setAdGroupCriterion(GoogleAdsSearchads360V23ResourcesAdGroupCriterion adGroupCriterion) { + this.adGroupCriterion = adGroupCriterion; + return this; + } + + /** + * The ad group criterion customizer referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterionCustomizer getAdGroupCriterionCustomizer() { + return adGroupCriterionCustomizer; + } + + /** + * The ad group criterion customizer referenced in the query. + * @param adGroupCriterionCustomizer adGroupCriterionCustomizer or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setAdGroupCriterionCustomizer(GoogleAdsSearchads360V23ResourcesAdGroupCriterionCustomizer adGroupCriterionCustomizer) { + this.adGroupCriterionCustomizer = adGroupCriterionCustomizer; + return this; + } + + /** + * The ad group criterion effective label referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterionEffectiveLabel getAdGroupCriterionEffectiveLabel() { + return adGroupCriterionEffectiveLabel; + } + + /** + * The ad group criterion effective label referenced in the query. + * @param adGroupCriterionEffectiveLabel adGroupCriterionEffectiveLabel or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setAdGroupCriterionEffectiveLabel(GoogleAdsSearchads360V23ResourcesAdGroupCriterionEffectiveLabel adGroupCriterionEffectiveLabel) { + this.adGroupCriterionEffectiveLabel = adGroupCriterionEffectiveLabel; + return this; + } + + /** + * The ad group criterion label referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterionLabel getAdGroupCriterionLabel() { + return adGroupCriterionLabel; + } + + /** + * The ad group criterion label referenced in the query. + * @param adGroupCriterionLabel adGroupCriterionLabel or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setAdGroupCriterionLabel(GoogleAdsSearchads360V23ResourcesAdGroupCriterionLabel adGroupCriterionLabel) { + this.adGroupCriterionLabel = adGroupCriterionLabel; + return this; + } + + /** + * The ad group criterion simulation referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCriterionSimulation getAdGroupCriterionSimulation() { + return adGroupCriterionSimulation; + } + + /** + * The ad group criterion simulation referenced in the query. + * @param adGroupCriterionSimulation adGroupCriterionSimulation or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setAdGroupCriterionSimulation(GoogleAdsSearchads360V23ResourcesAdGroupCriterionSimulation adGroupCriterionSimulation) { + this.adGroupCriterionSimulation = adGroupCriterionSimulation; + return this; + } + + /** + * The ad group customizer referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupCustomizer getAdGroupCustomizer() { + return adGroupCustomizer; + } + + /** + * The ad group customizer referenced in the query. + * @param adGroupCustomizer adGroupCustomizer or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setAdGroupCustomizer(GoogleAdsSearchads360V23ResourcesAdGroupCustomizer adGroupCustomizer) { + this.adGroupCustomizer = adGroupCustomizer; + return this; + } + + /** + * The ad group effective label referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupEffectiveLabel getAdGroupEffectiveLabel() { + return adGroupEffectiveLabel; + } + + /** + * The ad group effective label referenced in the query. + * @param adGroupEffectiveLabel adGroupEffectiveLabel or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setAdGroupEffectiveLabel(GoogleAdsSearchads360V23ResourcesAdGroupEffectiveLabel adGroupEffectiveLabel) { + this.adGroupEffectiveLabel = adGroupEffectiveLabel; + return this; + } + + /** + * The ad group label referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupLabel getAdGroupLabel() { + return adGroupLabel; + } + + /** + * The ad group label referenced in the query. + * @param adGroupLabel adGroupLabel or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setAdGroupLabel(GoogleAdsSearchads360V23ResourcesAdGroupLabel adGroupLabel) { + this.adGroupLabel = adGroupLabel; + return this; + } + + /** + * The ad group simulation referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdGroupSimulation getAdGroupSimulation() { + return adGroupSimulation; + } + + /** + * The ad group simulation referenced in the query. + * @param adGroupSimulation adGroupSimulation or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setAdGroupSimulation(GoogleAdsSearchads360V23ResourcesAdGroupSimulation adGroupSimulation) { + this.adGroupSimulation = adGroupSimulation; + return this; + } + + /** + * The ad parameter referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdParameter getAdParameter() { + return adParameter; + } + + /** + * The ad parameter referenced in the query. + * @param adParameter adParameter or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setAdParameter(GoogleAdsSearchads360V23ResourcesAdParameter adParameter) { + this.adParameter = adParameter; + return this; + } + + /** + * The ad schedule view referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAdScheduleView getAdScheduleView() { + return adScheduleView; + } + + /** + * The ad schedule view referenced in the query. + * @param adScheduleView adScheduleView or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setAdScheduleView(GoogleAdsSearchads360V23ResourcesAdScheduleView adScheduleView) { + this.adScheduleView = adScheduleView; + return this; + } + + /** + * The age range view referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAgeRangeView getAgeRangeView() { + return ageRangeView; + } + + /** + * The age range view referenced in the query. + * @param ageRangeView ageRangeView or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setAgeRangeView(GoogleAdsSearchads360V23ResourcesAgeRangeView ageRangeView) { + this.ageRangeView = ageRangeView; + return this; + } + + /** + * The AI Max search term ad combination view referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAiMaxSearchTermAdCombinationView getAiMaxSearchTermAdCombinationView() { + return aiMaxSearchTermAdCombinationView; + } + + /** + * The AI Max search term ad combination view referenced in the query. + * @param aiMaxSearchTermAdCombinationView aiMaxSearchTermAdCombinationView or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setAiMaxSearchTermAdCombinationView(GoogleAdsSearchads360V23ResourcesAiMaxSearchTermAdCombinationView aiMaxSearchTermAdCombinationView) { + this.aiMaxSearchTermAdCombinationView = aiMaxSearchTermAdCombinationView; + return this; + } + + /** + * The android privacy shared key google ad group referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAndroidPrivacySharedKeyGoogleAdGroup getAndroidPrivacySharedKeyGoogleAdGroup() { + return androidPrivacySharedKeyGoogleAdGroup; + } + + /** + * The android privacy shared key google ad group referenced in the query. + * @param androidPrivacySharedKeyGoogleAdGroup androidPrivacySharedKeyGoogleAdGroup or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setAndroidPrivacySharedKeyGoogleAdGroup(GoogleAdsSearchads360V23ResourcesAndroidPrivacySharedKeyGoogleAdGroup androidPrivacySharedKeyGoogleAdGroup) { + this.androidPrivacySharedKeyGoogleAdGroup = androidPrivacySharedKeyGoogleAdGroup; + return this; + } + + /** + * The android privacy shared key google campaign referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAndroidPrivacySharedKeyGoogleCampaign getAndroidPrivacySharedKeyGoogleCampaign() { + return androidPrivacySharedKeyGoogleCampaign; + } + + /** + * The android privacy shared key google campaign referenced in the query. + * @param androidPrivacySharedKeyGoogleCampaign androidPrivacySharedKeyGoogleCampaign or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setAndroidPrivacySharedKeyGoogleCampaign(GoogleAdsSearchads360V23ResourcesAndroidPrivacySharedKeyGoogleCampaign androidPrivacySharedKeyGoogleCampaign) { + this.androidPrivacySharedKeyGoogleCampaign = androidPrivacySharedKeyGoogleCampaign; + return this; + } + + /** + * The android privacy shared key google network type referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAndroidPrivacySharedKeyGoogleNetworkType getAndroidPrivacySharedKeyGoogleNetworkType() { + return androidPrivacySharedKeyGoogleNetworkType; + } + + /** + * The android privacy shared key google network type referenced in the query. + * @param androidPrivacySharedKeyGoogleNetworkType androidPrivacySharedKeyGoogleNetworkType or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setAndroidPrivacySharedKeyGoogleNetworkType(GoogleAdsSearchads360V23ResourcesAndroidPrivacySharedKeyGoogleNetworkType androidPrivacySharedKeyGoogleNetworkType) { + this.androidPrivacySharedKeyGoogleNetworkType = androidPrivacySharedKeyGoogleNetworkType; + return this; + } + + /** + * The asset referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAsset getAsset() { + return asset; + } + + /** + * The asset referenced in the query. + * @param asset asset or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setAsset(GoogleAdsSearchads360V23ResourcesAsset asset) { + this.asset = asset; + return this; + } + + /** + * The asset field type view referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetFieldTypeView getAssetFieldTypeView() { + return assetFieldTypeView; + } + + /** + * The asset field type view referenced in the query. + * @param assetFieldTypeView assetFieldTypeView or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setAssetFieldTypeView(GoogleAdsSearchads360V23ResourcesAssetFieldTypeView assetFieldTypeView) { + this.assetFieldTypeView = assetFieldTypeView; + return this; + } + + /** + * The asset group referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetGroup getAssetGroup() { + return assetGroup; + } + + /** + * The asset group referenced in the query. + * @param assetGroup assetGroup or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setAssetGroup(GoogleAdsSearchads360V23ResourcesAssetGroup assetGroup) { + this.assetGroup = assetGroup; + return this; + } + + /** + * The asset group asset referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetGroupAsset getAssetGroupAsset() { + return assetGroupAsset; + } + + /** + * The asset group asset referenced in the query. + * @param assetGroupAsset assetGroupAsset or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setAssetGroupAsset(GoogleAdsSearchads360V23ResourcesAssetGroupAsset assetGroupAsset) { + this.assetGroupAsset = assetGroupAsset; + return this; + } + + /** + * The asset group listing group filter referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetGroupListingGroupFilter getAssetGroupListingGroupFilter() { + return assetGroupListingGroupFilter; + } + + /** + * The asset group listing group filter referenced in the query. + * @param assetGroupListingGroupFilter assetGroupListingGroupFilter or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setAssetGroupListingGroupFilter(GoogleAdsSearchads360V23ResourcesAssetGroupListingGroupFilter assetGroupListingGroupFilter) { + this.assetGroupListingGroupFilter = assetGroupListingGroupFilter; + return this; + } + + /** + * The asset group product group view referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetGroupProductGroupView getAssetGroupProductGroupView() { + return assetGroupProductGroupView; + } + + /** + * The asset group product group view referenced in the query. + * @param assetGroupProductGroupView assetGroupProductGroupView or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setAssetGroupProductGroupView(GoogleAdsSearchads360V23ResourcesAssetGroupProductGroupView assetGroupProductGroupView) { + this.assetGroupProductGroupView = assetGroupProductGroupView; + return this; + } + + /** + * The asset group signal referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetGroupSignal getAssetGroupSignal() { + return assetGroupSignal; + } + + /** + * The asset group signal referenced in the query. + * @param assetGroupSignal assetGroupSignal or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setAssetGroupSignal(GoogleAdsSearchads360V23ResourcesAssetGroupSignal assetGroupSignal) { + this.assetGroupSignal = assetGroupSignal; + return this; + } + + /** + * The asset group top combination view referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetGroupTopCombinationView getAssetGroupTopCombinationView() { + return assetGroupTopCombinationView; + } + + /** + * The asset group top combination view referenced in the query. + * @param assetGroupTopCombinationView assetGroupTopCombinationView or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setAssetGroupTopCombinationView(GoogleAdsSearchads360V23ResourcesAssetGroupTopCombinationView assetGroupTopCombinationView) { + this.assetGroupTopCombinationView = assetGroupTopCombinationView; + return this; + } + + /** + * The asset set referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetSet getAssetSet() { + return assetSet; + } + + /** + * The asset set referenced in the query. + * @param assetSet assetSet or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setAssetSet(GoogleAdsSearchads360V23ResourcesAssetSet assetSet) { + this.assetSet = assetSet; + return this; + } + + /** + * The asset set asset referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetSetAsset getAssetSetAsset() { + return assetSetAsset; + } + + /** + * The asset set asset referenced in the query. + * @param assetSetAsset assetSetAsset or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setAssetSetAsset(GoogleAdsSearchads360V23ResourcesAssetSetAsset assetSetAsset) { + this.assetSetAsset = assetSetAsset; + return this; + } + + /** + * The asset set type view referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAssetSetTypeView getAssetSetTypeView() { + return assetSetTypeView; + } + + /** + * The asset set type view referenced in the query. + * @param assetSetTypeView assetSetTypeView or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setAssetSetTypeView(GoogleAdsSearchads360V23ResourcesAssetSetTypeView assetSetTypeView) { + this.assetSetTypeView = assetSetTypeView; + return this; + } + + /** + * The Audience referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAudience getAudience() { + return audience; + } + + /** + * The Audience referenced in the query. + * @param audience audience or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setAudience(GoogleAdsSearchads360V23ResourcesAudience audience) { + this.audience = audience; + return this; + } + + /** + * The batch job referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBatchJob getBatchJob() { + return batchJob; + } + + /** + * The batch job referenced in the query. + * @param batchJob batchJob or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setBatchJob(GoogleAdsSearchads360V23ResourcesBatchJob batchJob) { + this.batchJob = batchJob; + return this; + } + + /** + * The bidding data exclusion referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBiddingDataExclusion getBiddingDataExclusion() { + return biddingDataExclusion; + } + + /** + * The bidding data exclusion referenced in the query. + * @param biddingDataExclusion biddingDataExclusion or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setBiddingDataExclusion(GoogleAdsSearchads360V23ResourcesBiddingDataExclusion biddingDataExclusion) { + this.biddingDataExclusion = biddingDataExclusion; + return this; + } + + /** + * The bidding seasonality adjustment referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBiddingSeasonalityAdjustment getBiddingSeasonalityAdjustment() { + return biddingSeasonalityAdjustment; + } + + /** + * The bidding seasonality adjustment referenced in the query. + * @param biddingSeasonalityAdjustment biddingSeasonalityAdjustment or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setBiddingSeasonalityAdjustment(GoogleAdsSearchads360V23ResourcesBiddingSeasonalityAdjustment biddingSeasonalityAdjustment) { + this.biddingSeasonalityAdjustment = biddingSeasonalityAdjustment; + return this; + } + + /** + * The bidding strategy referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBiddingStrategy getBiddingStrategy() { + return biddingStrategy; + } + + /** + * The bidding strategy referenced in the query. + * @param biddingStrategy biddingStrategy or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setBiddingStrategy(GoogleAdsSearchads360V23ResourcesBiddingStrategy biddingStrategy) { + this.biddingStrategy = biddingStrategy; + return this; + } + + /** + * The bidding strategy simulation referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBiddingStrategySimulation getBiddingStrategySimulation() { + return biddingStrategySimulation; + } + + /** + * The bidding strategy simulation referenced in the query. + * @param biddingStrategySimulation biddingStrategySimulation or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setBiddingStrategySimulation(GoogleAdsSearchads360V23ResourcesBiddingStrategySimulation biddingStrategySimulation) { + this.biddingStrategySimulation = biddingStrategySimulation; + return this; + } + + /** + * The billing setup referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesBillingSetup getBillingSetup() { + return billingSetup; + } + + /** + * The billing setup referenced in the query. + * @param billingSetup billingSetup or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setBillingSetup(GoogleAdsSearchads360V23ResourcesBillingSetup billingSetup) { + this.billingSetup = billingSetup; + return this; + } + + /** + * The call view referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCallView getCallView() { + return callView; + } + + /** + * The call view referenced in the query. + * @param callView callView or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setCallView(GoogleAdsSearchads360V23ResourcesCallView callView) { + this.callView = callView; + return this; + } + + /** + * The campaign referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaign getCampaign() { + return campaign; + } + + /** + * The campaign referenced in the query. + * @param campaign campaign or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setCampaign(GoogleAdsSearchads360V23ResourcesCampaign campaign) { + this.campaign = campaign; + return this; + } + + /** + * The campaign asset referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignAsset getCampaignAsset() { + return campaignAsset; + } + + /** + * The campaign asset referenced in the query. + * @param campaignAsset campaignAsset or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setCampaignAsset(GoogleAdsSearchads360V23ResourcesCampaignAsset campaignAsset) { + this.campaignAsset = campaignAsset; + return this; + } + + /** + * The campaign asset set referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignAssetSet getCampaignAssetSet() { + return campaignAssetSet; + } + + /** + * The campaign asset set referenced in the query. + * @param campaignAssetSet campaignAssetSet or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setCampaignAssetSet(GoogleAdsSearchads360V23ResourcesCampaignAssetSet campaignAssetSet) { + this.campaignAssetSet = campaignAssetSet; + return this; + } + + /** + * The campaign audience view referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignAudienceView getCampaignAudienceView() { + return campaignAudienceView; + } + + /** + * The campaign audience view referenced in the query. + * @param campaignAudienceView campaignAudienceView or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setCampaignAudienceView(GoogleAdsSearchads360V23ResourcesCampaignAudienceView campaignAudienceView) { + this.campaignAudienceView = campaignAudienceView; + return this; + } + + /** + * The campaign bid modifier referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignBidModifier getCampaignBidModifier() { + return campaignBidModifier; + } + + /** + * The campaign bid modifier referenced in the query. + * @param campaignBidModifier campaignBidModifier or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setCampaignBidModifier(GoogleAdsSearchads360V23ResourcesCampaignBidModifier campaignBidModifier) { + this.campaignBidModifier = campaignBidModifier; + return this; + } + + /** + * The campaign budget referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignBudget getCampaignBudget() { + return campaignBudget; + } + + /** + * The campaign budget referenced in the query. + * @param campaignBudget campaignBudget or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setCampaignBudget(GoogleAdsSearchads360V23ResourcesCampaignBudget campaignBudget) { + this.campaignBudget = campaignBudget; + return this; + } + + /** + * The CampaignConversionGoal referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignConversionGoal getCampaignConversionGoal() { + return campaignConversionGoal; + } + + /** + * The CampaignConversionGoal referenced in the query. + * @param campaignConversionGoal campaignConversionGoal or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setCampaignConversionGoal(GoogleAdsSearchads360V23ResourcesCampaignConversionGoal campaignConversionGoal) { + this.campaignConversionGoal = campaignConversionGoal; + return this; + } + + /** + * The campaign criterion referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignCriterion getCampaignCriterion() { + return campaignCriterion; + } + + /** + * The campaign criterion referenced in the query. + * @param campaignCriterion campaignCriterion or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setCampaignCriterion(GoogleAdsSearchads360V23ResourcesCampaignCriterion campaignCriterion) { + this.campaignCriterion = campaignCriterion; + return this; + } + + /** + * The campaign customizer referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignCustomizer getCampaignCustomizer() { + return campaignCustomizer; + } + + /** + * The campaign customizer referenced in the query. + * @param campaignCustomizer campaignCustomizer or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setCampaignCustomizer(GoogleAdsSearchads360V23ResourcesCampaignCustomizer campaignCustomizer) { + this.campaignCustomizer = campaignCustomizer; + return this; + } + + /** + * The campaign draft referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignDraft getCampaignDraft() { + return campaignDraft; + } + + /** + * The campaign draft referenced in the query. + * @param campaignDraft campaignDraft or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setCampaignDraft(GoogleAdsSearchads360V23ResourcesCampaignDraft campaignDraft) { + this.campaignDraft = campaignDraft; + return this; + } + + /** + * The campaign effective label referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignEffectiveLabel getCampaignEffectiveLabel() { + return campaignEffectiveLabel; + } + + /** + * The campaign effective label referenced in the query. + * @param campaignEffectiveLabel campaignEffectiveLabel or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setCampaignEffectiveLabel(GoogleAdsSearchads360V23ResourcesCampaignEffectiveLabel campaignEffectiveLabel) { + this.campaignEffectiveLabel = campaignEffectiveLabel; + return this; + } + + /** + * The campaign goal config referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignGoalConfig getCampaignGoalConfig() { + return campaignGoalConfig; + } + + /** + * The campaign goal config referenced in the query. + * @param campaignGoalConfig campaignGoalConfig or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setCampaignGoalConfig(GoogleAdsSearchads360V23ResourcesCampaignGoalConfig campaignGoalConfig) { + this.campaignGoalConfig = campaignGoalConfig; + return this; + } + + /** + * Campaign Group referenced in AWQL query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignGroup getCampaignGroup() { + return campaignGroup; + } + + /** + * Campaign Group referenced in AWQL query. + * @param campaignGroup campaignGroup or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setCampaignGroup(GoogleAdsSearchads360V23ResourcesCampaignGroup campaignGroup) { + this.campaignGroup = campaignGroup; + return this; + } + + /** + * The campaign label referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignLabel getCampaignLabel() { + return campaignLabel; + } + + /** + * The campaign label referenced in the query. + * @param campaignLabel campaignLabel or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setCampaignLabel(GoogleAdsSearchads360V23ResourcesCampaignLabel campaignLabel) { + this.campaignLabel = campaignLabel; + return this; + } + + /** + * The campaign lifecycle goal referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignLifecycleGoal getCampaignLifecycleGoal() { + return campaignLifecycleGoal; + } + + /** + * The campaign lifecycle goal referenced in the query. + * @param campaignLifecycleGoal campaignLifecycleGoal or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setCampaignLifecycleGoal(GoogleAdsSearchads360V23ResourcesCampaignLifecycleGoal campaignLifecycleGoal) { + this.campaignLifecycleGoal = campaignLifecycleGoal; + return this; + } + + /** + * The campaign search term insight referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignSearchTermInsight getCampaignSearchTermInsight() { + return campaignSearchTermInsight; + } + + /** + * The campaign search term insight referenced in the query. + * @param campaignSearchTermInsight campaignSearchTermInsight or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setCampaignSearchTermInsight(GoogleAdsSearchads360V23ResourcesCampaignSearchTermInsight campaignSearchTermInsight) { + this.campaignSearchTermInsight = campaignSearchTermInsight; + return this; + } + + /** + * The campaign-level search term view referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignSearchTermView getCampaignSearchTermView() { + return campaignSearchTermView; + } + + /** + * The campaign-level search term view referenced in the query. + * @param campaignSearchTermView campaignSearchTermView or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setCampaignSearchTermView(GoogleAdsSearchads360V23ResourcesCampaignSearchTermView campaignSearchTermView) { + this.campaignSearchTermView = campaignSearchTermView; + return this; + } + + /** + * Campaign Shared Set referenced in AWQL query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignSharedSet getCampaignSharedSet() { + return campaignSharedSet; + } + + /** + * Campaign Shared Set referenced in AWQL query. + * @param campaignSharedSet campaignSharedSet or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setCampaignSharedSet(GoogleAdsSearchads360V23ResourcesCampaignSharedSet campaignSharedSet) { + this.campaignSharedSet = campaignSharedSet; + return this; + } + + /** + * The campaign simulation referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCampaignSimulation getCampaignSimulation() { + return campaignSimulation; + } + + /** + * The campaign simulation referenced in the query. + * @param campaignSimulation campaignSimulation or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setCampaignSimulation(GoogleAdsSearchads360V23ResourcesCampaignSimulation campaignSimulation) { + this.campaignSimulation = campaignSimulation; + return this; + } + + /** + * The carrier constant referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCarrierConstant getCarrierConstant() { + return carrierConstant; + } + + /** + * The carrier constant referenced in the query. + * @param carrierConstant carrierConstant or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setCarrierConstant(GoogleAdsSearchads360V23ResourcesCarrierConstant carrierConstant) { + this.carrierConstant = carrierConstant; + return this; + } + + /** + * The cart data sales view referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCartDataSalesView getCartDataSalesView() { + return cartDataSalesView; + } + + /** + * The cart data sales view referenced in the query. + * @param cartDataSalesView cartDataSalesView or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setCartDataSalesView(GoogleAdsSearchads360V23ResourcesCartDataSalesView cartDataSalesView) { + this.cartDataSalesView = cartDataSalesView; + return this; + } + + /** + * The ChangeEvent referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesChangeEvent getChangeEvent() { + return changeEvent; + } + + /** + * The ChangeEvent referenced in the query. + * @param changeEvent changeEvent or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setChangeEvent(GoogleAdsSearchads360V23ResourcesChangeEvent changeEvent) { + this.changeEvent = changeEvent; + return this; + } + + /** + * The ChangeStatus referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesChangeStatus getChangeStatus() { + return changeStatus; + } + + /** + * The ChangeStatus referenced in the query. + * @param changeStatus changeStatus or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setChangeStatus(GoogleAdsSearchads360V23ResourcesChangeStatus changeStatus) { + this.changeStatus = changeStatus; + return this; + } + + /** + * The ClickView referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesClickView getClickView() { + return clickView; + } + + /** + * The ClickView referenced in the query. + * @param clickView clickView or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setClickView(GoogleAdsSearchads360V23ResourcesClickView clickView) { + this.clickView = clickView; + return this; + } + + /** + * The CombinedAudience referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCombinedAudience getCombinedAudience() { + return combinedAudience; + } + + /** + * The CombinedAudience referenced in the query. + * @param combinedAudience combinedAudience or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setCombinedAudience(GoogleAdsSearchads360V23ResourcesCombinedAudience combinedAudience) { + this.combinedAudience = combinedAudience; + return this; + } + + /** + * The content criterion view referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesContentCriterionView getContentCriterionView() { + return contentCriterionView; + } + + /** + * The content criterion view referenced in the query. + * @param contentCriterionView contentCriterionView or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setContentCriterionView(GoogleAdsSearchads360V23ResourcesContentCriterionView contentCriterionView) { + this.contentCriterionView = contentCriterionView; + return this; + } + + /** + * The event level conversion referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversion getConversion() { + return conversion; + } + + /** + * The event level conversion referenced in the query. + * @param conversion conversion or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setConversion(GoogleAdsSearchads360V23ResourcesConversion conversion) { + this.conversion = conversion; + return this; + } + + /** + * The conversion action referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionAction getConversionAction() { + return conversionAction; + } + + /** + * The conversion action referenced in the query. + * @param conversionAction conversionAction or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setConversionAction(GoogleAdsSearchads360V23ResourcesConversionAction conversionAction) { + this.conversionAction = conversionAction; + return this; + } + + /** + * The conversion custom variable referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionCustomVariable getConversionCustomVariable() { + return conversionCustomVariable; + } + + /** + * The conversion custom variable referenced in the query. + * @param conversionCustomVariable conversionCustomVariable or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setConversionCustomVariable(GoogleAdsSearchads360V23ResourcesConversionCustomVariable conversionCustomVariable) { + this.conversionCustomVariable = conversionCustomVariable; + return this; + } + + /** + * The ConversionGoalCampaignConfig referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionGoalCampaignConfig getConversionGoalCampaignConfig() { + return conversionGoalCampaignConfig; + } + + /** + * The ConversionGoalCampaignConfig referenced in the query. + * @param conversionGoalCampaignConfig conversionGoalCampaignConfig or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setConversionGoalCampaignConfig(GoogleAdsSearchads360V23ResourcesConversionGoalCampaignConfig conversionGoalCampaignConfig) { + this.conversionGoalCampaignConfig = conversionGoalCampaignConfig; + return this; + } + + /** + * The conversion value rule referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionValueRule getConversionValueRule() { + return conversionValueRule; + } + + /** + * The conversion value rule referenced in the query. + * @param conversionValueRule conversionValueRule or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setConversionValueRule(GoogleAdsSearchads360V23ResourcesConversionValueRule conversionValueRule) { + this.conversionValueRule = conversionValueRule; + return this; + } + + /** + * The conversion value rule set referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesConversionValueRuleSet getConversionValueRuleSet() { + return conversionValueRuleSet; + } + + /** + * The conversion value rule set referenced in the query. + * @param conversionValueRuleSet conversionValueRuleSet or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setConversionValueRuleSet(GoogleAdsSearchads360V23ResourcesConversionValueRuleSet conversionValueRuleSet) { + this.conversionValueRuleSet = conversionValueRuleSet; + return this; + } + + /** + * The currency constant referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCurrencyConstant getCurrencyConstant() { + return currencyConstant; + } + + /** + * The currency constant referenced in the query. + * @param currencyConstant currencyConstant or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setCurrencyConstant(GoogleAdsSearchads360V23ResourcesCurrencyConstant currencyConstant) { + this.currencyConstant = currencyConstant; + return this; + } + + /** + * The CustomAudience referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomAudience getCustomAudience() { + return customAudience; + } + + /** + * The CustomAudience referenced in the query. + * @param customAudience customAudience or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setCustomAudience(GoogleAdsSearchads360V23ResourcesCustomAudience customAudience) { + this.customAudience = customAudience; + return this; + } + + /** + * The custom columns. + * @return value or {@code null} for none + */ + public java.util.List getCustomColumns() { + return customColumns; + } + + /** + * The custom columns. + * @param customColumns customColumns or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setCustomColumns(java.util.List customColumns) { + this.customColumns = customColumns; + return this; + } + + /** + * The CustomConversionGoal referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomConversionGoal getCustomConversionGoal() { + return customConversionGoal; + } + + /** + * The CustomConversionGoal referenced in the query. + * @param customConversionGoal customConversionGoal or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setCustomConversionGoal(GoogleAdsSearchads360V23ResourcesCustomConversionGoal customConversionGoal) { + this.customConversionGoal = customConversionGoal; + return this; + } + + /** + * The CustomInterest referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomInterest getCustomInterest() { + return customInterest; + } + + /** + * The CustomInterest referenced in the query. + * @param customInterest customInterest or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setCustomInterest(GoogleAdsSearchads360V23ResourcesCustomInterest customInterest) { + this.customInterest = customInterest; + return this; + } + + /** + * The customer referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomer getCustomer() { + return customer; + } + + /** + * The customer referenced in the query. + * @param customer customer or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setCustomer(GoogleAdsSearchads360V23ResourcesCustomer customer) { + this.customer = customer; + return this; + } + + /** + * The customer asset referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerAsset getCustomerAsset() { + return customerAsset; + } + + /** + * The customer asset referenced in the query. + * @param customerAsset customerAsset or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setCustomerAsset(GoogleAdsSearchads360V23ResourcesCustomerAsset customerAsset) { + this.customerAsset = customerAsset; + return this; + } + + /** + * The customer asset set referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerAssetSet getCustomerAssetSet() { + return customerAssetSet; + } + + /** + * The customer asset set referenced in the query. + * @param customerAssetSet customerAssetSet or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setCustomerAssetSet(GoogleAdsSearchads360V23ResourcesCustomerAssetSet customerAssetSet) { + this.customerAssetSet = customerAssetSet; + return this; + } + + /** + * The CustomerClient referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerClient getCustomerClient() { + return customerClient; + } + + /** + * The CustomerClient referenced in the query. + * @param customerClient customerClient or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setCustomerClient(GoogleAdsSearchads360V23ResourcesCustomerClient customerClient) { + this.customerClient = customerClient; + return this; + } + + /** + * The CustomerClientLink referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerClientLink getCustomerClientLink() { + return customerClientLink; + } + + /** + * The CustomerClientLink referenced in the query. + * @param customerClientLink customerClientLink or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setCustomerClientLink(GoogleAdsSearchads360V23ResourcesCustomerClientLink customerClientLink) { + this.customerClientLink = customerClientLink; + return this; + } + + /** + * The CustomerConversionGoal referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerConversionGoal getCustomerConversionGoal() { + return customerConversionGoal; + } + + /** + * The CustomerConversionGoal referenced in the query. + * @param customerConversionGoal customerConversionGoal or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setCustomerConversionGoal(GoogleAdsSearchads360V23ResourcesCustomerConversionGoal customerConversionGoal) { + this.customerConversionGoal = customerConversionGoal; + return this; + } + + /** + * The customer customizer referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerCustomizer getCustomerCustomizer() { + return customerCustomizer; + } + + /** + * The customer customizer referenced in the query. + * @param customerCustomizer customerCustomizer or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setCustomerCustomizer(GoogleAdsSearchads360V23ResourcesCustomerCustomizer customerCustomizer) { + this.customerCustomizer = customerCustomizer; + return this; + } + + /** + * The customer label referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerLabel getCustomerLabel() { + return customerLabel; + } + + /** + * The customer label referenced in the query. + * @param customerLabel customerLabel or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setCustomerLabel(GoogleAdsSearchads360V23ResourcesCustomerLabel customerLabel) { + this.customerLabel = customerLabel; + return this; + } + + /** + * The customer lifecycle goal referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerLifecycleGoal getCustomerLifecycleGoal() { + return customerLifecycleGoal; + } + + /** + * The customer lifecycle goal referenced in the query. + * @param customerLifecycleGoal customerLifecycleGoal or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setCustomerLifecycleGoal(GoogleAdsSearchads360V23ResourcesCustomerLifecycleGoal customerLifecycleGoal) { + this.customerLifecycleGoal = customerLifecycleGoal; + return this; + } + + /** + * The CustomerManagerLink referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerManagerLink getCustomerManagerLink() { + return customerManagerLink; + } + + /** + * The CustomerManagerLink referenced in the query. + * @param customerManagerLink customerManagerLink or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setCustomerManagerLink(GoogleAdsSearchads360V23ResourcesCustomerManagerLink customerManagerLink) { + this.customerManagerLink = customerManagerLink; + return this; + } + + /** + * The customer negative criterion referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerNegativeCriterion getCustomerNegativeCriterion() { + return customerNegativeCriterion; + } + + /** + * The customer negative criterion referenced in the query. + * @param customerNegativeCriterion customerNegativeCriterion or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setCustomerNegativeCriterion(GoogleAdsSearchads360V23ResourcesCustomerNegativeCriterion customerNegativeCriterion) { + this.customerNegativeCriterion = customerNegativeCriterion; + return this; + } + + /** + * The customer search term insight referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerSearchTermInsight getCustomerSearchTermInsight() { + return customerSearchTermInsight; + } + + /** + * The customer search term insight referenced in the query. + * @param customerSearchTermInsight customerSearchTermInsight or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setCustomerSearchTermInsight(GoogleAdsSearchads360V23ResourcesCustomerSearchTermInsight customerSearchTermInsight) { + this.customerSearchTermInsight = customerSearchTermInsight; + return this; + } + + /** + * The CustomerUserAccess referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerUserAccess getCustomerUserAccess() { + return customerUserAccess; + } + + /** + * The CustomerUserAccess referenced in the query. + * @param customerUserAccess customerUserAccess or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setCustomerUserAccess(GoogleAdsSearchads360V23ResourcesCustomerUserAccess customerUserAccess) { + this.customerUserAccess = customerUserAccess; + return this; + } + + /** + * The CustomerUserAccessInvitation referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomerUserAccessInvitation getCustomerUserAccessInvitation() { + return customerUserAccessInvitation; + } + + /** + * The CustomerUserAccessInvitation referenced in the query. + * @param customerUserAccessInvitation customerUserAccessInvitation or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setCustomerUserAccessInvitation(GoogleAdsSearchads360V23ResourcesCustomerUserAccessInvitation customerUserAccessInvitation) { + this.customerUserAccessInvitation = customerUserAccessInvitation; + return this; + } + + /** + * The customizer attribute referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesCustomizerAttribute getCustomizerAttribute() { + return customizerAttribute; + } + + /** + * The customizer attribute referenced in the query. + * @param customizerAttribute customizerAttribute or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setCustomizerAttribute(GoogleAdsSearchads360V23ResourcesCustomizerAttribute customizerAttribute) { + this.customizerAttribute = customizerAttribute; + return this; + } + + /** + * The data link referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesDataLink getDataLink() { + return dataLink; + } + + /** + * The data link referenced in the query. + * @param dataLink dataLink or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setDataLink(GoogleAdsSearchads360V23ResourcesDataLink dataLink) { + this.dataLink = dataLink; + return this; + } + + /** + * The detail content suitability placement view referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesDetailContentSuitabilityPlacementView getDetailContentSuitabilityPlacementView() { + return detailContentSuitabilityPlacementView; + } + + /** + * The detail content suitability placement view referenced in the query. + * @param detailContentSuitabilityPlacementView detailContentSuitabilityPlacementView or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setDetailContentSuitabilityPlacementView(GoogleAdsSearchads360V23ResourcesDetailContentSuitabilityPlacementView detailContentSuitabilityPlacementView) { + this.detailContentSuitabilityPlacementView = detailContentSuitabilityPlacementView; + return this; + } + + /** + * The detail placement view referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesDetailPlacementView getDetailPlacementView() { + return detailPlacementView; + } + + /** + * The detail placement view referenced in the query. + * @param detailPlacementView detailPlacementView or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setDetailPlacementView(GoogleAdsSearchads360V23ResourcesDetailPlacementView detailPlacementView) { + this.detailPlacementView = detailPlacementView; + return this; + } + + /** + * The detailed demographic referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesDetailedDemographic getDetailedDemographic() { + return detailedDemographic; + } + + /** + * The detailed demographic referenced in the query. + * @param detailedDemographic detailedDemographic or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setDetailedDemographic(GoogleAdsSearchads360V23ResourcesDetailedDemographic detailedDemographic) { + this.detailedDemographic = detailedDemographic; + return this; + } + + /** + * The display keyword view referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesDisplayKeywordView getDisplayKeywordView() { + return displayKeywordView; + } + + /** + * The display keyword view referenced in the query. + * @param displayKeywordView displayKeywordView or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setDisplayKeywordView(GoogleAdsSearchads360V23ResourcesDisplayKeywordView displayKeywordView) { + this.displayKeywordView = displayKeywordView; + return this; + } + + /** + * The distance view referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesDistanceView getDistanceView() { + return distanceView; + } + + /** + * The distance view referenced in the query. + * @param distanceView distanceView or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setDistanceView(GoogleAdsSearchads360V23ResourcesDistanceView distanceView) { + this.distanceView = distanceView; + return this; + } + + /** + * The dynamic search ads search term view referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesDynamicSearchAdsSearchTermView getDynamicSearchAdsSearchTermView() { + return dynamicSearchAdsSearchTermView; + } + + /** + * The dynamic search ads search term view referenced in the query. + * @param dynamicSearchAdsSearchTermView dynamicSearchAdsSearchTermView or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setDynamicSearchAdsSearchTermView(GoogleAdsSearchads360V23ResourcesDynamicSearchAdsSearchTermView dynamicSearchAdsSearchTermView) { + this.dynamicSearchAdsSearchTermView = dynamicSearchAdsSearchTermView; + return this; + } + + /** + * The expanded landing page view referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesExpandedLandingPageView getExpandedLandingPageView() { + return expandedLandingPageView; + } + + /** + * The expanded landing page view referenced in the query. + * @param expandedLandingPageView expandedLandingPageView or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setExpandedLandingPageView(GoogleAdsSearchads360V23ResourcesExpandedLandingPageView expandedLandingPageView) { + this.expandedLandingPageView = expandedLandingPageView; + return this; + } + + /** + * The experiment referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesExperiment getExperiment() { + return experiment; + } + + /** + * The experiment referenced in the query. + * @param experiment experiment or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setExperiment(GoogleAdsSearchads360V23ResourcesExperiment experiment) { + this.experiment = experiment; + return this; + } + + /** + * The experiment arm referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesExperimentArm getExperimentArm() { + return experimentArm; + } + + /** + * The experiment arm referenced in the query. + * @param experimentArm experimentArm or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setExperimentArm(GoogleAdsSearchads360V23ResourcesExperimentArm experimentArm) { + this.experimentArm = experimentArm; + return this; + } + + /** + * The final url expansion asset view referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesFinalUrlExpansionAssetView getFinalUrlExpansionAssetView() { + return finalUrlExpansionAssetView; + } + + /** + * The final url expansion asset view referenced in the query. + * @param finalUrlExpansionAssetView finalUrlExpansionAssetView or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setFinalUrlExpansionAssetView(GoogleAdsSearchads360V23ResourcesFinalUrlExpansionAssetView finalUrlExpansionAssetView) { + this.finalUrlExpansionAssetView = finalUrlExpansionAssetView; + return this; + } + + /** + * The gender view referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesGenderView getGenderView() { + return genderView; + } + + /** + * The gender view referenced in the query. + * @param genderView genderView or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setGenderView(GoogleAdsSearchads360V23ResourcesGenderView genderView) { + this.genderView = genderView; + return this; + } + + /** + * The geo target constant referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesGeoTargetConstant getGeoTargetConstant() { + return geoTargetConstant; + } + + /** + * The geo target constant referenced in the query. + * @param geoTargetConstant geoTargetConstant or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setGeoTargetConstant(GoogleAdsSearchads360V23ResourcesGeoTargetConstant geoTargetConstant) { + this.geoTargetConstant = geoTargetConstant; + return this; + } + + /** + * The geographic view referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesGeographicView getGeographicView() { + return geographicView; + } + + /** + * The geographic view referenced in the query. + * @param geographicView geographicView or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setGeographicView(GoogleAdsSearchads360V23ResourcesGeographicView geographicView) { + this.geographicView = geographicView; + return this; + } + + /** + * The goal in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesGoal getGoal() { + return goal; + } + + /** + * The goal in the query. + * @param goal goal or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setGoal(GoogleAdsSearchads360V23ResourcesGoal goal) { + this.goal = goal; + return this; + } + + /** + * The group content suitability placement view referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesGroupContentSuitabilityPlacementView getGroupContentSuitabilityPlacementView() { + return groupContentSuitabilityPlacementView; + } + + /** + * The group content suitability placement view referenced in the query. + * @param groupContentSuitabilityPlacementView groupContentSuitabilityPlacementView or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setGroupContentSuitabilityPlacementView(GoogleAdsSearchads360V23ResourcesGroupContentSuitabilityPlacementView groupContentSuitabilityPlacementView) { + this.groupContentSuitabilityPlacementView = groupContentSuitabilityPlacementView; + return this; + } + + /** + * The group placement view referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesGroupPlacementView getGroupPlacementView() { + return groupPlacementView; + } + + /** + * The group placement view referenced in the query. + * @param groupPlacementView groupPlacementView or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setGroupPlacementView(GoogleAdsSearchads360V23ResourcesGroupPlacementView groupPlacementView) { + this.groupPlacementView = groupPlacementView; + return this; + } + + /** + * The hotel group view referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesHotelGroupView getHotelGroupView() { + return hotelGroupView; + } + + /** + * The hotel group view referenced in the query. + * @param hotelGroupView hotelGroupView or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setHotelGroupView(GoogleAdsSearchads360V23ResourcesHotelGroupView hotelGroupView) { + this.hotelGroupView = hotelGroupView; + return this; + } + + /** + * The hotel performance view referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesHotelPerformanceView getHotelPerformanceView() { + return hotelPerformanceView; + } + + /** + * The hotel performance view referenced in the query. + * @param hotelPerformanceView hotelPerformanceView or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setHotelPerformanceView(GoogleAdsSearchads360V23ResourcesHotelPerformanceView hotelPerformanceView) { + this.hotelPerformanceView = hotelPerformanceView; + return this; + } + + /** + * The hotel reconciliation referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesHotelReconciliation getHotelReconciliation() { + return hotelReconciliation; + } + + /** + * The hotel reconciliation referenced in the query. + * @param hotelReconciliation hotelReconciliation or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setHotelReconciliation(GoogleAdsSearchads360V23ResourcesHotelReconciliation hotelReconciliation) { + this.hotelReconciliation = hotelReconciliation; + return this; + } + + /** + * The income range view referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesIncomeRangeView getIncomeRangeView() { + return incomeRangeView; + } + + /** + * The income range view referenced in the query. + * @param incomeRangeView incomeRangeView or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setIncomeRangeView(GoogleAdsSearchads360V23ResourcesIncomeRangeView incomeRangeView) { + this.incomeRangeView = incomeRangeView; + return this; + } + + /** + * The keyword plan referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesKeywordPlan getKeywordPlan() { + return keywordPlan; + } + + /** + * The keyword plan referenced in the query. + * @param keywordPlan keywordPlan or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setKeywordPlan(GoogleAdsSearchads360V23ResourcesKeywordPlan keywordPlan) { + this.keywordPlan = keywordPlan; + return this; + } + + /** + * The keyword plan ad group referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesKeywordPlanAdGroup getKeywordPlanAdGroup() { + return keywordPlanAdGroup; + } + + /** + * The keyword plan ad group referenced in the query. + * @param keywordPlanAdGroup keywordPlanAdGroup or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setKeywordPlanAdGroup(GoogleAdsSearchads360V23ResourcesKeywordPlanAdGroup keywordPlanAdGroup) { + this.keywordPlanAdGroup = keywordPlanAdGroup; + return this; + } + + /** + * The keyword plan ad group referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesKeywordPlanAdGroupKeyword getKeywordPlanAdGroupKeyword() { + return keywordPlanAdGroupKeyword; + } + + /** + * The keyword plan ad group referenced in the query. + * @param keywordPlanAdGroupKeyword keywordPlanAdGroupKeyword or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setKeywordPlanAdGroupKeyword(GoogleAdsSearchads360V23ResourcesKeywordPlanAdGroupKeyword keywordPlanAdGroupKeyword) { + this.keywordPlanAdGroupKeyword = keywordPlanAdGroupKeyword; + return this; + } + + /** + * The keyword plan campaign referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesKeywordPlanCampaign getKeywordPlanCampaign() { + return keywordPlanCampaign; + } + + /** + * The keyword plan campaign referenced in the query. + * @param keywordPlanCampaign keywordPlanCampaign or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setKeywordPlanCampaign(GoogleAdsSearchads360V23ResourcesKeywordPlanCampaign keywordPlanCampaign) { + this.keywordPlanCampaign = keywordPlanCampaign; + return this; + } + + /** + * The keyword plan campaign keyword referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesKeywordPlanCampaignKeyword getKeywordPlanCampaignKeyword() { + return keywordPlanCampaignKeyword; + } + + /** + * The keyword plan campaign keyword referenced in the query. + * @param keywordPlanCampaignKeyword keywordPlanCampaignKeyword or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setKeywordPlanCampaignKeyword(GoogleAdsSearchads360V23ResourcesKeywordPlanCampaignKeyword keywordPlanCampaignKeyword) { + this.keywordPlanCampaignKeyword = keywordPlanCampaignKeyword; + return this; + } + + /** + * The keyword theme constant referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesKeywordThemeConstant getKeywordThemeConstant() { + return keywordThemeConstant; + } + + /** + * The keyword theme constant referenced in the query. + * @param keywordThemeConstant keywordThemeConstant or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setKeywordThemeConstant(GoogleAdsSearchads360V23ResourcesKeywordThemeConstant keywordThemeConstant) { + this.keywordThemeConstant = keywordThemeConstant; + return this; + } + + /** + * The keyword view referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesKeywordView getKeywordView() { + return keywordView; + } + + /** + * The keyword view referenced in the query. + * @param keywordView keywordView or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setKeywordView(GoogleAdsSearchads360V23ResourcesKeywordView keywordView) { + this.keywordView = keywordView; + return this; + } + + /** + * The label referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLabel getLabel() { + return label; + } + + /** + * The label referenced in the query. + * @param label label or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setLabel(GoogleAdsSearchads360V23ResourcesLabel label) { + this.label = label; + return this; + } + + /** + * The landing page view referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLandingPageView getLandingPageView() { + return landingPageView; + } + + /** + * The landing page view referenced in the query. + * @param landingPageView landingPageView or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setLandingPageView(GoogleAdsSearchads360V23ResourcesLandingPageView landingPageView) { + this.landingPageView = landingPageView; + return this; + } + + /** + * The language constant referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLanguageConstant getLanguageConstant() { + return languageConstant; + } + + /** + * The language constant referenced in the query. + * @param languageConstant languageConstant or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setLanguageConstant(GoogleAdsSearchads360V23ResourcesLanguageConstant languageConstant) { + this.languageConstant = languageConstant; + return this; + } + + /** + * The lead form user submission referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLeadFormSubmissionData getLeadFormSubmissionData() { + return leadFormSubmissionData; + } + + /** + * The lead form user submission referenced in the query. + * @param leadFormSubmissionData leadFormSubmissionData or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setLeadFormSubmissionData(GoogleAdsSearchads360V23ResourcesLeadFormSubmissionData leadFormSubmissionData) { + this.leadFormSubmissionData = leadFormSubmissionData; + return this; + } + + /** + * The life event referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLifeEvent getLifeEvent() { + return lifeEvent; + } + + /** + * The life event referenced in the query. + * @param lifeEvent lifeEvent or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setLifeEvent(GoogleAdsSearchads360V23ResourcesLifeEvent lifeEvent) { + this.lifeEvent = lifeEvent; + return this; + } + + /** + * The local services employee referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLocalServicesEmployee getLocalServicesEmployee() { + return localServicesEmployee; + } + + /** + * The local services employee referenced in the query. + * @param localServicesEmployee localServicesEmployee or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setLocalServicesEmployee(GoogleAdsSearchads360V23ResourcesLocalServicesEmployee localServicesEmployee) { + this.localServicesEmployee = localServicesEmployee; + return this; + } + + /** + * The local services lead referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLocalServicesLead getLocalServicesLead() { + return localServicesLead; + } + + /** + * The local services lead referenced in the query. + * @param localServicesLead localServicesLead or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setLocalServicesLead(GoogleAdsSearchads360V23ResourcesLocalServicesLead localServicesLead) { + this.localServicesLead = localServicesLead; + return this; + } + + /** + * The local services lead conversationreferenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLocalServicesLeadConversation getLocalServicesLeadConversation() { + return localServicesLeadConversation; + } + + /** + * The local services lead conversationreferenced in the query. + * @param localServicesLeadConversation localServicesLeadConversation or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setLocalServicesLeadConversation(GoogleAdsSearchads360V23ResourcesLocalServicesLeadConversation localServicesLeadConversation) { + this.localServicesLeadConversation = localServicesLeadConversation; + return this; + } + + /** + * The local services verification artifact referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLocalServicesVerificationArtifact getLocalServicesVerificationArtifact() { + return localServicesVerificationArtifact; + } + + /** + * The local services verification artifact referenced in the query. + * @param localServicesVerificationArtifact localServicesVerificationArtifact or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setLocalServicesVerificationArtifact(GoogleAdsSearchads360V23ResourcesLocalServicesVerificationArtifact localServicesVerificationArtifact) { + this.localServicesVerificationArtifact = localServicesVerificationArtifact; + return this; + } + + /** + * The location interest view referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLocationInterestView getLocationInterestView() { + return locationInterestView; + } + + /** + * The location interest view referenced in the query. + * @param locationInterestView locationInterestView or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setLocationInterestView(GoogleAdsSearchads360V23ResourcesLocationInterestView locationInterestView) { + this.locationInterestView = locationInterestView; + return this; + } + + /** + * The location view referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesLocationView getLocationView() { + return locationView; + } + + /** + * The location view referenced in the query. + * @param locationView locationView or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setLocationView(GoogleAdsSearchads360V23ResourcesLocationView locationView) { + this.locationView = locationView; + return this; + } + + /** + * The managed placement view referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesManagedPlacementView getManagedPlacementView() { + return managedPlacementView; + } + + /** + * The managed placement view referenced in the query. + * @param managedPlacementView managedPlacementView or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setManagedPlacementView(GoogleAdsSearchads360V23ResourcesManagedPlacementView managedPlacementView) { + this.managedPlacementView = managedPlacementView; + return this; + } + + /** + * The matched location interest view referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesMatchedLocationInterestView getMatchedLocationInterestView() { + return matchedLocationInterestView; + } + + /** + * The matched location interest view referenced in the query. + * @param matchedLocationInterestView matchedLocationInterestView or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setMatchedLocationInterestView(GoogleAdsSearchads360V23ResourcesMatchedLocationInterestView matchedLocationInterestView) { + this.matchedLocationInterestView = matchedLocationInterestView; + return this; + } + + /** + * The media file referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesMediaFile getMediaFile() { + return mediaFile; + } + + /** + * The media file referenced in the query. + * @param mediaFile mediaFile or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setMediaFile(GoogleAdsSearchads360V23ResourcesMediaFile mediaFile) { + this.mediaFile = mediaFile; + return this; + } + + /** + * The metrics. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonMetrics getMetrics() { + return metrics; + } + + /** + * The metrics. + * @param metrics metrics or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setMetrics(GoogleAdsSearchads360V23CommonMetrics metrics) { + this.metrics = metrics; + return this; + } + + /** + * The mobile app category constant referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesMobileAppCategoryConstant getMobileAppCategoryConstant() { + return mobileAppCategoryConstant; + } + + /** + * The mobile app category constant referenced in the query. + * @param mobileAppCategoryConstant mobileAppCategoryConstant or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setMobileAppCategoryConstant(GoogleAdsSearchads360V23ResourcesMobileAppCategoryConstant mobileAppCategoryConstant) { + this.mobileAppCategoryConstant = mobileAppCategoryConstant; + return this; + } + + /** + * The mobile device constant referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesMobileDeviceConstant getMobileDeviceConstant() { + return mobileDeviceConstant; + } + + /** + * The mobile device constant referenced in the query. + * @param mobileDeviceConstant mobileDeviceConstant or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setMobileDeviceConstant(GoogleAdsSearchads360V23ResourcesMobileDeviceConstant mobileDeviceConstant) { + this.mobileDeviceConstant = mobileDeviceConstant; + return this; + } + + /** + * Offline conversion upload summary at customer level. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesOfflineConversionUploadClientSummary getOfflineConversionUploadClientSummary() { + return offlineConversionUploadClientSummary; + } + + /** + * Offline conversion upload summary at customer level. + * @param offlineConversionUploadClientSummary offlineConversionUploadClientSummary or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setOfflineConversionUploadClientSummary(GoogleAdsSearchads360V23ResourcesOfflineConversionUploadClientSummary offlineConversionUploadClientSummary) { + this.offlineConversionUploadClientSummary = offlineConversionUploadClientSummary; + return this; + } + + /** + * Offline conversion upload summary at conversion type level. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesOfflineConversionUploadConversionActionSummary getOfflineConversionUploadConversionActionSummary() { + return offlineConversionUploadConversionActionSummary; + } + + /** + * Offline conversion upload summary at conversion type level. + * @param offlineConversionUploadConversionActionSummary offlineConversionUploadConversionActionSummary or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setOfflineConversionUploadConversionActionSummary(GoogleAdsSearchads360V23ResourcesOfflineConversionUploadConversionActionSummary offlineConversionUploadConversionActionSummary) { + this.offlineConversionUploadConversionActionSummary = offlineConversionUploadConversionActionSummary; + return this; + } + + /** + * The offline user data job referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesOfflineUserDataJob getOfflineUserDataJob() { + return offlineUserDataJob; + } + + /** + * The offline user data job referenced in the query. + * @param offlineUserDataJob offlineUserDataJob or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setOfflineUserDataJob(GoogleAdsSearchads360V23ResourcesOfflineUserDataJob offlineUserDataJob) { + this.offlineUserDataJob = offlineUserDataJob; + return this; + } + + /** + * The operating system version constant referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesOperatingSystemVersionConstant getOperatingSystemVersionConstant() { + return operatingSystemVersionConstant; + } + + /** + * The operating system version constant referenced in the query. + * @param operatingSystemVersionConstant operatingSystemVersionConstant or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setOperatingSystemVersionConstant(GoogleAdsSearchads360V23ResourcesOperatingSystemVersionConstant operatingSystemVersionConstant) { + this.operatingSystemVersionConstant = operatingSystemVersionConstant; + return this; + } + + /** + * The paid organic search term view referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesPaidOrganicSearchTermView getPaidOrganicSearchTermView() { + return paidOrganicSearchTermView; + } + + /** + * The paid organic search term view referenced in the query. + * @param paidOrganicSearchTermView paidOrganicSearchTermView or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setPaidOrganicSearchTermView(GoogleAdsSearchads360V23ResourcesPaidOrganicSearchTermView paidOrganicSearchTermView) { + this.paidOrganicSearchTermView = paidOrganicSearchTermView; + return this; + } + + /** + * The parental status view referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesParentalStatusView getParentalStatusView() { + return parentalStatusView; + } + + /** + * The parental status view referenced in the query. + * @param parentalStatusView parentalStatusView or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setParentalStatusView(GoogleAdsSearchads360V23ResourcesParentalStatusView parentalStatusView) { + this.parentalStatusView = parentalStatusView; + return this; + } + + /** + * The per store view referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesPerStoreView getPerStoreView() { + return perStoreView; + } + + /** + * The per store view referenced in the query. + * @param perStoreView perStoreView or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setPerStoreView(GoogleAdsSearchads360V23ResourcesPerStoreView perStoreView) { + this.perStoreView = perStoreView; + return this; + } + + /** + * The performance max placement view referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesPerformanceMaxPlacementView getPerformanceMaxPlacementView() { + return performanceMaxPlacementView; + } + + /** + * The performance max placement view referenced in the query. + * @param performanceMaxPlacementView performanceMaxPlacementView or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setPerformanceMaxPlacementView(GoogleAdsSearchads360V23ResourcesPerformanceMaxPlacementView performanceMaxPlacementView) { + this.performanceMaxPlacementView = performanceMaxPlacementView; + return this; + } + + /** + * The product category referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesProductCategoryConstant getProductCategoryConstant() { + return productCategoryConstant; + } + + /** + * The product category referenced in the query. + * @param productCategoryConstant productCategoryConstant or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setProductCategoryConstant(GoogleAdsSearchads360V23ResourcesProductCategoryConstant productCategoryConstant) { + this.productCategoryConstant = productCategoryConstant; + return this; + } + + /** + * The product group view referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesProductGroupView getProductGroupView() { + return productGroupView; + } + + /** + * The product group view referenced in the query. + * @param productGroupView productGroupView or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setProductGroupView(GoogleAdsSearchads360V23ResourcesProductGroupView productGroupView) { + this.productGroupView = productGroupView; + return this; + } + + /** + * The product link referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesProductLink getProductLink() { + return productLink; + } + + /** + * The product link referenced in the query. + * @param productLink productLink or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setProductLink(GoogleAdsSearchads360V23ResourcesProductLink productLink) { + this.productLink = productLink; + return this; + } + + /** + * The product link invitation in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesProductLinkInvitation getProductLinkInvitation() { + return productLinkInvitation; + } + + /** + * The product link invitation in the query. + * @param productLinkInvitation productLinkInvitation or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setProductLinkInvitation(GoogleAdsSearchads360V23ResourcesProductLinkInvitation productLinkInvitation) { + this.productLinkInvitation = productLinkInvitation; + return this; + } + + /** + * The qualifying question referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesQualifyingQuestion getQualifyingQuestion() { + return qualifyingQuestion; + } + + /** + * The qualifying question referenced in the query. + * @param qualifyingQuestion qualifyingQuestion or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setQualifyingQuestion(GoogleAdsSearchads360V23ResourcesQualifyingQuestion qualifyingQuestion) { + this.qualifyingQuestion = qualifyingQuestion; + return this; + } + + /** + * The recommendation referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendation getRecommendation() { + return recommendation; + } + + /** + * The recommendation referenced in the query. + * @param recommendation recommendation or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setRecommendation(GoogleAdsSearchads360V23ResourcesRecommendation recommendation) { + this.recommendation = recommendation; + return this; + } + + /** + * The recommendation subscription referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRecommendationSubscription getRecommendationSubscription() { + return recommendationSubscription; + } + + /** + * The recommendation subscription referenced in the query. + * @param recommendationSubscription recommendationSubscription or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setRecommendationSubscription(GoogleAdsSearchads360V23ResourcesRecommendationSubscription recommendationSubscription) { + this.recommendationSubscription = recommendationSubscription; + return this; + } + + /** + * The remarketing action referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesRemarketingAction getRemarketingAction() { + return remarketingAction; + } + + /** + * The remarketing action referenced in the query. + * @param remarketingAction remarketingAction or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setRemarketingAction(GoogleAdsSearchads360V23ResourcesRemarketingAction remarketingAction) { + this.remarketingAction = remarketingAction; + return this; + } + + /** + * The Search Ads 360 campaign referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesSearchAds360Campaign getSearchAds360Campaign() { + return searchAds360Campaign; + } + + /** + * The Search Ads 360 campaign referenced in the query. + * @param searchAds360Campaign searchAds360Campaign or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setSearchAds360Campaign(GoogleAdsSearchads360V23ResourcesSearchAds360Campaign searchAds360Campaign) { + this.searchAds360Campaign = searchAds360Campaign; + return this; + } + + /** + * The search term view referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesSearchTermView getSearchTermView() { + return searchTermView; + } + + /** + * The search term view referenced in the query. + * @param searchTermView searchTermView or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setSearchTermView(GoogleAdsSearchads360V23ResourcesSearchTermView searchTermView) { + this.searchTermView = searchTermView; + return this; + } + + /** + * The segments. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSegments getSegments() { + return segments; + } + + /** + * The segments. + * @param segments segments or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setSegments(GoogleAdsSearchads360V23CommonSegments segments) { + this.segments = segments; + return this; + } + + /** + * The shared set referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesSharedCriterion getSharedCriterion() { + return sharedCriterion; + } + + /** + * The shared set referenced in the query. + * @param sharedCriterion sharedCriterion or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setSharedCriterion(GoogleAdsSearchads360V23ResourcesSharedCriterion sharedCriterion) { + this.sharedCriterion = sharedCriterion; + return this; + } + + /** + * The shared set referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesSharedSet getSharedSet() { + return sharedSet; + } + + /** + * The shared set referenced in the query. + * @param sharedSet sharedSet or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setSharedSet(GoogleAdsSearchads360V23ResourcesSharedSet sharedSet) { + this.sharedSet = sharedSet; + return this; + } + + /** + * The shopping performance view referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesShoppingPerformanceView getShoppingPerformanceView() { + return shoppingPerformanceView; + } + + /** + * The shopping performance view referenced in the query. + * @param shoppingPerformanceView shoppingPerformanceView or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setShoppingPerformanceView(GoogleAdsSearchads360V23ResourcesShoppingPerformanceView shoppingPerformanceView) { + this.shoppingPerformanceView = shoppingPerformanceView; + return this; + } + + /** + * The shopping product referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesShoppingProduct getShoppingProduct() { + return shoppingProduct; + } + + /** + * The shopping product referenced in the query. + * @param shoppingProduct shoppingProduct or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setShoppingProduct(GoogleAdsSearchads360V23ResourcesShoppingProduct shoppingProduct) { + this.shoppingProduct = shoppingProduct; + return this; + } + + /** + * The Smart campaign search term view referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesSmartCampaignSearchTermView getSmartCampaignSearchTermView() { + return smartCampaignSearchTermView; + } + + /** + * The Smart campaign search term view referenced in the query. + * @param smartCampaignSearchTermView smartCampaignSearchTermView or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setSmartCampaignSearchTermView(GoogleAdsSearchads360V23ResourcesSmartCampaignSearchTermView smartCampaignSearchTermView) { + this.smartCampaignSearchTermView = smartCampaignSearchTermView; + return this; + } + + /** + * The Smart campaign setting referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesSmartCampaignSetting getSmartCampaignSetting() { + return smartCampaignSetting; + } + + /** + * The Smart campaign setting referenced in the query. + * @param smartCampaignSetting smartCampaignSetting or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setSmartCampaignSetting(GoogleAdsSearchads360V23ResourcesSmartCampaignSetting smartCampaignSetting) { + this.smartCampaignSetting = smartCampaignSetting; + return this; + } + + /** + * The Targeting expansion view referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesTargetingExpansionView getTargetingExpansionView() { + return targetingExpansionView; + } + + /** + * The Targeting expansion view referenced in the query. + * @param targetingExpansionView targetingExpansionView or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setTargetingExpansionView(GoogleAdsSearchads360V23ResourcesTargetingExpansionView targetingExpansionView) { + this.targetingExpansionView = targetingExpansionView; + return this; + } + + /** + * The AccountLink referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesThirdPartyAppAnalyticsLink getThirdPartyAppAnalyticsLink() { + return thirdPartyAppAnalyticsLink; + } + + /** + * The AccountLink referenced in the query. + * @param thirdPartyAppAnalyticsLink thirdPartyAppAnalyticsLink or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setThirdPartyAppAnalyticsLink(GoogleAdsSearchads360V23ResourcesThirdPartyAppAnalyticsLink thirdPartyAppAnalyticsLink) { + this.thirdPartyAppAnalyticsLink = thirdPartyAppAnalyticsLink; + return this; + } + + /** + * The topic constant referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesTopicConstant getTopicConstant() { + return topicConstant; + } + + /** + * The topic constant referenced in the query. + * @param topicConstant topicConstant or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setTopicConstant(GoogleAdsSearchads360V23ResourcesTopicConstant topicConstant) { + this.topicConstant = topicConstant; + return this; + } + + /** + * The topic view referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesTopicView getTopicView() { + return topicView; + } + + /** + * The topic view referenced in the query. + * @param topicView topicView or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setTopicView(GoogleAdsSearchads360V23ResourcesTopicView topicView) { + this.topicView = topicView; + return this; + } + + /** + * The travel activity group view referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesTravelActivityGroupView getTravelActivityGroupView() { + return travelActivityGroupView; + } + + /** + * The travel activity group view referenced in the query. + * @param travelActivityGroupView travelActivityGroupView or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setTravelActivityGroupView(GoogleAdsSearchads360V23ResourcesTravelActivityGroupView travelActivityGroupView) { + this.travelActivityGroupView = travelActivityGroupView; + return this; + } + + /** + * The travel activity performance view referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesTravelActivityPerformanceView getTravelActivityPerformanceView() { + return travelActivityPerformanceView; + } + + /** + * The travel activity performance view referenced in the query. + * @param travelActivityPerformanceView travelActivityPerformanceView or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setTravelActivityPerformanceView(GoogleAdsSearchads360V23ResourcesTravelActivityPerformanceView travelActivityPerformanceView) { + this.travelActivityPerformanceView = travelActivityPerformanceView; + return this; + } + + /** + * The user interest referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesUserInterest getUserInterest() { + return userInterest; + } + + /** + * The user interest referenced in the query. + * @param userInterest userInterest or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setUserInterest(GoogleAdsSearchads360V23ResourcesUserInterest userInterest) { + this.userInterest = userInterest; + return this; + } + + /** + * The user list referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesUserList getUserList() { + return userList; + } + + /** + * The user list referenced in the query. + * @param userList userList or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setUserList(GoogleAdsSearchads360V23ResourcesUserList userList) { + this.userList = userList; + return this; + } + + /** + * The user list customer type in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesUserListCustomerType getUserListCustomerType() { + return userListCustomerType; + } + + /** + * The user list customer type in the query. + * @param userListCustomerType userListCustomerType or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setUserListCustomerType(GoogleAdsSearchads360V23ResourcesUserListCustomerType userListCustomerType) { + this.userListCustomerType = userListCustomerType; + return this; + } + + /** + * The user location view referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesUserLocationView getUserLocationView() { + return userLocationView; + } + + /** + * The user location view referenced in the query. + * @param userLocationView userLocationView or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setUserLocationView(GoogleAdsSearchads360V23ResourcesUserLocationView userLocationView) { + this.userLocationView = userLocationView; + return this; + } + + /** + * The video referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesVideo getVideo() { + return video; + } + + /** + * The video referenced in the query. + * @param video video or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setVideo(GoogleAdsSearchads360V23ResourcesVideo video) { + this.video = video; + return this; + } + + /** + * The event level visit referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesVisit getVisit() { + return visit; + } + + /** + * The event level visit referenced in the query. + * @param visit visit or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setVisit(GoogleAdsSearchads360V23ResourcesVisit visit) { + this.visit = visit; + return this; + } + + /** + * The webpage view referenced in the query. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesWebpageView getWebpageView() { + return webpageView; + } + + /** + * The webpage view referenced in the query. + * @param webpageView webpageView or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row setWebpageView(GoogleAdsSearchads360V23ResourcesWebpageView webpageView) { + this.webpageView = webpageView; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesSearchAds360Row set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesSearchAds360Row) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesSearchAds360Row clone() { + return (GoogleAdsSearchads360V23ServicesSearchAds360Row) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSearchSearchAds360FieldsRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSearchSearchAds360FieldsRequest.java new file mode 100644 index 00000000000..bb81e91b36d --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSearchSearchAds360FieldsRequest.java @@ -0,0 +1,124 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for SearchAds360FieldService.SearchSearchAds360Fields. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesSearchSearchAds360FieldsRequest extends com.google.api.client.json.GenericJson { + + /** + * Number of elements to retrieve in a single page. When too large a page is requested, the server + * may decide to further limit the number of returned resources. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer pageSize; + + /** + * Token of the page to retrieve. If not specified, the first page of results will be returned. + * Use the value obtained from `next_page_token` in the previous response in order to request the + * next page of results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String pageToken; + + /** + * Required. The query string. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String query; + + /** + * Number of elements to retrieve in a single page. When too large a page is requested, the server + * may decide to further limit the number of returned resources. + * @return value or {@code null} for none + */ + public java.lang.Integer getPageSize() { + return pageSize; + } + + /** + * Number of elements to retrieve in a single page. When too large a page is requested, the server + * may decide to further limit the number of returned resources. + * @param pageSize pageSize or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchSearchAds360FieldsRequest setPageSize(java.lang.Integer pageSize) { + this.pageSize = pageSize; + return this; + } + + /** + * Token of the page to retrieve. If not specified, the first page of results will be returned. + * Use the value obtained from `next_page_token` in the previous response in order to request the + * next page of results. + * @return value or {@code null} for none + */ + public java.lang.String getPageToken() { + return pageToken; + } + + /** + * Token of the page to retrieve. If not specified, the first page of results will be returned. + * Use the value obtained from `next_page_token` in the previous response in order to request the + * next page of results. + * @param pageToken pageToken or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchSearchAds360FieldsRequest setPageToken(java.lang.String pageToken) { + this.pageToken = pageToken; + return this; + } + + /** + * Required. The query string. + * @return value or {@code null} for none + */ + public java.lang.String getQuery() { + return query; + } + + /** + * Required. The query string. + * @param query query or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchSearchAds360FieldsRequest setQuery(java.lang.String query) { + this.query = query; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesSearchSearchAds360FieldsRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesSearchSearchAds360FieldsRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesSearchSearchAds360FieldsRequest clone() { + return (GoogleAdsSearchads360V23ServicesSearchSearchAds360FieldsRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSearchSearchAds360FieldsResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSearchSearchAds360FieldsResponse.java new file mode 100644 index 00000000000..79631fc44c6 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSearchSearchAds360FieldsResponse.java @@ -0,0 +1,127 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for SearchAds360FieldService.SearchSearchAds360Fields. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesSearchSearchAds360FieldsResponse extends com.google.api.client.json.GenericJson { + + /** + * Pagination token used to retrieve the next page of results. Pass the content of this string as + * the `page_token` attribute of the next request. `next_page_token` is not returned for the last + * page. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String nextPageToken; + + /** + * The list of fields that matched the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List results; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ResourcesSearchAds360Field used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ResourcesSearchAds360Field.class); + } + + /** + * Total number of results that match the query ignoring the LIMIT clause. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long totalResultsCount; + + /** + * Pagination token used to retrieve the next page of results. Pass the content of this string as + * the `page_token` attribute of the next request. `next_page_token` is not returned for the last + * page. + * @return value or {@code null} for none + */ + public java.lang.String getNextPageToken() { + return nextPageToken; + } + + /** + * Pagination token used to retrieve the next page of results. Pass the content of this string as + * the `page_token` attribute of the next request. `next_page_token` is not returned for the last + * page. + * @param nextPageToken nextPageToken or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchSearchAds360FieldsResponse setNextPageToken(java.lang.String nextPageToken) { + this.nextPageToken = nextPageToken; + return this; + } + + /** + * The list of fields that matched the query. + * @return value or {@code null} for none + */ + public java.util.List getResults() { + return results; + } + + /** + * The list of fields that matched the query. + * @param results results or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchSearchAds360FieldsResponse setResults(java.util.List results) { + this.results = results; + return this; + } + + /** + * Total number of results that match the query ignoring the LIMIT clause. + * @return value or {@code null} for none + */ + public java.lang.Long getTotalResultsCount() { + return totalResultsCount; + } + + /** + * Total number of results that match the query ignoring the LIMIT clause. + * @param totalResultsCount totalResultsCount or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchSearchAds360FieldsResponse setTotalResultsCount(java.lang.Long totalResultsCount) { + this.totalResultsCount = totalResultsCount; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesSearchSearchAds360FieldsResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesSearchSearchAds360FieldsResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesSearchSearchAds360FieldsResponse clone() { + return (GoogleAdsSearchads360V23ServicesSearchSearchAds360FieldsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSearchSearchAds360Request.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSearchSearchAds360Request.java new file mode 100644 index 00000000000..1493ea3b8d5 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSearchSearchAds360Request.java @@ -0,0 +1,172 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for SearchAds360Service.Search. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesSearchSearchAds360Request extends com.google.api.client.json.GenericJson { + + /** + * Number of elements to retrieve in a single page. When too large a page is requested, the server + * may decide to further limit the number of returned resources. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer pageSize; + + /** + * Token of the page to retrieve. If not specified, the first page of results will be returned. + * Use the value obtained from `next_page_token` in the previous response in order to request the + * next page of results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String pageToken; + + /** + * Required. The query string. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String query; + + /** + * Settings that allow users to specify request count, summary row, and results behavior. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesSearchSettings searchSettings; + + /** + * If true, the request is validated but not executed. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean validateOnly; + + /** + * Number of elements to retrieve in a single page. When too large a page is requested, the server + * may decide to further limit the number of returned resources. + * @return value or {@code null} for none + */ + public java.lang.Integer getPageSize() { + return pageSize; + } + + /** + * Number of elements to retrieve in a single page. When too large a page is requested, the server + * may decide to further limit the number of returned resources. + * @param pageSize pageSize or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchSearchAds360Request setPageSize(java.lang.Integer pageSize) { + this.pageSize = pageSize; + return this; + } + + /** + * Token of the page to retrieve. If not specified, the first page of results will be returned. + * Use the value obtained from `next_page_token` in the previous response in order to request the + * next page of results. + * @return value or {@code null} for none + */ + public java.lang.String getPageToken() { + return pageToken; + } + + /** + * Token of the page to retrieve. If not specified, the first page of results will be returned. + * Use the value obtained from `next_page_token` in the previous response in order to request the + * next page of results. + * @param pageToken pageToken or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchSearchAds360Request setPageToken(java.lang.String pageToken) { + this.pageToken = pageToken; + return this; + } + + /** + * Required. The query string. + * @return value or {@code null} for none + */ + public java.lang.String getQuery() { + return query; + } + + /** + * Required. The query string. + * @param query query or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchSearchAds360Request setQuery(java.lang.String query) { + this.query = query; + return this; + } + + /** + * Settings that allow users to specify request count, summary row, and results behavior. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchSettings getSearchSettings() { + return searchSettings; + } + + /** + * Settings that allow users to specify request count, summary row, and results behavior. + * @param searchSettings searchSettings or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchSearchAds360Request setSearchSettings(GoogleAdsSearchads360V23ServicesSearchSettings searchSettings) { + this.searchSettings = searchSettings; + return this; + } + + /** + * If true, the request is validated but not executed. + * @return value or {@code null} for none + */ + public java.lang.Boolean getValidateOnly() { + return validateOnly; + } + + /** + * If true, the request is validated but not executed. + * @param validateOnly validateOnly or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchSearchAds360Request setValidateOnly(java.lang.Boolean validateOnly) { + this.validateOnly = validateOnly; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesSearchSearchAds360Request set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesSearchSearchAds360Request) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesSearchSearchAds360Request clone() { + return (GoogleAdsSearchads360V23ServicesSearchSearchAds360Request) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSearchSearchAds360Response.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSearchSearchAds360Response.java new file mode 100644 index 00000000000..c00ba13ddbe --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSearchSearchAds360Response.java @@ -0,0 +1,382 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for SearchAds360Service.Search. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesSearchSearchAds360Response extends com.google.api.client.json.GenericJson { + + /** + * The headers of the conversion custom dimensions in the results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List conversionCustomDimensionHeaders; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesConversionCustomDimensionHeader used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesConversionCustomDimensionHeader.class); + } + + /** + * The headers of the conversion custom metrics in the results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List conversionCustomMetricHeaders; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesConversionCustomMetricHeader used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesConversionCustomMetricHeader.class); + } + + /** + * The headers of the custom columns in the results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List customColumnHeaders; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesCustomColumnHeader used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesCustomColumnHeader.class); + } + + /** + * FieldMask that represents what fields were requested by the user. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String fieldMask; + + /** + * The metric attributes of the metrics in the results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List metricAttributes; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesMetricAttributes used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesMetricAttributes.class); + } + + /** + * Pagination token used to retrieve the next page of results. Pass the content of this string as + * the `page_token` attribute of the next request. `next_page_token` is not returned for the last + * page. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String nextPageToken; + + /** + * The amount of resources consumed to serve the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long queryResourceConsumption; + + /** + * The headers of the raw event conversion dimensions in the results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List rawEventConversionDimensionHeaders; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesRawEventConversionDimensionHeader used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesRawEventConversionDimensionHeader.class); + } + + /** + * The headers of the raw event conversion metrics in the results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List rawEventConversionMetricHeaders; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesRawEventConversionMetricHeader used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesRawEventConversionMetricHeader.class); + } + + /** + * The list of rows that matched the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List results; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesSearchAds360Row used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesSearchAds360Row.class); + } + + /** + * Summary row that contains summary of metrics in results. Summary of metrics means aggregation + * of metrics across all results, here aggregation could be sum, average, rate, etc. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesSearchAds360Row summaryRow; + + /** + * Total number of results that match the query ignoring the LIMIT clause. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long totalResultsCount; + + /** + * The headers of the conversion custom dimensions in the results. + * @return value or {@code null} for none + */ + public java.util.List getConversionCustomDimensionHeaders() { + return conversionCustomDimensionHeaders; + } + + /** + * The headers of the conversion custom dimensions in the results. + * @param conversionCustomDimensionHeaders conversionCustomDimensionHeaders or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchSearchAds360Response setConversionCustomDimensionHeaders(java.util.List conversionCustomDimensionHeaders) { + this.conversionCustomDimensionHeaders = conversionCustomDimensionHeaders; + return this; + } + + /** + * The headers of the conversion custom metrics in the results. + * @return value or {@code null} for none + */ + public java.util.List getConversionCustomMetricHeaders() { + return conversionCustomMetricHeaders; + } + + /** + * The headers of the conversion custom metrics in the results. + * @param conversionCustomMetricHeaders conversionCustomMetricHeaders or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchSearchAds360Response setConversionCustomMetricHeaders(java.util.List conversionCustomMetricHeaders) { + this.conversionCustomMetricHeaders = conversionCustomMetricHeaders; + return this; + } + + /** + * The headers of the custom columns in the results. + * @return value or {@code null} for none + */ + public java.util.List getCustomColumnHeaders() { + return customColumnHeaders; + } + + /** + * The headers of the custom columns in the results. + * @param customColumnHeaders customColumnHeaders or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchSearchAds360Response setCustomColumnHeaders(java.util.List customColumnHeaders) { + this.customColumnHeaders = customColumnHeaders; + return this; + } + + /** + * FieldMask that represents what fields were requested by the user. + * @return value or {@code null} for none + */ + public String getFieldMask() { + return fieldMask; + } + + /** + * FieldMask that represents what fields were requested by the user. + * @param fieldMask fieldMask or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchSearchAds360Response setFieldMask(String fieldMask) { + this.fieldMask = fieldMask; + return this; + } + + /** + * The metric attributes of the metrics in the results. + * @return value or {@code null} for none + */ + public java.util.List getMetricAttributes() { + return metricAttributes; + } + + /** + * The metric attributes of the metrics in the results. + * @param metricAttributes metricAttributes or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchSearchAds360Response setMetricAttributes(java.util.List metricAttributes) { + this.metricAttributes = metricAttributes; + return this; + } + + /** + * Pagination token used to retrieve the next page of results. Pass the content of this string as + * the `page_token` attribute of the next request. `next_page_token` is not returned for the last + * page. + * @return value or {@code null} for none + */ + public java.lang.String getNextPageToken() { + return nextPageToken; + } + + /** + * Pagination token used to retrieve the next page of results. Pass the content of this string as + * the `page_token` attribute of the next request. `next_page_token` is not returned for the last + * page. + * @param nextPageToken nextPageToken or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchSearchAds360Response setNextPageToken(java.lang.String nextPageToken) { + this.nextPageToken = nextPageToken; + return this; + } + + /** + * The amount of resources consumed to serve the query. + * @return value or {@code null} for none + */ + public java.lang.Long getQueryResourceConsumption() { + return queryResourceConsumption; + } + + /** + * The amount of resources consumed to serve the query. + * @param queryResourceConsumption queryResourceConsumption or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchSearchAds360Response setQueryResourceConsumption(java.lang.Long queryResourceConsumption) { + this.queryResourceConsumption = queryResourceConsumption; + return this; + } + + /** + * The headers of the raw event conversion dimensions in the results. + * @return value or {@code null} for none + */ + public java.util.List getRawEventConversionDimensionHeaders() { + return rawEventConversionDimensionHeaders; + } + + /** + * The headers of the raw event conversion dimensions in the results. + * @param rawEventConversionDimensionHeaders rawEventConversionDimensionHeaders or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchSearchAds360Response setRawEventConversionDimensionHeaders(java.util.List rawEventConversionDimensionHeaders) { + this.rawEventConversionDimensionHeaders = rawEventConversionDimensionHeaders; + return this; + } + + /** + * The headers of the raw event conversion metrics in the results. + * @return value or {@code null} for none + */ + public java.util.List getRawEventConversionMetricHeaders() { + return rawEventConversionMetricHeaders; + } + + /** + * The headers of the raw event conversion metrics in the results. + * @param rawEventConversionMetricHeaders rawEventConversionMetricHeaders or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchSearchAds360Response setRawEventConversionMetricHeaders(java.util.List rawEventConversionMetricHeaders) { + this.rawEventConversionMetricHeaders = rawEventConversionMetricHeaders; + return this; + } + + /** + * The list of rows that matched the query. + * @return value or {@code null} for none + */ + public java.util.List getResults() { + return results; + } + + /** + * The list of rows that matched the query. + * @param results results or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchSearchAds360Response setResults(java.util.List results) { + this.results = results; + return this; + } + + /** + * Summary row that contains summary of metrics in results. Summary of metrics means aggregation + * of metrics across all results, here aggregation could be sum, average, rate, etc. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchAds360Row getSummaryRow() { + return summaryRow; + } + + /** + * Summary row that contains summary of metrics in results. Summary of metrics means aggregation + * of metrics across all results, here aggregation could be sum, average, rate, etc. + * @param summaryRow summaryRow or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchSearchAds360Response setSummaryRow(GoogleAdsSearchads360V23ServicesSearchAds360Row summaryRow) { + this.summaryRow = summaryRow; + return this; + } + + /** + * Total number of results that match the query ignoring the LIMIT clause. + * @return value or {@code null} for none + */ + public java.lang.Long getTotalResultsCount() { + return totalResultsCount; + } + + /** + * Total number of results that match the query ignoring the LIMIT clause. + * @param totalResultsCount totalResultsCount or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchSearchAds360Response setTotalResultsCount(java.lang.Long totalResultsCount) { + this.totalResultsCount = totalResultsCount; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesSearchSearchAds360Response set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesSearchSearchAds360Response) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesSearchSearchAds360Response clone() { + return (GoogleAdsSearchads360V23ServicesSearchSearchAds360Response) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSearchSettings.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSearchSettings.java new file mode 100644 index 00000000000..3dfe680dd55 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSearchSettings.java @@ -0,0 +1,124 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Indicates search settings in request parameter. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesSearchSettings extends com.google.api.client.json.GenericJson { + + /** + * If true, results will be excluded from the response. Otherwise, results will be returned. + * Default is false. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean omitResults; + + /** + * If true, summary row will be included in the response and sent in a response by itself after + * all other query results are returned. Default is false. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean returnSummaryRow; + + /** + * If true, the total number of results that match the query ignoring the LIMIT clause will be + * included in the response. Default is false. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean returnTotalResultsCount; + + /** + * If true, results will be excluded from the response. Otherwise, results will be returned. + * Default is false. + * @return value or {@code null} for none + */ + public java.lang.Boolean getOmitResults() { + return omitResults; + } + + /** + * If true, results will be excluded from the response. Otherwise, results will be returned. + * Default is false. + * @param omitResults omitResults or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchSettings setOmitResults(java.lang.Boolean omitResults) { + this.omitResults = omitResults; + return this; + } + + /** + * If true, summary row will be included in the response and sent in a response by itself after + * all other query results are returned. Default is false. + * @return value or {@code null} for none + */ + public java.lang.Boolean getReturnSummaryRow() { + return returnSummaryRow; + } + + /** + * If true, summary row will be included in the response and sent in a response by itself after + * all other query results are returned. Default is false. + * @param returnSummaryRow returnSummaryRow or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchSettings setReturnSummaryRow(java.lang.Boolean returnSummaryRow) { + this.returnSummaryRow = returnSummaryRow; + return this; + } + + /** + * If true, the total number of results that match the query ignoring the LIMIT clause will be + * included in the response. Default is false. + * @return value or {@code null} for none + */ + public java.lang.Boolean getReturnTotalResultsCount() { + return returnTotalResultsCount; + } + + /** + * If true, the total number of results that match the query ignoring the LIMIT clause will be + * included in the response. Default is false. + * @param returnTotalResultsCount returnTotalResultsCount or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSearchSettings setReturnTotalResultsCount(java.lang.Boolean returnTotalResultsCount) { + this.returnTotalResultsCount = returnTotalResultsCount; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesSearchSettings set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesSearchSettings) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesSearchSettings clone() { + return (GoogleAdsSearchads360V23ServicesSearchSettings) super.clone(); + } + +} From 2aee7f40f3b80f126c98e999fb3ef67ffc445ed6 Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Wed, 3 Jun 2026 18:43:45 -0700 Subject: [PATCH 14/14] chore: regenerate searchads360 client --- ...60V23ServicesSharedCriterionOperation.java | 94 ++++++ ...chads360V23ServicesSharedSetOperation.java | 142 ++++++++++ ...gleAdsSearchads360V23ServicesSiteSeed.java | 70 +++++ ...3ServicesSmartCampaignEligibleDetails.java | 97 +++++++ ...0V23ServicesSmartCampaignEndedDetails.java | 70 +++++ ...rvicesSmartCampaignNotEligibleDetails.java | 67 +++++ ...V23ServicesSmartCampaignPausedDetails.java | 70 +++++ ...23ServicesSmartCampaignRemovedDetails.java | 70 +++++ ...ServicesSmartCampaignSettingOperation.java | 91 ++++++ ...23ServicesSmartCampaignSuggestionInfo.java | 263 +++++++++++++++++ ...CampaignSuggestionInfoBusinessContext.java | 67 +++++ ...artCampaignSuggestionInfoLocationList.java | 73 +++++ ...vicesStartIdentityVerificationRequest.java | 67 +++++ ...vicesSuggestGeoTargetConstantsRequest.java | 142 ++++++++++ ...stGeoTargetConstantsRequestGeoTargets.java | 67 +++++ ...eoTargetConstantsRequestLocationNames.java | 67 +++++ ...icesSuggestGeoTargetConstantsResponse.java | 73 +++++ ...esSuggestKeywordThemeConstantsRequest.java | 124 ++++++++ ...sSuggestKeywordThemeConstantsResponse.java | 73 +++++ ...23ServicesSuggestKeywordThemesRequest.java | 73 +++++ ...3ServicesSuggestKeywordThemesResponse.java | 73 +++++ ...gestKeywordThemesResponseKeywordTheme.java | 91 ++++++ ...ServicesSuggestSmartCampaignAdRequest.java | 73 +++++ ...ervicesSuggestSmartCampaignAdResponse.java | 67 +++++ ...gestSmartCampaignBudgetOptionsRequest.java | 91 ++++++ ...estSmartCampaignBudgetOptionsResponse.java | 117 ++++++++ ...aignBudgetOptionsResponseBudgetOption.java | 97 +++++++ ...tCampaignBudgetOptionsResponseMetrics.java | 91 ++++++ ...V23ServicesSuggestTravelAssetsRequest.java | 100 +++++++ ...23ServicesSuggestTravelAssetsResponse.java | 73 +++++ ...archads360V23ServicesSurfaceTargeting.java | 68 +++++ ...3ServicesSurfaceTargetingCombinations.java | 97 +++++++ ...chads360V23ServicesSurveyDissatisfied.java | 94 ++++++ ...earchads360V23ServicesSurveySatisfied.java | 94 ++++++ ...360V23ServicesTargetFrequencySettings.java | 91 ++++++ ...leAdsSearchads360V23ServicesTargeting.java | 253 +++++++++++++++++ ...V23ServicesTargetingSuggestionMetrics.java | 268 ++++++++++++++++++ ...earchads360V23ServicesUnusableAdGroup.java | 99 +++++++ ...ds360V23ServicesUpdateDataLinkRequest.java | 91 ++++++ ...s360V23ServicesUpdateDataLinkResponse.java | 67 +++++ ...cesUpdateProductLinkInvitationRequest.java | 91 ++++++ ...esUpdateProductLinkInvitationResponse.java | 67 +++++ ...ds360V23ServicesUploadUserDataRequest.java | 91 ++++++ ...s360V23ServicesUploadUserDataResponse.java | 95 +++++++ ...ogleAdsSearchads360V23ServicesUrlSeed.java | 67 +++++ ...rchads360V23ServicesUserDataOperation.java | 91 ++++++ ...ServicesUserListCustomerTypeOperation.java | 100 +++++++ ...rchads360V23ServicesUserListOperation.java | 142 ++++++++++ ...hads360V23ServicesYouTubeSelectLineUp.java | 91 ++++++ ...ds360V23ServicesYouTubeSelectSettings.java | 67 +++++ .../v23/model/GoogleLongrunningOperation.java | 196 +++++++++++++ .../v23/model/GoogleProtobufEmpty.java | 45 +++ .../v23/model/GoogleRpcStatus.java | 128 +++++++++ .../v23/model/GoogleTypeMoney.java | 127 +++++++++ .../v23/2.0.0/pom.xml | 219 ++++++++++++++ .../v23/README.md | 44 +++ 56 files changed, 5616 insertions(+) create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSharedCriterionOperation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSharedSetOperation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSiteSeed.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSmartCampaignEligibleDetails.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSmartCampaignEndedDetails.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSmartCampaignNotEligibleDetails.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSmartCampaignPausedDetails.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSmartCampaignRemovedDetails.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSmartCampaignSettingOperation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSmartCampaignSuggestionInfo.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSmartCampaignSuggestionInfoBusinessContext.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSmartCampaignSuggestionInfoLocationList.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesStartIdentityVerificationRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSuggestGeoTargetConstantsRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSuggestGeoTargetConstantsRequestGeoTargets.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSuggestGeoTargetConstantsRequestLocationNames.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSuggestGeoTargetConstantsResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSuggestKeywordThemeConstantsRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSuggestKeywordThemeConstantsResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSuggestKeywordThemesRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSuggestKeywordThemesResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSuggestKeywordThemesResponseKeywordTheme.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSuggestSmartCampaignAdRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSuggestSmartCampaignAdResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSuggestSmartCampaignBudgetOptionsRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSuggestSmartCampaignBudgetOptionsResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSuggestSmartCampaignBudgetOptionsResponseBudgetOption.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSuggestSmartCampaignBudgetOptionsResponseMetrics.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSuggestTravelAssetsRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSuggestTravelAssetsResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSurfaceTargeting.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSurfaceTargetingCombinations.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSurveyDissatisfied.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSurveySatisfied.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesTargetFrequencySettings.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesTargeting.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesTargetingSuggestionMetrics.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesUnusableAdGroup.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesUpdateDataLinkRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesUpdateDataLinkResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesUpdateProductLinkInvitationRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesUpdateProductLinkInvitationResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesUploadUserDataRequest.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesUploadUserDataResponse.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesUrlSeed.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesUserDataOperation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesUserListCustomerTypeOperation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesUserListOperation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesYouTubeSelectLineUp.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesYouTubeSelectSettings.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleLongrunningOperation.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleProtobufEmpty.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleRpcStatus.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleTypeMoney.java create mode 100644 clients/google-api-services-searchads360/v23/2.0.0/pom.xml create mode 100644 clients/google-api-services-searchads360/v23/README.md diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSharedCriterionOperation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSharedCriterionOperation.java new file mode 100644 index 00000000000..b9db2b72f60 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSharedCriterionOperation.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A single operation (create, remove) on an shared criterion. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesSharedCriterionOperation extends com.google.api.client.json.GenericJson { + + /** + * Create operation: No resource name is expected for the new shared criterion. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesSharedCriterion create; + + /** + * Remove operation: A resource name for the removed shared criterion is expected, in this format: + * `customers/{customer_id}/sharedCriteria/{shared_set_id}~{criterion_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String remove; + + /** + * Create operation: No resource name is expected for the new shared criterion. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesSharedCriterion getCreate() { + return create; + } + + /** + * Create operation: No resource name is expected for the new shared criterion. + * @param create create or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSharedCriterionOperation setCreate(GoogleAdsSearchads360V23ResourcesSharedCriterion create) { + this.create = create; + return this; + } + + /** + * Remove operation: A resource name for the removed shared criterion is expected, in this format: + * `customers/{customer_id}/sharedCriteria/{shared_set_id}~{criterion_id}` + * @return value or {@code null} for none + */ + public java.lang.String getRemove() { + return remove; + } + + /** + * Remove operation: A resource name for the removed shared criterion is expected, in this format: + * `customers/{customer_id}/sharedCriteria/{shared_set_id}~{criterion_id}` + * @param remove remove or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSharedCriterionOperation setRemove(java.lang.String remove) { + this.remove = remove; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesSharedCriterionOperation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesSharedCriterionOperation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesSharedCriterionOperation clone() { + return (GoogleAdsSearchads360V23ServicesSharedCriterionOperation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSharedSetOperation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSharedSetOperation.java new file mode 100644 index 00000000000..39f72915acc --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSharedSetOperation.java @@ -0,0 +1,142 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A single operation (create, update, remove) on an shared set. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesSharedSetOperation extends com.google.api.client.json.GenericJson { + + /** + * Create operation: No resource name is expected for the new shared set. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesSharedSet create; + + /** + * Remove operation: A resource name for the removed shared set is expected, in this format: + * `customers/{customer_id}/sharedSets/{shared_set_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String remove; + + /** + * Update operation: The shared set is expected to have a valid resource name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesSharedSet update; + + /** + * FieldMask that determines which resource fields are modified in an update. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String updateMask; + + /** + * Create operation: No resource name is expected for the new shared set. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesSharedSet getCreate() { + return create; + } + + /** + * Create operation: No resource name is expected for the new shared set. + * @param create create or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSharedSetOperation setCreate(GoogleAdsSearchads360V23ResourcesSharedSet create) { + this.create = create; + return this; + } + + /** + * Remove operation: A resource name for the removed shared set is expected, in this format: + * `customers/{customer_id}/sharedSets/{shared_set_id}` + * @return value or {@code null} for none + */ + public java.lang.String getRemove() { + return remove; + } + + /** + * Remove operation: A resource name for the removed shared set is expected, in this format: + * `customers/{customer_id}/sharedSets/{shared_set_id}` + * @param remove remove or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSharedSetOperation setRemove(java.lang.String remove) { + this.remove = remove; + return this; + } + + /** + * Update operation: The shared set is expected to have a valid resource name. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesSharedSet getUpdate() { + return update; + } + + /** + * Update operation: The shared set is expected to have a valid resource name. + * @param update update or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSharedSetOperation setUpdate(GoogleAdsSearchads360V23ResourcesSharedSet update) { + this.update = update; + return this; + } + + /** + * FieldMask that determines which resource fields are modified in an update. + * @return value or {@code null} for none + */ + public String getUpdateMask() { + return updateMask; + } + + /** + * FieldMask that determines which resource fields are modified in an update. + * @param updateMask updateMask or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSharedSetOperation setUpdateMask(String updateMask) { + this.updateMask = updateMask; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesSharedSetOperation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesSharedSetOperation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesSharedSetOperation clone() { + return (GoogleAdsSearchads360V23ServicesSharedSetOperation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSiteSeed.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSiteSeed.java new file mode 100644 index 00000000000..1fae8f80e7e --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSiteSeed.java @@ -0,0 +1,70 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Site Seed + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesSiteSeed extends com.google.api.client.json.GenericJson { + + /** + * The domain name of the site. If the customer requesting the ideas doesn't own the site provided + * only public information is returned. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String site; + + /** + * The domain name of the site. If the customer requesting the ideas doesn't own the site provided + * only public information is returned. + * @return value or {@code null} for none + */ + public java.lang.String getSite() { + return site; + } + + /** + * The domain name of the site. If the customer requesting the ideas doesn't own the site provided + * only public information is returned. + * @param site site or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSiteSeed setSite(java.lang.String site) { + this.site = site; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesSiteSeed set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesSiteSeed) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesSiteSeed clone() { + return (GoogleAdsSearchads360V23ServicesSiteSeed) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSmartCampaignEligibleDetails.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSmartCampaignEligibleDetails.java new file mode 100644 index 00000000000..9f4ca7bd6ca --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSmartCampaignEligibleDetails.java @@ -0,0 +1,97 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Details related to Smart campaigns that are eligible to serve. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesSmartCampaignEligibleDetails extends com.google.api.client.json.GenericJson { + + /** + * The timestamp of when the campaign will end, if applicable. The timestamp is in the customer’s + * timezone and in “yyyy-MM-dd HH:mm:ss” format. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String endDateTime; + + /** + * The timestamp of the last impression observed in the last 48 hours for this campaign. The + * timestamp is in the customer’s timezone and in “yyyy-MM-dd HH:mm:ss” format. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String lastImpressionDateTime; + + /** + * The timestamp of when the campaign will end, if applicable. The timestamp is in the customer’s + * timezone and in “yyyy-MM-dd HH:mm:ss” format. + * @return value or {@code null} for none + */ + public java.lang.String getEndDateTime() { + return endDateTime; + } + + /** + * The timestamp of when the campaign will end, if applicable. The timestamp is in the customer’s + * timezone and in “yyyy-MM-dd HH:mm:ss” format. + * @param endDateTime endDateTime or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSmartCampaignEligibleDetails setEndDateTime(java.lang.String endDateTime) { + this.endDateTime = endDateTime; + return this; + } + + /** + * The timestamp of the last impression observed in the last 48 hours for this campaign. The + * timestamp is in the customer’s timezone and in “yyyy-MM-dd HH:mm:ss” format. + * @return value or {@code null} for none + */ + public java.lang.String getLastImpressionDateTime() { + return lastImpressionDateTime; + } + + /** + * The timestamp of the last impression observed in the last 48 hours for this campaign. The + * timestamp is in the customer’s timezone and in “yyyy-MM-dd HH:mm:ss” format. + * @param lastImpressionDateTime lastImpressionDateTime or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSmartCampaignEligibleDetails setLastImpressionDateTime(java.lang.String lastImpressionDateTime) { + this.lastImpressionDateTime = lastImpressionDateTime; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesSmartCampaignEligibleDetails set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesSmartCampaignEligibleDetails) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesSmartCampaignEligibleDetails clone() { + return (GoogleAdsSearchads360V23ServicesSmartCampaignEligibleDetails) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSmartCampaignEndedDetails.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSmartCampaignEndedDetails.java new file mode 100644 index 00000000000..7ee12dd9cdd --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSmartCampaignEndedDetails.java @@ -0,0 +1,70 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Details related to Smart campaigns that have ended. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesSmartCampaignEndedDetails extends com.google.api.client.json.GenericJson { + + /** + * The timestamp of when the campaign ended. The timestamp is in the customer’s timezone and in + * “yyyy-MM-dd HH:mm:ss” format. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String endDateTime; + + /** + * The timestamp of when the campaign ended. The timestamp is in the customer’s timezone and in + * “yyyy-MM-dd HH:mm:ss” format. + * @return value or {@code null} for none + */ + public java.lang.String getEndDateTime() { + return endDateTime; + } + + /** + * The timestamp of when the campaign ended. The timestamp is in the customer’s timezone and in + * “yyyy-MM-dd HH:mm:ss” format. + * @param endDateTime endDateTime or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSmartCampaignEndedDetails setEndDateTime(java.lang.String endDateTime) { + this.endDateTime = endDateTime; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesSmartCampaignEndedDetails set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesSmartCampaignEndedDetails) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesSmartCampaignEndedDetails clone() { + return (GoogleAdsSearchads360V23ServicesSmartCampaignEndedDetails) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSmartCampaignNotEligibleDetails.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSmartCampaignNotEligibleDetails.java new file mode 100644 index 00000000000..b180d4947a9 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSmartCampaignNotEligibleDetails.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Details related to Smart campaigns that are not eligible to serve. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesSmartCampaignNotEligibleDetails extends com.google.api.client.json.GenericJson { + + /** + * The reason why the Smart campaign is not eligible to serve. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String notEligibleReason; + + /** + * The reason why the Smart campaign is not eligible to serve. + * @return value or {@code null} for none + */ + public java.lang.String getNotEligibleReason() { + return notEligibleReason; + } + + /** + * The reason why the Smart campaign is not eligible to serve. + * @param notEligibleReason notEligibleReason or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSmartCampaignNotEligibleDetails setNotEligibleReason(java.lang.String notEligibleReason) { + this.notEligibleReason = notEligibleReason; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesSmartCampaignNotEligibleDetails set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesSmartCampaignNotEligibleDetails) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesSmartCampaignNotEligibleDetails clone() { + return (GoogleAdsSearchads360V23ServicesSmartCampaignNotEligibleDetails) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSmartCampaignPausedDetails.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSmartCampaignPausedDetails.java new file mode 100644 index 00000000000..01890b4c7ec --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSmartCampaignPausedDetails.java @@ -0,0 +1,70 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Details related to paused Smart campaigns. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesSmartCampaignPausedDetails extends com.google.api.client.json.GenericJson { + + /** + * The timestamp of when the campaign was last paused. The timestamp is in the customer’s timezone + * and in “yyyy-MM-dd HH:mm:ss” format. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String pausedDateTime; + + /** + * The timestamp of when the campaign was last paused. The timestamp is in the customer’s timezone + * and in “yyyy-MM-dd HH:mm:ss” format. + * @return value or {@code null} for none + */ + public java.lang.String getPausedDateTime() { + return pausedDateTime; + } + + /** + * The timestamp of when the campaign was last paused. The timestamp is in the customer’s timezone + * and in “yyyy-MM-dd HH:mm:ss” format. + * @param pausedDateTime pausedDateTime or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSmartCampaignPausedDetails setPausedDateTime(java.lang.String pausedDateTime) { + this.pausedDateTime = pausedDateTime; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesSmartCampaignPausedDetails set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesSmartCampaignPausedDetails) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesSmartCampaignPausedDetails clone() { + return (GoogleAdsSearchads360V23ServicesSmartCampaignPausedDetails) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSmartCampaignRemovedDetails.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSmartCampaignRemovedDetails.java new file mode 100644 index 00000000000..22346055b23 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSmartCampaignRemovedDetails.java @@ -0,0 +1,70 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Details related to removed Smart campaigns. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesSmartCampaignRemovedDetails extends com.google.api.client.json.GenericJson { + + /** + * The timestamp of when the campaign was removed. The timestamp is in the customer’s timezone and + * in “yyyy-MM-dd HH:mm:ss” format. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String removedDateTime; + + /** + * The timestamp of when the campaign was removed. The timestamp is in the customer’s timezone and + * in “yyyy-MM-dd HH:mm:ss” format. + * @return value or {@code null} for none + */ + public java.lang.String getRemovedDateTime() { + return removedDateTime; + } + + /** + * The timestamp of when the campaign was removed. The timestamp is in the customer’s timezone and + * in “yyyy-MM-dd HH:mm:ss” format. + * @param removedDateTime removedDateTime or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSmartCampaignRemovedDetails setRemovedDateTime(java.lang.String removedDateTime) { + this.removedDateTime = removedDateTime; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesSmartCampaignRemovedDetails set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesSmartCampaignRemovedDetails) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesSmartCampaignRemovedDetails clone() { + return (GoogleAdsSearchads360V23ServicesSmartCampaignRemovedDetails) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSmartCampaignSettingOperation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSmartCampaignSettingOperation.java new file mode 100644 index 00000000000..91e4e05ec13 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSmartCampaignSettingOperation.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A single operation to update Smart campaign settings for a campaign. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesSmartCampaignSettingOperation extends com.google.api.client.json.GenericJson { + + /** + * Update operation: The Smart campaign setting must specify a valid resource name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesSmartCampaignSetting update; + + /** + * FieldMask that determines which resource fields are modified in an update. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String updateMask; + + /** + * Update operation: The Smart campaign setting must specify a valid resource name. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesSmartCampaignSetting getUpdate() { + return update; + } + + /** + * Update operation: The Smart campaign setting must specify a valid resource name. + * @param update update or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSmartCampaignSettingOperation setUpdate(GoogleAdsSearchads360V23ResourcesSmartCampaignSetting update) { + this.update = update; + return this; + } + + /** + * FieldMask that determines which resource fields are modified in an update. + * @return value or {@code null} for none + */ + public String getUpdateMask() { + return updateMask; + } + + /** + * FieldMask that determines which resource fields are modified in an update. + * @param updateMask updateMask or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSmartCampaignSettingOperation setUpdateMask(String updateMask) { + this.updateMask = updateMask; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesSmartCampaignSettingOperation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesSmartCampaignSettingOperation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesSmartCampaignSettingOperation clone() { + return (GoogleAdsSearchads360V23ServicesSmartCampaignSettingOperation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSmartCampaignSuggestionInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSmartCampaignSuggestionInfo.java new file mode 100644 index 00000000000..120b5659a6e --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSmartCampaignSuggestionInfo.java @@ -0,0 +1,263 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Information needed to get suggestion for Smart Campaign. More information provided will help the + * system to derive better suggestions. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesSmartCampaignSuggestionInfo extends com.google.api.client.json.GenericJson { + + /** + * Optional. The business ad schedule. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List adSchedules; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonAdScheduleInfo used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonAdScheduleInfo.class); + } + + /** + * Optional. Context describing the business to advertise. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesSmartCampaignSuggestionInfoBusinessContext businessContext; + + /** + * Optional. The resource name of a Business Profile location. Business Profile location resource + * names can be fetched through the Business Profile API and adhere to the following format: + * `locations/{locationId}`. See the [Business Profile API] (https://developers.google.com/my- + * business/reference/businessinformation/rest/v1/accounts.locations) for additional details. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String businessProfileLocation; + + /** + * Optional. Landing page URL of the campaign. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String finalUrl; + + /** + * Optional. Smart campaign keyword themes. This field may greatly improve suggestion accuracy and + * we recommend always setting it if possible. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List keywordThemes; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonKeywordThemeInfo used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonKeywordThemeInfo.class); + } + + /** + * Optional. The two letter advertising language for the Smart campaign to be constructed, default + * to 'en' if not set. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String languageCode; + + /** + * Optional. The targeting geo location by locations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesSmartCampaignSuggestionInfoLocationList locationList; + + /** + * Optional. The targeting geo location by proximity. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonProximityInfo proximity; + + /** + * Optional. The business ad schedule. + * @return value or {@code null} for none + */ + public java.util.List getAdSchedules() { + return adSchedules; + } + + /** + * Optional. The business ad schedule. + * @param adSchedules adSchedules or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSmartCampaignSuggestionInfo setAdSchedules(java.util.List adSchedules) { + this.adSchedules = adSchedules; + return this; + } + + /** + * Optional. Context describing the business to advertise. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSmartCampaignSuggestionInfoBusinessContext getBusinessContext() { + return businessContext; + } + + /** + * Optional. Context describing the business to advertise. + * @param businessContext businessContext or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSmartCampaignSuggestionInfo setBusinessContext(GoogleAdsSearchads360V23ServicesSmartCampaignSuggestionInfoBusinessContext businessContext) { + this.businessContext = businessContext; + return this; + } + + /** + * Optional. The resource name of a Business Profile location. Business Profile location resource + * names can be fetched through the Business Profile API and adhere to the following format: + * `locations/{locationId}`. See the [Business Profile API] (https://developers.google.com/my- + * business/reference/businessinformation/rest/v1/accounts.locations) for additional details. + * @return value or {@code null} for none + */ + public java.lang.String getBusinessProfileLocation() { + return businessProfileLocation; + } + + /** + * Optional. The resource name of a Business Profile location. Business Profile location resource + * names can be fetched through the Business Profile API and adhere to the following format: + * `locations/{locationId}`. See the [Business Profile API] (https://developers.google.com/my- + * business/reference/businessinformation/rest/v1/accounts.locations) for additional details. + * @param businessProfileLocation businessProfileLocation or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSmartCampaignSuggestionInfo setBusinessProfileLocation(java.lang.String businessProfileLocation) { + this.businessProfileLocation = businessProfileLocation; + return this; + } + + /** + * Optional. Landing page URL of the campaign. + * @return value or {@code null} for none + */ + public java.lang.String getFinalUrl() { + return finalUrl; + } + + /** + * Optional. Landing page URL of the campaign. + * @param finalUrl finalUrl or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSmartCampaignSuggestionInfo setFinalUrl(java.lang.String finalUrl) { + this.finalUrl = finalUrl; + return this; + } + + /** + * Optional. Smart campaign keyword themes. This field may greatly improve suggestion accuracy and + * we recommend always setting it if possible. + * @return value or {@code null} for none + */ + public java.util.List getKeywordThemes() { + return keywordThemes; + } + + /** + * Optional. Smart campaign keyword themes. This field may greatly improve suggestion accuracy and + * we recommend always setting it if possible. + * @param keywordThemes keywordThemes or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSmartCampaignSuggestionInfo setKeywordThemes(java.util.List keywordThemes) { + this.keywordThemes = keywordThemes; + return this; + } + + /** + * Optional. The two letter advertising language for the Smart campaign to be constructed, default + * to 'en' if not set. + * @return value or {@code null} for none + */ + public java.lang.String getLanguageCode() { + return languageCode; + } + + /** + * Optional. The two letter advertising language for the Smart campaign to be constructed, default + * to 'en' if not set. + * @param languageCode languageCode or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSmartCampaignSuggestionInfo setLanguageCode(java.lang.String languageCode) { + this.languageCode = languageCode; + return this; + } + + /** + * Optional. The targeting geo location by locations. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSmartCampaignSuggestionInfoLocationList getLocationList() { + return locationList; + } + + /** + * Optional. The targeting geo location by locations. + * @param locationList locationList or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSmartCampaignSuggestionInfo setLocationList(GoogleAdsSearchads360V23ServicesSmartCampaignSuggestionInfoLocationList locationList) { + this.locationList = locationList; + return this; + } + + /** + * Optional. The targeting geo location by proximity. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonProximityInfo getProximity() { + return proximity; + } + + /** + * Optional. The targeting geo location by proximity. + * @param proximity proximity or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSmartCampaignSuggestionInfo setProximity(GoogleAdsSearchads360V23CommonProximityInfo proximity) { + this.proximity = proximity; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesSmartCampaignSuggestionInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesSmartCampaignSuggestionInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesSmartCampaignSuggestionInfo clone() { + return (GoogleAdsSearchads360V23ServicesSmartCampaignSuggestionInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSmartCampaignSuggestionInfoBusinessContext.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSmartCampaignSuggestionInfoBusinessContext.java new file mode 100644 index 00000000000..5bd4dcf8fe2 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSmartCampaignSuggestionInfoBusinessContext.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A context that describes a business. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesSmartCampaignSuggestionInfoBusinessContext extends com.google.api.client.json.GenericJson { + + /** + * Optional. The name of the business. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String businessName; + + /** + * Optional. The name of the business. + * @return value or {@code null} for none + */ + public java.lang.String getBusinessName() { + return businessName; + } + + /** + * Optional. The name of the business. + * @param businessName businessName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSmartCampaignSuggestionInfoBusinessContext setBusinessName(java.lang.String businessName) { + this.businessName = businessName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesSmartCampaignSuggestionInfoBusinessContext set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesSmartCampaignSuggestionInfoBusinessContext) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesSmartCampaignSuggestionInfoBusinessContext clone() { + return (GoogleAdsSearchads360V23ServicesSmartCampaignSuggestionInfoBusinessContext) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSmartCampaignSuggestionInfoLocationList.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSmartCampaignSuggestionInfoLocationList.java new file mode 100644 index 00000000000..447bef08314 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSmartCampaignSuggestionInfoLocationList.java @@ -0,0 +1,73 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A list of locations. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesSmartCampaignSuggestionInfoLocationList extends com.google.api.client.json.GenericJson { + + /** + * Required. Locations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List locations; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonLocationInfo used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonLocationInfo.class); + } + + /** + * Required. Locations. + * @return value or {@code null} for none + */ + public java.util.List getLocations() { + return locations; + } + + /** + * Required. Locations. + * @param locations locations or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSmartCampaignSuggestionInfoLocationList setLocations(java.util.List locations) { + this.locations = locations; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesSmartCampaignSuggestionInfoLocationList set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesSmartCampaignSuggestionInfoLocationList) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesSmartCampaignSuggestionInfoLocationList clone() { + return (GoogleAdsSearchads360V23ServicesSmartCampaignSuggestionInfoLocationList) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesStartIdentityVerificationRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesStartIdentityVerificationRequest.java new file mode 100644 index 00000000000..12fc8269c83 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesStartIdentityVerificationRequest.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for StartIdentityVerification. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesStartIdentityVerificationRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The verification program type for which we want to start the verification. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String verificationProgram; + + /** + * Required. The verification program type for which we want to start the verification. + * @return value or {@code null} for none + */ + public java.lang.String getVerificationProgram() { + return verificationProgram; + } + + /** + * Required. The verification program type for which we want to start the verification. + * @param verificationProgram verificationProgram or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesStartIdentityVerificationRequest setVerificationProgram(java.lang.String verificationProgram) { + this.verificationProgram = verificationProgram; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesStartIdentityVerificationRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesStartIdentityVerificationRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesStartIdentityVerificationRequest clone() { + return (GoogleAdsSearchads360V23ServicesStartIdentityVerificationRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSuggestGeoTargetConstantsRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSuggestGeoTargetConstantsRequest.java new file mode 100644 index 00000000000..5b45ba10d4b --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSuggestGeoTargetConstantsRequest.java @@ -0,0 +1,142 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for GeoTargetConstantService.SuggestGeoTargetConstants. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesSuggestGeoTargetConstantsRequest extends com.google.api.client.json.GenericJson { + + /** + * Returned geo targets are restricted to this country code. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String countryCode; + + /** + * The geo target constant resource names to filter by. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesSuggestGeoTargetConstantsRequestGeoTargets geoTargets; + + /** + * If possible, returned geo targets are translated using this locale. If not, en is used by + * default. This is also used as a hint for returned geo targets. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String locale; + + /** + * The location names to search by. At most 25 names can be set. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesSuggestGeoTargetConstantsRequestLocationNames locationNames; + + /** + * Returned geo targets are restricted to this country code. + * @return value or {@code null} for none + */ + public java.lang.String getCountryCode() { + return countryCode; + } + + /** + * Returned geo targets are restricted to this country code. + * @param countryCode countryCode or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSuggestGeoTargetConstantsRequest setCountryCode(java.lang.String countryCode) { + this.countryCode = countryCode; + return this; + } + + /** + * The geo target constant resource names to filter by. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSuggestGeoTargetConstantsRequestGeoTargets getGeoTargets() { + return geoTargets; + } + + /** + * The geo target constant resource names to filter by. + * @param geoTargets geoTargets or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSuggestGeoTargetConstantsRequest setGeoTargets(GoogleAdsSearchads360V23ServicesSuggestGeoTargetConstantsRequestGeoTargets geoTargets) { + this.geoTargets = geoTargets; + return this; + } + + /** + * If possible, returned geo targets are translated using this locale. If not, en is used by + * default. This is also used as a hint for returned geo targets. + * @return value or {@code null} for none + */ + public java.lang.String getLocale() { + return locale; + } + + /** + * If possible, returned geo targets are translated using this locale. If not, en is used by + * default. This is also used as a hint for returned geo targets. + * @param locale locale or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSuggestGeoTargetConstantsRequest setLocale(java.lang.String locale) { + this.locale = locale; + return this; + } + + /** + * The location names to search by. At most 25 names can be set. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSuggestGeoTargetConstantsRequestLocationNames getLocationNames() { + return locationNames; + } + + /** + * The location names to search by. At most 25 names can be set. + * @param locationNames locationNames or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSuggestGeoTargetConstantsRequest setLocationNames(GoogleAdsSearchads360V23ServicesSuggestGeoTargetConstantsRequestLocationNames locationNames) { + this.locationNames = locationNames; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesSuggestGeoTargetConstantsRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesSuggestGeoTargetConstantsRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesSuggestGeoTargetConstantsRequest clone() { + return (GoogleAdsSearchads360V23ServicesSuggestGeoTargetConstantsRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSuggestGeoTargetConstantsRequestGeoTargets.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSuggestGeoTargetConstantsRequestGeoTargets.java new file mode 100644 index 00000000000..8eba3946b7c --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSuggestGeoTargetConstantsRequestGeoTargets.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A list of geo target constant resource names. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesSuggestGeoTargetConstantsRequestGeoTargets extends com.google.api.client.json.GenericJson { + + /** + * A list of geo target constant resource names. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List geoTargetConstants; + + /** + * A list of geo target constant resource names. + * @return value or {@code null} for none + */ + public java.util.List getGeoTargetConstants() { + return geoTargetConstants; + } + + /** + * A list of geo target constant resource names. + * @param geoTargetConstants geoTargetConstants or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSuggestGeoTargetConstantsRequestGeoTargets setGeoTargetConstants(java.util.List geoTargetConstants) { + this.geoTargetConstants = geoTargetConstants; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesSuggestGeoTargetConstantsRequestGeoTargets set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesSuggestGeoTargetConstantsRequestGeoTargets) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesSuggestGeoTargetConstantsRequestGeoTargets clone() { + return (GoogleAdsSearchads360V23ServicesSuggestGeoTargetConstantsRequestGeoTargets) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSuggestGeoTargetConstantsRequestLocationNames.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSuggestGeoTargetConstantsRequestLocationNames.java new file mode 100644 index 00000000000..2cbe1aef9eb --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSuggestGeoTargetConstantsRequestLocationNames.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A list of location names. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesSuggestGeoTargetConstantsRequestLocationNames extends com.google.api.client.json.GenericJson { + + /** + * A list of location names. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List names; + + /** + * A list of location names. + * @return value or {@code null} for none + */ + public java.util.List getNames() { + return names; + } + + /** + * A list of location names. + * @param names names or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSuggestGeoTargetConstantsRequestLocationNames setNames(java.util.List names) { + this.names = names; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesSuggestGeoTargetConstantsRequestLocationNames set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesSuggestGeoTargetConstantsRequestLocationNames) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesSuggestGeoTargetConstantsRequestLocationNames clone() { + return (GoogleAdsSearchads360V23ServicesSuggestGeoTargetConstantsRequestLocationNames) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSuggestGeoTargetConstantsResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSuggestGeoTargetConstantsResponse.java new file mode 100644 index 00000000000..4cfaeedf658 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSuggestGeoTargetConstantsResponse.java @@ -0,0 +1,73 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for GeoTargetConstantService.SuggestGeoTargetConstants. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesSuggestGeoTargetConstantsResponse extends com.google.api.client.json.GenericJson { + + /** + * Geo target constant suggestions. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List geoTargetConstantSuggestions; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesGeoTargetConstantSuggestion used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesGeoTargetConstantSuggestion.class); + } + + /** + * Geo target constant suggestions. + * @return value or {@code null} for none + */ + public java.util.List getGeoTargetConstantSuggestions() { + return geoTargetConstantSuggestions; + } + + /** + * Geo target constant suggestions. + * @param geoTargetConstantSuggestions geoTargetConstantSuggestions or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSuggestGeoTargetConstantsResponse setGeoTargetConstantSuggestions(java.util.List geoTargetConstantSuggestions) { + this.geoTargetConstantSuggestions = geoTargetConstantSuggestions; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesSuggestGeoTargetConstantsResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesSuggestGeoTargetConstantsResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesSuggestGeoTargetConstantsResponse clone() { + return (GoogleAdsSearchads360V23ServicesSuggestGeoTargetConstantsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSuggestKeywordThemeConstantsRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSuggestKeywordThemeConstantsRequest.java new file mode 100644 index 00000000000..0ca72a516b0 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSuggestKeywordThemeConstantsRequest.java @@ -0,0 +1,124 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for KeywordThemeConstantService.SuggestKeywordThemeConstants. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesSuggestKeywordThemeConstantsRequest extends com.google.api.client.json.GenericJson { + + /** + * Upper-case, two-letter country code as defined by ISO-3166. This for refining the scope of the + * query, default to 'US' if not set. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String countryCode; + + /** + * The two letter language code for get corresponding keyword theme for refining the scope of the + * query, default to 'en' if not set. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String languageCode; + + /** + * The query text of a keyword theme that will be used to map to similar keyword themes. For + * example, "plumber" or "roofer". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String queryText; + + /** + * Upper-case, two-letter country code as defined by ISO-3166. This for refining the scope of the + * query, default to 'US' if not set. + * @return value or {@code null} for none + */ + public java.lang.String getCountryCode() { + return countryCode; + } + + /** + * Upper-case, two-letter country code as defined by ISO-3166. This for refining the scope of the + * query, default to 'US' if not set. + * @param countryCode countryCode or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSuggestKeywordThemeConstantsRequest setCountryCode(java.lang.String countryCode) { + this.countryCode = countryCode; + return this; + } + + /** + * The two letter language code for get corresponding keyword theme for refining the scope of the + * query, default to 'en' if not set. + * @return value or {@code null} for none + */ + public java.lang.String getLanguageCode() { + return languageCode; + } + + /** + * The two letter language code for get corresponding keyword theme for refining the scope of the + * query, default to 'en' if not set. + * @param languageCode languageCode or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSuggestKeywordThemeConstantsRequest setLanguageCode(java.lang.String languageCode) { + this.languageCode = languageCode; + return this; + } + + /** + * The query text of a keyword theme that will be used to map to similar keyword themes. For + * example, "plumber" or "roofer". + * @return value or {@code null} for none + */ + public java.lang.String getQueryText() { + return queryText; + } + + /** + * The query text of a keyword theme that will be used to map to similar keyword themes. For + * example, "plumber" or "roofer". + * @param queryText queryText or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSuggestKeywordThemeConstantsRequest setQueryText(java.lang.String queryText) { + this.queryText = queryText; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesSuggestKeywordThemeConstantsRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesSuggestKeywordThemeConstantsRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesSuggestKeywordThemeConstantsRequest clone() { + return (GoogleAdsSearchads360V23ServicesSuggestKeywordThemeConstantsRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSuggestKeywordThemeConstantsResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSuggestKeywordThemeConstantsResponse.java new file mode 100644 index 00000000000..2137d940201 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSuggestKeywordThemeConstantsResponse.java @@ -0,0 +1,73 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for KeywordThemeConstantService.SuggestKeywordThemeConstants. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesSuggestKeywordThemeConstantsResponse extends com.google.api.client.json.GenericJson { + + /** + * Smart Campaign keyword theme suggestions. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List keywordThemeConstants; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ResourcesKeywordThemeConstant used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ResourcesKeywordThemeConstant.class); + } + + /** + * Smart Campaign keyword theme suggestions. + * @return value or {@code null} for none + */ + public java.util.List getKeywordThemeConstants() { + return keywordThemeConstants; + } + + /** + * Smart Campaign keyword theme suggestions. + * @param keywordThemeConstants keywordThemeConstants or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSuggestKeywordThemeConstantsResponse setKeywordThemeConstants(java.util.List keywordThemeConstants) { + this.keywordThemeConstants = keywordThemeConstants; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesSuggestKeywordThemeConstantsResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesSuggestKeywordThemeConstantsResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesSuggestKeywordThemeConstantsResponse clone() { + return (GoogleAdsSearchads360V23ServicesSuggestKeywordThemeConstantsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSuggestKeywordThemesRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSuggestKeywordThemesRequest.java new file mode 100644 index 00000000000..804e7055a1e --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSuggestKeywordThemesRequest.java @@ -0,0 +1,73 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for SmartCampaignSuggestService.SuggestKeywordThemes. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesSuggestKeywordThemesRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. Information to get keyword theme suggestions. Required fields: * + * suggestion_info.final_url * suggestion_info.language_code * suggestion_info.geo_target + * Recommended fields: * suggestion_info.business_setting + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesSmartCampaignSuggestionInfo suggestionInfo; + + /** + * Required. Information to get keyword theme suggestions. Required fields: * + * suggestion_info.final_url * suggestion_info.language_code * suggestion_info.geo_target + * Recommended fields: * suggestion_info.business_setting + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSmartCampaignSuggestionInfo getSuggestionInfo() { + return suggestionInfo; + } + + /** + * Required. Information to get keyword theme suggestions. Required fields: * + * suggestion_info.final_url * suggestion_info.language_code * suggestion_info.geo_target + * Recommended fields: * suggestion_info.business_setting + * @param suggestionInfo suggestionInfo or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSuggestKeywordThemesRequest setSuggestionInfo(GoogleAdsSearchads360V23ServicesSmartCampaignSuggestionInfo suggestionInfo) { + this.suggestionInfo = suggestionInfo; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesSuggestKeywordThemesRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesSuggestKeywordThemesRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesSuggestKeywordThemesRequest clone() { + return (GoogleAdsSearchads360V23ServicesSuggestKeywordThemesRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSuggestKeywordThemesResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSuggestKeywordThemesResponse.java new file mode 100644 index 00000000000..a3c62cd067e --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSuggestKeywordThemesResponse.java @@ -0,0 +1,73 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for SmartCampaignSuggestService.SuggestKeywordThemes. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesSuggestKeywordThemesResponse extends com.google.api.client.json.GenericJson { + + /** + * Smart campaign keyword theme suggestions. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List keywordThemes; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesSuggestKeywordThemesResponseKeywordTheme used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesSuggestKeywordThemesResponseKeywordTheme.class); + } + + /** + * Smart campaign keyword theme suggestions. + * @return value or {@code null} for none + */ + public java.util.List getKeywordThemes() { + return keywordThemes; + } + + /** + * Smart campaign keyword theme suggestions. + * @param keywordThemes keywordThemes or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSuggestKeywordThemesResponse setKeywordThemes(java.util.List keywordThemes) { + this.keywordThemes = keywordThemes; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesSuggestKeywordThemesResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesSuggestKeywordThemesResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesSuggestKeywordThemesResponse clone() { + return (GoogleAdsSearchads360V23ServicesSuggestKeywordThemesResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSuggestKeywordThemesResponseKeywordTheme.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSuggestKeywordThemesResponseKeywordTheme.java new file mode 100644 index 00000000000..0d806808b27 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSuggestKeywordThemesResponseKeywordTheme.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A Smart campaign keyword theme suggestion. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesSuggestKeywordThemesResponseKeywordTheme extends com.google.api.client.json.GenericJson { + + /** + * A free-form text keyword theme. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String freeFormKeywordTheme; + + /** + * A Smart campaign keyword theme constant. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesKeywordThemeConstant keywordThemeConstant; + + /** + * A free-form text keyword theme. + * @return value or {@code null} for none + */ + public java.lang.String getFreeFormKeywordTheme() { + return freeFormKeywordTheme; + } + + /** + * A free-form text keyword theme. + * @param freeFormKeywordTheme freeFormKeywordTheme or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSuggestKeywordThemesResponseKeywordTheme setFreeFormKeywordTheme(java.lang.String freeFormKeywordTheme) { + this.freeFormKeywordTheme = freeFormKeywordTheme; + return this; + } + + /** + * A Smart campaign keyword theme constant. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesKeywordThemeConstant getKeywordThemeConstant() { + return keywordThemeConstant; + } + + /** + * A Smart campaign keyword theme constant. + * @param keywordThemeConstant keywordThemeConstant or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSuggestKeywordThemesResponseKeywordTheme setKeywordThemeConstant(GoogleAdsSearchads360V23ResourcesKeywordThemeConstant keywordThemeConstant) { + this.keywordThemeConstant = keywordThemeConstant; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesSuggestKeywordThemesResponseKeywordTheme set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesSuggestKeywordThemesResponseKeywordTheme) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesSuggestKeywordThemesResponseKeywordTheme clone() { + return (GoogleAdsSearchads360V23ServicesSuggestKeywordThemesResponseKeywordTheme) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSuggestSmartCampaignAdRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSuggestSmartCampaignAdRequest.java new file mode 100644 index 00000000000..733d74c7d2e --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSuggestSmartCampaignAdRequest.java @@ -0,0 +1,73 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for SmartCampaignSuggestService.SuggestSmartCampaignAd. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesSuggestSmartCampaignAdRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. Inputs used to suggest a Smart campaign ad. Required fields: final_url, + * language_code, keyword_themes. Optional but recommended fields to improve the quality of the + * suggestion: business_setting and geo_target. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesSmartCampaignSuggestionInfo suggestionInfo; + + /** + * Required. Inputs used to suggest a Smart campaign ad. Required fields: final_url, + * language_code, keyword_themes. Optional but recommended fields to improve the quality of the + * suggestion: business_setting and geo_target. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSmartCampaignSuggestionInfo getSuggestionInfo() { + return suggestionInfo; + } + + /** + * Required. Inputs used to suggest a Smart campaign ad. Required fields: final_url, + * language_code, keyword_themes. Optional but recommended fields to improve the quality of the + * suggestion: business_setting and geo_target. + * @param suggestionInfo suggestionInfo or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSuggestSmartCampaignAdRequest setSuggestionInfo(GoogleAdsSearchads360V23ServicesSmartCampaignSuggestionInfo suggestionInfo) { + this.suggestionInfo = suggestionInfo; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesSuggestSmartCampaignAdRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesSuggestSmartCampaignAdRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesSuggestSmartCampaignAdRequest clone() { + return (GoogleAdsSearchads360V23ServicesSuggestSmartCampaignAdRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSuggestSmartCampaignAdResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSuggestSmartCampaignAdResponse.java new file mode 100644 index 00000000000..54dbff8085c --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSuggestSmartCampaignAdResponse.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for SmartCampaignSuggestService.SuggestSmartCampaignAd. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesSuggestSmartCampaignAdResponse extends com.google.api.client.json.GenericJson { + + /** + * Optional. Ad info includes 3 creative headlines and 2 creative descriptions. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonSmartCampaignAdInfo adInfo; + + /** + * Optional. Ad info includes 3 creative headlines and 2 creative descriptions. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSmartCampaignAdInfo getAdInfo() { + return adInfo; + } + + /** + * Optional. Ad info includes 3 creative headlines and 2 creative descriptions. + * @param adInfo adInfo or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSuggestSmartCampaignAdResponse setAdInfo(GoogleAdsSearchads360V23CommonSmartCampaignAdInfo adInfo) { + this.adInfo = adInfo; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesSuggestSmartCampaignAdResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesSuggestSmartCampaignAdResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesSuggestSmartCampaignAdResponse clone() { + return (GoogleAdsSearchads360V23ServicesSuggestSmartCampaignAdResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSuggestSmartCampaignBudgetOptionsRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSuggestSmartCampaignBudgetOptionsRequest.java new file mode 100644 index 00000000000..f46187b9740 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSuggestSmartCampaignBudgetOptionsRequest.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for SmartCampaignSuggestService.SuggestSmartCampaignBudgetOptions. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesSuggestSmartCampaignBudgetOptionsRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The resource name of the campaign to get suggestion for. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String campaign; + + /** + * Required. Information needed to get budget options + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesSmartCampaignSuggestionInfo suggestionInfo; + + /** + * Required. The resource name of the campaign to get suggestion for. + * @return value or {@code null} for none + */ + public java.lang.String getCampaign() { + return campaign; + } + + /** + * Required. The resource name of the campaign to get suggestion for. + * @param campaign campaign or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSuggestSmartCampaignBudgetOptionsRequest setCampaign(java.lang.String campaign) { + this.campaign = campaign; + return this; + } + + /** + * Required. Information needed to get budget options + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSmartCampaignSuggestionInfo getSuggestionInfo() { + return suggestionInfo; + } + + /** + * Required. Information needed to get budget options + * @param suggestionInfo suggestionInfo or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSuggestSmartCampaignBudgetOptionsRequest setSuggestionInfo(GoogleAdsSearchads360V23ServicesSmartCampaignSuggestionInfo suggestionInfo) { + this.suggestionInfo = suggestionInfo; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesSuggestSmartCampaignBudgetOptionsRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesSuggestSmartCampaignBudgetOptionsRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesSuggestSmartCampaignBudgetOptionsRequest clone() { + return (GoogleAdsSearchads360V23ServicesSuggestSmartCampaignBudgetOptionsRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSuggestSmartCampaignBudgetOptionsResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSuggestSmartCampaignBudgetOptionsResponse.java new file mode 100644 index 00000000000..3b4db1a9eb6 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSuggestSmartCampaignBudgetOptionsResponse.java @@ -0,0 +1,117 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for SmartCampaignSuggestService.SuggestSmartCampaignBudgetOptions. Depending on + * whether the system could suggest the options, either all of the options or none of them might be + * returned. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesSuggestSmartCampaignBudgetOptionsResponse extends com.google.api.client.json.GenericJson { + + /** + * Optional. The highest budget option. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesSuggestSmartCampaignBudgetOptionsResponseBudgetOption high; + + /** + * Optional. The lowest budget option. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesSuggestSmartCampaignBudgetOptionsResponseBudgetOption low; + + /** + * Optional. The recommended budget option. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesSuggestSmartCampaignBudgetOptionsResponseBudgetOption recommended; + + /** + * Optional. The highest budget option. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSuggestSmartCampaignBudgetOptionsResponseBudgetOption getHigh() { + return high; + } + + /** + * Optional. The highest budget option. + * @param high high or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSuggestSmartCampaignBudgetOptionsResponse setHigh(GoogleAdsSearchads360V23ServicesSuggestSmartCampaignBudgetOptionsResponseBudgetOption high) { + this.high = high; + return this; + } + + /** + * Optional. The lowest budget option. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSuggestSmartCampaignBudgetOptionsResponseBudgetOption getLow() { + return low; + } + + /** + * Optional. The lowest budget option. + * @param low low or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSuggestSmartCampaignBudgetOptionsResponse setLow(GoogleAdsSearchads360V23ServicesSuggestSmartCampaignBudgetOptionsResponseBudgetOption low) { + this.low = low; + return this; + } + + /** + * Optional. The recommended budget option. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSuggestSmartCampaignBudgetOptionsResponseBudgetOption getRecommended() { + return recommended; + } + + /** + * Optional. The recommended budget option. + * @param recommended recommended or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSuggestSmartCampaignBudgetOptionsResponse setRecommended(GoogleAdsSearchads360V23ServicesSuggestSmartCampaignBudgetOptionsResponseBudgetOption recommended) { + this.recommended = recommended; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesSuggestSmartCampaignBudgetOptionsResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesSuggestSmartCampaignBudgetOptionsResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesSuggestSmartCampaignBudgetOptionsResponse clone() { + return (GoogleAdsSearchads360V23ServicesSuggestSmartCampaignBudgetOptionsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSuggestSmartCampaignBudgetOptionsResponseBudgetOption.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSuggestSmartCampaignBudgetOptionsResponseBudgetOption.java new file mode 100644 index 00000000000..477d8e49893 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSuggestSmartCampaignBudgetOptionsResponseBudgetOption.java @@ -0,0 +1,97 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Smart Campaign budget option. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesSuggestSmartCampaignBudgetOptionsResponseBudgetOption extends com.google.api.client.json.GenericJson { + + /** + * The amount of the budget, in the local currency for the account. Amount is specified in micros, + * where one million is equivalent to one currency unit. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long dailyAmountMicros; + + /** + * Metrics pertaining to the suggested budget, could be empty if there is not enough information + * to derive the estimates. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesSuggestSmartCampaignBudgetOptionsResponseMetrics metrics; + + /** + * The amount of the budget, in the local currency for the account. Amount is specified in micros, + * where one million is equivalent to one currency unit. + * @return value or {@code null} for none + */ + public java.lang.Long getDailyAmountMicros() { + return dailyAmountMicros; + } + + /** + * The amount of the budget, in the local currency for the account. Amount is specified in micros, + * where one million is equivalent to one currency unit. + * @param dailyAmountMicros dailyAmountMicros or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSuggestSmartCampaignBudgetOptionsResponseBudgetOption setDailyAmountMicros(java.lang.Long dailyAmountMicros) { + this.dailyAmountMicros = dailyAmountMicros; + return this; + } + + /** + * Metrics pertaining to the suggested budget, could be empty if there is not enough information + * to derive the estimates. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSuggestSmartCampaignBudgetOptionsResponseMetrics getMetrics() { + return metrics; + } + + /** + * Metrics pertaining to the suggested budget, could be empty if there is not enough information + * to derive the estimates. + * @param metrics metrics or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSuggestSmartCampaignBudgetOptionsResponseBudgetOption setMetrics(GoogleAdsSearchads360V23ServicesSuggestSmartCampaignBudgetOptionsResponseMetrics metrics) { + this.metrics = metrics; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesSuggestSmartCampaignBudgetOptionsResponseBudgetOption set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesSuggestSmartCampaignBudgetOptionsResponseBudgetOption) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesSuggestSmartCampaignBudgetOptionsResponseBudgetOption clone() { + return (GoogleAdsSearchads360V23ServicesSuggestSmartCampaignBudgetOptionsResponseBudgetOption) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSuggestSmartCampaignBudgetOptionsResponseMetrics.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSuggestSmartCampaignBudgetOptionsResponseMetrics.java new file mode 100644 index 00000000000..3b8cdbafadb --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSuggestSmartCampaignBudgetOptionsResponseMetrics.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Performance metrics for a given budget option. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesSuggestSmartCampaignBudgetOptionsResponseMetrics extends com.google.api.client.json.GenericJson { + + /** + * The estimated max daily clicks. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long maxDailyClicks; + + /** + * The estimated min daily clicks. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long minDailyClicks; + + /** + * The estimated max daily clicks. + * @return value or {@code null} for none + */ + public java.lang.Long getMaxDailyClicks() { + return maxDailyClicks; + } + + /** + * The estimated max daily clicks. + * @param maxDailyClicks maxDailyClicks or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSuggestSmartCampaignBudgetOptionsResponseMetrics setMaxDailyClicks(java.lang.Long maxDailyClicks) { + this.maxDailyClicks = maxDailyClicks; + return this; + } + + /** + * The estimated min daily clicks. + * @return value or {@code null} for none + */ + public java.lang.Long getMinDailyClicks() { + return minDailyClicks; + } + + /** + * The estimated min daily clicks. + * @param minDailyClicks minDailyClicks or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSuggestSmartCampaignBudgetOptionsResponseMetrics setMinDailyClicks(java.lang.Long minDailyClicks) { + this.minDailyClicks = minDailyClicks; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesSuggestSmartCampaignBudgetOptionsResponseMetrics set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesSuggestSmartCampaignBudgetOptionsResponseMetrics) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesSuggestSmartCampaignBudgetOptionsResponseMetrics clone() { + return (GoogleAdsSearchads360V23ServicesSuggestSmartCampaignBudgetOptionsResponseMetrics) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSuggestTravelAssetsRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSuggestTravelAssetsRequest.java new file mode 100644 index 00000000000..8c6f6a3b119 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSuggestTravelAssetsRequest.java @@ -0,0 +1,100 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for TravelAssetSuggestionService.SuggestTravelAssets. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesSuggestTravelAssetsRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The language specifications in BCP 47 format (for example, en-US, zh-CN, etc.) for + * the asset suggestions. Text will be in this language. Usually matches one of the campaign + * target languages. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String languageOption; + + /** + * The Google Maps Place IDs of hotels for which assets are requested. See + * https://developers.google.com/places/web-service/place-id for more information. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List placeIds; + + /** + * Required. The language specifications in BCP 47 format (for example, en-US, zh-CN, etc.) for + * the asset suggestions. Text will be in this language. Usually matches one of the campaign + * target languages. + * @return value or {@code null} for none + */ + public java.lang.String getLanguageOption() { + return languageOption; + } + + /** + * Required. The language specifications in BCP 47 format (for example, en-US, zh-CN, etc.) for + * the asset suggestions. Text will be in this language. Usually matches one of the campaign + * target languages. + * @param languageOption languageOption or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSuggestTravelAssetsRequest setLanguageOption(java.lang.String languageOption) { + this.languageOption = languageOption; + return this; + } + + /** + * The Google Maps Place IDs of hotels for which assets are requested. See + * https://developers.google.com/places/web-service/place-id for more information. + * @return value or {@code null} for none + */ + public java.util.List getPlaceIds() { + return placeIds; + } + + /** + * The Google Maps Place IDs of hotels for which assets are requested. See + * https://developers.google.com/places/web-service/place-id for more information. + * @param placeIds placeIds or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSuggestTravelAssetsRequest setPlaceIds(java.util.List placeIds) { + this.placeIds = placeIds; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesSuggestTravelAssetsRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesSuggestTravelAssetsRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesSuggestTravelAssetsRequest clone() { + return (GoogleAdsSearchads360V23ServicesSuggestTravelAssetsRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSuggestTravelAssetsResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSuggestTravelAssetsResponse.java new file mode 100644 index 00000000000..bd05799528b --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSuggestTravelAssetsResponse.java @@ -0,0 +1,73 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for TravelAssetSuggestionService.SuggestTravelAssets. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesSuggestTravelAssetsResponse extends com.google.api.client.json.GenericJson { + + /** + * Asset suggestions for each place ID submitted in the request. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List hotelAssetSuggestions; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesHotelAssetSuggestion used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesHotelAssetSuggestion.class); + } + + /** + * Asset suggestions for each place ID submitted in the request. + * @return value or {@code null} for none + */ + public java.util.List getHotelAssetSuggestions() { + return hotelAssetSuggestions; + } + + /** + * Asset suggestions for each place ID submitted in the request. + * @param hotelAssetSuggestions hotelAssetSuggestions or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSuggestTravelAssetsResponse setHotelAssetSuggestions(java.util.List hotelAssetSuggestions) { + this.hotelAssetSuggestions = hotelAssetSuggestions; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesSuggestTravelAssetsResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesSuggestTravelAssetsResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesSuggestTravelAssetsResponse clone() { + return (GoogleAdsSearchads360V23ServicesSuggestTravelAssetsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSurfaceTargeting.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSurfaceTargeting.java new file mode 100644 index 00000000000..d1948a84eea --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSurfaceTargeting.java @@ -0,0 +1,68 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Container for surfaces for a product. Surfaces refer to the available types of ad inventories + * such as In-Feed, In-Stream, and Shorts. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesSurfaceTargeting extends com.google.api.client.json.GenericJson { + + /** + * List of surfaces available to target. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List surfaces; + + /** + * List of surfaces available to target. + * @return value or {@code null} for none + */ + public java.util.List getSurfaces() { + return surfaces; + } + + /** + * List of surfaces available to target. + * @param surfaces surfaces or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSurfaceTargeting setSurfaces(java.util.List surfaces) { + this.surfaces = surfaces; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesSurfaceTargeting set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesSurfaceTargeting) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesSurfaceTargeting clone() { + return (GoogleAdsSearchads360V23ServicesSurfaceTargeting) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSurfaceTargetingCombinations.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSurfaceTargetingCombinations.java new file mode 100644 index 00000000000..c7058573e34 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSurfaceTargetingCombinations.java @@ -0,0 +1,97 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The surface targeting combinations available for an ad product. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesSurfaceTargetingCombinations extends com.google.api.client.json.GenericJson { + + /** + * Available surface target combinations for the ad product. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List availableTargetingCombinations; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesSurfaceTargeting used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesSurfaceTargeting.class); + } + + /** + * Default surface targeting applied to the ad product. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesSurfaceTargeting defaultTargeting; + + /** + * Available surface target combinations for the ad product. + * @return value or {@code null} for none + */ + public java.util.List getAvailableTargetingCombinations() { + return availableTargetingCombinations; + } + + /** + * Available surface target combinations for the ad product. + * @param availableTargetingCombinations availableTargetingCombinations or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSurfaceTargetingCombinations setAvailableTargetingCombinations(java.util.List availableTargetingCombinations) { + this.availableTargetingCombinations = availableTargetingCombinations; + return this; + } + + /** + * Default surface targeting applied to the ad product. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSurfaceTargeting getDefaultTargeting() { + return defaultTargeting; + } + + /** + * Default surface targeting applied to the ad product. + * @param defaultTargeting defaultTargeting or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSurfaceTargetingCombinations setDefaultTargeting(GoogleAdsSearchads360V23ServicesSurfaceTargeting defaultTargeting) { + this.defaultTargeting = defaultTargeting; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesSurfaceTargetingCombinations set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesSurfaceTargetingCombinations) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesSurfaceTargetingCombinations clone() { + return (GoogleAdsSearchads360V23ServicesSurfaceTargetingCombinations) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSurveyDissatisfied.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSurveyDissatisfied.java new file mode 100644 index 00000000000..ca1a42d56f1 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSurveyDissatisfied.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Details about various factors for not being satisfied with the lead. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesSurveyDissatisfied extends com.google.api.client.json.GenericJson { + + /** + * Optional. Provider's free form comments. This field is required when OTHER_DISSATISFIED_REASON + * is selected as the reason. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String otherReasonComment; + + /** + * Required. Provider's reason for not being satisfied with the lead. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String surveyDissatisfiedReason; + + /** + * Optional. Provider's free form comments. This field is required when OTHER_DISSATISFIED_REASON + * is selected as the reason. + * @return value or {@code null} for none + */ + public java.lang.String getOtherReasonComment() { + return otherReasonComment; + } + + /** + * Optional. Provider's free form comments. This field is required when OTHER_DISSATISFIED_REASON + * is selected as the reason. + * @param otherReasonComment otherReasonComment or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSurveyDissatisfied setOtherReasonComment(java.lang.String otherReasonComment) { + this.otherReasonComment = otherReasonComment; + return this; + } + + /** + * Required. Provider's reason for not being satisfied with the lead. + * @return value or {@code null} for none + */ + public java.lang.String getSurveyDissatisfiedReason() { + return surveyDissatisfiedReason; + } + + /** + * Required. Provider's reason for not being satisfied with the lead. + * @param surveyDissatisfiedReason surveyDissatisfiedReason or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSurveyDissatisfied setSurveyDissatisfiedReason(java.lang.String surveyDissatisfiedReason) { + this.surveyDissatisfiedReason = surveyDissatisfiedReason; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesSurveyDissatisfied set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesSurveyDissatisfied) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesSurveyDissatisfied clone() { + return (GoogleAdsSearchads360V23ServicesSurveyDissatisfied) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSurveySatisfied.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSurveySatisfied.java new file mode 100644 index 00000000000..e7c31aeb7a8 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSurveySatisfied.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Details about various factors for being satisfied with the lead. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesSurveySatisfied extends com.google.api.client.json.GenericJson { + + /** + * Optional. Provider's free form comments. This field is required when OTHER_SATISFIED_REASON is + * selected as the reason. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String otherReasonComment; + + /** + * Required. Provider's reason for being satisfied with the lead. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String surveySatisfiedReason; + + /** + * Optional. Provider's free form comments. This field is required when OTHER_SATISFIED_REASON is + * selected as the reason. + * @return value or {@code null} for none + */ + public java.lang.String getOtherReasonComment() { + return otherReasonComment; + } + + /** + * Optional. Provider's free form comments. This field is required when OTHER_SATISFIED_REASON is + * selected as the reason. + * @param otherReasonComment otherReasonComment or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSurveySatisfied setOtherReasonComment(java.lang.String otherReasonComment) { + this.otherReasonComment = otherReasonComment; + return this; + } + + /** + * Required. Provider's reason for being satisfied with the lead. + * @return value or {@code null} for none + */ + public java.lang.String getSurveySatisfiedReason() { + return surveySatisfiedReason; + } + + /** + * Required. Provider's reason for being satisfied with the lead. + * @param surveySatisfiedReason surveySatisfiedReason or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSurveySatisfied setSurveySatisfiedReason(java.lang.String surveySatisfiedReason) { + this.surveySatisfiedReason = surveySatisfiedReason; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesSurveySatisfied set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesSurveySatisfied) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesSurveySatisfied clone() { + return (GoogleAdsSearchads360V23ServicesSurveySatisfied) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesTargetFrequencySettings.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesTargetFrequencySettings.java new file mode 100644 index 00000000000..283de3d0ecd --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesTargetFrequencySettings.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Target Frequency settings for a supported product. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesTargetFrequencySettings extends com.google.api.client.json.GenericJson { + + /** + * Required. The target frequency goal per selected time unit. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer targetFrequency; + + /** + * Required. The time unit used to describe the time frame for target_frequency. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String timeUnit; + + /** + * Required. The target frequency goal per selected time unit. + * @return value or {@code null} for none + */ + public java.lang.Integer getTargetFrequency() { + return targetFrequency; + } + + /** + * Required. The target frequency goal per selected time unit. + * @param targetFrequency targetFrequency or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesTargetFrequencySettings setTargetFrequency(java.lang.Integer targetFrequency) { + this.targetFrequency = targetFrequency; + return this; + } + + /** + * Required. The time unit used to describe the time frame for target_frequency. + * @return value or {@code null} for none + */ + public java.lang.String getTimeUnit() { + return timeUnit; + } + + /** + * Required. The time unit used to describe the time frame for target_frequency. + * @param timeUnit timeUnit or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesTargetFrequencySettings setTimeUnit(java.lang.String timeUnit) { + this.timeUnit = timeUnit; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesTargetFrequencySettings set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesTargetFrequencySettings) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesTargetFrequencySettings clone() { + return (GoogleAdsSearchads360V23ServicesTargetFrequencySettings) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesTargeting.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesTargeting.java new file mode 100644 index 00000000000..cb1b5342f36 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesTargeting.java @@ -0,0 +1,253 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The targeting for which traffic metrics will be reported. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesTargeting extends com.google.api.client.json.GenericJson { + + /** + * Targeted age range. An unset value is equivalent to targeting all ages. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String ageRange; + + /** + * Targeted audiences. If not specified, does not target any specific audience. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesAudienceTargeting audienceTargeting; + + /** + * Targeted devices. If not specified, targets all applicable devices. Applicable devices vary by + * product and region and can be obtained from ReachPlanService.ListPlannableProducts. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List devices; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonDeviceInfo used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonDeviceInfo.class); + } + + /** + * Targeted genders. An unset value is equivalent to targeting MALE and FEMALE. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List genders; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonGenderInfo used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonGenderInfo.class); + } + + /** + * Targetable network for the ad product. If not specified, targets all applicable networks. + * Applicable networks vary by product and region and can be obtained from + * ReachPlanService.ListPlannableProducts. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String network; + + /** + * The ID of the selected location. Plannable location IDs can be obtained from + * ReachPlanService.ListPlannableLocations. Requests must set either this field or + * `plannable_location_ids`. This field is deprecated as of V12 and will be removed in a future + * release. Use `plannable_location_ids` instead. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String plannableLocationId; + + /** + * The list of plannable location IDs to target with this forecast. If more than one ID is + * provided, all IDs must have the same `parent_country_id`. Planning for more than + * `parent_county` is not supported. Plannable location IDs and their `parent_country_id` can be + * obtained from ReachPlanService.ListPlannableLocations. Requests must set either this field or + * `plannable_location_id`. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List plannableLocationIds; + + /** + * Targeted age range. An unset value is equivalent to targeting all ages. + * @return value or {@code null} for none + */ + public java.lang.String getAgeRange() { + return ageRange; + } + + /** + * Targeted age range. An unset value is equivalent to targeting all ages. + * @param ageRange ageRange or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesTargeting setAgeRange(java.lang.String ageRange) { + this.ageRange = ageRange; + return this; + } + + /** + * Targeted audiences. If not specified, does not target any specific audience. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesAudienceTargeting getAudienceTargeting() { + return audienceTargeting; + } + + /** + * Targeted audiences. If not specified, does not target any specific audience. + * @param audienceTargeting audienceTargeting or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesTargeting setAudienceTargeting(GoogleAdsSearchads360V23ServicesAudienceTargeting audienceTargeting) { + this.audienceTargeting = audienceTargeting; + return this; + } + + /** + * Targeted devices. If not specified, targets all applicable devices. Applicable devices vary by + * product and region and can be obtained from ReachPlanService.ListPlannableProducts. + * @return value or {@code null} for none + */ + public java.util.List getDevices() { + return devices; + } + + /** + * Targeted devices. If not specified, targets all applicable devices. Applicable devices vary by + * product and region and can be obtained from ReachPlanService.ListPlannableProducts. + * @param devices devices or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesTargeting setDevices(java.util.List devices) { + this.devices = devices; + return this; + } + + /** + * Targeted genders. An unset value is equivalent to targeting MALE and FEMALE. + * @return value or {@code null} for none + */ + public java.util.List getGenders() { + return genders; + } + + /** + * Targeted genders. An unset value is equivalent to targeting MALE and FEMALE. + * @param genders genders or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesTargeting setGenders(java.util.List genders) { + this.genders = genders; + return this; + } + + /** + * Targetable network for the ad product. If not specified, targets all applicable networks. + * Applicable networks vary by product and region and can be obtained from + * ReachPlanService.ListPlannableProducts. + * @return value or {@code null} for none + */ + public java.lang.String getNetwork() { + return network; + } + + /** + * Targetable network for the ad product. If not specified, targets all applicable networks. + * Applicable networks vary by product and region and can be obtained from + * ReachPlanService.ListPlannableProducts. + * @param network network or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesTargeting setNetwork(java.lang.String network) { + this.network = network; + return this; + } + + /** + * The ID of the selected location. Plannable location IDs can be obtained from + * ReachPlanService.ListPlannableLocations. Requests must set either this field or + * `plannable_location_ids`. This field is deprecated as of V12 and will be removed in a future + * release. Use `plannable_location_ids` instead. + * @return value or {@code null} for none + */ + public java.lang.String getPlannableLocationId() { + return plannableLocationId; + } + + /** + * The ID of the selected location. Plannable location IDs can be obtained from + * ReachPlanService.ListPlannableLocations. Requests must set either this field or + * `plannable_location_ids`. This field is deprecated as of V12 and will be removed in a future + * release. Use `plannable_location_ids` instead. + * @param plannableLocationId plannableLocationId or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesTargeting setPlannableLocationId(java.lang.String plannableLocationId) { + this.plannableLocationId = plannableLocationId; + return this; + } + + /** + * The list of plannable location IDs to target with this forecast. If more than one ID is + * provided, all IDs must have the same `parent_country_id`. Planning for more than + * `parent_county` is not supported. Plannable location IDs and their `parent_country_id` can be + * obtained from ReachPlanService.ListPlannableLocations. Requests must set either this field or + * `plannable_location_id`. + * @return value or {@code null} for none + */ + public java.util.List getPlannableLocationIds() { + return plannableLocationIds; + } + + /** + * The list of plannable location IDs to target with this forecast. If more than one ID is + * provided, all IDs must have the same `parent_country_id`. Planning for more than + * `parent_county` is not supported. Plannable location IDs and their `parent_country_id` can be + * obtained from ReachPlanService.ListPlannableLocations. Requests must set either this field or + * `plannable_location_id`. + * @param plannableLocationIds plannableLocationIds or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesTargeting setPlannableLocationIds(java.util.List plannableLocationIds) { + this.plannableLocationIds = plannableLocationIds; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesTargeting set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesTargeting) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesTargeting clone() { + return (GoogleAdsSearchads360V23ServicesTargeting) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesTargetingSuggestionMetrics.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesTargetingSuggestionMetrics.java new file mode 100644 index 00000000000..4b4f47436ac --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesTargetingSuggestionMetrics.java @@ -0,0 +1,268 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A suggested targetable audience relevant to the requested audience. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesTargetingSuggestionMetrics extends com.google.api.client.json.GenericJson { + + /** + * Suggested age targeting; may be empty indicating no age targeting. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List ageRanges; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonAgeRangeInfo used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonAgeRangeInfo.class); + } + + /** + * The fraction (from 0 to 1 inclusive) of the requested audience that can be reached using the + * suggested targeting. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double coverage; + + /** + * Suggested gender targeting. If present, this attribute has dimension GENDER. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonGenderInfo gender; + + /** + * The ratio of coverage to the coverage of the baseline audience or zero if this ratio is + * undefined or is not meaningful. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double index; + + /** + * Suggested location targeting. These attributes all have dimension GEO_TARGET_COUNTRY or + * SUB_COUNTRY_LOCATION + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List locations; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonAudienceInsightsAttributeMetadata used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonAudienceInsightsAttributeMetadata.class); + } + + /** + * A Parental Status value (parent, or not a parent). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonParentalStatusInfo parentalStatus; + + /** + * The approximate estimated number of people that can be reached on YouTube using this targeting. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long potentialYoutubeReach; + + /** + * List of user interest attributes with metadata defining the audience. The combination has a + * logical AND-of-ORs structure: The attributes within each AudienceInsightsAttributeMetadataGroup + * are ORed, and the groups themselves are ANDed. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List userInterests; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonAudienceInsightsAttributeMetadataGroup used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonAudienceInsightsAttributeMetadataGroup.class); + } + + /** + * Suggested age targeting; may be empty indicating no age targeting. + * @return value or {@code null} for none + */ + public java.util.List getAgeRanges() { + return ageRanges; + } + + /** + * Suggested age targeting; may be empty indicating no age targeting. + * @param ageRanges ageRanges or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesTargetingSuggestionMetrics setAgeRanges(java.util.List ageRanges) { + this.ageRanges = ageRanges; + return this; + } + + /** + * The fraction (from 0 to 1 inclusive) of the requested audience that can be reached using the + * suggested targeting. + * @return value or {@code null} for none + */ + public java.lang.Double getCoverage() { + return coverage; + } + + /** + * The fraction (from 0 to 1 inclusive) of the requested audience that can be reached using the + * suggested targeting. + * @param coverage coverage or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesTargetingSuggestionMetrics setCoverage(java.lang.Double coverage) { + this.coverage = coverage; + return this; + } + + /** + * Suggested gender targeting. If present, this attribute has dimension GENDER. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonGenderInfo getGender() { + return gender; + } + + /** + * Suggested gender targeting. If present, this attribute has dimension GENDER. + * @param gender gender or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesTargetingSuggestionMetrics setGender(GoogleAdsSearchads360V23CommonGenderInfo gender) { + this.gender = gender; + return this; + } + + /** + * The ratio of coverage to the coverage of the baseline audience or zero if this ratio is + * undefined or is not meaningful. + * @return value or {@code null} for none + */ + public java.lang.Double getIndex() { + return index; + } + + /** + * The ratio of coverage to the coverage of the baseline audience or zero if this ratio is + * undefined or is not meaningful. + * @param index index or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesTargetingSuggestionMetrics setIndex(java.lang.Double index) { + this.index = index; + return this; + } + + /** + * Suggested location targeting. These attributes all have dimension GEO_TARGET_COUNTRY or + * SUB_COUNTRY_LOCATION + * @return value or {@code null} for none + */ + public java.util.List getLocations() { + return locations; + } + + /** + * Suggested location targeting. These attributes all have dimension GEO_TARGET_COUNTRY or + * SUB_COUNTRY_LOCATION + * @param locations locations or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesTargetingSuggestionMetrics setLocations(java.util.List locations) { + this.locations = locations; + return this; + } + + /** + * A Parental Status value (parent, or not a parent). + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonParentalStatusInfo getParentalStatus() { + return parentalStatus; + } + + /** + * A Parental Status value (parent, or not a parent). + * @param parentalStatus parentalStatus or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesTargetingSuggestionMetrics setParentalStatus(GoogleAdsSearchads360V23CommonParentalStatusInfo parentalStatus) { + this.parentalStatus = parentalStatus; + return this; + } + + /** + * The approximate estimated number of people that can be reached on YouTube using this targeting. + * @return value or {@code null} for none + */ + public java.lang.Long getPotentialYoutubeReach() { + return potentialYoutubeReach; + } + + /** + * The approximate estimated number of people that can be reached on YouTube using this targeting. + * @param potentialYoutubeReach potentialYoutubeReach or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesTargetingSuggestionMetrics setPotentialYoutubeReach(java.lang.Long potentialYoutubeReach) { + this.potentialYoutubeReach = potentialYoutubeReach; + return this; + } + + /** + * List of user interest attributes with metadata defining the audience. The combination has a + * logical AND-of-ORs structure: The attributes within each AudienceInsightsAttributeMetadataGroup + * are ORed, and the groups themselves are ANDed. + * @return value or {@code null} for none + */ + public java.util.List getUserInterests() { + return userInterests; + } + + /** + * List of user interest attributes with metadata defining the audience. The combination has a + * logical AND-of-ORs structure: The attributes within each AudienceInsightsAttributeMetadataGroup + * are ORed, and the groups themselves are ANDed. + * @param userInterests userInterests or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesTargetingSuggestionMetrics setUserInterests(java.util.List userInterests) { + this.userInterests = userInterests; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesTargetingSuggestionMetrics set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesTargetingSuggestionMetrics) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesTargetingSuggestionMetrics clone() { + return (GoogleAdsSearchads360V23ServicesTargetingSuggestionMetrics) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesUnusableAdGroup.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesUnusableAdGroup.java new file mode 100644 index 00000000000..ad8d7325c13 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesUnusableAdGroup.java @@ -0,0 +1,99 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * An AdGroup/Campaign pair that could not be used as a suggestion for keywords. AdGroups may not be + * usable if the AdGroup * belongs to a Campaign that is not ENABLED or PAUSED * is itself not + * ENABLED + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesUnusableAdGroup extends com.google.api.client.json.GenericJson { + + /** + * The AdGroup resource name. Resource name format: + * `customers/{customer_id}/adGroups/{ad_group_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String adGroup; + + /** + * The Campaign resource name. Resource name format: + * `customers/{customer_id}/campaigns/{campaign_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String campaign; + + /** + * The AdGroup resource name. Resource name format: + * `customers/{customer_id}/adGroups/{ad_group_id}` + * @return value or {@code null} for none + */ + public java.lang.String getAdGroup() { + return adGroup; + } + + /** + * The AdGroup resource name. Resource name format: + * `customers/{customer_id}/adGroups/{ad_group_id}` + * @param adGroup adGroup or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesUnusableAdGroup setAdGroup(java.lang.String adGroup) { + this.adGroup = adGroup; + return this; + } + + /** + * The Campaign resource name. Resource name format: + * `customers/{customer_id}/campaigns/{campaign_id}` + * @return value or {@code null} for none + */ + public java.lang.String getCampaign() { + return campaign; + } + + /** + * The Campaign resource name. Resource name format: + * `customers/{customer_id}/campaigns/{campaign_id}` + * @param campaign campaign or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesUnusableAdGroup setCampaign(java.lang.String campaign) { + this.campaign = campaign; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesUnusableAdGroup set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesUnusableAdGroup) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesUnusableAdGroup clone() { + return (GoogleAdsSearchads360V23ServicesUnusableAdGroup) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesUpdateDataLinkRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesUpdateDataLinkRequest.java new file mode 100644 index 00000000000..fb556c40e7b --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesUpdateDataLinkRequest.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for DataLinkService.UpdateDataLink. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesUpdateDataLinkRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The data link status to be updated to. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String dataLinkStatus; + + /** + * Required. The data link is expected to have a valid resource name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Required. The data link status to be updated to. + * @return value or {@code null} for none + */ + public java.lang.String getDataLinkStatus() { + return dataLinkStatus; + } + + /** + * Required. The data link status to be updated to. + * @param dataLinkStatus dataLinkStatus or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesUpdateDataLinkRequest setDataLinkStatus(java.lang.String dataLinkStatus) { + this.dataLinkStatus = dataLinkStatus; + return this; + } + + /** + * Required. The data link is expected to have a valid resource name. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Required. The data link is expected to have a valid resource name. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesUpdateDataLinkRequest setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesUpdateDataLinkRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesUpdateDataLinkRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesUpdateDataLinkRequest clone() { + return (GoogleAdsSearchads360V23ServicesUpdateDataLinkRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesUpdateDataLinkResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesUpdateDataLinkResponse.java new file mode 100644 index 00000000000..e632f93f3b3 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesUpdateDataLinkResponse.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for DataLinkService.UpdateDataLink. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesUpdateDataLinkResponse extends com.google.api.client.json.GenericJson { + + /** + * Returned for successful operations. Resource name of the data link. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Returned for successful operations. Resource name of the data link. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Returned for successful operations. Resource name of the data link. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesUpdateDataLinkResponse setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesUpdateDataLinkResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesUpdateDataLinkResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesUpdateDataLinkResponse clone() { + return (GoogleAdsSearchads360V23ServicesUpdateDataLinkResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesUpdateProductLinkInvitationRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesUpdateProductLinkInvitationRequest.java new file mode 100644 index 00000000000..3fdc82d8ba8 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesUpdateProductLinkInvitationRequest.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for ProductLinkInvitationService.UpdateProductLinkInvitation. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesUpdateProductLinkInvitationRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The product link invitation to be created. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String productLinkInvitationStatus; + + /** + * Required. Resource name of the product link invitation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Required. The product link invitation to be created. + * @return value or {@code null} for none + */ + public java.lang.String getProductLinkInvitationStatus() { + return productLinkInvitationStatus; + } + + /** + * Required. The product link invitation to be created. + * @param productLinkInvitationStatus productLinkInvitationStatus or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesUpdateProductLinkInvitationRequest setProductLinkInvitationStatus(java.lang.String productLinkInvitationStatus) { + this.productLinkInvitationStatus = productLinkInvitationStatus; + return this; + } + + /** + * Required. Resource name of the product link invitation. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Required. Resource name of the product link invitation. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesUpdateProductLinkInvitationRequest setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesUpdateProductLinkInvitationRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesUpdateProductLinkInvitationRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesUpdateProductLinkInvitationRequest clone() { + return (GoogleAdsSearchads360V23ServicesUpdateProductLinkInvitationRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesUpdateProductLinkInvitationResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesUpdateProductLinkInvitationResponse.java new file mode 100644 index 00000000000..ff666c5c556 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesUpdateProductLinkInvitationResponse.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for product link invitation update. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesUpdateProductLinkInvitationResponse extends com.google.api.client.json.GenericJson { + + /** + * Result of the update. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Result of the update. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Result of the update. + * @param resourceName resourceName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesUpdateProductLinkInvitationResponse setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesUpdateProductLinkInvitationResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesUpdateProductLinkInvitationResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesUpdateProductLinkInvitationResponse clone() { + return (GoogleAdsSearchads360V23ServicesUpdateProductLinkInvitationResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesUploadUserDataRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesUploadUserDataRequest.java new file mode 100644 index 00000000000..b73107fea08 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesUploadUserDataRequest.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for UserDataService.UploadUserData + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesUploadUserDataRequest extends com.google.api.client.json.GenericJson { + + /** + * Metadata for data updates to a Customer Match user list. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonCustomerMatchUserListMetadata customerMatchUserListMetadata; + + /** + * Required. The list of operations to be done. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List operations; + + /** + * Metadata for data updates to a Customer Match user list. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonCustomerMatchUserListMetadata getCustomerMatchUserListMetadata() { + return customerMatchUserListMetadata; + } + + /** + * Metadata for data updates to a Customer Match user list. + * @param customerMatchUserListMetadata customerMatchUserListMetadata or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesUploadUserDataRequest setCustomerMatchUserListMetadata(GoogleAdsSearchads360V23CommonCustomerMatchUserListMetadata customerMatchUserListMetadata) { + this.customerMatchUserListMetadata = customerMatchUserListMetadata; + return this; + } + + /** + * Required. The list of operations to be done. + * @return value or {@code null} for none + */ + public java.util.List getOperations() { + return operations; + } + + /** + * Required. The list of operations to be done. + * @param operations operations or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesUploadUserDataRequest setOperations(java.util.List operations) { + this.operations = operations; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesUploadUserDataRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesUploadUserDataRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesUploadUserDataRequest clone() { + return (GoogleAdsSearchads360V23ServicesUploadUserDataRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesUploadUserDataResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesUploadUserDataResponse.java new file mode 100644 index 00000000000..dfe7cead920 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesUploadUserDataResponse.java @@ -0,0 +1,95 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for UserDataService.UploadUserData Uploads made through this service will not be + * visible under the 'Segment members' section for the Customer Match List in the Google Ads UI. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesUploadUserDataResponse extends com.google.api.client.json.GenericJson { + + /** + * Number of upload data operations received by API. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer receivedOperationsCount; + + /** + * The date time at which the request was received by API, formatted as "yyyy-mm-dd + * hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String uploadDateTime; + + /** + * Number of upload data operations received by API. + * @return value or {@code null} for none + */ + public java.lang.Integer getReceivedOperationsCount() { + return receivedOperationsCount; + } + + /** + * Number of upload data operations received by API. + * @param receivedOperationsCount receivedOperationsCount or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesUploadUserDataResponse setReceivedOperationsCount(java.lang.Integer receivedOperationsCount) { + this.receivedOperationsCount = receivedOperationsCount; + return this; + } + + /** + * The date time at which the request was received by API, formatted as "yyyy-mm-dd + * hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00". + * @return value or {@code null} for none + */ + public java.lang.String getUploadDateTime() { + return uploadDateTime; + } + + /** + * The date time at which the request was received by API, formatted as "yyyy-mm-dd + * hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00". + * @param uploadDateTime uploadDateTime or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesUploadUserDataResponse setUploadDateTime(java.lang.String uploadDateTime) { + this.uploadDateTime = uploadDateTime; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesUploadUserDataResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesUploadUserDataResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesUploadUserDataResponse clone() { + return (GoogleAdsSearchads360V23ServicesUploadUserDataResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesUrlSeed.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesUrlSeed.java new file mode 100644 index 00000000000..ab68a2e66e1 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesUrlSeed.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Url Seed + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesUrlSeed extends com.google.api.client.json.GenericJson { + + /** + * The URL to crawl in order to generate keyword ideas. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String url; + + /** + * The URL to crawl in order to generate keyword ideas. + * @return value or {@code null} for none + */ + public java.lang.String getUrl() { + return url; + } + + /** + * The URL to crawl in order to generate keyword ideas. + * @param url url or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesUrlSeed setUrl(java.lang.String url) { + this.url = url; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesUrlSeed set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesUrlSeed) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesUrlSeed clone() { + return (GoogleAdsSearchads360V23ServicesUrlSeed) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesUserDataOperation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesUserDataOperation.java new file mode 100644 index 00000000000..beb39191b27 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesUserDataOperation.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Operation to be made for the UploadUserDataRequest. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesUserDataOperation extends com.google.api.client.json.GenericJson { + + /** + * The list of user data to be appended to the user list. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonUserData create; + + /** + * The list of user data to be removed from the user list. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonUserData remove; + + /** + * The list of user data to be appended to the user list. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUserData getCreate() { + return create; + } + + /** + * The list of user data to be appended to the user list. + * @param create create or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesUserDataOperation setCreate(GoogleAdsSearchads360V23CommonUserData create) { + this.create = create; + return this; + } + + /** + * The list of user data to be removed from the user list. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonUserData getRemove() { + return remove; + } + + /** + * The list of user data to be removed from the user list. + * @param remove remove or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesUserDataOperation setRemove(GoogleAdsSearchads360V23CommonUserData remove) { + this.remove = remove; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesUserDataOperation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesUserDataOperation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesUserDataOperation clone() { + return (GoogleAdsSearchads360V23ServicesUserDataOperation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesUserListCustomerTypeOperation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesUserListCustomerTypeOperation.java new file mode 100644 index 00000000000..bd83dea884e --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesUserListCustomerTypeOperation.java @@ -0,0 +1,100 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A single mutate operation on the user list customer type. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesUserListCustomerTypeOperation extends com.google.api.client.json.GenericJson { + + /** + * Attach a user list customer type to a user list. No resource name is expected for the new user + * list customer type. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesUserListCustomerType create; + + /** + * Remove an existing user list customer type. A resource name for the removed user list customer + * type is expected, in this format: + * `customers/{customer_id}/userListCustomerTypes/{user_list_id}~{customer_type_category}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String remove; + + /** + * Attach a user list customer type to a user list. No resource name is expected for the new user + * list customer type. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesUserListCustomerType getCreate() { + return create; + } + + /** + * Attach a user list customer type to a user list. No resource name is expected for the new user + * list customer type. + * @param create create or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesUserListCustomerTypeOperation setCreate(GoogleAdsSearchads360V23ResourcesUserListCustomerType create) { + this.create = create; + return this; + } + + /** + * Remove an existing user list customer type. A resource name for the removed user list customer + * type is expected, in this format: + * `customers/{customer_id}/userListCustomerTypes/{user_list_id}~{customer_type_category}` + * @return value or {@code null} for none + */ + public java.lang.String getRemove() { + return remove; + } + + /** + * Remove an existing user list customer type. A resource name for the removed user list customer + * type is expected, in this format: + * `customers/{customer_id}/userListCustomerTypes/{user_list_id}~{customer_type_category}` + * @param remove remove or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesUserListCustomerTypeOperation setRemove(java.lang.String remove) { + this.remove = remove; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesUserListCustomerTypeOperation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesUserListCustomerTypeOperation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesUserListCustomerTypeOperation clone() { + return (GoogleAdsSearchads360V23ServicesUserListCustomerTypeOperation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesUserListOperation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesUserListOperation.java new file mode 100644 index 00000000000..0cbd0738a60 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesUserListOperation.java @@ -0,0 +1,142 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A single operation (create, update) on a user list. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesUserListOperation extends com.google.api.client.json.GenericJson { + + /** + * Create operation: No resource name is expected for the new user list. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesUserList create; + + /** + * Remove operation: A resource name for the removed user list is expected, in this format: + * `customers/{customer_id}/userLists/{user_list_id}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String remove; + + /** + * Update operation: The user list is expected to have a valid resource name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ResourcesUserList update; + + /** + * FieldMask that determines which resource fields are modified in an update. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String updateMask; + + /** + * Create operation: No resource name is expected for the new user list. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesUserList getCreate() { + return create; + } + + /** + * Create operation: No resource name is expected for the new user list. + * @param create create or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesUserListOperation setCreate(GoogleAdsSearchads360V23ResourcesUserList create) { + this.create = create; + return this; + } + + /** + * Remove operation: A resource name for the removed user list is expected, in this format: + * `customers/{customer_id}/userLists/{user_list_id}` + * @return value or {@code null} for none + */ + public java.lang.String getRemove() { + return remove; + } + + /** + * Remove operation: A resource name for the removed user list is expected, in this format: + * `customers/{customer_id}/userLists/{user_list_id}` + * @param remove remove or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesUserListOperation setRemove(java.lang.String remove) { + this.remove = remove; + return this; + } + + /** + * Update operation: The user list is expected to have a valid resource name. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesUserList getUpdate() { + return update; + } + + /** + * Update operation: The user list is expected to have a valid resource name. + * @param update update or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesUserListOperation setUpdate(GoogleAdsSearchads360V23ResourcesUserList update) { + this.update = update; + return this; + } + + /** + * FieldMask that determines which resource fields are modified in an update. + * @return value or {@code null} for none + */ + public String getUpdateMask() { + return updateMask; + } + + /** + * FieldMask that determines which resource fields are modified in an update. + * @param updateMask updateMask or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesUserListOperation setUpdateMask(String updateMask) { + this.updateMask = updateMask; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesUserListOperation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesUserListOperation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesUserListOperation clone() { + return (GoogleAdsSearchads360V23ServicesUserListOperation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesYouTubeSelectLineUp.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesYouTubeSelectLineUp.java new file mode 100644 index 00000000000..89cd3f69e00 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesYouTubeSelectLineUp.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A Plannable YouTube Select Lineup for product targeting. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesYouTubeSelectLineUp extends com.google.api.client.json.GenericJson { + + /** + * The ID of the YouTube Select Lineup. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long lineupId; + + /** + * The unique name of the YouTube Select Lineup. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String lineupName; + + /** + * The ID of the YouTube Select Lineup. + * @return value or {@code null} for none + */ + public java.lang.Long getLineupId() { + return lineupId; + } + + /** + * The ID of the YouTube Select Lineup. + * @param lineupId lineupId or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesYouTubeSelectLineUp setLineupId(java.lang.Long lineupId) { + this.lineupId = lineupId; + return this; + } + + /** + * The unique name of the YouTube Select Lineup. + * @return value or {@code null} for none + */ + public java.lang.String getLineupName() { + return lineupName; + } + + /** + * The unique name of the YouTube Select Lineup. + * @param lineupName lineupName or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesYouTubeSelectLineUp setLineupName(java.lang.String lineupName) { + this.lineupName = lineupName; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesYouTubeSelectLineUp set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesYouTubeSelectLineUp) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesYouTubeSelectLineUp clone() { + return (GoogleAdsSearchads360V23ServicesYouTubeSelectLineUp) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesYouTubeSelectSettings.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesYouTubeSelectSettings.java new file mode 100644 index 00000000000..d3aa94bca64 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesYouTubeSelectSettings.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request settings for YouTube Select Lineups + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesYouTubeSelectSettings extends com.google.api.client.json.GenericJson { + + /** + * Lineup for YouTube Select Targeting. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long lineupId; + + /** + * Lineup for YouTube Select Targeting. + * @return value or {@code null} for none + */ + public java.lang.Long getLineupId() { + return lineupId; + } + + /** + * Lineup for YouTube Select Targeting. + * @param lineupId lineupId or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesYouTubeSelectSettings setLineupId(java.lang.Long lineupId) { + this.lineupId = lineupId; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesYouTubeSelectSettings set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesYouTubeSelectSettings) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesYouTubeSelectSettings clone() { + return (GoogleAdsSearchads360V23ServicesYouTubeSelectSettings) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleLongrunningOperation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleLongrunningOperation.java new file mode 100644 index 00000000000..03411023012 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleLongrunningOperation.java @@ -0,0 +1,196 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * This resource represents a long-running operation that is the result of a network API call. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleLongrunningOperation extends com.google.api.client.json.GenericJson { + + /** + * If the value is `false`, it means the operation is still in progress. If `true`, the operation + * is completed, and either `error` or `response` is available. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean done; + + /** + * The error result of the operation in case of failure or cancellation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleRpcStatus error; + + /** + * Service-specific metadata associated with the operation. It typically contains progress + * information and common metadata such as create time. Some services might not provide such + * metadata. Any method that returns a long-running operation should document the metadata type, + * if any. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.Map metadata; + + /** + * The server-assigned name, which is only unique within the same service that originally returns + * it. If you use the default HTTP mapping, the `name` should be a resource name ending with + * `operations/{unique_id}`. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * The normal, successful response of the operation. If the original method returns no data on + * success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is + * standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the + * response should have the type `XxxResponse`, where `Xxx` is the original method name. For + * example, if the original method name is `TakeSnapshot()`, the inferred response type is + * `TakeSnapshotResponse`. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.Map response; + + /** + * If the value is `false`, it means the operation is still in progress. If `true`, the operation + * is completed, and either `error` or `response` is available. + * @return value or {@code null} for none + */ + public java.lang.Boolean getDone() { + return done; + } + + /** + * If the value is `false`, it means the operation is still in progress. If `true`, the operation + * is completed, and either `error` or `response` is available. + * @param done done or {@code null} for none + */ + public GoogleLongrunningOperation setDone(java.lang.Boolean done) { + this.done = done; + return this; + } + + /** + * The error result of the operation in case of failure or cancellation. + * @return value or {@code null} for none + */ + public GoogleRpcStatus getError() { + return error; + } + + /** + * The error result of the operation in case of failure or cancellation. + * @param error error or {@code null} for none + */ + public GoogleLongrunningOperation setError(GoogleRpcStatus error) { + this.error = error; + return this; + } + + /** + * Service-specific metadata associated with the operation. It typically contains progress + * information and common metadata such as create time. Some services might not provide such + * metadata. Any method that returns a long-running operation should document the metadata type, + * if any. + * @return value or {@code null} for none + */ + public java.util.Map getMetadata() { + return metadata; + } + + /** + * Service-specific metadata associated with the operation. It typically contains progress + * information and common metadata such as create time. Some services might not provide such + * metadata. Any method that returns a long-running operation should document the metadata type, + * if any. + * @param metadata metadata or {@code null} for none + */ + public GoogleLongrunningOperation setMetadata(java.util.Map metadata) { + this.metadata = metadata; + return this; + } + + /** + * The server-assigned name, which is only unique within the same service that originally returns + * it. If you use the default HTTP mapping, the `name` should be a resource name ending with + * `operations/{unique_id}`. + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * The server-assigned name, which is only unique within the same service that originally returns + * it. If you use the default HTTP mapping, the `name` should be a resource name ending with + * `operations/{unique_id}`. + * @param name name or {@code null} for none + */ + public GoogleLongrunningOperation setName(java.lang.String name) { + this.name = name; + return this; + } + + /** + * The normal, successful response of the operation. If the original method returns no data on + * success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is + * standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the + * response should have the type `XxxResponse`, where `Xxx` is the original method name. For + * example, if the original method name is `TakeSnapshot()`, the inferred response type is + * `TakeSnapshotResponse`. + * @return value or {@code null} for none + */ + public java.util.Map getResponse() { + return response; + } + + /** + * The normal, successful response of the operation. If the original method returns no data on + * success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is + * standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the + * response should have the type `XxxResponse`, where `Xxx` is the original method name. For + * example, if the original method name is `TakeSnapshot()`, the inferred response type is + * `TakeSnapshotResponse`. + * @param response response or {@code null} for none + */ + public GoogleLongrunningOperation setResponse(java.util.Map response) { + this.response = response; + return this; + } + + @Override + public GoogleLongrunningOperation set(String fieldName, Object value) { + return (GoogleLongrunningOperation) super.set(fieldName, value); + } + + @Override + public GoogleLongrunningOperation clone() { + return (GoogleLongrunningOperation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleProtobufEmpty.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleProtobufEmpty.java new file mode 100644 index 00000000000..cf820583868 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleProtobufEmpty.java @@ -0,0 +1,45 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A generic empty message that you can re-use to avoid defining duplicated empty messages in your + * APIs. A typical example is to use it as the request or the response type of an API method. For + * instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleProtobufEmpty extends com.google.api.client.json.GenericJson { + + @Override + public GoogleProtobufEmpty set(String fieldName, Object value) { + return (GoogleProtobufEmpty) super.set(fieldName, value); + } + + @Override + public GoogleProtobufEmpty clone() { + return (GoogleProtobufEmpty) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleRpcStatus.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleRpcStatus.java new file mode 100644 index 00000000000..df5e6ed854c --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleRpcStatus.java @@ -0,0 +1,128 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * The `Status` type defines a logical error model that is suitable for different programming + * environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). + * Each `Status` message contains three pieces of data: error code, error message, and error + * details. You can find out more about this error model and how to work with it in the [API Design + * Guide](https://cloud.google.com/apis/design/errors). + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleRpcStatus extends com.google.api.client.json.GenericJson { + + /** + * The status code, which should be an enum value of google.rpc.Code. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer code; + + /** + * A list of messages that carry the error details. There is a common set of message types for + * APIs to use. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List> details; + + /** + * A developer-facing error message, which should be in English. Any user-facing error message + * should be localized and sent in the google.rpc.Status.details field, or localized by the + * client. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String message; + + /** + * The status code, which should be an enum value of google.rpc.Code. + * @return value or {@code null} for none + */ + public java.lang.Integer getCode() { + return code; + } + + /** + * The status code, which should be an enum value of google.rpc.Code. + * @param code code or {@code null} for none + */ + public GoogleRpcStatus setCode(java.lang.Integer code) { + this.code = code; + return this; + } + + /** + * A list of messages that carry the error details. There is a common set of message types for + * APIs to use. + * @return value or {@code null} for none + */ + public java.util.List> getDetails() { + return details; + } + + /** + * A list of messages that carry the error details. There is a common set of message types for + * APIs to use. + * @param details details or {@code null} for none + */ + public GoogleRpcStatus setDetails(java.util.List> details) { + this.details = details; + return this; + } + + /** + * A developer-facing error message, which should be in English. Any user-facing error message + * should be localized and sent in the google.rpc.Status.details field, or localized by the + * client. + * @return value or {@code null} for none + */ + public java.lang.String getMessage() { + return message; + } + + /** + * A developer-facing error message, which should be in English. Any user-facing error message + * should be localized and sent in the google.rpc.Status.details field, or localized by the + * client. + * @param message message or {@code null} for none + */ + public GoogleRpcStatus setMessage(java.lang.String message) { + this.message = message; + return this; + } + + @Override + public GoogleRpcStatus set(String fieldName, Object value) { + return (GoogleRpcStatus) super.set(fieldName, value); + } + + @Override + public GoogleRpcStatus clone() { + return (GoogleRpcStatus) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleTypeMoney.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleTypeMoney.java new file mode 100644 index 00000000000..2a5f0de35f9 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleTypeMoney.java @@ -0,0 +1,127 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Represents an amount of money with its currency type. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleTypeMoney extends com.google.api.client.json.GenericJson { + + /** + * The three-letter currency code defined in ISO 4217. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String currencyCode; + + /** + * Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and + * +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is + * zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be + * negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer nanos; + + /** + * The whole units of the amount. For example if `currencyCode` is `"USD"`, then 1 unit is one US + * dollar. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long units; + + /** + * The three-letter currency code defined in ISO 4217. + * @return value or {@code null} for none + */ + public java.lang.String getCurrencyCode() { + return currencyCode; + } + + /** + * The three-letter currency code defined in ISO 4217. + * @param currencyCode currencyCode or {@code null} for none + */ + public GoogleTypeMoney setCurrencyCode(java.lang.String currencyCode) { + this.currencyCode = currencyCode; + return this; + } + + /** + * Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and + * +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is + * zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be + * negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000. + * @return value or {@code null} for none + */ + public java.lang.Integer getNanos() { + return nanos; + } + + /** + * Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and + * +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is + * zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be + * negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000. + * @param nanos nanos or {@code null} for none + */ + public GoogleTypeMoney setNanos(java.lang.Integer nanos) { + this.nanos = nanos; + return this; + } + + /** + * The whole units of the amount. For example if `currencyCode` is `"USD"`, then 1 unit is one US + * dollar. + * @return value or {@code null} for none + */ + public java.lang.Long getUnits() { + return units; + } + + /** + * The whole units of the amount. For example if `currencyCode` is `"USD"`, then 1 unit is one US + * dollar. + * @param units units or {@code null} for none + */ + public GoogleTypeMoney setUnits(java.lang.Long units) { + this.units = units; + return this; + } + + @Override + public GoogleTypeMoney set(String fieldName, Object value) { + return (GoogleTypeMoney) super.set(fieldName, value); + } + + @Override + public GoogleTypeMoney clone() { + return (GoogleTypeMoney) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/pom.xml b/clients/google-api-services-searchads360/v23/2.0.0/pom.xml new file mode 100644 index 00000000000..bad2546c537 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/pom.xml @@ -0,0 +1,219 @@ + + 4.0.0 + + org.sonatype.oss + oss-parent + 7 + + + com.google.apis + google-api-services-searchads360 + v23-rev20260413-2.0.0 + Search Ads 360 Reporting API v23-rev20260413-2.0.0 + jar + + 2011 + + + + GoogleAPIs + GoogleAPIs + googleapis@googlegroups.com + Google + https://www.google.com + + + + + Google + http://www.google.com/ + + + + + The Apache Software License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + repo + + + + + + ossrh + https://google.oss.sonatype.org/content/repositories/snapshots + + + + + + + maven-compiler-plugin + 3.9.0 + + 1.7 + 1.7 + + + + org.apache.maven.plugins + maven-source-plugin + 2.4 + + + org.apache.maven.plugins + maven-jar-plugin + 3.1.2 + + + + com.google.api.services.searchads360 + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 3.1.0 + + + attach-javadocs + + jar + + + + + none + Search Ads 360 Reporting API ${project.version} + Search Ads 360 Reporting API ${project.version} + + http://docs.oracle.com/javase/7/docs/api + https://googleapis.dev/java/google-http-client/${httpClientLibrary}/ + https://googleapis.dev/java/google-oauth-client/${oauthClientLibrary}/ + https://googleapis.dev/java/google-api-client/2.7.2/ + + + + + org.codehaus.mojo + clirr-maven-plugin + 2.8 + + clirr-ignored-differences.xml + true + + + + + check + + + + + + . + + + ./resources + + + + + + + com.google.api-client + google-api-client + 2.7.2 + + + + + UTF-8 + + + + + + release-sonatype + + + + !artifact-registry-url + + + + + + org.sonatype.plugins + nexus-staging-maven-plugin + 1.6.13 + true + + sonatype-nexus-staging + https://google.oss.sonatype.org/ + false + + + + + + + + release-gcp-artifact-registry + + artifactregistry://please-define-artifact-registry-url-property + + + + gcp-artifact-registry-repository + ${artifact-registry-url} + + + gcp-artifact-registry-repository + ${artifact-registry-url} + + + + + release-sign-artifacts + + + performRelease + true + + + + + + org.apache.maven.plugins + maven-gpg-plugin + 3.2.7 + + + sign-artifacts + verify + + sign + + + + --pinentry-mode + loopback + + + + + + + + + + \ No newline at end of file diff --git a/clients/google-api-services-searchads360/v23/README.md b/clients/google-api-services-searchads360/v23/README.md new file mode 100644 index 00000000000..96435150cee --- /dev/null +++ b/clients/google-api-services-searchads360/v23/README.md @@ -0,0 +1,44 @@ +# Search Ads 360 Reporting API Client Library for Java + +The Search Ads 360 API allows developers to automate downloading reports from Search Ads 360. + +This page contains information about getting started with the Search Ads 360 Reporting API +using the Google API Client Library for Java. In addition, you may be interested +in the following documentation: + +* Browse the [Javadoc reference for the Search Ads 360 Reporting API][javadoc] +* Read the [Developer's Guide for the Google API Client Library for Java][google-api-client]. +* Interact with this API in your browser using the [APIs Explorer for the Search Ads 360 Reporting API][api-explorer] + +## Installation + +### Maven + +Add the following lines to your `pom.xml` file: + +```xml + + + + com.google.apis + google-api-services-searchads360 + v23-rev20260413-2.0.0 + + + +``` + +### Gradle + +```gradle +repositories { + mavenCentral() +} +dependencies { + implementation 'com.google.apis:google-api-services-searchads360:v23-rev20260413-2.0.0' +} +``` + +[javadoc]: https://googleapis.dev/java/google-api-services-searchads360/latest/index.html +[google-api-client]: https://github.com/googleapis/google-api-java-client/ +[api-explorer]: https://developers.google.com/apis-explorer/#p/searchads360/v1/